:root {
    --ink: #18302b;
    --muted: #5e6f69;
    --paper: #fffdf6;
    --wash: #e4f0e6;
    --accent: #b9432b;
    --border: #c4d2c8;
}

* { box-sizing: border-box; }

body {
    align-items: center;
    background: linear-gradient(rgba(12, 31, 27, .35), rgba(12, 31, 27, .35)), url('../images/Background.jpg?v=2') center / cover fixed no-repeat;
    color: var(--ink);
    display: flex;
    font-family: Verdana;
    margin: 0;
    min-height: 100vh;
}

.auth-shell { margin: auto; padding: 24px; width: min(100%, 480px); }

.coming-soon-shell {
    bottom: 24px;
    margin: 0;
    position: fixed;
    right: 24px;
}

.auth-panel {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 8px 8px 0 rgba(24, 48, 43, .12);
    font-family: Verdana;
    padding: 40px;
}

.eyebrow { color: var(--accent); font-family: Verdana; font-size: .72rem; font-weight: 700; letter-spacing: .08em; margin: 0 0 12px; text-transform: uppercase; }
h1 { font-size: 2rem; line-height: 1.1; margin: 0 0 12px; }
.intro { color: var(--muted); line-height: 1.5; margin: 0 0 28px; }
.auth-form { display: grid; gap: 18px; }
label { display: grid; font-family: Verdana; font-size: .82rem; font-weight: 700; gap: 7px; }
input { background: #fff; border: 1px solid var(--border); border-radius: 4px; color: var(--ink); font: inherit; min-height: 44px; padding: 10px; }
input:focus { border-color: var(--accent); outline: 3px solid rgba(185, 67, 43, .18); }
button { background: var(--ink); border: 0; border-radius: 4px; color: #fff; cursor: pointer; font: 700 .88rem Verdana; min-height: 46px; padding: 10px 16px; }
button:hover, button:focus-visible { background: var(--accent); }

/* Override button styles for password toggle */
button.toggle-password {
    background: transparent !important;
    border: none !important;
    color: var(--muted) !important;
    min-height: auto !important;
    min-width: auto !important;
    padding: 6px 8px !important;
    font-weight: normal !important;
    font-size: 0.9rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

button.toggle-password:hover {
    color: var(--accent) !important;
    background: transparent !important;
}

button.toggle-password:focus-visible {
    background: transparent !important;
    color: var(--accent) !important;
}
.notice { border-radius: 4px; font-family: Verdana; font-size: .86rem; line-height: 1.45; margin: 0 0 20px; padding: 12px; }
.error { background: #fde9e4; border: 1px solid #e9a89a; color: #7b2415; }
.success { background: #e4f0e6; border: 1px solid #a8c8ad; color: #245c30; }
.login-link { font-size: .78rem; margin: 18px 0 0; text-align: center; }
.login-link a { color: var(--muted); }
.login-link a:hover, .login-link a:focus-visible { color: var(--accent); }

@media (max-width: 480px) {
    .auth-panel { padding: 28px 22px; }
    .coming-soon-shell { bottom: 0; right: 0; }
}

.login-panel {
    border-radius: 18px;
    border-top: 6px solid var(--accent);
    box-shadow: 0 20px 40px rgba(12, 31, 27, .28);
    font-family: Verdana;
    text-align: center;
}
.login-panel .eyebrow { color: var(--ink); font-size: 1.6rem; margin-bottom: 40px; text-align: center; }
.login-panel h1 { font-family: Verdana; letter-spacing: -.02em; }
.login-panel .intro { text-align: center; }
.login-panel .auth-form { text-align: left; }
.login-panel input { border-radius: 999px; padding: 10px 18px; }
.login-panel button { border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.auth-actions { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.button-link { align-items: center; background: var(--paper); border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); display: flex; font: 700 .88rem Verdana; justify-content: center; letter-spacing: .04em; min-height: 46px; padding: 10px 16px; text-decoration: none; text-transform: uppercase; }
.button-link:hover, .button-link:focus-visible { background: var(--wash); }

@media (max-width: 480px) {
    .login-panel { border-radius: 12px; }
}

.password-field {
    width: 100%;
}

.password-label {
    display: grid;
    gap: 7px;
}

.password-label > span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-label input {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.password-input-wrapper {
    position: relative;
    width: 100%;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 50px;
    box-sizing: border-box;
}