/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, #e95420 0%, #772953 100%);
  color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.site-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.site-header .meta {
  opacity: 0.9;
  font-size: 0.9rem;
}

.header-nav {
  margin: 1rem 0;
}

.header-nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.header-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Main content */
main {
  flex: 1;
  padding-bottom: 2rem;
}

/* Headings */
h1,
h2,
h3 {
  color: #0f172a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

/* Tables */
table {
  width: 100%;
  background: white;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

th,
td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

th {
  background: #f1f5f9;
  font-weight: 600;
  color: #475569;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

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

tr:hover {
  background: #f8fafc;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.badge.pass {
  background: #dcfce7;
  color: #166534;
}

.badge.fail {
  background: #fee2e2;
  color: #991b1b;
}

.badge.skip {
  background: #fef3c7;
  color: #92400e;
}

/* Footer */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer p {
  margin: 0.25rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    padding: 1.5rem 0;
  }

  .site-header h1 {
    font-size: 1.5rem;
  }

  table {
    font-size: 0.875rem;
  }

  th,
  td {
    padding: 0.625rem 0.75rem;
  }

  h2 {
    font-size: 1.125rem;
  }
}

/* First heading doesn't need top margin */
main > h1:first-child,
main > h2:first-child {
  margin-top: 0;
}

/* Spacing utilities */
.spacing-sm {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.spacing-md {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.spacing-lg {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
