@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.5;
    color: #212529;
    background: #ffffff;
    height: 100vh;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Left Panel */
.left-panel {
    flex: 1;
    background: #1F4AA3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    position: relative;
}

.logo-container {
    margin-bottom: 80px;
}

.logo-image {
    width: 240px;
    height: auto;
    filter: brightness(0) invert(1);
}

.promo-content {
    text-align: center;
    max-width: 400px;
}

.promo-headline {
    color: #ffffff;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.learn-more-btn {
    background: #F58220;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.learn-more-btn:hover {
    background: #E57119;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.3);
}

.learn-more-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Right Panel */
.right-panel {
    flex: 1;
    background: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e5e7eb;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
}

.input-wrapper {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #1F4AA3;
    box-shadow: 0 0 0 3px rgba(31, 74, 163, 0.1);
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #6c757d;
    transition: color 0.2s ease;
}

.password-toggle:hover {
    color: #495057;
}

.password-toggle:focus {
    outline: 2px solid #1F4AA3;
    outline-offset: 2px;
    border-radius: 4px;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #1F4AA3;
}

.checkbox-label {
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    user-select: none;
}

.login-btn {
    width: 100%;
    padding: 14px 24px;
    background: #F58220;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 20px;
}

.login-btn:hover {
    background: #E57119;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.25);
}

.login-btn:focus {
    outline: 3px solid rgba(245, 130, 32, 0.3);
    outline-offset: 2px;
}

.forgot-password-link {
    text-align: center;
    display: block;
    color: #1F4AA3;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
    margin-top: 16px;
}

.forgot-password-link:hover {
    color: #163770;
    text-decoration: underline;
}

.forgot-password-link:focus {
    outline: 2px solid #1F4AA3;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Hide default ASP.NET login control styles */
#Login2 table {
    width: 100% !important;
    border: none !important;
    background: transparent !important;
}

#Login2 td {
    padding: 0 !important;
    border: none !important;
}

/* Override ASP.NET TextBox styles */
#Login2_UserName,
#Login2_Password {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

#Login2_UserName:focus,
#Login2_Password:focus {
    outline: none;
    border-color: #1F4AA3;
    box-shadow: 0 0 0 3px rgba(31, 74, 163, 0.1);
}

/* Override ASP.NET Button styles */
#Login2_LoginButton {
    width: 100%;
    padding: 14px 24px;
    background: #F58220 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 24px;
    font-family: 'Inter', sans-serif !important;
}

#Login2_LoginButton:hover {
    background: #E57119 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.25);
}

/* Override checkbox styles */
#Login2_RememberMe {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #1F4AA3;
}

/* Password recovery section */
.password-recovery-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.password-recovery-title {
    font-size: 18px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 20px;
}

/* Mobile Styles */
.mobile-logo {
    display: none;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .left-panel {
        display: none;
    }

    .right-panel {
        flex: 1;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        min-height: 100vh;
        background: #ffffff;
    }

    .mobile-logo {
        display: block;
        width: 180px;
        height: auto;
        margin: 0 auto 40px;
    }

    .login-card {
        padding: 32px 24px;
        box-shadow: none;
        border: none;
        background: transparent;
        max-width: 100%;
    }

    .login-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .checkbox-group {
        margin-bottom: 24px;
    }

    .login-btn,
    #Login2_LoginButton {
        margin-bottom: 16px;
    }
}

/* Accessibility improvements */
:focus-visible {
    outline: 2px solid #1F4AA3;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .form-input,
    #Login2_UserName,
    #Login2_Password {
        border-width: 2px;
    }
    
    .login-card {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Error message styling */
.error-message,
#Login2 .failureNotification {
    color: #dc3545;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 16px;
}

/* Validation summary */
#Login2_LoginUserValidationSummary {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}