:root {
  color-scheme: light dark;
  font-family: system-ui, sans-serif;
}

body {
  margin: 0 auto;
  max-width: 1100px;
  padding: 1.5rem;
}

header {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

h1 {
  font-size: 1.25rem;
}

table {
  border-collapse: collapse;
  font-size: 0.9rem;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid rgb(128 128 128 / 35%);
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  gap: 0.25rem;
}

button,
.button {
  background: #1f6feb;
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
}

button.secondary {
  background: transparent;
  border: 1px solid rgb(128 128 128 / 55%);
  color: inherit;
}

pre {
  background: rgb(128 128 128 / 15%);
  border-radius: 6px;
  overflow-wrap: anywhere;
  padding: 0.75rem;
  white-space: pre-wrap;
}

#error,
#login-error {
  color: #d1242f;
}

.revoked {
  color: #d1242f;
}

.over-limit {
  color: #bf8700;
}
