/* SPOTTER'S FORECAST. board.css styles every table as the fixed-width BOARD; this one sizes to its content. */
#forecast-v .forecast-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  font-size: 0.8rem;
}

#forecast-v .forecast-table th,
#forecast-v .forecast-table td {
  width: auto !important;
  padding: 6px 8px;
  border-bottom: 1px solid var(--c-grey-222);
  text-align: left;
  white-space: nowrap;
  overflow: visible;
}

#forecast-v .forecast-table th {
  color: var(--c-grey-aaa);
  font-size: 0.65rem;
}

#forecast-v .forecast-search-input {
  flex: 1 1 14rem;
}

#forecast-v .forecast-airport-name {
  margin: 0;
  color: var(--c-amber);
  font-size: 1rem;
  font-weight: bold;
}

#forecast-v .forecast-windy {
  border-color: var(--c-amber);
}

#forecast-v .forecast-windy-cell {
  color: var(--c-amber);
  font-weight: bold;
}

#forecast-v .forecast-contrail-value {
  font-size: 1.1rem;
}

#forecast-v .forecast-row--best td {
  color: var(--c-green);
  font-weight: bold;
}

#forecast-v .forecast-row--best td:first-child {
  box-shadow: inset 3px 0 0 var(--c-green);
}

/* The airfield's own report, and the note that the page is still waiting on the forecast. The waiting line sits at
   the top: it used to be a sentence under a full table of dashes, which read as "the weather is broken". */
.forecast-waiting {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid var(--c-amber);
  border-radius: 4px;
  background: var(--c-grey-080808);
  color: var(--c-amber);
  font-size: 0.85rem;
}

.forecast-metar {
  margin-top: 12px;
}

.forecast-metar-raw {
  margin: 6px 0 4px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--c-white);
  overflow-wrap: anywhere;
}

.forecast-partner {
  border-top: 1px solid var(--c-grey-222);
  padding-top: 10px;
}
