/* Font Face Definitions */
@font-face {
    font-family: 'Instrument Sans';
    src: url('./fonts/InstrumentSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('./fonts/InstrumentSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('./fonts/InstrumentSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Instrument Sans';
    src: url('./fonts/InstrumentSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary-color: #94BDE5;
    --primary-hover-color: #7ba8d9;
    --text-color: #333;
    --background-color: #ffffff;
    --left-panel-bg: #f0f4ff;
    --border-color: #ddd;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Instrument Sans', sans-serif;
    background-color: var(--background-color);
}

.container {
    display: flex;
    height: 100vh;
}

.left-panel {
    width: 50%;
    background: linear-gradient(to right, #94BDE5, #DCE7F5);
    display: flex;
    padding: 32px;
    box-sizing: border-box;
}

.left-panel .logo {
    width: 120px;
    height: auto;
    align-self: flex-start;
}

.right-panel {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
    background-color: #F4F8FB;
}

.login-form {
    width: 100%;
    max-width: 450px;
}

.login-form h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.login-form p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.login-form p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-form p a:hover {
    text-decoration: underline;
}

.login-form form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group svg {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-group input {
    width: 100%;
    padding: 16px 12px 16px 50px;
    border-radius: 8px;
    border: 1.5px solid #DADADA;
    box-sizing: border-box;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.input-group .show-password {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.checkbox-group input {
    margin-top: 4px;
    margin-right: 10px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--subtle-text-color);
    line-height: 1.5;
}

.checkbox-group label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-top: -10px;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 8px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-hover-color);
}

.login-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .left-panel {
        display: none;
    }
    .right-panel {
        width: 100%;
        justify-content: center;
    }
    .login-form {
        padding: 20px;
    }
} 