:root {
    --bg: #f2f2f2;
    --card: #ffffff;
    --border: #d8d8d8;
    --label: #1a5bb8;
    --text: #333333;
    --placeholder: #9a9a9a;
    --title: #4a4a4a;
    --error: #c62828;
    --btn: #1a5bb8;
    --btn-hover: #154a96;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 3.5rem 1rem 2rem;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
}
.wrap { width: 100%; max-width: 420px; }
.wrap.dashboard { margin-top: 2rem; }
h1 {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--title);
    margin-bottom: 1.75rem;
}
.muted { text-align: center; color: #777; margin-bottom: 1rem; }
.panel {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.field {
    position: relative;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 0.85rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 1.15rem 0.95rem 0.55rem;
}
.field.no-label { padding: 0.85rem 0.95rem; }
.field label {
    position: absolute;
    top: 7px;
    left: 14px;
    font-size: 0.68rem;
    color: var(--label);
    font-weight: 600;
}
.field label.caps {
    font-size: 0.62rem;
    text-transform: uppercase;
    max-width: calc(100% - 28px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.field input,
.field select {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.98rem;
    color: var(--text);
    font-family: inherit;
}
.field input::placeholder { color: var(--placeholder); }
.field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 1.75rem;
    font-weight: 500;
}
.field .arrows {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-40%);
    color: var(--label);
    font-size: 0.7rem;
    line-height: 0.85;
    pointer-events: none;
    text-align: center;
}
.captcha-box { text-align: center; margin: 1.1rem 0 0.35rem; }
.captcha-code {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    color: #1a1a1a;
    user-select: none;
}
.captcha-refresh {
    display: inline-block;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: #555;
    text-decoration: none;
}
.captcha-refresh:hover { text-decoration: underline; color: var(--label); }
.error {
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    background: #fdecea;
    color: var(--error);
    font-size: 0.88rem;
    text-align: center;
}
.btn {
    width: 100%;
    margin-top: 1.25rem;
    padding: 0.85rem;
    border: none;
    border-radius: 10px;
    background: var(--btn);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.btn:hover { background: var(--btn-hover); }
code { color: var(--label); }
