body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    display: flex;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
    width: 90%;
    max-width: 800px;
    overflow: hidden;
}

.logo-section {
    flex: 1;
    background-color: #1a2a6c; /* Dark Blue */
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.login-form-box {
    flex: 1;
    padding: 50px;
}

h2 {
    margin-top: 0;
    color: #333;
    font-size: 28px;
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box; /* Ensures padding doesn't expand width */
    transition: border-color 0.3s;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #1a2a6c;
    box-shadow: 0 0 5px rgba(26, 42, 108, 0.3);
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #1a2a6c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-weight: bold;
}

button:hover {
    background-color: #122050;
}

button:active {
    transform: scale(0.98);
}

.status-message {
    margin-top: 15px;
    text-align: center;
    min-height: 24px;
}
.error { color: red; font-weight: bold; }
.success { color: green; font-weight: bold; }

/* Responsive design for mobile */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .logo-section {
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }
}
