:root {
    --bg: #0d0d0d;
    --panel: #161616;
    --border: #262626;
    --text: #d4d4d4;
    --muted: #6b6b6b;
    --accent: #3a3a3a;
    --accent-hover: #4a4a4a;
    --error-bg: #2a1414;
    --error-border: #5a1f1f;
    --error-text: #d48b8b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box {
    width: 320px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px 28px;
}

.alert {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: var(--error-text);
    padding: 10px 12px;
    border-radius: 3px;
    margin-bottom: 16px;
    font-size: 13px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 14px;
    margin-bottom: 16px;
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: var(--accent-hover);
}

button {
    width: 100%;
    background: var(--accent);
    border: 1px solid var(--accent-hover);
    color: var(--text);
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    margin-top: 8px;
}

button:hover {
    background: var(--accent-hover);
}
