/* ============================================================
   Seabreeze Resort — Self Check-In
   Beachy, modern SaaS styling — vanilla CSS
   ============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* the hidden attribute must always win over display rules below */
[hidden] {
  display: none !important;
}

:root {
  --sand-bg: #fdf6ec;
  --sand-soft: #f6ede0;
  --ocean: #0e9aa7;
  --ocean-dark: #0a5f6b;
  --ocean-deep: #073b44;
  --aqua: #57c7c7;
  --aqua-soft: #e3f5f4;
  --coral: #ff7d5c;
  --coral-dark: #e85d3b;
  --sun: #f6c453;
  --white: #ffffff;
  --ink: #1f3d42;
  --ink-soft: #5b757a;
  --line: #e7ddcc;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(10, 95, 107, 0.08);
  --shadow-md: 0 14px 38px rgba(10, 95, 107, 0.14);
  --shadow-lg: 0 24px 60px rgba(10, 95, 107, 0.20);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background:
    radial-gradient(900px 500px at 12% -8%, #d4f1ef 0%, transparent 60%),
    radial-gradient(900px 500px at 95% 4%, #fde4d6 0%, transparent 55%),
    var(--sand-bg);
  min-height: 100vh;
}

/* ---------- Layout shell ---------- */
.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 22px 60px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---------- Header ---------- */
.header {
  text-align: center;
  padding: 14px 10px 30px;
}

.badge {
  display: inline-block;
  background: var(--white);
  color: var(--ocean-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  color: var(--ocean-deep);
  letter-spacing: -0.5px;
}

.subtitle {
  max-width: 660px;
  margin: 14px auto 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.header-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.point {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ocean-dark);
  box-shadow: var(--shadow-sm);
}

.point span {
  margin-right: 4px;
}

/* ---------- Card base ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.form-card {
  padding: 30px clamp(20px, 4vw, 40px) 36px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--ocean), var(--aqua), var(--sun), var(--coral));
}

.section-head h2 {
  font-size: 1.55rem;
  color: var(--ocean-deep);
}

.section-head p {
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- Readiness meter ---------- */
.meter {
  margin: 22px 0 6px;
  background: var(--aqua-soft);
  border: 1px solid #cdeae8;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.meter-top {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--ocean-dark);
  font-size: 0.92rem;
}

.meter-track {
  margin: 10px 0 8px;
  background: #ffffff;
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  border: 1px solid #cdeae8;
}

.meter-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ocean), var(--aqua));
  transition: width 0.4s ease;
}

.meter-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Form groups ---------- */
.group-title {
  margin: 30px 0 6px;
  font-size: 1.08rem;
  color: var(--ocean-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 18px;
}

.field {
  display: flex;
  flex-direction: column;
}

label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ocean-deep);
  margin-bottom: 6px;
}

.opt {
  font-weight: 500;
  color: var(--ink-soft);
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--sand-soft);
  border: 1.6px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

input::placeholder,
textarea::placeholder {
  color: #a89e8c;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--ocean);
  box-shadow: 0 0 0 4px rgba(14, 154, 167, 0.15);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

select {
  cursor: pointer;
  appearance: none;
  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 fill='%230a5f6b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: var(--coral-dark);
  background: #fff2ee;
}

.error {
  color: var(--coral-dark);
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 5px;
  min-height: 14px;
}

.block-error {
  display: block;
  margin-top: 2px;
}

.char-count {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 5px;
  align-self: flex-end;
}

/* ---------- Agreement ---------- */
.agree {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  background: var(--sand-soft);
  border: 1.6px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  cursor: pointer;
}

.agree input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--ocean);
  cursor: pointer;
  padding: 0;
}

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-primary,
.btn-ghost,
.btn-danger {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  color: var(--white);
  padding: 14px 26px;
  box-shadow: 0 10px 24px rgba(232, 93, 59, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(232, 93, 59, 0.42);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: var(--white);
  color: var(--ocean-dark);
  padding: 14px 22px;
  border: 1.6px solid var(--line);
}

.btn-ghost:hover {
  background: var(--sand-soft);
  border-color: var(--aqua);
}

.btn-danger {
  background: var(--white);
  color: var(--coral-dark);
  padding: 14px 22px;
  border: 1.6px solid #f3c9bd;
}

.btn-danger:hover {
  background: #fff2ee;
}

.form-foot {
  margin-top: 16px;
  font-size: 0.83rem;
  color: var(--ink-soft);
}

/* ---------- Step 2 · status section ---------- */
.status-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: rise 0.5s ease;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* guest pending card */
.pending-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--sun);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}

