/* Modern Login Page Styles */
/* Global Resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Container */
.login-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background-color: #f5f7fa;
    font-family: 'Open Sans', sans-serif;
}

/* Panel Styles */
.login-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dark Panel (Left Side) */
.dark-panel {
    flex: 1;
    background-color: #1a2236;
    color: #ffffff;
    padding: 3rem;
    position: relative;
}

.panel-content {
    max-width: 500px;
    margin: 0 auto;
}

.logo-container {
    margin-bottom: 2.5rem;
    width: 180px;
}

.logo-container img {
    width: 100%;
    height: auto;
}

.panel-message {
    margin-bottom: 3rem;
}

.panel-message h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.message-bold {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.message-light {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.support-info {
    margin-top: auto;
    font-size: 0.9rem;
    opacity: 0.8;
}

.support-info a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.support-info a:hover {
    opacity: 0.8;
}

/* Light Panel (Right Side) */
.light-panel {
    flex: 1;
    background-color: #ffffff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 450px;
    padding: 1rem;
}

.mobile-logo {
    display: none;
    margin-bottom: 2rem;
    width: 150px;
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: left;
}

.form-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a2236;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Form Styles */
#login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #1e90ff;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #1e90ff;
    box-shadow: 0 0 0 3px rgba(0, 201, 80, 0.1);
    background-color: #ffffff;
}

/* Password Input with Toggle */
.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #1e90ff;
}

/* Captcha Styles */
.captcha-container {
    margin-top: 0.5rem;
}

.captcha-box {
    background-color: #f3f4f6;
    border-radius: 8px;
    height: 50px;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.capt {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a2236;
    padding: 0 5px;
    --trans-y: 0;
    --rotate-val: 0;
    transform: translateY(calc(5% * var(--trans-y)))
        rotate(calc(8deg * var(--rotate-val)));
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

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

.remember-me input[type="checkbox"] {
    accent-color: #1e90ff;
    width: 16px;
    height: 16px;
}

.remember-me label {
    font-size: 0.9rem;
    color: #4b5563;
}

.forgot-password {
    font-size: 0.9rem;
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.forgot-password:hover {
    opacity: 0.8;
}

/* Login Button */
.btn-login {
    margin-top: 1rem;
    padding: 0.9rem 1.5rem;
    background-color: #1e90ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background-color: #00b046;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 201, 80, 0.2);
}

.btn-login:active {
    transform: translateY(0);
}

/* Form Footer */
.form-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: #6b7280;
}

.form-footer a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.form-footer a:hover {
    opacity: 0.8;
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.progress-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e5e7eb;
    transition: all 0.3s ease;
}

.progress-step.active {
    background-color: #1e90ff;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }
    
    .dark-panel {
        padding: 2rem;
        flex: none;
        min-height: 300px;
    }
    
    .panel-content {
        text-align: center;
        max-width: 600px;
    }
    
    .logo-container {
        margin: 0 auto 1.5rem;
    }
    
    .light-panel {
        padding: 2rem;
        box-shadow: none;
    }
    
    .form-container {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .dark-panel {
        padding: 1.5rem;
    }
    
    .panel-message h2 {
        font-size: 1.8rem;
    }
    
    .message-bold {
        font-size: 1rem;
    }
    
    .light-panel {
        padding: 1.5rem;
    }
    
    .form-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .dark-panel {
        display: none;
    }
    
    .mobile-logo {
        display: block;
        margin: 0 auto 2rem;
    }
    
    .form-header {
        text-align: center;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .form-footer {
        margin-top: 1.5rem;
    }
}
