/* Launch Point FL — ramp page tide widget
   Palette matched to tides.html: navy #1a365d, body #2d3748, muted #718096 */

.ramp-tides {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.ramp-tides__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.ramp-tides__header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: #1a365d;
}

.ramp-tides__station {
  font-size: 0.8rem;
  color: #718096;
}

.ramp-tides__days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.ramp-tides__day-label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3748;
}

.ramp-tides__events {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ramp-tides__event {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.9rem;
}

.ramp-tides__event:last-child { border-bottom: none; }

.ramp-tides__type {
  font-weight: 600;
  min-width: 4.25rem;
}

.ramp-tides__event.high .ramp-tides__type { color: #2b6cb0; }
.ramp-tides__event.low .ramp-tides__type { color: #b7791f; }

.ramp-tides__height {
  color: #718096;
  font-variant-numeric: tabular-nums;
}

.ramp-tides__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.ramp-tides__nav button {
  padding: 0.35rem 0.85rem;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  background: #fff;
  color: #2d3748;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  transition: background-color 0.15s ease;
}

.ramp-tides__nav button:hover:not(:disabled) { background: #f7fafc; }

.ramp-tides__nav button:disabled {
  opacity: 0.4;
  cursor: default;
}

.ramp-tides__nav button + button { margin-left: 0.5rem; }

.ramp-tides__dashboard-link {
  font-size: 0.85rem;
  color: #2b6cb0;
  text-decoration: none;
}

.ramp-tides__dashboard-link:hover { text-decoration: underline; }
