:root {
    --bg: #0c0f13;
    --card: #121822;
    --text: #e8eef7;
    --muted: #9bb0c7;
    --line: #243246;
    --btn: #1f6feb;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family:
        system-ui,
        -apple-system,
        Segoe UI,
        Roboto,
        sans-serif;
    background: var(--bg);
    color: var(--text);
}
a {
    color: inherit;
    text-decoration: none;
}
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px;
}
.admin-header {
    border-bottom: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    backdrop-filter: blur(8px);
}
.admin-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-weight: 800;
}
.nav a {
    margin-left: 14px;
    color: var(--muted);
}
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 14px;
}
.stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}
.stat .label {
    color: var(--muted);
    font-size: 13px;
}
.stat .value {
    font-size: 28px;
    font-weight: 800;
    margin-top: 6px;
}
.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
label {
    display: block;
    margin: 12px 0;
    color: var(--muted);
    font-size: 13px;
}
input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #0b0f14;
    color: var(--text);
}
textarea {
    resize: vertical;
}
.actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--btn);
    color: white;
    cursor: pointer;
}
.btn.secondary,
button.secondary {
    background: transparent;
    color: var(--text);
}
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th,
.table td {
    padding: 10px;
    border-bottom: 1px solid var(--line);
}
.badge {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 3px 10px;
    color: var(--muted);
    font-size: 12px;
}
.right {
    text-align: right;
}
.center {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
}
.alert {
    border: 1px solid #6b2a2a;
    background: rgba(255, 0, 0, 0.08);
    padding: 10px 12px;
    border-radius: 10px;
    margin: 10px 0;
}
.hint {
    color: var(--muted);
    font-size: 13px;
}
