/* Dark mode global styles */
body {
  font-family: Arial, sans-serif;
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
  background-color: #121212;
  color: #e0e0e0;
}

/* Top bar for navigation */
.top-bar {
  background-color: #1f1f1f;
  padding: 10px 20px;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center; /* ensures vertical centering */
  gap: 20px;
}

.nav a {
  color: #e0e0e0;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.nav a:hover {
  background-color: #333;
}

.nav a.active {
  background-color: #1e90ff;
  font-weight: bold;
}

h1 {
  left: 0 !important;
  color: #e0e0e0 !important;
}

h3 {
  color: #e0e0e0 !important;
}

#message {
    color: #e0e0e0 !important;
    font-size: 24px;
    font-weight: 500;
}
.message {
  color: #e0e0e0 !important;
  font-size: 24px;
  font-weight: 500;
}

.page-container {
  display: none;
  padding: 20px;
}

.page-container.active {
  display: block;
}

ul {
    list-style-type: none;
    padding: 0;
}
li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}
.description {
    margin-right: 10px;
    font-style: italic;
    color: #555;
}

/* Additional styling enhancements */
a {
  color: #1e90ff;
}

a:hover {
  text-decoration: underline;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  text-align: center;
  background-color: #1f1f1f;
  margin-bottom: 50px;
}

tr {
  color: #333;
}

th, td {
  border: 1px solid #555 !important;
  padding: 8px;
}
td {
  text-align: center;
  color: #e0e0e0;
  word-break: break-word;
  white-space: normal;
}
th {
  background-color: #e3e3e3;
}
.title {
  background-color: #2a7dd2;
  color: #e0e0e0;
  font-size: 24px;
  font-weight: bold;
}

.copy-button.copied {
    color: green;
  }

  .copy-button,
  .open-button {
    cursor: pointer;
    background-color: #9898c0;
  }

.arrow {
  color: #1e90ff;
}

.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropbtn {
  cursor: pointer;
  opacity: 0.6;
  font-style: italic;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f8f8f8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 1;
  top: 100%;
  left: 0;
  min-width: 140px;
}

.dropdown-content a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: black;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown-content.show {
  display: block;
}

.rulescontainer {
  background-color: #3e5c7e;
  padding: 15px;
  border-radius: 8px;
  color: white;
  gap: 20px;
}


.rulepair h4 {
  margin: 0;
}

.rulepair ul {
  margin: 0;
  padding-left: 20px;
  list-style-type: disc !important;
  text-align: left !important;
}

.rulepair li {
  display: list-item !important;
  margin-bottom: 6px
}

.red-icon {
      color: red;
}
.green-icon {
  color: green;
}

.toggle-header {
  text-align: left;
  color: #e0e0e0;
}

.white-header {
  color: #e0e0e0;
}

.centered {
  text-align: center;
}

.status {
    font-weight: bold;
    padding: 5px;
    border-radius: 4px;
    display: inline-block;
}
.unclaimed {
    background-color: #f8d7da;
    color: #721c24;
}
.claimed {
    background-color: #d4edda;
    color: #155724;
}