.pending-spinner {
  font-size: 2rem;
  flex: 0 0 auto;
}

.pending-card h2 {
  font-size: 1.25rem;
  color: var(--ocean-deep);
}

.pending-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 4px;
}

.pend-highlight {
  background: var(--aqua-soft) !important;
  border: 1px solid #cdeae8;
  border-left: 4px solid var(--ocean);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 12px !important;
  color: var(--ocean-deep) !important;
  font-size: 0.95rem !important;
  line-height: 1.55;
}

.pend-highlight strong {
  color: var(--ocean-dark);
}

.pend-tip {
  margin-top: 10px !important;
  font-size: 0.88rem !important;
  color: var(--ink-soft) !important;
}

.pend-status {
  margin-top: 12px !important;
  font-weight: 700;
  color: var(--ocean-dark) !important;
  font-size: 0.92rem !important;
  font-style: italic;
}

/* live status line on the pending card */
.pend-status {
  margin-top: 12px;
  display: inline-block;
  background: var(--aqua-soft);
  border: 1px solid #cdeae8;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ocean-dark);
}

/* declined card */
.declined-card {
  background: #fff2ee;
  border: 1px solid #f3c9bd;
  border-radius: var(--radius);
  padding: 22px 24px;
  text-align: center;
}

.declined-card h2 {
  color: var(--coral-dark);
  font-size: 1.2rem;
}

.declined-card p {
  color: var(--ink-soft);
  margin: 6px 0 16px;
}

/* ---------- Step 3 · welcome page ---------- */
.results {
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: rise 0.5s ease;
}

.results-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  color: var(--white);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-lg);
}

.results-banner-icon {
  font-size: 2.6rem;
  background: rgba(255, 255, 255, 0.18);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.results-banner h2 {
  font-size: 1.7rem;
}

.results-banner p {
  opacity: 0.92;
  margin-top: 2px;
}

/* quick stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ocean);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 4px;
}

/* results cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.result-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.result-card.span-2 {
  grid-column: 1 / -1;
}

.rc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rc-icon {
  font-size: 1.4rem;
  background: var(--aqua-soft);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.rc-head h3 {
  font-size: 1.1rem;
  color: var(--ocean-deep);
}

.rc-head .rc-sub {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* detail rows inside cards */
.detail {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.92rem;
}

.detail:last-child {
  border-bottom: none;
}

.detail .d-label {
  color: var(--ink-soft);
  font-weight: 600;
}

.detail .d-value {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.code-pill {
  display: inline-block;
  background: var(--ocean-deep);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}

/* sub-heading inside a card */
.card-sub-h {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--ocean);
  margin: 16px 0 8px;
}

.card-sub-h:first-child {
  margin-top: 0;
}

/* list inside cards */
.rc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
}

.rc-list li .tick {
  color: var(--ocean);
  font-weight: 800;
  flex: 0 0 auto;
}

/* recommendations / action steps */
.rec {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 10px;
}

.rec:last-child {
  margin-bottom: 0;
}

.rec-num {
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.rec-text strong {
  color: var(--ocean-deep);
  display: block;
  font-size: 0.95rem;
}

.rec-text span {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.notes-box {
  background: var(--sand-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  white-space: pre-wrap;
}

/* ---------- How to Find Your Unit card ---------- */
.maps-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-dark));
  color: var(--white);
  font-weight: 700;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-bottom: 14px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.maps-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.maps-link .maps-arrow {
  font-size: 1.25rem;
  font-weight: 800;
}

.door-photo {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin: 0 0 18px;
}

.landmark-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--aqua-soft);
  border: 1px solid #cdeae8;
  border-left: 4px solid var(--ocean);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.landmark-banner > span {
  font-size: 1.6rem;
  flex: 0 0 auto;
  line-height: 1;
}

.landmark-banner div {
  font-size: 0.97rem;
  color: var(--ocean-deep);
  line-height: 1.45;
}

