/* Base Styles */
:root {
  --primary: #0070f3;
  --primary-hover: #0051a8;
  --destructive: #ff4d4f;
  --warning: #faad14;
  --success: #52c41a;
  --background: #ffffff;
  --foreground: #000000;
  --card: #ffffff;
  --card-foreground: #000000;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0070f3;
  --radius: 0.5rem;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-bg: #1a1a1a;
  --footer-bg: #1a1a1a;
  --footer-text: #ffffff;
  --selection-sunday-bg: #1a1a1a;
  --selection-sunday-text: #ffffff;
}

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

html,
body {
  font-family: var(--font-sans);
  background-color: #f0e6d2;
  background-image: url("https://bigdumbox.net/images/basketball-floor-texture.jpg");
  background-repeat: repeat;
  color: var(--foreground);
  line-height: 1.5;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.25;
}

p {
  margin-bottom: 1rem;
}

/* Header Styles */
.site-header {
  background-color: var(--header-bg);
  color: white;
  padding: 0.5rem 0;
  position: relative;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

/* Increase logo size by another 20% (from 48px to 58px) */
.logo-img {
  height: 58px; /* Increased from 48px to 58px (additional 20% increase) */
}

/* Mobile Menu Button */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 100;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: #f0e6d2;
}

/* Selection Sunday Banner */
.selection-sunday {
  display: none;
}

/* Selection Sunday Alert */
.selection-sunday-alert {
  background-color: #d1ecf1;
  color: #0c5460;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.1rem;
}

/* Home Page Specific Styles */
.home-content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.subtitle {
  color: #666666;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.main-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.welcome-text {
  font-size: 1rem;
  line-height: 1.6;
}

.welcome-text a {
  color: var(--primary);
  text-decoration: none;
}

.welcome-text a:hover {
  text-decoration: underline;
}

/* Right-align the commish signature */
.commish-signature {
  text-align: right;
  margin-top: 1.5rem;
  font-style: italic;
  color: #333;
}

/* Page Title */
.page-title {
  font-size: 2rem;
  margin: 1.5rem 0;
  color: #333;
}

/* Form Elements */
.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input,
select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--input);
  border-radius: var(--radius);
  font-size: 1rem;
  background-color: var(--background);
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(0, 112, 243, 0.2);
}

