* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

a {
    color: #1f2937;
}

.container {
    width: min(1100px, calc(100% - 40px));
    margin: 28px auto;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box,
.card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.login-box {
    width: 100%;
    max-width: 390px;
    padding: 32px;
}

.card {
    padding: 24px;
}

h1 {
    margin: 0 0 20px;
    font-size: 24px;
}

.login-box h1 {
    text-align: center;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

input,
select {
    width: 100%;
    padding: 11px 12px;
    margin-bottom: 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    background: #fff;
}

input[type="checkbox"] {
    width: auto;
    margin-right: 6px;
}

button,
.button {
    display: inline-block;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: #1f2937;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.button:hover {
    background: #111827;
}

.button.secondary {
    background: #6b7280;
}

.alert {
    margin-bottom: 18px;
    padding: 10px 12px;
    border-radius: 8px;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
}

.toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}

th,
td {
    border: 1px solid #e5e7eb;
    padding: 9px 10px;
    vertical-align: top;
}

th {
    background: #f9fafb;
    text-align: left;
}

.muted {
    color: #6b7280;
}

.small {
    font-size: 13px;
}

.inline-form {
    display: inline;
}
