html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}



body { background-color: var(--bs-body-bg); color: var(--bs-body-color); }
.sf-pill { border: 1px solid var(--bs-border-color); background: var(--bs-body-bg); }
.sf-pill-label { color: var(--bs-secondary-color); }

:root,
[data-bs-theme="light"] {
    --bg-color: #f8f9fa;         /* Light background */
    --text-color: #212529;       /* Dark text */
    --heading-color: #0d6efd;    /* Primary blue heading */
    --switch-bg: #ccc;           /* Light grey switch background */
    --slider-color: #fff;        /* White toggle circle */
}

/* 2. Define theme variables for DARK mode */
[data-bs-theme="dark"] {
    --bg-color: #212529;         /* Dark background */
    --text-color: #f8f9fa;       /* Light text */
    --heading-color: #66b2ff;    /* Soft blue heading */
    --switch-bg: #666;           /* Darker switch background */
    --slider-color: #fff;        /* Keep toggle circle white */
}
:root {
  --sf-primary:#ff3b5c;
  --sf-border:#e5e7eb;
  --sf-header-height: 64px;
}

/* Search pill */
.sf-pill-input { border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; height: auto !important; }
.sf-pill-divider { align-self: stretch; width: 1px; background: var(--sf-border); margin: 0 4px; }
.sf-search-btn { width: 36px; height: 36px; background: var(--sf-primary); display: inline-flex; align-items: center; justify-content: center; border: none; }

.sf-pill-compact .sf-pill-label {
  font-size: 0.66rem;
  line-height: 1;
  margin-bottom: 0.15rem !important;
}

.sf-pill-compact .sf-pill-input {
  font-size: 0.85rem;
  line-height: 1.2;
}

.sf-pill-compact .sf-pill-divider {
  margin: 0 2px;
}

.sf-pill-compact .sf-search-btn {
  width: 32px;
  height: 32px;
}

.sf-header-search-wrap {
  min-width: 460px;
  max-width: 560px;
}

@media (max-width: 1199.98px) {
  .sf-header-search-wrap {
    min-width: 420px;
    max-width: 500px;
  }
}

/* Card adornments */
.sf-heart-btn { position: absolute; top: 12px; right: 12px; border-radius: 999px; background: rgba(255,255,255,0.9); backdrop-filter: blur(6px); }
.sf-badge { position: absolute; left: 12px; top: 12px; border-radius: 999px; font-size: .7rem; padding: .35rem .55rem; }

/* Ratio image helper */
.object-fit-cover { object-fit: cover; width: 100%; height: 100%; }

[data-bs-theme="dark"] .sf-heart-btn { background: rgba(0,0,0,0.5); color: var(--bs-light); }

header.sticky-top {
  background-color: var(--bs-body-bg);
  z-index: 1030;
}

.sf-filters-sticky {
  position: sticky;
  top: var(--sf-header-height);
  z-index: 1020;
  background-color: var(--bs-body-bg);
}

.sf-auth-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sf-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 59, 92, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.08), transparent 28%),
    var(--bs-body-bg);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.sf-auth-shell::before {
  content: "";
  position: absolute;
  inset: auto -7% -18% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 59, 92, 0.08);
  filter: blur(14px);
  pointer-events: none;
}

.sf-auth-shell::after {
  content: "";
  position: absolute;
  inset: -18% auto auto -8%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.08);
  filter: blur(14px);
  pointer-events: none;
}

.sf-auth-inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem;
}

.sf-auth-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.sf-auth-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 1rem;
  align-items: stretch;
}

.sf-auth-panel,
.sf-auth-card {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
}

[data-bs-theme="dark"] .sf-auth-panel,
[data-bs-theme="dark"] .sf-auth-card {
  border-color: rgba(255,255,255,0.08);
  background: rgba(33, 37, 41, 0.78);
}

.sf-auth-panel {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.sf-auth-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255, 59, 92, 0.1);
  color: var(--sf-primary);
  font-size: .85rem;
  font-weight: 600;
}

.sf-auth-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 1rem 0;
}

.sf-auth-copy {
  max-width: 32rem;
  color: var(--bs-secondary-color);
  font-size: 1.02rem;
}

