body {
    font-family: "Segoe UI", sans-serif;
    margin: 0;
    background-color: #e0f2ff; /* softer blue background */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    position: relative;
    background-color: #ffffff; /* clean white container */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); /* softer, deeper shadow */
    width: 800px;
    display: flex;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
}

.login-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
}

.login-form {
    flex: 1;
    padding-left: 40px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1f2937;
}

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

.input-group label {
    display: block;
    margin-bottom: 7px;
    color: #64748b; /* muted gray-blue */
}

.input-group input {
    width: calc(100% - 22px);
    padding: 12px;
    border: 1px solid #cbd5e1; /* soft border */
    border-radius: 6px;
    box-sizing: border-box;
    transition: border 0.3s;
}

.input-group input:focus {
    border-color: #3b82f6; /* highlight on focus */
    outline: none;
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.3);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-forgot label {
    color: #64748b;
}

.remember-forgot a {
    color: #1e3a8a;
    text-decoration: none;
    margin-right: 22px;
}

.btn {
    background-color: #1e3a8a;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 94%;
    transition: background-color 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.signup-link {
    text-align: center;
    margin-top: 20px;
}

.signup-link a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.side-image {
    flex: 1;
    text-align: center;
}

.side-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 850px) {
    .login-container {
        flex-direction: column;
        width: 90%;
    }
    .login-form {
        padding-left: 0;
        margin-top: 20px;
    }
}
