/*
 * Logo theme: pulls the site toward the thriftycruiser.com logo (its navy,
 * cyan and sunset orange, rounder shapes and the Poppins lettering).
 *
 * Self-contained on purpose: it only overrides styles.css / planner.css.
 * To go back to the previous look, remove the
 *   <link rel="stylesheet" href="/css/theme-logo.css" />
 * line from client/index.html and client/planner.html (or delete this file).
 */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --logo-navy: #0a3f80;
  --logo-cyan: #1cc6ea;
  --logo-sun: #fd7257;

  --bg: #03142b;
  --surface: rgba(9, 36, 76, 0.84);
  --surface-strong: rgba(10, 40, 84, 0.97);
  --border: rgba(28, 198, 234, 0.26);
  --text: #f1f7ff;
  --text-muted: #9cb9d8;
  --accent: var(--logo-cyan);
  --warn: #ffb07a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(1, 10, 28, 0.55);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* A deep-sea navy tint over the black of space, strongest at the edges. */
.globe::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, transparent 35%, rgba(10, 63, 128, 0.38) 100%);
}

/* ---------- Buttons: rounder and a touch bolder, like the logo ---------- */
.toggle,
.btn {
  font-weight: 500;
  border-color: rgba(28, 198, 234, 0.32);
}

.toggle:hover,
.btn:hover {
  border-color: var(--logo-cyan);
}

/* The main call to action takes the sun's colour. */
.toggle--link.plan-link,
.btn--primary {
  background: var(--logo-sun);
  border-color: var(--logo-sun);
  color: #fff;
  font-weight: 600;
}

.toggle--link.plan-link:hover {
  border-color: var(--logo-sun);
  filter: brightness(1.08);
}

.toggle input[type='checkbox'],
.timebar__slider {
  accent-color: var(--logo-cyan);
}

/* ---------- Headings in the logo's weight ---------- */
.panel__title,
.trip-panel__title,
.planner-top__title,
.trip__what h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.panel__eyebrow,
.panel__section h3 {
  color: var(--logo-cyan);
  letter-spacing: 0.08em;
}

/* ---------- Highlights ---------- */
.pill,
.chip,
.trip__rank {
  background: rgba(28, 198, 234, 0.16);
}

.search__result[aria-selected='true'],
.search__result:hover,
.list__item--link:hover {
  background: rgba(28, 198, 234, 0.14);
}

.label {
  background: rgba(3, 20, 43, 0.78);
}

/* ---------- Planner day strip ---------- */
/* Ports are warm sand (land, beside the blue sea days); pale yellow over navy turned olive. */
.day--port {
  background: #c7a46a;
}

.planner-page a.day,
.day--port {
  color: #1b1406;
  font-weight: 500;
}

.day--overnight {
  background: #b08d55;
}

.planner-page a.day:hover {
  background: #e0bd80;
  color: #1b1406;
}

.day--sea {
  background: rgba(28, 198, 234, 0.2);
  color: #a9ecfa;
}

/* Poppins runs wider: on the narrowest phones the planner's logo, title and "← Globe" still share a line. */
@media (max-width: 380px) {
  .planner-top__title {
    gap: 6px;
    font-size: 13px;
  }

  .planner-top__logo img {
    height: 24px;
  }
}