.landmark-banner strong {
  color: var(--ocean-dark);
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 18px;
  padding: 0;
}

.step-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
}

.step-n {
  flex: 0 0 auto;
  background: var(--ocean);
  color: var(--white);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1;
}

.step-t {
  font-size: 0.97rem;
  color: var(--ink);
  line-height: 1.55;
  padding-top: 4px;
}

.step-t strong {
  color: var(--ocean-deep);
}

.help-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff3cd;
  border: 1px solid #f0c040;
  border-left: 4px solid var(--coral-dark);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.help-banner > span {
  font-size: 1.6rem;
  flex: 0 0 auto;
  line-height: 1;
}

.help-banner div {
  font-size: 0.95rem;
  color: #7a5020;
  line-height: 1.5;
}

.help-banner strong {
  color: var(--coral-dark);
}

.help-banner a {
  color: var(--coral-dark);
  text-decoration: underline;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Need Anything? card (welcome page) ---------- */
.requests-card {
  padding: 26px clamp(20px, 4vw, 36px) 30px;
}

.req-tabs {
  display: flex;
  gap: 6px;
  margin: 18px 0 16px;
  border-bottom: 2px solid var(--line);
  flex-wrap: wrap;
}

.req-tab {
  flex: 1 1 auto;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  margin-bottom: -2px;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
  border-radius: 8px 8px 0 0;
  white-space: nowrap;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(14, 154, 167, 0.15);
  -webkit-appearance: none;
  appearance: none;
}

.req-tab:hover {
  color: var(--ocean-dark);
  background: var(--aqua-soft);
}

.req-tab.active {
  color: var(--ocean-dark);
  border-bottom-color: var(--ocean);
  background: var(--aqua-soft);
}

.req-panel {
  display: none;
  animation: rise 0.3s ease;
}

.req-panel.active {
  display: block;
}

.req-intro {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.req-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.req-actions .btn-primary {
  padding: 12px 22px;
  font-size: 0.95rem;
}

.req-hint {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--coral-dark);
  font-weight: 600;
  min-height: 14px;
}

.req-confirm {
  margin-top: 14px;
  background: #e3f4e9;
  border: 1px solid #bfe6cd;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.94rem;
  color: #1f6f48;
  line-height: 1.55;
}

.req-confirm strong {
  color: #15663f;
}

.checkout-checklist {
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  color: var(--ink);
}

.checkout-checklist strong {
  color: var(--ocean-deep);
  display: block;
  margin-bottom: 6px;
}

.checkout-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkout-checklist li {
  padding: 3px 0;
}

/* ---------- Mobile: stack request tabs vertically ---------- */
@media (max-width: 640px) {
  .req-tabs {
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
    margin-bottom: 18px;
  }
  .req-tab {
    width: 100%;
    border: 1.6px solid var(--line);
    border-radius: var(--radius-sm);
    margin-bottom: 0;
    padding: 13px 16px;
    font-size: 0.96rem;
    background: var(--sand-soft);
    white-space: normal;
    text-align: left;
  }
  .req-tab.active {
    border-color: var(--ocean);
    background: var(--aqua-soft);
  }
  .req-actions .btn-primary {
    width: 100%;
  }
}

/* ---------- Supplies card (welcome page) ---------- */
.supplies-card {
  padding: 26px clamp(20px, 4vw, 36px) 30px;
}

.supplies-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.supply {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--sand-soft);
  border: 1.6px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.supply:hover {
  transform: translateY(-2px);
  border-color: var(--aqua);
}

.supply.checked {
  background: var(--aqua-soft);
  border-color: var(--ocean);
}

.supply input {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  accent-color: var(--ocean);
  cursor: pointer;
  padding: 0;
}

.supply-emoji {
  font-size: 1.6rem;
  flex: 0 0 auto;
}

.supply-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.supply-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ocean-deep);
}

.supply-desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.fee-badge {
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.fee-badge.free {
  background: #e3f4e9;
  color: #1f8a55;
  border: 1px solid #bfe6cd;
}

.fee-badge.fee {
  background: #fdecc8;
  color: #a9741a;
  border: 1px solid #f1d59a;
}

.supplies-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.supplies-total {
  font-size: 1.05rem;
  color: var(--ocean-deep);
}

.supplies-total strong {
  font-size: 1.3rem;
  color: var(--ocean);
}

.supplies-hint {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--coral-dark);
  font-weight: 600;
  min-height: 14px;
}

