* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  background: #ffffff;
}

a {
  color: #000000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.topbar {
  background: #000000;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: bold;
  font-size: 18px;
}

.topbar .logo:hover {
  text-decoration: none;
}

.topbar .logo img {
  border-radius: 4px;
}

.topbar nav {
  display: flex;
  gap: 24px;
}

.topbar nav a {
  color: #ffffff;
  font-size: 14px;
}

.topbar nav a:hover {
  text-decoration: underline;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

h1, h2, h3 {
  margin-bottom: 16px;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 22px;
}

h3 {
  font-size: 18px;
}

.card {
  background: #ffffff;
  border: 1px solid #000000;
  padding: 20px;
  margin-bottom: 16px;
}

.card-header {
  background: #f8f8f8;
  margin: -20px -20px 16px -20px;
  padding: 12px 20px;
  border-bottom: 1px solid #000000;
  font-weight: bold;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #000000;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  background: #333333;
  text-decoration: none;
}

.btn-secondary {
  background: #ffffff;
  color: #000000;
}

.btn-secondary:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.btn-link {
  background: none;
  border: none;
  color: #000000;
  cursor: pointer;
  font-size: 14px;
  padding: 0;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #000000;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid #000000;
  outline-offset: 1px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

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

th {
  background: #f8f8f8;
  font-weight: bold;
  border-top: 1px solid #000000;
}

tr:hover {
  background: #f8f8f8;
}

.auth-container {
  max-width: 400px;
  margin: 48px auto;
}

.auth-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #000000;
  background: #ffffff;
}

.auth-option:hover {
  background: #f8f8f8;
  text-decoration: none;
}

.auth-option .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.auth-option .text {
  flex: 1;
}

.auth-option .text strong {
  display: block;
}

.auth-option .text small {
  color: #666666;
}

.alert {
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #000000;
}

.alert-error {
  background: #f8f8f8;
}

.alert-success {
  background: #f8f8f8;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid #000000;
}

.pagination a:hover {
  background: #f0f0f0;
  text-decoration: none;
}

.pagination .active {
  background: #000000;
  color: #ffffff;
}

.stats-embed {
  width: 100%;
  height: 600px;
  border: 1px solid #000000;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border: 1px solid #000000;
  margin-right: 4px;
}
