/* Theme-aware styles for dark site */
.bg-light {
  background-color: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-light) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.table {
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.1);
}

.table-dark {
  --bs-table-bg: rgba(255, 255, 255, 0.03);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.05);
  --bs-table-border-color: rgba(255, 255, 255, 0.1);
}

.table thead {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

h3 {
  font-size: 1.35rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

p, li {
  line-height: 1.7;
  color: var(--text-gray);
}

ul, ol {
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

strong {
  color: var(--text-light);
}

.alert-info {
  background-color: rgba(13, 202, 240, 0.1);
  border: 1px solid rgba(13, 202, 240, 0.3);
  color: var(--text-light);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 767px) {
  .header-content {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .header-content > .btn-primary {
    order: 2;
    width: auto;
    margin-top: 0;
    margin-left: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .nav {
    order: 3;
    margin-left: auto;
  }
}