@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.login-left {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    position: relative;
    padding: 2rem;
}

.login-header {
    margin-bottom: 4rem;
    text-align: center;
}

.login-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #1f4e79;
    letter-spacing: 2px;
}

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

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group label {
    display: block;
    color: #6486a2;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d1d9e2;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: #333;
    outline: none;
    transition: border-bottom-color 0.3s ease;
    background: transparent;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    border-bottom: 2px solid #3b76a6;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #555;
    font-size: 0.85rem;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-password {
    color: #6486a2;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: #3b76a6;
}

.login-button {
    width: 100%;
    background-color: #3b76a6;
    color: white;
    border: none;
    padding: 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s, transform 0.1s;
    box-shadow: 0 4px 6px rgba(59, 118, 166, 0.2);
}

.login-button:hover {
    background-color: #2c5c85;
}

.login-button:active {
    transform: scale(0.98);
}

.login-footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    color: #888;
    font-size: 0.8rem;
    line-height: 1.6;
}

.login-footer p {
    margin: 0;
}

@media (max-width: 900px) {
    .login-left {
        display: none;
    }
}
