/* ============================================
   ACCOUNT STYLES - EdoisFilms System
   ============================================ */

/* Estilos para o sistema de autenticação */
.login-form,
.register-form,
.edit-profile-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="email"],
.form-row input[type="date"],
.form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.errorlist {
    color: #e74c3c;
    list-style-type: none;
    padding-left: 0;
    font-size: 0.9em;
}

.button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.button:hover {
    background-color: #2980b9;
}

.profile-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #3498db;
}

.profile-details {
    flex-grow: 1;
}

.profile-details h2 {
    margin-top: 0;
    color: #2c3e50;
}

.profile-actions {
    margin-top: 20px;
}

.profile-actions a {
    display: inline-block;
    margin-right: 10px;
    text-decoration: none;
}

/* Mensagens */
.messages {
    padding: 0;
    list-style: none;
}

.messages li {
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Ajustes gerais para os forms de account */
.form-control {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* ============================================
   CORREÇÕES PARA MINHA CONTA E EDITAR PERFIL
   ============================================ */

/* Avatar na página Minha Conta - tamanho correto */
.w-28 {
    width: 7rem !important;
    height: 7rem !important;
}

.h-28 {
    height: 7rem !important;
}

/* Botões na página Editar Perfil - Cor ROXA */
button[type="submit"] {
    background-color: #8b5cf6 !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 0.5rem !important;
    color: #ffffff !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

button[type="submit"]:hover {
    background-color: #7c3aed !important;
}

/* Botão Cancelar */
a[href*="minha-conta"].bg-gray-100 {
    background-color: #f3f4f6 !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 0.5rem !important;
    color: #374151 !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

a[href*="minha-conta"].bg-gray-100:hover {
    background-color: #e5e7eb !important;
}

/* Página Editar Perfil - Avatar preview menor */
.edit-profile-form img.rounded-full {
    width: 5rem !important;
    height: 5rem !important;
}
