:root {
    color-scheme: light;
    --cat-cream: #fff4e8;
    --cat-card: #ffffff;
    --cat-primary: #ff914d;
    --cat-primary-dark: #d96a2b;
    --cat-text: #5f3a1d;
    --cat-muted: #8b5e34;
    --cat-border: #f2d5bd;
    --cat-danger: #b42318;
    --cat-success: #067647;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--cat-text);
    background: linear-gradient(135deg, #ffd89b, #ffe8c7, var(--cat-cream));
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

a {
    color: var(--cat-primary-dark);
    font-weight: 700;
}

.card {
    width: min(100%, 420px);
    background: var(--cat-card);
    padding: 36px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
    text-align: center;
}

.card.wide {
    width: min(100%, 760px);
}

h1 {
    margin-top: 0;
}

form {
    display: grid;
    gap: 14px;
    margin: 24px 0;
    text-align: left;
}

label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--cat-border);
    border-radius: 12px;
    font: inherit;
}

button,
.button {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: 999px;
    background: var(--cat-primary);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

button:hover,
.button:hover {
    transform: translateY(-1px);
    background: var(--cat-primary-dark);
}

button:disabled {
    cursor: wait;
    opacity: .7;
}

.button.secondary {
    color: var(--cat-primary-dark);
    background: #fff2e8;
}

.actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.status {
    min-height: 1.4em;
    margin: 12px 0 0;
    font-weight: 700;
}

.status.error {
    color: var(--cat-danger);
}

.status.success {
    color: var(--cat-success);
}

.muted {
    color: var(--cat-muted);
}
