:root {
    --background: #ffffff;
    --foreground: #09090b;
    --muted: #f4f4f5;
    --muted-foreground: #71717a;
    --border: #e4e4e7;
    --input: #e4e4e7;
    --primary: #18181b;
    --primary-foreground: #fafafa;
    --radius: 0.5rem;
    --font-sans:
        system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

nav .brand {
    font-weight: 700;
    font-size: 1.25rem;
}

nav .links a {
    margin-left: 1.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

nav .links a:hover {
    color: var(--foreground);
    text-decoration: none;
}

h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}
h2 {
    font-size: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.875rem;
}

th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted-foreground);
    font-weight: 500;
}

td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}

tr:last-child td {
    border-bottom: none;
}

input[type="text"],
input[type="password"] {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--foreground);
    background-color: transparent;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: var(--foreground);
}

input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding: 0 1rem;
    background-color: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
}

input[type="submit"]:hover {
    opacity: 0.9;
}

.flash {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: var(--radius);
    background-color: var(--muted);
    color: var(--foreground);
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.empty-state {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin-top: 1rem;
}
