:root {
    --lime: #d6f000;
    --green: #168241;
    --ink: #202124;
    --navy: #253442;
    --muted: #6b7280;
    --line: #e5e7eb;
}

* {
    box-sizing: border-box;
}

body {
    background: #f6f8f7;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.page {
    min-height: 100vh;
    padding: 2rem;
}

.auth-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    margin: 3rem auto;
    max-width: 520px;
    padding: 2rem;
}

.auth-panel.wide {
    max-width: 760px;
}

.brand {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin-bottom: 2rem;
}

.brand-mark {
    align-items: center;
    background: var(--lime);
    border-radius: 6px;
    color: var(--green);
    display: flex;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.brand span {
    color: var(--muted);
    display: block;
    font-size: .9rem;
}

h1 {
    font-size: 2rem;
    margin: 0 0 .5rem;
}

p {
    line-height: 1.5;
}

label {
    display: block;
    font-weight: 700;
    margin: 1rem 0 .35rem;
}

input,
select {
    border: 1px solid #cfd5dc;
    border-radius: 6px;
    font-size: 1rem;
    padding: .8rem;
    width: 100%;
}

.check-row {
    align-items: flex-start;
    display: flex;
    gap: .7rem;
    font-weight: 400;
}

.check-row input {
    margin-top: .2rem;
    width: auto;
}

.primary-button,
.secondary-button {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 900;
    letter-spacing: .04em;
    padding: .9rem 1.2rem;
    text-transform: uppercase;
}

.primary-button {
    background: var(--lime);
    color: #111827;
    margin-top: 1.25rem;
    width: 100%;
}

.secondary-button {
    background: var(--navy);
    color: #fff;
}

.auth-links {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    margin-top: 1.25rem;
}

a,
.primary-link {
    color: var(--green);
    font-weight: 800;
}

.back-link {
    color: var(--ink);
    display: inline-block;
    margin-bottom: 1rem;
    text-decoration: none;
}

.messages {
    margin: 0 auto 1rem;
    max-width: 760px;
}

.message {
    border-radius: 6px;
    padding: .85rem 1rem;
}

.message-success {
    background: #e6f5ec;
    color: #0d5d32;
}

.message-error {
    background: #fde7e7;
    color: #8a1c1c;
}

.message-info {
    background: #eef4ff;
    color: #1f3b73;
}

.errorlist {
    color: #9f1239;
    margin: .35rem 0 0;
}

.muted {
    color: var(--muted);
    font-size: .9rem;
}

.dashboard-shell {
    margin: 0 auto;
    max-width: 1100px;
}

.topbar,
.placeholder-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
}

.topbar {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
}

.placeholder-card {
    padding: 2rem;
}
