/* 7D Authentication Pages Specific Styles */

/* Auth Section Layout */
.auth-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.auth-section .display-6 {
    color: #0056b3;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-section .lead {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Auth Cards */
.auth-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.auth-card .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.auth-card h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-card .fa-3x {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Form Enhancements */
.auth-card .form-control-lg {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.auth-card .form-control-lg:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
}

.auth-card .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Password Toggle */
.password-toggle-icon {
    cursor: pointer;
    z-index: 10;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.password-toggle-icon:hover {
    background-color: rgba(0, 86, 179, 0.1);
}

.password-toggle-icon i {
    font-size: 1rem;
    color: #6c757d;
}

/* Benefits List */
.benefits-list {
    padding: 0;
}

.benefit-item {
    transition: all 0.3s ease;
    cursor: default;
    min-height: 3rem;
    display: flex !important;
    align-items: center !important;
}

.benefit-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.15) !important;
}

.benefit-item i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.benefit-item span {
    font-size: 0.95rem;
    line-height: 1.3;
}

/* Button Styling */
.esl-btn {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 86, 179, 0.2);
}

.esl-btn:hover {
    background: linear-gradient(135deg, #004494 0%, #003875 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 86, 179, 0.3);
    color: white;
}

.esl-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
    color: white;
}

.btn-success.esl-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.2);
}

.btn-success.esl-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
}

/* Alert Enhancements */
.alert-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
    border: none;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border-left: 4px solid #bd2130;
}

.alert-danger i {
    margin-right: 0.5rem;
}

/* reCAPTCHA Styling */
.g-recaptcha {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

/* Footer Links */
.auth-section .border-top {
    border-color: #dee2e6 !important;
    border-width: 2px !important;
}

.auth-section .small {
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-section .small a {
    color: #0056b3;
    font-weight: 500;
    transition: all 0.2s ease;
}

.auth-section .small a:hover {
    color: #004494;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-section {
        padding: 1rem 0;
        min-height: auto;
    }
    
    .auth-section .display-6 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .auth-section .lead {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .auth-card .card-body {
        padding: 1.5rem;
    }
    
    .auth-card .fa-3x {
        font-size: 2rem;
    }
    
    .benefit-item {
        padding: 0.75rem 0;
    }
    
    .benefit-item:hover {
        padding: 1rem;
        margin: 0.5rem 0;
    }
    
    .g-recaptcha {
        transform: scale(0.85);
        margin: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .auth-section .container {
        padding: 0 1rem;
    }
    
    .auth-card .card-body {
        padding: 1rem;
    }
    
    .auth-section .display-6 {
        font-size: 1.5rem;
    }
    
    .benefit-item span {
        font-size: 0.875rem;
    }
    
    .g-recaptcha {
        transform: scale(0.75);
    }
}

/* Focus and Accessibility */
.auth-card .form-control:focus,
.esl-btn:focus {
    outline: 2px solid #0056b3;
    outline-offset: 2px;
}

.benefit-item:focus-within {
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 6px;
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-card {
    animation: fadeInUp 0.6s ease-out;
}

.auth-card:nth-child(2) {
    animation-delay: 0.1s;
}
