:root {
    --primary: #009615; /* Tayyebah Green */
    --primary-hover: #007a10;
    --bg: #f8fafc; /* A slightly cooler, cleaner background */
    --text: #334155;
    --card: #fff;
    --shadow: rgba(149, 157, 165, 0.1); /* Softer shadow */
    --error: #dc3545;
    --border: #e2e8f0;
}
  
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-box {
    background: var(--card);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow); /* Refined shadow */
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.logo {
    margin-bottom: 25px;
}

.logo img {
    width: 70px;
    margin-bottom: 10px;
}

.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-sizing: border-box;
    background-color: #fff;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 150, 21, 0.1);
}

.btn {
    background: var(--primary);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-hover);
}

.error-message {
    color: var(--error);
    margin-bottom: 15px;
    min-height: 1em;
    text-align: center;
    font-weight: 500;
}