/* ===== AUTH CONTAINER ===== */
.auth-container {
    background: linear-gradient(135deg, var(--gray-50) 0%, #f8fafc 100%);
    min-height: 100vh;
    padding: 0;
}

/* ===== BRAND SECTION (Izquierda) ===== */
.auth-brand-section {
    background: linear-gradient(135deg, var(--ecl-primary) 0%, var(--ecl-secondary) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.brand-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 400px;
}

.brand-logo-container {
    margin-bottom: 2rem;
}

.brand-logo-user {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.brand-title-user {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.brand-subtitle-user {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
    font-weight: 400;
}

.brand-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.1rem;
}

/* ===== FORM SECTION (Derecha) ===== */
.auth-form-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: white;
    min-height: 100vh;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
}

.auth-form-header {
    margin-bottom: 2rem;
}

.mobile-brand {
    display: none;
}

.mobile-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.mobile-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0;
}

.auth-form-content {
    margin-bottom: 2rem;
}

.auth-form-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

/* ===== FORM STYLES ===== */
.auth-form-content .form-floating {
    margin-bottom: 1.5rem;
}

.auth-form-content .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1rem 0.75rem;
    font-size: 1rem;
    background: var(--gray-50);
    transition: all var(--transition-normal);
    height: auto;
    min-height: 48px;
}

.auth-form-content .form-control:focus {
    border-color: var(--ecl-primary);
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(11, 113, 177, 0.1);
}

.auth-form-content .form-floating > label {
    color: var(--gray-600);
    font-weight: 500;
    padding: 1rem 0.75rem;
}

.auth-form-content .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    min-height: 48px;
}

.auth-form-content .btn-primary {
    background: linear-gradient(135deg, var(--ecl-primary) 0%, var(--ecl-secondary) 100%);
    color: white;
    box-shadow: var(--shadow);
}

.auth-form-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--ecl-secondary) 0%, var(--ecl-primary) 100%);
}

.auth-form-content .btn-danger {
    background: linear-gradient(135deg, var(--ecl-danger) 0%, #dc2626 100%);
    color: white;
}

.auth-form-content .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== TITLES AND TEXT ===== */
.auth-form-content h2 {
    color: var(--gray-800);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-form-content p {
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-form-content .text-center a {
    color: var(--ecl-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.auth-form-content .text-center a:hover {
    color: var(--ecl-secondary);
    text-decoration: underline;
}

/* ===== REQUIREMENTS LIST ===== */
.requirements-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.requirements-list i {
    color: var(--ecl-primary);
    font-size: 0.75rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .mobile-brand {
        display: block !important;
    }
    
    .auth-form-section {
        padding: 1.5rem 1rem;
        min-height: 100vh;
    }
    
    .auth-form-container {
        max-width: 450px;
    }
}

@media (max-width: 767.98px) {
    .auth-form-section {
        padding: 1rem;
    }
    
    .auth-form-container {
        max-width: 100%;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .mobile-title {
        font-size: 1.5rem;
    }
    
    .auth-form-content .btn {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .auth-form-section {
        padding: 0.75rem;
    }
    
    .mobile-title {
        font-size: 1.25rem;
    }
    
    .mobile-logo {
        width: 50px;
        height: 50px;
    }
}

/* ===== LOADING STATES ===== */
.loading-state {
    opacity: 0.7;
    pointer-events: none;
}

.loading-state .btn {
    position: relative;
}

/* ===== CARDS AND ALERTS ===== */
.auth-form-content .card {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.auth-form-content .card-header {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem;
}

.auth-form-content .card-body {
    padding: 1.5rem;
}

.auth-form-content .alert {
    border-radius: var(--radius-lg);
    border: none;
    padding: 1rem 1.25rem;
}