.login-hero-section {
    background: var(--bs-gradient);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.login-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><path d="M0,0v46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34L1000,25.83V0Z"/></svg>') repeat-x;
    background-size: 1000px 100px;
    animation: wave 20s infinite linear; /* Animation defined in landing.css */
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bs-gradient);
    background-size: 200% 100%;
    animation: shimmer 2s infinite linear;
}

.trust-indicators {
    background: rgba(128, 198, 172, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(128, 198, 172, 0.2);
}

.security-badge {
    background: rgba(128, 198, 172, 0.1);
    color: var(--xofi-verde-medio);
    border: 1px solid rgba(128, 198, 172, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.login-form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.login-form-group .form-control {
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form-group .form-control:focus {
    border-color: var(--xofi-verde-medio);
    box-shadow: 0 0 0 0.2rem rgba(128, 198, 172, 0.15);
}

.login-btn {
    background: var(--bs-gradient);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(128, 198, 172, 0.3);
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(128, 198, 172, 0.4);
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    padding: 3rem;
}

.hero-stats-mini {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.hero-stat-mini {
    text-align: center;
    padding: 0.5rem;
}

.hero-stat-mini-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
}

.hero-stat-mini-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
}

.form-floating-label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    background: white;
    padding: 0 0.5rem;
    color: #6c757d;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    pointer-events: none;
    border-radius: 4px;
}

.login-form-group .form-control:focus + .form-floating-label,
.login-form-group .form-control:not(:placeholder-shown) + .form-floating-label {
    top: -0.5rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--xofi-verde-medio);
    font-weight: 600;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.forgot-link {
    color: var(--xofi-verde-medio);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--xofi-verde-claro);
    text-decoration: underline;
}

.remember-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
    z-index: 1;
}

.login-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.membership-cta {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(128, 198, 172, 0.05), rgba(152, 231, 160, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(128, 198, 172, 0.1);
    margin-top: 2rem;
}

.membership-cta-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.membership-cta-text {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--xofi-verde-medio);
}

.btn-outline-primary-custom {
    border: 2px solid var(--xofi-verde-medio);
    color: var(--xofi-verde-medio);
    background: transparent;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-primary-custom:hover {
    background: var(--xofi-verde-medio);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 198, 172, 0.3);
}

/* Recovery Process Styles */
.recovery-process {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recovery-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recovery-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--bs-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.step-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Help Section Styles */
.help-section {
    text-align: center;
    padding: 1.5rem;
    background: rgba(128, 198, 172, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(128, 198, 172, 0.1);
}

.help-title {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.help-text {
    color: #718096;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 1rem;
        text-align: center;
    }

    .login-card {
        margin: 1rem;
        border-radius: 15px;
    }

    .cta-benefits {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-stats-mini {
        margin-bottom: 1rem;
    }

    .recovery-process {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .recovery-step {
        padding: 0.5rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .step-title {
        font-size: 0.85rem;
    }

    .step-desc {
        font-size: 0.75rem;
    }

    .help-section {
        padding: 1rem;
    }
}