.supplies-confirm {
  margin-top: 14px;
  background: #e3f4e9;
  border: 1px solid #bfe6cd;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.92rem;
  color: #1f6f48;
}

.supplies-confirm strong {
  color: #15663f;
}

/* ---------- Pet toggle (check-in form) ---------- */
.pet-toggle {
  display: flex;
  gap: 12px;
}

.pet-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.6px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--sand-soft);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.pet-option:hover {
  border-color: var(--aqua);
}

.pet-option.selected {
  border-color: var(--ocean);
  background: var(--aqua-soft);
  color: var(--ocean-dark);
}

.pet-details {
  margin-top: 12px;
}

.pet-note {
  font-size: 0.83rem;
  color: var(--coral-dark);
  font-weight: 600;
  margin-top: 8px;
}

/* ---------- Deadline banner (supplies card) ---------- */
.deadline-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff3cd;
  border: 1px solid #f0c040;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 16px;
}

.deadline-banner .db-icon {
  font-size: 1.5rem;
  flex: 0 0 auto;
}

.deadline-banner .db-text {
  font-size: 0.88rem;
  color: #7a5020;
  line-height: 1.5;
}

.deadline-banner .db-text strong {
  color: var(--coral-dark);
}

/* ---------- Beach gear picker (supplies card) ---------- */
.gear-supply {
  cursor: default;
}

.gear-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.gear-days-label {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
}

.gear-picker select {
  width: auto;
  padding: 8px 30px 8px 12px;
  font-weight: 700;
}

/* ---------- Results actions ---------- */
.results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-top: 4px;
}

/* ---------- Toast notification (owner) ---------- */
.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ocean-deep);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  max-width: 340px;
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.35s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

.toast-icon {
  font-size: 1.5rem;
}

.toast-body {
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
}

.toast-body strong {
  font-size: 0.95rem;
}

/* ============================================================
   FRONT DESK ADMIN CONSOLE  (admin.html)
   ============================================================ */
.dash-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.dash-counts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-pill {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--aqua-soft);
  color: var(--ocean-dark);
  border: 1px solid #cdeae8;
}

.dash-pill.pending {
  background: #fdecc8;
  color: #a9741a;
  border-color: #f1d59a;
}

.dash-pill.pending.zero {
  background: #e3f4e9;
  color: #1f8a55;
  border-color: #bfe6cd;
}

.dash-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-auto {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ocean-dark);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  cursor: pointer;
}

.dash-auto input {
  width: 18px;
  height: 18px;
  accent-color: var(--ocean);
  padding: 0;
  cursor: pointer;
}

.dash-controls .btn-ghost {
  padding: 9px 16px;
  font-size: 0.9rem;
}

.dash-section-title {
  font-size: 1.05rem;
  color: var(--ocean-deep);
  margin: 22px 0 4px;
}

.admin-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}

.admin-empty {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.admin-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  box-shadow: var(--shadow-sm);
}

.admin-card.pending  { border-left-color: var(--coral); }
.admin-card.approved { border-left-color: #1f8a55; }
.admin-card.declined { border-left-color: var(--ink-soft); }

.ac-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.ac-title strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ocean-deep);
}

.ac-title span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-weight: 600;
}

