
:root {
    --green: #547b65;
    --dark: #263d32;
    --mint: #e8f1e9;
    --cream: #faf9f5;
    --white: #ffffff;
    --text: #293a30;
    --muted: #89948a;
    --border: #edf0e9;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 12px 35px rgba(38, 61, 50, 0.06);
}

.logo {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    color: var(--dark);
}

.logo span {
    color: var(--green);
}

.tagline {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

h2 {
    color: var(--dark);
    text-align: center;
    margin: 30px 0 8px;
    font-size: 24px;
}

.subtitle {
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    margin-bottom: 25px;
}

label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dfe6dd;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    margin-bottom: 18px;
}

input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(84, 123, 101, 0.12);
}

button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: var(--green);
    color: white;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: var(--dark);
}

.error {
    padding: 12px;
    margin-bottom: 18px;
    background: #fce8e6;
    color: #a3473e;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.login-link {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    margin-top: 23px;
}

.login-link a {
    color: var(--green);
    font-weight: 700;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 28px 22px;
    }
}