.sf-auth-points {
  display: grid;
  gap: .85rem;
  margin-top: 1.75rem;
}

.sf-auth-point {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}

.sf-auth-point-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 59, 92, 0.12);
  color: var(--sf-primary);
  flex-shrink: 0;
}

.sf-auth-card {
  padding: 2rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.sf-auth-card-title {
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -.03em;
}

.sf-auth-card-copy {
  color: var(--bs-secondary-color);
}

.sf-auth-label {
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

.sf-auth-input,
.sf-auth-btn,
.sf-auth-provider-btn,
.sf-auth-link-btn {
  border-radius: 999px;
}

.sf-auth-input {
  min-height: 3.4rem;
  border: 1px solid var(--sf-border);
  padding-inline: 1rem;
}

.sf-auth-input:focus {
  border-color: rgba(255, 59, 92, 0.4);
  box-shadow: 0 0 0 .25rem rgba(255, 59, 92, 0.12);
}

.sf-auth-btn {
  min-height: 3.4rem;
  font-weight: 600;
}

.sf-auth-provider-btn {
  min-height: 3.2rem;
  border-color: var(--sf-border);
  background: var(--bs-body-bg);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.sf-auth-provider-btn:hover {
  border-color: rgba(255, 59, 92, 0.35);
  color: var(--sf-primary);
}

.sf-auth-provider-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.sf-auth-provider-label {
  line-height: 1;
}

.sf-auth-provider-btn--google {
  border-color: rgba(66, 133, 244, 0.28);
}

.sf-auth-provider-btn--google .sf-auth-provider-icon {
  background: rgba(66, 133, 244, 0.12);
  color: #4285f4;
}

.sf-auth-provider-btn--microsoft {
  border-color: rgba(127, 90, 240, 0.2);
}

.sf-auth-provider-btn--microsoft .sf-auth-provider-icon {
  background: rgba(127, 90, 240, 0.12);
  color: #2563eb;
}

.sf-auth-provider-btn--apple {
  border-color: rgba(17, 24, 39, 0.18);
}

.sf-auth-provider-btn--apple .sf-auth-provider-icon {
  background: rgba(17, 24, 39, 0.08);
  color: #111827;
}

.sf-auth-provider-btn--default .sf-auth-provider-icon {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}

[data-bs-theme="dark"] .sf-auth-provider-btn--apple .sf-auth-provider-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.sf-auth-divider {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--bs-secondary-color);
  font-size: .92rem;
}

.sf-auth-divider::before,
.sf-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--sf-border);
}

.sf-auth-footer {
  color: var(--bs-secondary-color);
  text-align: center;
}

.sf-auth-footer a {
  color: var(--sf-primary);
  font-weight: 600;
  text-decoration: none;
}

/* Booking pages readability */
.reservation-details {
  background: #ffffff;
  border: 1px solid #d6dee6;
  border-radius: 0.75rem;
}