.help-text {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  background-color: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.button:hover,
button:hover {
  background-color: var(--primary-hover);
}

.button.outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.button.outline:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Card */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

/* Seed Counter Card with 80% opacity */
.seed-counter-card {
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
}

/* Region Cards with 80% opacity */
.region-card {
  background-color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-bottom: 2.5rem; /* Add space for the select two text at bottom */
}

/* Change the region background title to horizontal across the top */
.region-background-title {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  font-size: 5rem; /* Adjusted for horizontal display */
  font-weight: 800;
  color: rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 0.2rem; /* Add letter spacing for better appearance */
}

/* Style for the "Select Two" text at the bottom of region cards */
.region-select-text {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 500;
  color: #64748b;
  font-size: 0.9rem;
}

/* Wildcard Full Width */
.wildcard-full-width {
  grid-column: 1 / -1;
}

/* Adjust card content to make room for horizontal title */
.region-card .card-content {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.card-content {
  padding: 1.5rem;
}

.card-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.card-description {
  color: #64748b;
  font-size: 0.875rem;
}

/* Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .regions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Further reduce the vertical space between checkboxes */
.team-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 0.5rem; /* Gap between columns and rows */
}

/* Adjust team items to fit in the new layout */
.team-item {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Ensure left alignment */
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.team-item input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  flex: 0 0 auto; /* Prevent checkbox from shrinking */
}

/* Ensure font size is appropriate for the smaller spaces */
.team-item label {
  margin-bottom: 0;
  cursor: pointer;
  flex: 1;
  font-size: 0.9rem;
}

/* Seed Counter */
.seed-counter {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.seed-counter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.seed-counter-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.seed-counter-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.progress-container {
  height: 0.5rem;
  background-color: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #e2e8f0;
  border-radius: 9999px;
  transition: width 0.3s, background-color 0.3s;
}

/* Wildcard Picks */
.wildcard-container {
  display: flex;
  flex-direction: row; /* Changed from column to row */
  gap: 1rem;
}

.wildcard-container .form-group {
  flex: 1;
}

/* Validation Errors */
.validation-errors {
  margin-bottom: 1.5rem;
}

.alert {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert-error {
  background-color: rgba(255, 77, 79, 0.1);
  border: 1px solid #800000;
  color: var(--destructive);
}

.alert-warning {
  background-color: rgba(250, 173, 20, 0.1);
  border: 1px solid #800000;
  color: #800000;
}

.alert-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Update the submit button to match the footer background */
.submit-button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  margin-top: 1rem;
  background-color: var(--footer-bg);
  transition: background-color 0.3s, transform 0.2s;
}

.submit-button:hover {
  background-color: #2a2a2a; /* Slightly lighter than footer for hover effect */
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 2rem 0;
  margin-top: 3rem;
}

/* Right-align the footer content */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Right-align all content */
  text-align: right; /* Right-align text */
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.basketball-icon {
  margin-left: 0.5rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end; /* Right-align footer info items */
}

.footer-info a {
  color: var(--footer-text);
  text-decoration: underline;
}

.footer-info a:hover {
  text-decoration: none;
}

/* Spinner for submit button */
.spinner {
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Text colors */
.text-success {
  color: var(--success);
}

.text-error {
  color: var(--destructive);
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--header-bg);
  z-index: 99;
  padding: 4rem 1rem 1rem;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: #f0e6d2;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
}

.overlay.active {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-nav {
    display: none; /* Hide desktop navigation on mobile */
  }

  .mobile-menu-button {
    display: block; /* Show mobile menu button */
    position: absolute;
    right: 1rem;
    top: 1rem;
  }

  .mobile-menu {
    display: block; /* Show mobile menu structure */
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .logo {
    justify-content: center;
  }

  .wildcard-container {
    flex-direction: column;
  }

  /* Adjust region title size for smaller screens */
  .region-background-title {
    font-size: 3.5rem;
  }

  /* Adjust home page content for mobile */
  .main-title {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .home-content {
    padding: 1.5rem;
  }
}

/* Team Selections Summary */
.team-selections {
  margin-top: 1.5rem;
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.team-selections-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.region-selections {
  margin-bottom: 1.5rem;
}

.region-selections:last-child {
  margin-bottom: 0;
}

.region-selections .region-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.team-list-summary {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-item-summary {
  padding: 0.5rem;
  background-color: white;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.team-item-summary.empty {
  color: #64748b;
  font-style: italic;
}

/* Entry Summary */
.entry-summary {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .summary-grid {
    grid-template-columns: 1fr 1fr;
  }

  .region-selections {
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    gap: 1rem;
  }

  .region-selections .region-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
}

.summary-label {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* View Entries Table */
.entries-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.entries-table th,
.entries-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.entries-table th {
  font-weight: 600;
  background-color: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 10;
}

.entries-table tbody tr:hover {
  background-color: #f8fafc;
}

.table-container {
  overflow-x: auto;
  max-width: 100%;
  margin-bottom: 1rem;
}

.error-message {
  text-align: center;
  padding: 1rem;
  color: var(--destructive);
  margin-bottom: 1rem;
}

.empty-message {
  text-align: center;
  padding: 2rem;
  color: #64748b;
}

/* Team cell styles */
.team-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-cell:hover {
  white-space: normal;
  overflow: visible;
}

/* Add this to your existing CSS */
.team-selection-text {
  background-color: white;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 500;
  margin: 0;
}

/* Remove the card-footer from confirmation.html */
.confirmation-card .card-footer {
  display: none;
}

/* Add styling for the team columns */
.team-column {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start; /* Ensure left alignment of column content */
}

/* Add these new styles for the rules page */
.rules-content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.entry-fee-alert {
  background-color: #d1ecf1;
  color: #0c5460;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.rules-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.rules-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.rules-section h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.rules-section ol {
  padding-left: 1.5rem;
}

.rules-section li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.rules-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.rules-section a {
  color: var(--primary);
  text-decoration: none;
}

.rules-section a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .entry-fee-alert {
    font-size: 1.25rem;
    padding: 1rem;
  }

  .rules-content {
    padding: 1.5rem;
  }

  .rules-section h3 {
    font-size: 1.25rem;
  }
}

/* Add these new styles for the champions page */
.champions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.champion-card {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.champion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.champion-year {
  background-color: var(--header-bg);
  color: white;
  padding: 0.75rem;
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
}

.champion-content {
  padding: 1.25rem;
  text-align: center;
}

.champion-content p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .champions-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .champion-year {
    font-size: 1.1rem;
    padding: 0.5rem;
  }

  .champion-content {
    padding: 1rem;
  }
}

/* Add these new styles for the participants page */
.participants-content {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  min-height: 400px;
  position: relative;
}

.participants-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 10;
}

.spinner-container {
  margin-bottom: 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Table styles for participants */
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.table-responsive th,
.table-responsive td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table-responsive th {
  background-color: var(--header-bg);
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table-responsive tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-responsive tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .participants-content {
    padding: 1rem;
  }

  .table-responsive {
    overflow-x: auto;
  }

  .table-responsive table {
    min-width: 600px;
  }
}

/* Additional styles for the participants page to work with the JavaScript functionality */
#content.loading {
  position: relative;
  min-height: 200px;
}

#content.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 5;
}

#content.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

/* Override any Bootstrap styles that might be applied by the JavaScript */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  background-color: var(--header-bg);
  color: white;
  font-weight: 600;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Make sure the container-fluid class doesn't break our layout */
.container-fluid {
  width: 100%;
  padding-right: 0;
  padding-left: 0;
}

/* Additional styles to support the original JavaScript functionality */

/* Styles for the loading state */
#content.loading {
  position: relative;
  min-height: 300px;
}

#content.loading::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 5;
}

#content.loading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

/* Styles for the table that gets generated by the JavaScript */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 1.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive th,
.table-responsive td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table-responsive th {
  background-color: var(--header-bg);
  color: white;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.table-responsive tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-responsive tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Specific styles for the participants table */
.table-responsive .name {
  min-width: 150px;
}

.table-responsive .thin {
  width: 80px;
}

.table-responsive .shrink {
  width: 100px;
}

.table-responsive .center {
  text-align: center;
}

.table-responsive .region {
  text-align: center;
}

/* Styles for the "in" or "out" status */
.table-responsive .y {
  font-weight: bold;
  color: #52c41a;
}

.table-responsive .out {
  color: #999;
  text-decoration: line-through;
}

/* Hide the desktop row on desktop, show on mobile */
.table-responsive .desktop {
  display: none;
}

@media (max-width: 768px) {
  .table-responsive .desktop {
    display: table-row;
  }

  /* Hide the regular rows on mobile */
  .table-responsive .desktop + tr {
    display: none;
  }
}

/* Make sure the h1 inside the content div looks good */
#content h1 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #333;
}

#content hr {
  margin-bottom: 1.5rem;
  border: 0;
  border-top: 1px solid var(--border);
}

#content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Zebra striping for tablesorter */
.tablesorter tbody tr.odd {
  background-color: rgba(0, 0, 0, 0.02);
}

.tablesorter tbody tr.even {
  background-color: transparent;
}

/* Tablesorter header styles */
.tablesorter thead tr .header {
  background-image: url(data:image/gif;base64,R0lGODlhFQAJAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAkAAAIXjI+AywnaYnhUMoqt3gZXPmVg94yJVQAAOw==);
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
  padding-right: 20px;
}

.tablesorter thead tr .headerSortUp {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjB+gC+jP2ptn0WskLQA7);
}

.tablesorter thead tr .headerSortDown {
  background-image: url(data:image/gif;base64,R0lGODlhFQAEAIAAACMtMP///yH5BAEAAAEALAAAAAAVAAQAAAINjI8Bya2wnINUMopZAQA7);
}

