* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #020B24;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
  padding: 16px;
  min-height: 100vh;
}

.container {
  max-width: 600px;
  margin: 0 auto;
}

/* Header */
header {
  text-align: center;
  padding: 16px 0;
  margin-bottom: 16px;
}

.neon-title {
  font-size: 28px;
  font-weight: 600;
  background: linear-gradient(135deg, #2FFFEF 0%, #00AAFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

.subtitle {
  color: #1AA7A7;
  font-size: 10px;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Cards */
.card {
  background: rgba(2, 11, 36, 0.8);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 170, 255, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  color: #2FFFEF;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  padding-left: 10px;
  border-left: 3px solid #2FFFEF;
}

/* Station Scroll */
.station-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 8px;
}

.station-scroll::-webkit-scrollbar {
  height: 3px;
}

.station-scroll::-webkit-scrollbar-track {
  background: #0a1a2f;
  border-radius: 10px;
}

.station-scroll::-webkit-scrollbar-thumb {
  background: #2FFFEF;
  border-radius: 10px;
}

.station-card {
  background: #0a1a2f;
  border-radius: 30px;
  padding: 8px 18px;
  min-width: 90px;
  text-align: center;
  cursor: pointer;
  border: 1px solid #1AA7A7;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
}

.station-card small {
  font-size: 10px;
  color: #1AA7A7;
  display: block;
}

.station-card.active {
  background: rgba(47, 255, 238, 0.15);
  border-color: #2FFFEF;
  box-shadow: 0 0 10px rgba(47, 255, 238, 0.3);
}

.station-card.active small {
  color: #2FFFEF;
}

/* Form Elements */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  font-size: 11px;
  color: #1AA7A7;
  margin-bottom: 8px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.date-picker {
  width: 100%;
  background: #0a1a2f;
  border: 1px solid #1AA7A7;
  border-radius: 12px;
  padding: 12px;
  color: #2FFFEF;
  font-size: 14px;
  font-family: monospace;
}

/* Time Wheel */
.time-wheel-container {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  background: #0a1a2f;
  border-radius: 16px;
  padding: 12px;
}

.time-wheel {
  height: 140px;
  width: 80px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  background: #01061a;
  border-radius: 12px;
  border: 1px solid #1AA7A7;
}

.time-option {
  scroll-snap-align: center;
  text-align: center;
  padding: 12px 0;
  font-size: 14px;
  font-family: monospace;
  color: #1AA7A7;
}

.time-option.selected {
  color: #2FFFEF;
  text-shadow: 0 0 5px rgba(47, 255, 238, 0.5);
  font-weight: 600;
  background: rgba(47, 255, 238, 0.1);
}

.time-inputs {
  display: flex;
  gap: 6px;
  align-items: center;
}

.time-inputs input {
  width: 55px;
  background: #01061a;
  border: 1px solid #1AA7A7;
  border-radius: 10px;
  padding: 10px;
  color: #2FFFEF;
  font-size: 16px;
  font-family: monospace;
  text-align: center;
}

.time-inputs span {
  color: #1AA7A7;
  font-size: 20px;
}

/* Radio & Checkbox Groups */
.radio-group, .checkbox-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.radio-group label, .checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}

input[type="radio"], input[type="checkbox"] {
  accent-color: #2FFFEF;
  width: 16px;
  height: 16px;
}

/* Input Fields */
.form-input {
  width: 100%;
  background: #0a1a2f;
  border: 1px solid #1AA7A7;
  border-radius: 12px;
  padding: 12px;
  color: #2FFFEF;
  font-size: 14px;
  margin-bottom: 10px;
}

.form-input::placeholder {
  color: #1AA7A7;
  opacity: 0.5;
}

.form-input:focus {
  outline: none;
  border-color: #2FFFEF;
}

/* Row layout */
.row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.row > * {
  flex: 1;
  margin-bottom: 0;
}

/* Tide Events */
.tide-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: rgba(0, 170, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 6px;
  border-left: 2px solid #2FFFEF;
  font-size: 13px;
}

.springs-text { color: #ff6b6b; font-weight: 600; }
.neaps-text { color: #6bff6b; font-weight: 600; }

/* Hourly Scroll */
.hourly-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 8px 0;
}

.hourly-card {
  min-width: 110px;
  background: #0a1a2f;
  border-radius: 14px;
  padding: 10px;
  border: 1px solid #1AA7A7;
}

.hourly-card.highlight {
  border-color: #2FFFEF;
  background: rgba(47, 255, 238, 0.1);
}

.hourly-card strong {
  color: #2FFFEF;
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}

.hourly-card br {
  display: none;
}

/* Detailed Panel */
.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 170, 255, 0.1);
  font-size: 13px;
}