.reservation-title {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.reservation-label {
  color: #334155;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reservation-value {
  color: #0f172a;
  font-weight: 700;
}

.payment-lead {
  color: #334155;
}

.payment-note {
  color: #475569;
}

.summary-panel {
  background: #ffffff;
  border: 1px solid #d6dee6;
  border-radius: 0.75rem;
}

.summary-title {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.summary-label {
  color: #334155;
}

.summary-value {
  color: #0f172a;
  font-weight: 600;
}

.bookings-subtitle {
  color: var(--bs-secondary-color);
}

.booking-label {
  color: var(--bs-secondary-color);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-value {
  color: var(--bs-emphasis-color);
  font-weight: 700;
}

.booking-id-text {
  color: var(--bs-secondary-color);
}

.sf-auth-bar .btn,
.sf-auth-bar .dropdown-toggle {
  border-radius: 999px;
}

.sf-auth-status {
  border-radius: 20px;
}

.sf-auth-message-card {
  max-width: 720px;
  margin: 0 auto;
}

.sf-auth-message-card .alert {
  border-radius: 18px;
}

.user-menu-toggle {
  border: 1px solid;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.user-menu-toggle.user-menu-guest {
  color: #334155;
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.user-menu-toggle.user-menu-guest:hover,
.user-menu-toggle.user-menu-guest:focus {
  color: #1e293b;
  background-color: #f8fafc;
  border-color: #94a3b8;
}

.user-menu-toggle.user-menu-authenticated {
  color: #14532d;
  background-color: #dcfce7;
  border-color: #86efac;
}

.user-menu-toggle.user-menu-authenticated:hover,
.user-menu-toggle.user-menu-authenticated:focus {
  color: #14532d;
  background-color: #bbf7d0;
  border-color: #4ade80;
  box-shadow: 0 0 0 0.15rem rgba(34, 197, 94, 0.2);
}

.navbar-brand {
  min-width: 0;
}

.sf-header-brand-text {
  white-space: nowrap;
}

.sf-section-nav {
  flex-wrap: wrap;
}

.sf-section-link {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
}

.sf-section-link:hover,
.sf-section-link:focus {
  background: #eef4fb;
  color: #0f3658;
  border-color: #b8cadf;
}

.sf-section-link-active {
  background: #0f3658;
  border-color: #0f3658;
  color: #ffffff;
}

.admin-subnav {
  background: #f3f7fc;
  border-top: 1px solid #d5e3f2;
  border-bottom: 1px solid #d5e3f2;
}

.admin-subnav-list {
  gap: 0.45rem;
  min-height: 3rem;
  align-items: center;
}

.admin-subnav-link {
  color: #2f4b68;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  padding: 0.5rem 0.85rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.admin-subnav-link:hover,
.admin-subnav-link:focus {
  color: #123e64;
  background-color: #e4eef8;
  border-color: #c7d9eb;
}

.admin-subnav-link.active {
  color: #0f3658;
  background-color: #dbe9f7;
  border-color: #bcd2e8;
}

.admin-subnav-section-label {
  color: #7a9ab8;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 0.75rem 0 0.1rem;
  border-right: 1px solid #c7d9eb;
  margin-right: 0.35rem;
  display: flex;
  align-items: center;
  white-space: nowrap;
  user-select: none;
}

.sf-area-shell {
  border: 1px solid var(--sf-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(255, 59, 92, 0.1), transparent 28%),
    radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.08), transparent 24%),
    var(--bs-body-bg);
}

.sf-area-section-copy {
  color: var(--bs-secondary-color);
  max-width: 48rem;
}

.sf-area-card,
.sf-service-option {
  border: 1px solid #dbe4ee;
  border-radius: 1rem;
  background: var(--bs-body-bg);
}

.sf-area-card {
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.sf-home-hero {
  border: 1px solid var(--sf-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(255, 59, 92, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(13, 110, 253, 0.12), transparent 28%),
    var(--bs-body-bg);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.06);
}

.sf-home-highlight {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  display: grid;
  gap: 1rem;
}

[data-bs-theme="dark"] .sf-home-highlight {
  background: rgba(33, 37, 41, 0.82);
  border-color: rgba(255, 255, 255, 0.08);
}

.sf-home-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.sf-home-highlight-icon,
.sf-home-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

.sf-home-highlight-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 59, 92, 0.12);
  color: var(--sf-primary);
  flex-shrink: 0;
}

.sf-home-card {
  border: 1px solid var(--sf-border);
  border-radius: 24px;
  background: var(--bs-body-bg);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
}

.sf-home-icon {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.35rem;
  background: rgba(15, 23, 42, 0.06);
}

.sf-home-feature-list {
  display: grid;
  gap: 0.75rem;
}

.sf-home-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--bs-secondary-color);
}

.sf-home-feature-list i {
  color: var(--sf-primary);
}

@media (max-width: 991.98px) {
  .admin-subnav {
    overflow-x: auto;
  }

  .admin-subnav-list {
    flex-wrap: nowrap;
    width: max-content;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .sf-header-brand-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 991.98px) {
  .sf-auth-frame {
    grid-template-columns: 1fr;
  }

  .sf-auth-panel {
    padding: 1.5rem;
  }

  .sf-auth-card {
    padding: 1.5rem;
  }
}



/* 3. Apply the variables to the actual elements */
/* body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

h1 {
    color: var(--heading-color);
} */
