/**
 * Styles for the Surf / Tide Day Picker.
 */

.surf-tool {
  --tool-ink: #2c3e50;
  --tool-teal: #1abc9c;
  --go: #1e8449;
  --maybe: #d68910;
  --stay: #922b21;
}

.surf-tool .page-section {
  background:
    radial-gradient(circle at top right, rgba(52, 152, 219, 0.14), transparent 42%),
    linear-gradient(180deg, #f4f8fb 0%, #fff 55%, #f7faf9 100%);
}

.tool-intro {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
  color: #495057;
  font-size: 1.05rem;
  line-height: 1.6;
}

.surf-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .surf-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

.surf-panel {
  background: #fff;
  border: 1px solid rgba(44, 62, 80, 0.1);
  border-radius: 0.55rem;
  box-shadow: 0 10px 28px rgba(44, 62, 80, 0.07);
  padding: 1.35rem;
}

.surf-panel h2 {
  margin: 0 0 1rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tool-ink);
}

.surf-field {
  margin-bottom: 1.15rem;
}

.surf-field:last-child {
  margin-bottom: 0;
}

.surf-field label,
.surf-field-label {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tool-ink);
}

.surf-field select,
.surf-field input[type="range"] {
  width: 100%;
}

.surf-field select {
  border: 2px solid rgba(44, 62, 80, 0.18);
  border-radius: 0.4rem;
  padding: 0.7rem 0.85rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--tool-ink);
  background: #fff;
}

.surf-field select:focus {
  outline: none;
  border-color: var(--tool-teal);
  box-shadow: 0 0 0 3px rgba(26, 188, 156, 0.2);
}

.surf-field input[type="range"] {
  accent-color: var(--tool-teal);
}

.surf-note {
  margin: 0.85rem 0 0;
  color: #6c757d;
  font-size: 0.9rem;
}

.surf-verdict {
  border-radius: 0.5rem;
  padding: 1.25rem 1.25rem 1.25rem 1.15rem;
  margin-bottom: 1rem;
  border: 2px solid transparent;
  border-left-width: 0.55rem;
}

.surf-verdict.is-go {
  background: #eaf7ef;
  border-color: #0f5132;
  color: #0f5132;
}

.surf-verdict.is-maybe {
  background: #fff6e5;
  border-color: #6b3f00;
  color: #6b3f00;
}

.surf-verdict.is-stay {
  background: #fdeeee;
  border-color: #641e16;
  color: #641e16;
}

.surf-verdict-kicker {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: inherit;
}

.surf-verdict-title {
  margin: 0 0 0.45rem;
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: inherit;
}

.surf-verdict-detail {
  margin: 0;
  line-height: 1.5;
  color: inherit;
}

.surf-meter-label {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6c757d;
}

.surf-meter {
  height: 0.7rem;
  border-radius: 999px;
  background: #e8eef2;
  overflow: hidden;
  margin-bottom: 1rem;
}

.surf-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #922b21, #d68910, #1e8449);
  transition: width 0.35s ease;
}

.surf-reasons {
  margin: 0;
  padding-left: 1.1rem;
  color: #495057;
  line-height: 1.55;
}

.surf-reasons li + li {
  margin-top: 0.35rem;
}