.detail-row strong {
  color: #1AA7A7;
  font-weight: 500;
}

/* Risk Bar */
.risk-bar {
  display: flex;
  margin: 16px 0 6px;
  border-radius: 20px;
  overflow: hidden;
}

.risk-segment {
  flex: 1;
  text-align: center;
  padding: 6px;
  font-size: 10px;
  font-weight: 600;
}

.risk-segment.green { background: #1f8a4c; }
.risk-segment.yellow { background: #e0b01a; color: #1a1a1a; }
.risk-segment.orange { background: #e67e22; }
.risk-segment.red { background: #c0392b; }

.risk-pointer {
  text-align: center;
  font-size: 11px;
  color: #2FFFEF;
  margin-top: 4px;
  transition: margin-left 0.3s ease;
}

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips span {
  background: #0a1a2f;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid #1AA7A7;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.chips span.active-chip {
  background: linear-gradient(135deg, #2FFFEF 0%, #00AAFF 100%);
  color: #020B24;
  border-color: #2FFFEF;
  font-weight: 600;
}

/* Export Buttons */
.export-buttons {
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  padding: 12px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.1s;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-wa { background: #25D366; color: white; }
.btn-email { background: #3b5998; color: white; }

/* Advisory */
.advisory {
  font-size: 9px;
  color: #555;
  text-align: center;
  padding: 16px 0 24px;
  line-height: 1.4;
}

/* Utility */
.text-small { font-size: 10px; color: #1AA7A7; }
.mt-2 { margin-top: 8px; }
.mb-2 { margin-bottom: 8px; }


/* Time Picker - Separate Hour and Minute Spinners */
.time-picker {
  display: flex;
  gap: 20px;
  justify-content: center;
  background: #0a1a2f;
  border-radius: 20px;
  padding: 20px;
}

.time-spinner {
  flex: 1;
  text-align: center;
}

.spinner-label {
  font-size: 11px;
  color: #1AA7A7;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spinner-wheel {
  height: 200px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  background: #01061a;
  border-radius: 16px;
  border: 1px solid #1AA7A7;
}

.spinner-option {
  scroll-snap-align: center;
  text-align: center;
  padding: 14px 0;
  font-size: 18px;
  font-family: monospace;
  color: #1AA7A7;
  cursor: pointer;
  transition: all 0.1s;
}

.spinner-option.selected {
  color: #2FFFEF;
  text-shadow: 0 0 8px rgba(47, 255, 238, 0.5);
  font-weight: 600;
  background: rgba(47, 255, 238, 0.15);
  transform: scale(1.05);
}

.spinner-option:hover {
  background: rgba(47, 255, 238, 0.05);
}
/* Time Picker - Separate Hour and Minute Spinners */
.time-picker {
  display: flex;
  gap: 20px;
  justify-content: center;
  background: #0a1a2f;
  border-radius: 20px;
  padding: 20px;
}

.time-spinner {
  flex: 1;
  text-align: center;
}

.spinner-label {
  font-size: 11px;
  color: #1AA7A7;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spinner-wheel {
  height: 200px;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  background: #01061a;
  border-radius: 16px;
  border: 1px solid #1AA7A7;
}

.spinner-wheel::-webkit-scrollbar {
  width: 3px;
}

.spinner-wheel::-webkit-scrollbar-track {
  background: #0a1a2f;
}

.spinner-wheel::-webkit-scrollbar-thumb {
  background: #2FFFEF;
  border-radius: 10px;
}

.spinner-option {
  scroll-snap-align: center;
  text-align: center;
  padding: 14px 0;
  font-size: 18px;
  font-family: monospace;
  color: #1AA7A7;
  cursor: pointer;
  transition: all 0.1s;
}

.spinner-option.selected {
  color: #2FFFEF;
  text-shadow: 0 0 8px rgba(47, 255, 238, 0.5);
  font-weight: 600;
  background: rgba(47, 255, 238, 0.2);
  transform: scale(1.05);
}

.spinner-option:hover {
  background: rgba(47, 255, 238, 0.1);
}
.date-picker {
  cursor: pointer;
}

.date-picker::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0.6) sepia(1) hue-rotate(150deg);
  opacity: 0.8;
}