:root {
    --primary-color: #2C3E50;
    --secondary-color: #5F97AA;
    --text-color: #ffffff;
    --light-color: #f4f4f4;
    --font-family: 'Khand', sans-serif;
    --accent-color-3: #29576b; /* Used for hover effects */
}
*{
    font-family: var(--font-family);
}

body {
    font-family: var(--font-family);
    background-color: var(--primary-color);
    color: var(--text-color);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.login-container {
    background-color: var(--text-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
}

.login-form h2 {
    margin-bottom: 30px; /* Increased spacing for better aesthetics */
    color: var(--primary-color);
}

/* Input Group Styles */
.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.input-group i {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-right: 10px;
    flex-shrink: 0; /* Prevents the icon from shrinking */
}

.input-field {
    flex: 1; /* Takes up the remaining space */
    position: relative;
}

.input-field input {
    width: 100%;
    padding: 10px;
    padding-left: 10px; /* Ensures text doesn't overlap with the icon */
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-field input:focus {
    border-color: var(--accent-color-3);
    outline: none;
}

/* Checkbox Group Styles */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 16px;
    height: 16px;
}

.checkbox-group label {
    color: var(--primary-color); /* Ensure the label text is visible */
    font-size: 14px;
    cursor: pointer;
}

/* Button Styles */
.btn {
    width: 100%;
    padding: 10px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 4px;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--accent-color-3);
}

/* Forgot Password Link Styles */
.forgot-password {
    display: block;
    margin-top: 15px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        width: 90%;
        padding: 20px;
    }
}
