.header {
  text-align: center;
  padding: 15px;
  background-color: #f9fafb; /* Light background color for contrast */
  border-bottom: 2px solid #d1d5db; /* Subtle border */
}

.header .title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
  color: #1f2937; /* Dark gray for text */
}

.header a {
  color: #2563eb; /* Blue for links */
  text-decoration: none;
}

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

.container {
  max-width: 800px; /* Optional: to limit the content width */
  margin: 0 auto;
}

.intro {
  text-align: center;
  font-size: 1rem;
  color: #374151; /* Slightly darker gray */
  font-weight: 600; /* Semi-bold */
  line-height: 1.5;
  margin-top: 20px;
}

.charter.missed {
  color: gray;
  font-style: italic;
  text-align: center;
  padding: 5px;
}

TABLE.cal {
  border-collapse: collapse;
  border: 2px solid #d1d5db;
  font-size: 13px;
  font-family: 'Roboto', Arial, sans-serif;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
TABLE.cal TH {
  font-weight: bold;
  color: #1e3a8a;
  background-color: #bfdbfe;
}
TABLE.cal TD {
  height: 100px;
  width: 125px;
  text-align: right;
  vertical-align: top;
  background-color: #f9fafb;
}
TD.om {
  color: gray;
}
TD.today {
  background-color: #ffe8df !important;
}
DIV.charter {
  text-align: left;
}
BUTTON.btn {
  text-decoration: none;
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: bold;
  background-color: #33ffff;
  color: black;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  outline: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
BUTTON.btn:hover {
  background-color: white;
}
BUTTON.btn:active {
  transform: scale(0.95);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.many, .many A {
  color: #10b981; /* Green */
}
.few, .few A {
  color: #ff9900; /* Orange */
}
.none, .none A {
  color: #d00000; /* Red */
}

/* Updated styles for the List View */

/* Table structure for List View */
TABLE.list-view {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 10pt;
  margin-top: 20px;
}

TABLE.list-view THEAD {
  background-color: #1e3a8a;
  color: #ffffff;
}

TABLE.list-view THEAD TH {
  text-align: left;
  padding: 8px;
}

TABLE.list-view TBODY TR:nth-child(even) {
  background-color: #f1f5f9; /* Light gray for alternating rows */
}

TABLE.list-view TBODY TR:nth-child(odd) {
  background-color: #ffffff;
}

TABLE.list-view TD {
  padding: 8px;
  vertical-align: top;
}

/* Status-specific styling */
.status-cancelled {
  color: red;
  font-weight: bold;
}

.status-full {
  color: red;
}

.status-available {
  color: green;
}

.bullet {
  color: black !important;
}

/* Responsive design */
@media screen and (max-width: 768px) {
  TABLE.list-view {
    font-size: 10pt;
  }

  TABLE.list-view THEAD TH, TABLE.list-view TD {
    padding: 6px;
  }
}

/* Tooltip styling */
.tooltip {
  position: absolute;
  background: rgba(50, 50, 50, 0.95);
  color: #fff;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.3;
  max-width: 260px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.tooltip.show {
  opacity: 1;
}

/* Codes inside tooltip */
#tooltip .tooltip-codes {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #d0d0d0; /* light gray, readable on dark background */
}

/* Notes / cancellations inside tooltip */
#tooltip .tooltip-note {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #ff7070; /* softer red than pure red */
}

