@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,500&display=swap');

:root {
  --ocean: #e11d48;
  --ocean-dark: #0b1220;
  --lagoon: #fbbf24;
  --sand: #f7f1e8;
  --ink: #0f172a;
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; }

.font-script { font-family: 'Great Vibes', cursive; }

.hero-mask {
  --hero-image: url('../images/hero-beach.jpg');
  position: relative;
  overflow: hidden;
  background-color: #0b1220;
  background-image:
    linear-gradient(180deg, rgba(11,18,32,.58) 0%, rgba(159,18,57,.32) 38%, rgba(11,18,32,.18) 70%, rgba(247,241,232,.12) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center 60%;
}

.hero-has-video {
  background-image: var(--hero-image);
}

.hero-has-video::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11,18,32,.46) 0%, rgba(159,18,57,.22) 40%, rgba(11,18,32,.16) 72%, rgba(247,241,232,.12) 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  border: 0;
  transform: translate(-50%, -50%) scale(1.18);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .hero-has-video {
    background-image:
      linear-gradient(180deg, rgba(11,18,32,.58) 0%, rgba(159,18,57,.32) 38%, rgba(11,18,32,.18) 70%, rgba(247,241,232,.12) 100%),
      var(--hero-image);
  }
  .hero-has-video::after { display: none; }
}

.wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 120px;
  fill: #f7f1e8;
}

.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15,23,42,.12); }

.otp-box {
  width: 2.75rem; height: 3.25rem;
  text-align: center; font-size: 1.35rem; font-weight: 700;
  border-radius: .9rem; border: 1px solid #e2e8f0;
}

.bottom-nav {
  padding-bottom: env(safe-area-inset-bottom);
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

input, select, textarea { font-family: inherit; color: #0f172a; }

select,
input[type="date"],
input[type="datetime-local"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="tel"],
textarea {
  display: block;
  background-color: #fff;
  border: 1px solid #d7e2ee;
  border-radius: 0.9rem;
  min-height: 2.9rem;
  padding: 0.7rem 0.95rem;
  font-size: 0.9375rem;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color .15s ease, box-shadow .15s ease;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 11.5rem;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23be123c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1.05rem;
}

select:hover,
input[type="date"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
textarea:hover {
  border-color: #fb7185;
}

select:focus,
input[type="date"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
textarea:focus {
  outline: none;
  border-color: #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.16);
}

input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 3rem;
  padding: 0.55rem 0.85rem;
  color-scheme: light;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  padding: 0;
  color: #0f172a;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 1;
  width: 1.15rem;
  height: 1.15rem;
  padding: 0.35rem;
  margin-left: 0.25rem;
  border-radius: 0.45rem;
  background-color: #ffe4e6;
}

table select {
  min-width: 8rem;
  min-height: 2.35rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  font-size: 0.8125rem;
}

.search-form input {
  border: 0 !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
  min-height: 3.15rem;
}
header .search-form input {
  min-height: 2.4rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.quote-page {
  background: #f7e8e4;
  min-height: 70vh;
}

.quote-card {
  max-width: 26rem;
}

.quote-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: #111827;
  margin-bottom: 1.15rem;
}

.quote-page .quote-input,
.quote-page input.quote-input[type="date"],
.quote-page input.quote-input[type="number"],
.quote-page input.quote-input[type="email"],
.quote-page input.quote-input[type="tel"],
.quote-page input.quote-input[type="text"] {
  display: block;
  width: 100%;
  background: #fff;
  border: 0 !important;
  border-radius: 6px;
  padding: 0.9rem 1rem;
  color: #1e293b;
  box-shadow: none !important;
  min-height: 2.9rem;
}

.quote-page .quote-input::placeholder {
  color: #9ca3af;
}

.quote-page .quote-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.22) !important;
}

.quote-submit {
  display: inline-block;
  margin-top: 0.25rem;
  background: #e11d48;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.7rem 1.15rem;
  border-radius: 6px;
  border: 0;
  cursor: pointer;
}

.quote-submit:hover {
  background: #be123c;
}

.atoll-slider {
  position: relative;
}

.atoll-slider-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem 2.75rem 1rem;
  cursor: grab;
  scrollbar-width: none;
}

.atoll-slider-track::-webkit-scrollbar {
  display: none;
}

.atoll-slider-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.atoll-card {
  flex: 0 0 15.75rem;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  isolation: isolate;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease;
}

.atoll-card:hover {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

.atoll-card-img {
  display: block;
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: 1.35rem 1.35rem 0 0;
}

.atoll-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem 1.05rem;
}

.atoll-card-body h3 {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
}