.ac-status {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

.ac-status.pending  { background: #fdecc8; color: #a9741a; }
.ac-status.approved { background: #e3f4e9; color: #1f8a55; }
.ac-status.declined { background: #efe9e0; color: #6b6457; }

.ac-rows {
  border-top: 1px dashed var(--line);
}

.ac-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.ac-label {
  color: var(--ink-soft);
  font-weight: 600;
}

.ac-value {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.ac-notes {
  margin-top: 12px;
  background: var(--sand-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 0.88rem;
  color: var(--ink);
}

.ac-supplies {
  margin-top: 12px;
  background: var(--aqua-soft);
  border: 1px solid #cdeae8;
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-size: 0.88rem;
  color: var(--ocean-dark);
}

.ac-supplies ul {
  margin: 6px 0 0 18px;
}

.ac-supplies li {
  margin-bottom: 3px;
}

.ac-messages {
  margin-top: 12px;
  font-size: 0.88rem;
  background: var(--aqua-soft);
  border: 1px solid #cdeae8;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.ac-messages strong {
  color: var(--ocean-dark);
  display: block;
  margin-bottom: 6px;
}

.ac-messages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ac-messages li {
  padding: 7px 0;
  border-bottom: 1px dashed #cdeae8;
  color: var(--ink);
}

.ac-messages li:last-child {
  border-bottom: none;
}

.ac-messages .msg-time {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 500;
  margin-left: 6px;
}

.ac-messages .msg-text {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-style: italic;
}

.ac-assign {
  margin-top: 14px;
  background: var(--aqua-soft);
  border: 1px solid #cdeae8;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ac-assign label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ocean-dark);
  margin-bottom: 8px;
}

.ac-unit-select {
  width: 100%;
  font-weight: 700;
  color: var(--ocean-deep);
  background: var(--white);
}

.ac-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.ac-actions .btn-primary,
.ac-actions .btn-danger {
  padding: 10px 18px;
  font-size: 0.92rem;
  flex: 1;
}

.ac-actions .btn-primary {
  background: linear-gradient(135deg, #2fae7e, #1f8a55);
  box-shadow: 0 8px 18px rgba(31, 138, 85, 0.32);
}

.ac-actions .btn-primary:disabled {
  background: #c5d6cf;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.ac-msg-row {
  margin-top: 12px;
  display: flex;
}

.ac-msg-row .ac-msg {
  flex: 1;
  padding: 9px 16px;
  font-size: 0.88rem;
}

/* ---------- Compose / message-template panel ---------- */
.compose-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px clamp(18px, 3vw, 28px) 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.compose-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--ocean), var(--aqua), var(--sun), var(--coral));
}

.compose-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
}

.compose-head h2 {
  font-size: 1.3rem;
  color: var(--ocean-deep);
}

.compose-head p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 4px;
}

.cmp-toggle {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.6px solid var(--line);
  background: var(--white);
  color: var(--ocean-dark);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}

.cmp-toggle:hover {
  background: var(--sand-soft);
  border-color: var(--aqua);
}

.compose-card.collapsed .compose-body {
  display: none;
}

.compose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 16px;
  margin: 16px 0;
}

.cmp-template {
  grid-column: 1 / -1;
}

#cmpPreview {
  font-family: "Segoe UI", "Helvetica Neue", system-ui, monospace;
  font-size: 0.92rem;
  min-height: 160px;
}

.cmp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.cmp-actions .btn-primary,
.cmp-actions .btn-ghost {
  padding: 11px 18px;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cmp-actions .btn-primary {
  background: linear-gradient(135deg, var(--ocean), var(--ocean-dark));
  box-shadow: 0 8px 18px rgba(10, 95, 107, 0.32);
}

.cmp-hint {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--ocean-dark);
  font-weight: 600;
  min-height: 14px;
}

.cmp-editor {
  margin-top: 18px;
  padding: 16px;
  background: var(--sand-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.cmp-editor h3 {
  color: var(--ocean-deep);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.cmp-edit-help {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.cmp-edit-help code {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--ocean-dark);
}

.cmp-tpl-edit {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
}

.cmp-tpl-edit h4 {
  color: var(--ocean-deep);
  font-size: 0.98rem;
  margin-bottom: 10px;
}

.cmp-tpl-edit label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--ocean-dark);
  margin-top: 8px;
  margin-bottom: 4px;
}

.cmp-tpl-edit textarea,
.cmp-tpl-edit input {
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .compose-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  margin-top: 44px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-links {
  margin-top: 6px;
}

.footer-links a {
  color: var(--ocean);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.local-note {
  margin-top: 8px;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .results-banner,
  .pending-card {
    flex-direction: column;
    text-align: center;
  }
  .actions .btn-primary,
  .actions .btn-ghost {
    width: 100%;
  }
  .supply {
    flex-wrap: wrap;
  }
  .supplies-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .supplies-foot .btn-primary {
    width: 100%;
  }
}

/* ---------- Print ---------- */
@media print {
  body {
    background: #ffffff;
  }
  .form-card,
  .header-points,
  .results-actions,
  .footer,
  .toast,
  .pending-card,
  .supplies-card {
    display: none !important;
  }
  .result-card,
  .results-banner {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
