* { box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; max-width: 960px; margin: 2rem auto; padding: 0 1rem; color: #1c1c1c; background: #fafafa; } h1, h2 { color: #222; } a { color: #2563eb; text-decoration: none; } a:hover { text-decoration: underline; } table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: #fff; } table.details { width: auto; min-width: 320px; } th, td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid #e2e2e2; } thead th { background: #f0f0f0; font-weight: 600; } tbody tr:hover { background: #f7f7f7; } button { cursor: pointer; background: #2563eb; color: #fff; border: none; border-radius: 4px; padding: 0.4rem 0.8rem; margin: 0.15rem; font-size: 0.9rem; } button:hover { background: #1d4ed8; } button.danger { background: #dc2626; } button.danger:hover { background: #b91c1c; } button.secondary { background: #6b7280; } button.secondary:hover { background: #4b5563; } .actions { margin: 1rem 0; } form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; background: #fff; padding: 1rem; border: 1px solid #e2e2e2; border-radius: 6px; max-width: 480px; } form#login-form { flex-direction: column; align-items: stretch; max-width: 320px; margin: 3rem auto; } input[type="text"], input[type="email"], input[type="password"], input[type="number"] { padding: 0.4rem 0.6rem; border: 1px solid #ccc; border-radius: 4px; font-size: 0.9rem; } label { font-size: 0.9rem; } .error { color: #dc2626; font-size: 0.9rem; min-height: 1.2em; } .badge { display: inline-block; padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #fff; } .badge.up { background: #16a34a; } .badge.down { background: #dc2626; } .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; } .modal.hidden { display: none; } .modal-content { background: #fff; padding: 1rem; border-radius: 6px; text-align: center; } .modal-content img { display: block; margin-top: 0.5rem; max-width: 320px; } @media (prefers-color-scheme: dark) { body { background: #17181a; color: #e6e6e6; } h1, h2 { color: #f2f2f2; } table, form { background: #212226; } thead th { background: #2a2b30; } th, td { border-bottom: 1px solid #33343a; } tbody tr:hover { background: #26272c; } input { background: #1b1c1f; color: #e6e6e6; border: 1px solid #3a3b41; } .modal-content { background: #212226; } }