.atoll-card-body p {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.atoll-card-body span {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #be123c;
  font-size: 1.1rem;
}

.atoll-slider-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #be123c;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.14);
  cursor: pointer;
}

.atoll-slider-prev { left: 0; }
.atoll-slider-next { right: 0; }

.atoll-slider-btn:hover {
  background: #e11d48;
  color: #fff;
}

@media (max-width: 640px) {
  .atoll-slider-track { padding-left: 0.15rem; padding-right: 0.15rem; }
  .atoll-card { flex-basis: 14.5rem; }
}

.home-map {
  width: 100%;
  border-radius: 1.35rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  background: #e2e8f0;
}

.home-map iframe {
  display: block;
  width: 100%;
  height: 40rem;
  min-height: 36rem;
  border: 0;
}

@media (max-width: 640px) {
  .home-map iframe {
    height: 28rem;
    min-height: 24rem;
  }
}

/* Admin panel */
.admin-body { margin: 0; background: #f7f1e8; color: #0f172a; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 16.75rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0b1220 0%, #1a0a12 100%);
  color: #e2e8f0;
  border-right: 1px solid rgba(255,255,255,.06);
}
.admin-brand {
  padding: 1.25rem 1.15rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-brand-pill {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fbbf24;
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.25);
  padding: .2rem .5rem;
  border-radius: 999px;
}
.admin-nav { padding: 0.85rem 0.7rem; flex: 1; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.62rem 0.75rem;
  border-radius: 0.75rem;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 0.15rem;
  transition: background .15s ease, color .15s ease;
}
.admin-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav-link.is-active {
  background: linear-gradient(90deg, rgba(225,29,72,.38), rgba(225,29,72,.12));
  color: #fff;
  box-shadow: inset 3px 0 0 #fbbf24;
}
.admin-nav-icon {
  width: 20px;
  height: 20px;
  max-width: 20px;
  max-height: 20px;
  display: inline-flex;
  flex-shrink: 0;
  overflow: hidden;
}
.admin-nav-icon svg { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; display: block; }
.admin-sidebar-foot {
  padding: 0.7rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.admin-credit { font-size: 0.65rem; color: #64748b; margin: 0.65rem 0.4rem 0.2rem; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.4rem;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.admin-menu-btn {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #fff;
  color: #0f172a;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.admin-menu-btn svg { width: 1.2rem; height: 1.2rem; }
.admin-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}
.admin-topbar-title { font-weight: 800; font-size: 1.05rem; margin: 0; }
.admin-topbar-meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #64748b;
}
.admin-user-chip {
  background: #ffe4e6;
  color: #9f1239;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
.admin-content { padding: 1.4rem 1.5rem 2.5rem; }
.admin-page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.admin-page-head h1 { font-size: 1.45rem; font-weight: 800; margin: 0; }
.admin-page-head p { margin: 0.2rem 0 0; color: #64748b; font-size: 0.875rem; }
.admin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #e11d48;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}
.admin-btn:hover { background: #be123c; color: #fff; }
.admin-btn-ghost {
  background: #fff;
  color: #0f172a;
  border: 1px solid #dbe4ee;
}
.admin-btn-ghost:hover { background: #f8fafc; color: #0f172a; }
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.admin-toolbar input,
.admin-toolbar select { max-width: 18rem; }
.admin-card {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
  overflow: hidden;
}
.admin-card-pad { padding: 1.25rem 1.35rem; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.admin-stat {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 1rem;
  padding: 1.05rem 1.15rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.admin-stat-label { font-size: 0.75rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .06em; }
.admin-stat-value { font-size: 1.85rem; font-weight: 800; margin-top: 0.25rem; letter-spacing: -0.03em; }
.admin-stat-note { font-size: 0.75rem; color: #94a3b8; margin-top: 0.2rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
  background: #f8fafc;
  padding: 0.75rem 1rem;
  font-weight: 700;
  border-bottom: 1px solid #eef2f7;
}
.admin-table td { padding: 0.85rem 1rem; border-top: 1px solid #eef2f7; vertical-align: middle; }
.admin-table tbody tr:hover { background: #fff7f8; }
.admin-badge {
  display: inline-flex;
  align-items: center;
  text-transform: capitalize;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}
.admin-badge-ok { background: #ecfdf5; color: #047857; }
.admin-badge-warn { background: #fffbeb; color: #b45309; }
.admin-badge-bad { background: #fff1f2; color: #be123c; }
.admin-badge-muted { background: #f1f5f9; color: #475569; }
.admin-badge-info { background: #ffe4e6; color: #be123c; }
.admin-link { color: #be123c; font-weight: 600; text-decoration: none; }
.admin-link:hover { text-decoration: underline; }
.admin-link-danger { color: #e11d48; font-weight: 600; background: none; border: 0; cursor: pointer; padding: 0; font: inherit; }
.admin-empty { padding: 2rem 1rem; text-align: center; color: #64748b; }
.admin-form-grid { display: grid; gap: 0.9rem; }
.admin-section-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #64748b;
  margin: 0.4rem 0 0.2rem;
}
.admin-help { font-size: 0.75rem; color: #64748b; margin: 0.3rem 0 0; }
.admin-flash { border-radius: 0.85rem; padding: 0.8rem 1rem; font-size: 0.875rem; margin-bottom: 1rem; }
.admin-flash-ok { background: #ecfdf5; color: #065f46; }
.admin-flash-error { background: #fff1f2; color: #9f1239; }
.admin-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.admin-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.55rem 0.7rem;
}
.admin-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  z-index: 40;
}
.admin-nav-open .admin-backdrop {
  display: block;
}
@media (max-width: 900px) {
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-menu-btn { display: inline-flex; }
  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 50;
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 16px 0 40px rgba(15,23,42,.25);
  }
  .admin-sidebar.is-open { transform: none; }
  .admin-content { padding: 1rem; }
  .admin-check-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .admin-stats { grid-template-columns: 1fr; }
  .admin-topbar-copy { min-width: 0; }
  .admin-topbar-title { font-size: 0.95rem; }
}

.search-form { position: relative; }
.search-clear {
  position: absolute;
  right: 3.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.search-form.admin-toolbar .search-clear,
.admin-suggest-wrap .search-clear { right: 0.6rem; }
.suggest-item {
  display: block;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: inherit;
  text-decoration: none;
}
.suggest-item:hover,
.suggest-item.is-active { background: #fff1f2; }
.suggest-type {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #be123c;
  font-weight: 700;
}
.suggest-name { font-weight: 600; color: #0f172a; }
.suggest-meta { font-size: 0.75rem; color: #64748b; }

.island-picker { position: relative; margin-top: 0.25rem; }
.island-picker-select-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.island-picker-field { position: relative; }
.island-picker-input {
  width: 100%;
  padding-right: 2.4rem;
}
.island-picker-clear {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.island-picker-clear.is-hidden { display: none; }
.island-picker-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  max-height: 16rem;
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.85rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
  z-index: 40;
}
.island-picker-option {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
  font-size: 0.875rem;
}
.island-picker-option:hover,
.island-picker-option.is-selected { background: #fff1f2; }
.island-picker-empty { padding: 0.85rem 1rem; color: #64748b; font-size: 0.85rem; margin: 0; }

.admin-tabs { display: flex; gap: 0.4rem; margin: 0 0 0.85rem; flex-wrap: wrap; }
.admin-tab {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}
.admin-tab.is-on { background: #e11d48; border-color: #e11d48; color: #fff; }
.admin-suggest-wrap { position: relative; flex: 1; min-width: 12rem; max-width: 28rem; }
.admin-suggest-wrap .suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  background: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
  overflow: hidden;
  z-index: 30;
}
.admin-toolbar.search-form { max-width: none; }
.admin-top-search { position: relative; width: 16rem; }
.admin-top-search input {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}
.admin-top-search .suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  background: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
  overflow: hidden;
  z-index: 50;
  min-width: 18rem;
}
@media (max-width: 1100px) {
  .admin-top-search { display: none; }
}

.settings-page {
  display: grid;
  gap: 1rem;
  max-width: 68rem;
  padding-bottom: 0.5rem;
}
.settings-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: -0.35rem 0 1rem;
  max-width: 68rem;
}
.settings-jump a {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #475569;
  text-decoration: none;
}
.settings-jump a:hover {
  border-color: #e11d48;
  color: #be123c;
  background: #fff1f2;
}
.settings-card {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 1.15rem;
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}
.settings-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  background: linear-gradient(180deg, #fffdfb 0%, #fff 100%);
}
.settings-card-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.35rem;
}
.settings-card-head h2 {
  display: block;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.settings-card-head p {
  display: block;
  margin: 0;
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.4;
}
.settings-card-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.85rem;
  background: #ffe4e6;
  color: #be123c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.settings-card-badge { margin-left: auto; align-self: center; }
.settings-card-body {
  padding: 1.15rem 1.25rem 1.3rem;
  display: grid;
  gap: 1.05rem;
}
.settings-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.settings-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}
.settings-label,
.settings-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}
.settings-page input[type="text"],
.settings-page input[type="email"],
.settings-page input[type="tel"],
.settings-page input[type="password"],
.settings-page input:not([type]),
.settings-page select,
.settings-page textarea {
  width: 100%;
  display: block;
  background: #fff;
  border: 1px solid #d7e2ee;
  border-radius: 0.85rem;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  font-size: 0.9375rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.settings-page textarea { min-height: 6.5rem; resize: vertical; }
.settings-page input:focus,
.settings-page select:focus,
.settings-page textarea:focus {
  outline: none;
  border-color: #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.14);
}
.settings-note {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 0.8rem;
  padding: 0.7rem 0.85rem;
}
.settings-hero-preview {
  position: relative;
  min-height: 11.5rem;
  border-radius: 1rem;
  background-color: #0b1220;
  background-size: cover;
  background-position: center 58%;
  overflow: hidden;
}
.settings-hero-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,.08) 20%, rgba(11,18,32,.62) 100%);
}
.settings-hero-preview-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}
.settings-live-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  backdrop-filter: blur(8px);
}
.settings-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.settings-choice { position: relative; display: block; cursor: pointer; }
.settings-choice input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.settings-choice-card {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  min-height: 4.6rem;
  padding: 0.95rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 1rem;
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.settings-choice-icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.7rem;
  background: #f8fafc;
  color: #be123c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.settings-choice-card strong { display: block; font-size: 0.92rem; }
.settings-choice-card small { display: block; margin-top: 0.15rem; color: #64748b; font-size: 0.75rem; }
.settings-choice:hover .settings-choice-card { border-color: #fb7185; }
.settings-choice.is-on .settings-choice-card,
.settings-choice:has(input:checked) .settings-choice-card {
  border-color: #e11d48;
  background: #fff1f2;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}
.settings-choice.is-on .settings-choice-icon,
.settings-choice:has(input:checked) .settings-choice-icon {
  background: #ffe4e6;
}
.settings-file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  min-height: 2.75rem;
}
.settings-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.settings-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #be123c;
  background: #fff7f8;
  border: 1px dashed #fb7185;
  border-radius: 0.8rem;
  padding: 0.55rem 0.9rem;
  pointer-events: none;
}
.settings-file-name { font-size: 0.8rem; color: #64748b; }
.settings-yt { display: flex; align-items: stretch; gap: 0.7rem; }
.settings-yt input { flex: 1; min-width: 0; }
.settings-yt-thumb {
  display: none;
  width: 5.6rem;
  flex-shrink: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0b1220;
}
.settings-yt-thumb.is-on { display: block; }
.settings-yt-thumb img { width: 100%; height: 100%; object-cover; display: block; }
.settings-savebar {
  position: relative;
  bottom: auto;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid #e6eef5;
  border-radius: 1rem;
  box-shadow: 0 12px 36px rgba(15,23,42,.12);
}
.settings-savebar p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
  max-width: 28rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.9rem;
}
.social-link {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.social-link svg { width: 1.15rem; height: 1.15rem; display: block; }
.social-links-dark .social-link {
  color: #fff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}
.social-links-dark .social-link:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #fff;
}
.social-links-light .social-link {
  color: #be123c;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}
.social-links-light .social-link:hover {
  background: #e11d48;
  border-color: #e11d48;
  color: #fff;
}
@media (max-width: 960px) {
  .settings-stack,
  .settings-cols,
  .settings-choice-grid { grid-template-columns: 1fr; }
  .settings-savebar { flex-direction: column; align-items: stretch; }
  .settings-savebar .admin-btn { width: 100%; }
  .settings-card-badge { margin-left: 0; }
}

.upload-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.55);
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.upload-overlay.is-on { display: flex; }
.upload-card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem;
  width: min(22rem, 100%);
  text-align: center;
  box-shadow: 0 20px 50px rgba(15,23,42,.25);
}
.upload-spinner {
  width: 2.1rem;
  height: 2.1rem;
  margin: 0 auto 0.8rem;
  border: 3px solid #ffe4e6;
  border-top-color: #e11d48;
  border-radius: 999px;
  animation: upload-spin .7s linear infinite;
}
.upload-title { font-weight: 800; margin: 0; }
.upload-status { color: #64748b; font-size: 0.85rem; margin: 0.25rem 0 0.9rem; }
.upload-bar {
  height: 0.55rem;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.upload-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #e11d48;
  transition: width .15s linear;
}
.upload-pct { font-size: 0.75rem; font-weight: 700; color: #be123c; margin: 0.45rem 0 0; }
@keyframes upload-spin { to { transform: rotate(360deg); } }

