/* Reportops website — palette and layout follow Sample-pages/Reportops Home. Fonts are local. */

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sidebar: #1c2038;
  --accent: #4f5fe8;
  --accent-hover: #3f4fd6;
  --accent-soft: #e8ebff;
  --accent-ink: #4a58d6;
  --canvas: #f3f4f9;
  --border: #e7e9f3;
  --border-input: #dcdfec;
  --text: #2b2f45;
  --heading: #1c2038;
  --muted: #7b819f;
  --success-soft: #dcf5ea;
  --success-ink: #1d8a62;
  --danger: #d23c55;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
}
button,
input {
  font: inherit;
}
[hidden] {
  display: none !important;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo {
  width: 34px;
  height: 34px;
  flex: none;
  display: block;
}
.brand-name {
  font-weight: 700;
  font-size: 18px;
  color: var(--heading);
}
.nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: #6b7194;
}
.nav .nav-accent {
  color: var(--accent);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-outline {
  background: #fff;
  border-color: var(--border-input);
  color: var(--heading);
}
.btn-outline:hover {
  border-color: #b9bfdc;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 95, 232, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}
.btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.topbar .btn {
  padding: 9px 16px;
}

/* Hero */
.hero {
  background: var(--sidebar);
  color: #aab0cf;
  padding: 56px 0 110px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: #8c93ff;
  margin-bottom: 14px;
}
.hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  max-width: 640px;
  margin: 0 0 14px;
}
.hero p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 560px;
  margin: 0;
}

/* Booking */
.booking {
  margin-top: -72px;
  padding-bottom: 64px;
}
.banner {
  background: #fff7e6;
  border: 1px solid #f6d58f;
  color: #8a5a00;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.banner[data-tone="error"] {
  background: #fde4e8;
  border-color: #f5b5c1;
  color: var(--danger);
}
.events {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.event-tab {
  cursor: pointer;
  text-align: left;
  padding: 12px 18px;
  min-width: 150px;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.event-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.event-tab strong {
  display: block;
  font-weight: 600;
}
.event-tab span {
  display: block;
  font-size: 12.5px;
  opacity: 0.8;
  margin-top: 2px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(30, 35, 70, 0.08);
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  overflow: hidden;
}
@media (max-width: 760px) {
  .card {
    grid-template-columns: minmax(0, 1fr);
  }
}
.summary {
  padding: 30px;
  border-right: 1px solid #eef0f6;
}
.host {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar.avatar-logo {
  display: block;
  border-radius: 10px;
  background: none;
}
.host-name {
  color: var(--muted);
  font-weight: 500;
}
.summary h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--heading);
  margin: 0 0 16px;
}
.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #6b7194;
}
.facts li {
  display: flex;
  gap: 10px;
  align-items: center;
}
.facts .chosen {
  color: var(--success-ink);
  font-weight: 600;
}
.desc {
  color: var(--muted);
  line-height: 1.55;
  margin: 20px 0 0;
  white-space: pre-line;
}
.panel {
  padding: 30px;
  min-width: 0;
}
.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 32px;
}
.month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.month-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--heading);
}
.month-nav {
  display: flex;
  gap: 8px;
}
.sq {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border-input);
  background: #fff;
  cursor: pointer;
  color: var(--text);
}
.sq:disabled {
  opacity: 0.35;
  cursor: default;
}
.dow,
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.dow {
  font-size: 11.5px;
  font-weight: 600;
  color: #9aa0bd;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #c3c7da;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.day[data-available] {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 600;
  cursor: pointer;
}
.day[data-available]:hover {
  background: #d8dcff;
}
.day[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
}
.day.skeleton {
  background: #f3f4f9;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
.tz {
  margin-top: 20px;
  color: var(--muted);
  font-size: 12.5px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.panel h3 {
  font-weight: 700;
  font-size: 16px;
  color: var(--heading);
  margin: 0 0 18px;
}
.hint {
  color: #9aa0bd;
  margin: 0;
}
.times {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
}
.time-row {
  display: flex;
  gap: 8px;
}
.time {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
}
.time[aria-pressed="true"] {
  background: #6b7194;
  border-color: #6b7194;
  color: #fff;
}
.next {
  padding: 0 18px;
  border-radius: 8px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

/* Form */
.form-title {
  font-size: 18px !important;
  margin-bottom: 20px !important;
}
.form {
  max-width: 420px;
}
.form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.form .opt {
  color: #9aa0bd;
  font-weight: 400;
}
.form input {
  width: 100%;
  border: 1px solid var(--border-input);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  outline: none;
  background: #fff;
}
.form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 95, 232, 0.15);
}
.form input[aria-invalid="true"] {
  border-color: var(--danger);
}
.form-error {
  color: var(--danger);
  font-size: 13px;
  margin: -4px 0 12px;
}
.actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

/* Done */
.done {
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}
.done[hidden] {
  display: none;
}
.done-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.done h3 {
  font-size: 22px;
  margin: 0 0 8px;
}
.done p {
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 460px;
}
.done .btn + .btn {
  margin-top: 10px;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 32px;
  }
  .topbar-inner {
    gap: 16px;
  }
  .summary {
    border-right: 0;
    border-bottom: 1px solid #eef0f6;
  }
}
@media (prefers-reduced-motion: reduce) {
  .day.skeleton {
    animation: none;
  }
}

/* Shared: buttons, nav, footer */
.btn-lg {
  padding: 13px 24px;
  font-size: 15px;
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.nav a:hover {
  color: var(--heading);
}
.nav a.nav-accent:hover {
  color: var(--accent-hover);
}
@media (max-width: 900px) {
  .nav a:not(.nav-accent) {
    display: none;
  }
}
.footer {
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
  flex-wrap: wrap;
}
.footer a {
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--accent);
}
.footer-links {
  display: flex;
  gap: 22px;
}
