body {
    margin: 0;
    background: #f4f6f8;
    color: #1f2933;
    font-family: Arial, sans-serif;
}

a {
    color: #1d4ed8;
    text-decoration: none;
}

.topbar {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    background: #111827;
    color: #fff;
}

.brand {
    color: #fff;
    font-weight: 700;
}

.topbar nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar nav a,
.topbar button {
    color: #fff;
}

button,
.button {
    border: 0;
    border-radius: 6px;
    background: #2563eb;
    color: #fff;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
}

.topbar button {
    background: transparent;
    padding: 0;
}

.page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 32px 20px;
}

.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.toolbar h1,
.auth-box h1,
.form-box h1 {
    margin: 0 0 6px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.metrics div,
.auth-box,
.form-box {
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 18px;
}

.metrics strong {
    display: block;
    font-size: 28px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #d9e2ec;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

th {
    background: #eef2f7;
    font-size: 13px;
    text-transform: uppercase;
}

form {
    display: grid;
    gap: 12px;
}

input,
select {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    font-size: 15px;
}

.auth-box,
.form-box {
    max-width: 520px;
}

.flash-wrap {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.flash {
    border-radius: 6px;
    padding: 12px;
    background: #e0f2fe;
}

.flash.danger {
    background: #fee2e2;
}

.flash.warning {
    background: #fef3c7;
}

.flash.success {
    background: #dcfce7;
}
