/* ========================================
   PÁGINAS LOGIN - ESTILOS ESPECÍFICOS
   ======================================== */

/* Estilos base del hero (del home) */
.quirozchile-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.clientes-hero .hero-background {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.vendedores-hero .hero-background {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 50%, #a78bfa 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.hero-badge {
    margin-bottom: 20px;
}

.badge-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.title-line {
    display: block;
    color: white;
}

.title-highlight {
    display: block;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e2e8f0;
}

.subtitle-icon {
    margin-right: 8px;
    font-size: 1.1em;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #cbd5e1;
    max-width: 500px;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 1.2rem;
    color: #fbbf24;
    width: 20px;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Formulario de login - MAYOR ESPECIFICIDAD */
.login-hero .login-form-container {
    background: white !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
    z-index: 10 !important;
}

.login-hero .login-form-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.login-hero .login-icon {
    font-size: 3rem !important;
    color: #3b82f6 !important;
    margin-bottom: 15px !important;
}

.login-hero .login-form-header h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #1e3a8a !important;
    margin-bottom: 10px !important;
}

.login-hero .login-form-header p {
    color: #6b7280 !important;
    font-size: 1.1rem !important;
}

.login-hero .login-form .form-group {
    margin-bottom: 22px !important;
}

.login-hero .login-form .form-group label,
.login-hero .login-form .form-label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 10px !important;
    font-size: 1.05rem !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.login-hero .login-form .form-group label::before {
    display: none !important;
}

.login-hero .form-label i {
    color: #3b82f6 !important;
    font-size: 1.1rem !important;
    width: auto !important;
}

.login-hero .login-form .form-control,
.login-hero .login-form .form-group input[type="text"],
.login-hero .login-form .form-group input[type="password"] {
    border: 2px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 14px 18px !important;
    font-size: 18px !important;
    min-height: 52px !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
    width: 100% !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    box-sizing: border-box !important;
}

.login-hero .login-form .form-control:focus,
.login-hero .login-form .form-group input[type="text"]:focus,
.login-hero .login-form .form-group input[type="password"]:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
    transform: none !important;
}

.login-hero .login-form .form-control::placeholder,
.login-hero .login-form .form-group input::placeholder {
    color: #9ca3af !important;
    font-size: 17px !important;
    font-weight: 400 !important;
}

.login-hero .password-input-container {
    position: relative !important;
}

.login-hero .password-toggle {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    padding: 8px !important;
    font-size: 1.2rem !important;
    border-radius: 4px !important;
    transition: color 0.3s ease !important;
}

.login-hero .password-input-container .form-control,
.login-hero .password-input-container input[type="password"] {
    padding-right: 52px !important;
}

.login-hero .password-toggle:hover {
    color: #374151 !important;
}

.login-hero .form-options {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 25px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.login-hero .form-check {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.login-hero .form-check-input {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    background: white !important;
    flex-shrink: 0 !important;
}

.login-hero .form-check-input:checked {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
}

.login-hero .form-check-label {
    font-size: 1rem !important;
    color: #4b5563 !important;
    cursor: pointer !important;
}

.login-hero .forgot-password {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

.login-hero .forgot-password:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

.login-hero .btn-login {
    width: 100% !important;
    min-height: 52px !important;
    padding: 16px 20px !important;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8) !important;
    color: white !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    animation: none !important;
}

.clientes-hero .btn-login {
    background: linear-gradient(45deg, #059669, #047857) !important;
}

.clientes-hero .btn-login:hover {
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.35) !important;
}

.login-hero .btn-login:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4) !important;
}

.login-hero .login-footer {
    text-align: center !important;
    margin-top: 20px !important;
    padding-top: 20px !important;
    border-top: 1px solid #e5e7eb !important;
}

.login-hero .login-footer p {
    color: #6b7280 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

.login-hero .login-footer a {
    color: #3b82f6 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
}

.clientes-hero .login-footer a {
    color: #059669 !important;
}

.login-hero .login-footer a:hover {
    text-decoration: underline !important;
}

/* Secciones generales */
.quirozchile-section {
    padding: 80px 0;
    position: relative;
}

.login-info {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Títulos de sección con líneas */
h2.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

h2.section-title::after {
    content: '' !important;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
    border-radius: 2px;
    display: block !important;
}

.section-title-line {
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #fbbf24, #f59e0b) !important;
    border-radius: 2px !important;
    margin: 10px auto 30px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 50px;
}

/* Tarjetas de beneficios */
.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .login-hero .login-form .form-control,
    .login-hero .login-form .form-group input[type="text"],
    .login-hero .login-form .form-group input[type="password"] {
        font-size: 17px !important;
        min-height: 48px !important;
        padding: 12px 16px !important;
    }

    .login-form-container {
        padding: 30px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .benefit-card {
        padding: 25px 15px;
    }
}

@media (max-width: 576px) {
    .quirozchile-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .login-form-container {
        padding: 25px 15px;
    }
    
    .login-icon {
        font-size: 2.5rem;
    }
    
    .login-form-header h2 {
        font-size: 1.65rem !important;
    }
}