/* ===== ACCOUNT - AUTENTICACION ===== */

/* Layout de auth */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-content {
    max-width: 450px;
    width: 100%;
}

.auth-card {
    margin-bottom: 0;
}

.auth-header {
    text-align: center;
}

.auth-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Formularios de auth */
.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-label {
    display: block;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.auth-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.auth-form .form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.auth-form .form-control::placeholder {
    color: var(--color-text-subtle);
}

/* Checkbox remember me */
.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-text-primary);
}

.auth-checkbox label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

/* Botones de auth */
.auth-submit {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Links de auth */
.auth-links {
    text-align: center;
}

.auth-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--color-text-primary);
}

/* Footer de auth */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer-text {
    color: var(--color-text-subtle);
    font-size: 0.85rem;
    margin: 0;
}

.auth-footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-link:hover {
    color: var(--color-text-primary);
}

/* Back link */
.auth-back {
    text-align: center;
    margin-top: 2rem;
}

.auth-back-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-back-link:hover {
    color: var(--color-text-primary);
}

/* Mensajes de alerta */
.auth-alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.auth-alert p {
    margin: 0;
    font-weight: 600;
}

.auth-alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.auth-alert-success p {
    color: #10b981;
}

.auth-alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.auth-alert-error p {
    color: #ef4444;
}

/* Validacion */
.auth-validation-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Profile page */
.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.profile-email {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.profile-role-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.profile-section {
    margin-bottom: 2rem;
}

.profile-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.profile-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.profile-info-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.profile-info-value {
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-content {
        padding: 0 1rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}
