/* forms.rhodesholidays.gr — shared styles. Self-contained (served from public_html/forms), so tokens and fonts are copied here.
   Look = the site's contact form: Stone panel, 1.5px Sand border, 2px radius, .form-label / .form-input, .btn-primary (src/styles/global.css, ContactPage.astro). */

@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-greek-f00fa0.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-ext-76dcfc.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-weight: 200 800; font-display: swap; src: url(fonts/manrope-latin-814019.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; }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300 700; font-display: swap; src: url(fonts/cormorant-garamond-latin-e99b45.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 {
  --aegean: #0C233B; --aegean-light: #1B3A5C; --sand: #DCCAB3; --sand-dark: #C9AE8C;
  --olive: #828C74; --olive-text: #5F6852; --stone: #F4F1EC; --obsidian: #1A1A1A;
  --hairline: #E8E3DC; --muted: #666666; --error: #C53030; --star: #E53E3E;
  --success-ink: #166534; --success-bg: #EDFAF3;
  --display: 'Cormorant Garamond', Georgia, serif; --body: 'Manrope', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--body); color: var(--obsidian); background: #fff; line-height: 1.6; font-size: 15px; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: var(--aegean); }
:focus-visible { outline: 2px solid var(--aegean); outline-offset: 3px; }

/* Cormorant has no Greek glyphs: Manrope for Greek headings (same rule as the site) */
h1 { font-family: var(--display); font-weight: 700; color: var(--aegean); line-height: 1.15; letter-spacing: -0.01em; font-size: clamp(1.75rem, 3vw, 2.5rem); }
:lang(el) h1 { font-family: var(--body); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
h2 { font-family: var(--body); font-weight: 700; color: var(--aegean); font-size: 1.0625rem; line-height: 1.3; }
h3 { font-family: var(--body); font-weight: 700; color: var(--aegean); font-size: 0.9375rem; }
.eyebrow { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-text); margin-bottom: 0.5rem; }

/* Header — white, like the site's scrolled navbar */
.top { background: #fff; border-bottom: 1px solid var(--hairline); position: sticky; top: 0; z-index: 10; }
.top-inner { max-width: 1280px; margin: 0 auto; padding: 0.875rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--aegean); text-decoration: none; }
.brand img { width: 2.5rem; height: auto; }
.brand-name { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.02em; }
.brand-sub { font-size: 0.6875rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--olive-text); }
.top-actions { display: flex; align-items: center; gap: 0.75rem; }
.lang { display: flex; border: 1.5px solid var(--sand); border-radius: 2px; }
.lang button { border: 0; background: #fff; color: var(--aegean); font-weight: 700; font-size: 0.8125rem; padding: 0.4rem 0.75rem; letter-spacing: 0.04em; }
.lang button[aria-pressed="true"] { background: var(--aegean); color: #fff; }

/* Buttons — copied from global.css */
.btn-primary, .btn-secondary, .btn-sand { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; padding: 0.875rem 2rem; border-radius: 2px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s ease, color .2s ease, transform .15s ease; }
.btn-primary { background: var(--aegean); color: #fff; border: 2px solid transparent; }
.btn-primary:hover { background: var(--aegean-light); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-secondary { background: transparent; color: var(--aegean); border: 2px solid var(--aegean); }
.btn-secondary:hover { background: var(--aegean); color: #fff; transform: translateY(-1px); }
.btn-sand { background: var(--sand); color: var(--aegean); border: 2px solid transparent; font-weight: 700; }
.btn-sand:hover { background: var(--sand-dark); transform: translateY(-1px); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.8125rem; }
.btn-link { background: none; border: 0; color: var(--error); font-weight: 600; font-size: 0.8125rem; padding: 0.25rem 0; text-decoration: underline; text-underline-offset: 2px; }

/* Layout */
.layout { max-width: 1280px; margin: 0 auto; padding: 2.5rem 2rem 4rem; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.sidebar { position: sticky; top: 5.5rem; background: var(--stone); border: 1.5px solid var(--sand); border-radius: 2px; padding: 1.25rem; }
.sidebar .eyebrow { margin: 0 0.25rem 0.75rem; }
.nav-list { display: flex; flex-direction: column; gap: 2px; }
.nav-step { width: 100%; border: 0; background: transparent; display: flex; gap: 0.75rem; align-items: center; text-align: left; padding: 0.625rem 0.5rem; border-radius: 2px; color: var(--obsidian); }
.nav-step:hover { background: #fff; }
.nav-step[aria-current="step"] { background: #fff; box-shadow: inset 3px 0 0 var(--aegean); }
.step-num { width: 1.75rem; height: 1.75rem; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--sand); border-radius: 2px; font-size: 0.75rem; font-weight: 800; color: var(--aegean); background: #fff; }
.nav-step[aria-current="step"] .step-num { background: var(--aegean); border-color: var(--aegean); color: #fff; }
.step-info { min-width: 0; }
.step-info strong { display: block; font-size: 0.8125rem; font-weight: 700; color: var(--aegean); line-height: 1.3; }
.step-info span { display: block; font-size: 0.75rem; color: var(--olive-text); line-height: 1.3; margin-top: 2px; }
.step-dot { margin-left: auto; color: var(--olive); font-weight: 800; }
.side-foot { border-top: 1px solid var(--sand); margin-top: 1rem; padding: 1rem 0.25rem 0; }
.prog-row { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 700; color: var(--olive-text); margin-bottom: 0.5rem; }
.bar { height: 6px; background: #fff; border: 1px solid var(--sand); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--aegean); transform-origin: left; transition: transform .2s; }
.side-note { margin-top: 0.75rem; font-size: 0.75rem; color: var(--muted); line-height: 1.5; }
.main { min-width: 0; }
.layout.single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.alert, .card, .field, .item { scroll-margin-top: 6rem; }

.page-heading { margin-bottom: 1.75rem; }
.page-heading h1:focus { outline: none; }
.page-heading .lead { color: #4A4A4A; max-width: 46rem; margin-top: 0.75rem; }

/* Panels = the contact form box */
.panel { background: var(--stone); border: 1.5px solid var(--sand); border-radius: 2px; padding: 2rem; margin-bottom: 1.5rem; }
.panel-head { margin-bottom: 1.25rem; }
.panel .subtitle { color: var(--olive-text); font-size: 0.8125rem; margin-top: 0.25rem; }
.note { font-size: 0.8125rem; color: var(--olive-text); margin-bottom: 1.25rem; }
.alert { border: 1.5px solid var(--error); background: #FFF5F5; color: var(--error); border-radius: 2px; padding: 0.875rem 1rem; font-size: 0.875rem; font-weight: 600; margin-bottom: 1.25rem; }
.alert ul { margin: 0.5rem 0 0; padding-left: 1.25rem; font-weight: 500; }
.alert button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 2px; text-align: left; }
.warn { border: 1.5px solid var(--sand-dark); background: #fff; color: var(--aegean); border-radius: 2px; padding: 0.875rem 1rem; font-size: 0.875rem; margin-bottom: 1.25rem; }

/* Fields — from ContactPage.astro */
.form-label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--obsidian); margin-bottom: 0.5rem; letter-spacing: 0.01em; }
.star { color: var(--star); margin-left: 0.2rem; }
.form-input { display: block; width: 100%; padding: 0.75rem 1rem; font-family: var(--body); font-size: 0.9375rem; color: var(--obsidian); background: #fff; border: 1.5px solid var(--sand); border-radius: 2px; transition: border-color .2s ease, box-shadow .2s ease; outline: none; appearance: none; }
select.form-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23828C74' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; cursor: pointer; }
.form-input:focus { border-color: var(--aegean); box-shadow: 0 0 0 3px rgba(12, 35, 59, 0.08); }
.form-input::placeholder { color: #BDBDBD; }
.field { min-width: 0; }
.field-error { font-size: 0.75rem; color: var(--error); font-weight: 600; margin-top: 0.375rem; min-height: 0; }
.field-error:empty { display: none; }
.field.invalid .form-input { border-color: var(--error); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.grid.triple { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid:last-child { margin-bottom: 0; }
.stack > * + * { margin-top: 1.25rem; }
.static-value { font-weight: 800; color: var(--aegean); padding: 0.75rem 1rem; background: #fff; border: 1.5px solid var(--hairline); border-radius: 2px; }

/* Yes / No questions */
.item { padding: 0.875rem 0; border-top: 1px solid var(--sand); }
.item:first-child { border-top: 0; padding-top: 0; }
.item:last-child { padding-bottom: 0; }
.question { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 2.25rem; }
.question-label { font-size: 0.875rem; font-weight: 600; }
.question .field-error { margin-top: 0.125rem; }
.segments { display: flex; flex-shrink: 0; border: 1.5px solid var(--sand); border-radius: 2px; background: #fff; }
.segments button { border: 0; background: transparent; color: var(--aegean); font-size: 0.8125rem; font-weight: 700; padding: 0.4rem 1rem; min-width: 3.5rem; }
.segments button + button { border-left: 1.5px solid var(--sand); }
.segments button[aria-pressed="true"].yes { background: var(--aegean); color: #fff; }
.segments button[aria-pressed="true"].no { background: var(--olive-text); color: #fff; }
.item.invalid .segments { border-color: var(--error); }
.extra { background: #fff; border: 1px solid var(--hairline); border-radius: 2px; padding: 1rem 1.25rem; margin-top: 0.75rem; }
.extra .item { border-top-color: var(--hairline); }

/* Chips (multi-select) */
.chip-set { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { border: 1.5px solid var(--sand); background: #fff; color: var(--aegean); padding: 0.4rem 0.875rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 600; min-height: 2.25rem; }
.chip:hover { border-color: var(--aegean); }
.chip[aria-pressed="true"] { background: var(--aegean); border-color: var(--aegean); color: #fff; }
.chip .tick { margin-right: 0.3rem; }
.group-title { font-size: 0.8125rem; font-weight: 700; color: var(--aegean); margin-bottom: 0.625rem; }
.amenity-group { padding: 1rem 0; border-top: 1px solid var(--hairline); }
.amenity-group:first-of-type { border-top: 0; }
.hint { font-size: 0.8125rem; color: var(--olive-text); margin: 0.5rem 0 1rem; }
.pill { display: inline-flex; padding: 0.2rem 0.6rem; border: 1px solid var(--sand); border-radius: 999px; background: #fff; color: var(--olive-text); font-size: 0.75rem; font-weight: 700; }

/* Repeating cards (room types, contacts, restaurants, bars) */
.card { background: #fff; border: 1.5px solid var(--hairline); border-radius: 2px; padding: 1.5rem; margin-bottom: 1rem; }
.card-title { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.card hr, .panel hr { border: 0; border-top: 1px solid var(--hairline); margin: 1.25rem 0; }

.footer-actions { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-actions .buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.status { font-size: 0.8125rem; color: var(--olive-text); font-weight: 600; }
.privacy { font-size: 0.75rem; color: var(--olive-text); margin-top: 0.75rem; }

/* Review */
.summary-section { margin-bottom: 1.75rem; break-inside: avoid; }
.summary-section > h2 { padding-bottom: 0.5rem; border-bottom: 1.5px solid var(--sand); margin-bottom: 0.75rem; }
.summary-sub { font-size: 0.8125rem; font-weight: 800; color: var(--olive-text); margin: 1rem 0 0.5rem; }
.summary-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.summary-table th { text-align: left; font-weight: 600; color: #4A4A4A; padding: 0.375rem 1rem 0.375rem 0; width: 45%; vertical-align: top; }
.summary-table td { padding: 0.375rem 0; overflow-wrap: anywhere; vertical-align: top; }
.summary-table tr + tr { border-top: 1px solid var(--hairline); }
.done { text-align: center; padding: 4rem 1.5rem; }
.done .mark { font-size: 3rem; color: var(--success-ink); line-height: 1; }
.done h1 { margin: 1rem 0 0.75rem; }
.done .receipt { display: inline-block; margin-top: 1rem; font-weight: 800; color: var(--aegean); background: #fff; border: 1.5px solid var(--sand); padding: 0.5rem 1rem; border-radius: 2px; letter-spacing: 0.04em; }

@media (max-width: 1023px) {
  .layout { grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; padding: 2rem 1.5rem 3rem; }
  .grid.triple { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel { padding: 1.5rem; }
}
@media (max-width: 767px) {
  .top { position: relative; }
  .top-inner { padding: 0.75rem 1rem; }
  .brand-sub { display: none; }
  .layout { display: block; padding: 1rem 1rem 2.5rem; }
  .sidebar { position: relative; top: auto; padding: 0.5rem; margin-bottom: 1.25rem; }
  .sidebar > .eyebrow, .side-foot { display: none; }
  .nav-list { flex-direction: row; overflow-x: auto; scrollbar-width: thin; }
  .nav-step { flex: 0 0 auto; width: auto; max-width: 13rem; padding: 0.5rem; }
  .step-info span, .step-dot { display: none; }
  .step-info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .panel { padding: 1.25rem; }
  .card { padding: 1rem; }
  .grid, .grid.triple { grid-template-columns: 1fr; gap: 1rem; }
  .question { align-items: flex-start; }
  .btn-primary, .btn-secondary, .btn-sand { white-space: normal; text-align: center; }
  .summary-table th { width: 50%; }
}
@media print {
  .top, .sidebar, .no-print, .footer-actions { display: none !important; }
  .layout { display: block; padding: 0; margin: 0; max-width: none; }
  body { font-size: 10.5pt; }
  .panel { background: #fff; border: 0; padding: 0; margin: 0; }
  .summary-section { break-inside: auto; }
  .print-only { display: block !important; }
  @page { size: A4; margin: 16mm; }
}
.print-only { display: none; }
