.welcome-image {
  padding: 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(0, 101, 152, 0.12);
}

.welcome-image img {
  max-width: 240px;
}

.welcome-image h1 {
  margin-top: 0;
  color: #0b577a;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

.welcome-image table td {
  vertical-align: middle;
}

.route-index {
  padding-top: 40px;
}

.table-centered td,
th {
  text-align: center;
}

.tab-content {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
}

.nav-tabs {
  margin-bottom: 0;
}


/* Results table */
.results-table-container {
  overflow-x: auto;
  width: 100%;
  height: 300px;
}

.results-table {
  width: 100%;
  max-width: 100%;
  white-space: nowrap;
  font-size: 0.7em
}

.results-table th, .results-table td {
  padding: .30rem;
}

.results-table td.center {
  text-align: center;
}

.results-table td.left {
  text-align: left;
}

.results-table td.right {
  text-align: right;
}

/* END Results table */

/* Help index */
.help-header h1 {
  font-size: 1.8rem;
}

.help-grid {
  margin-top: 12px;
}

.help-card {
  display: block;
  height: 100%;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  text-decoration: none;
  color: #0f172a;
  transition: transform 0.08s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.help-card-icon {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #e8edfb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  margin: 0;
  font-size: 0.95rem;
}

.help-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.help-card p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

.help-card:hover {
  transform: translateY(-2px);
  border-color: #b6c2ff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.help-intro {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: #fff;
}

.help-bullets {
  margin: 12px 0 0;
  padding-left: 18px;
}

.help-bullets li + li {
  margin-top: 10px;
}

/* Help routes table */
.help-page-header h1 {
  font-size: 1.75rem;
}

.help-routes-table th {
  position: sticky;
  top: 0;
  background: #f1f5f9;
  z-index: 1;
}

.help-routes-table td:nth-child(2),
.help-routes-table td:nth-child(5) {
  font-family: Menlo, Consolas, Monaco, "Courier New", monospace;
  font-size: 0.85rem;
  word-break: break-word;
}

.help-routes-table td:nth-child(3),
.help-routes-table td:nth-child(4),
.help-routes-table td:nth-child(6) {
  white-space: nowrap;
}

.restful-table th {
  position: sticky;
  top: 0;
  background: #f1f5f9;
  z-index: 1;
  vertical-align: middle;
}

.restful-table td {
  vertical-align: middle;
}

.restful-container .col-lg-12 {
  padding-left: 0;
  padding-right: 0;
}

.restful-container .table-responsive {
  padding-left: 0;
  padding-right: 0;
}

/* Stretch restful listings closer to full viewport with a small gutter */
.restful-container {
  width: calc(100vw - 48px);
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
