:root {
  --bg: #f8f9fb;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5f6368;
  --accent: #e5484d;
  --accent-2: #c93a3f;
  --ok: #136f3a;
  --warn: #934a00;
  --error: #a91414;
  --line: #e4e6ea;
  --brand-black: #111111;
  --brand-charcoal: #1e2126;
  --brand-red: #e5484d;
  --brand-red-dark: #c93a3f;
  --brand-soft: #fff5f5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #fafbfc 0%, #f3f5f8 100%);
  color: var(--ink);
  overflow-x: hidden;
}

html, body { min-height: 100%; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

body:not(.admin-page):not(.auth-page):not(.customer-home) > header {
  background: linear-gradient(120deg, #14181f, #2a2f39 65%, #3b1113 100%);
  color: #fff;
  padding: 16px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav .title {
  margin-right: auto;
  font-weight: 700;
}

body:not(.admin-page) main {
  margin: 0 auto;
  padding: 0 22px 56px;
  max-width: 1240px;
}

.auth-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(146, 215, 255, 0.3), transparent 34%),
    radial-gradient(circle at 87% 86%, rgba(165, 224, 255, 0.3), transparent 36%),
    linear-gradient(170deg, #edf6ff 0%, #f7fbff 52%, #eef7ff 100%);
}

body.auth-page > main {
  margin: 0;
  max-width: none;
  padding: 0;
}

.auth-layout {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.auth-shell {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #cfe0f2;
  box-shadow: 0 24px 56px rgba(23, 58, 94, 0.18);
  background: #fff;
}

.auth-hero-panel {
  padding: 30px 28px;
  background:
    radial-gradient(circle at 18% 15%, rgba(159, 236, 255, 0.44), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(109, 215, 255, 0.26), transparent 38%),
    linear-gradient(155deg, #117eb7 0%, #0a92aa 52%, #107ebf 100%);
  color: #f4fbff;
  display: grid;
  align-content: center;
  gap: 10px;
}

.auth-card-header {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.auth-logo {
  width: 182px;
  height: 76px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(207, 231, 255, 0.76);
  background: #fff;
  padding: 5px 8px;
  box-shadow: 0 12px 24px rgba(9, 35, 56, 0.24);
}

.auth-eyebrow {
  margin: 4px 0 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: #d5f3ff;
}

.auth-hero-panel h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  margin: 0;
  color: #e2f6ff;
  line-height: 1.55;
}

.auth-feature-list {
  margin: 10px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  color: #d8f3ff;
}

.auth-card {
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 28px 24px;
  display: grid;
  align-content: center;
}

.auth-card-header h2 {
  margin: 0;
  color: #14324e;
  font-size: 33px;
  letter-spacing: -0.02em;
}

.auth-card-header p {
  margin: 0;
  color: #58718a;
}

.auth-login-form input {
  border: 1px solid #c9dcec;
  border-radius: 12px;
  background: #f7fbff;
}

.auth-login-form input:focus {
  outline: none;
  border-color: #5aaedf;
  box-shadow: 0 0 0 3px rgba(90, 174, 223, 0.18);
}

.auth-login-form button {
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(130deg, #0f7db3, #119ca9);
  padding: 12px;
}

.auth-login-form button:hover {
  background: linear-gradient(130deg, #0e6f9f, #0f8995);
}

.auth-card-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
}

.auth-form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-form-actions > * {
  flex: 1;
}

.auth-form-actions a {
  display: block;
}

.auth-form-actions .secondary {
  width: 100%;
}

.customer-home main {
  margin: 0 auto;
  padding-top: 0;
}

.customer-trip-page main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 22px 56px;
}

.customer-book-page main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 126px 22px 56px;
}

.customer-account-page main,
.customer-checkout-page main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 104px 22px 56px;
}

body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border-bottom: 0;
  padding: 16px 28px;
}

body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-nav {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(9, 47, 76, 0.34);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(178, 221, 255, 0.56);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 14px 28px rgba(10, 35, 62, 0.24);
}

.customer-trip-page .customer-header,
.customer-book-page .customer-header,
.customer-account-page .customer-header,
.customer-checkout-page .customer-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 10px 20px;
  background: transparent;
  border-bottom: 0;
}

.customer-trip-page .customer-nav,
.customer-book-page .customer-nav,
.customer-account-page .customer-nav,
.customer-checkout-page .customer-nav {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  background: rgba(9, 47, 76, 0.34);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(178, 221, 255, 0.56);
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 14px 28px rgba(10, 35, 62, 0.24);
}

.customer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #eef7ff;
  font-weight: 700;
  text-decoration: none;
}

.customer-brand:hover {
  text-decoration: none;
}

.customer-brand-logo-wrap {
  width: 146px;
  height: 38px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(193, 225, 252, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
}

.customer-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.customer-brand-text {
  font-size: 18px;
  letter-spacing: 0.01em;
  color: #eff8ff;
}

.customer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-links-center {
  justify-self: center;
}

.customer-links-auth {
  justify-self: end;
}

.customer-user-menu {
  position: relative;
}

.customer-user-toggle {
  min-width: 194px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.customer-user-toggle:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(219, 239, 255, 0.8);
  color: #ffffff;
}

.customer-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  border-radius: 12px;
  border: 1px solid #d0e3f3;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(14, 49, 80, 0.15);
  padding: 6px;
  display: none;
  z-index: 70;
}

.customer-user-dropdown.is-open {
  display: grid;
}

.customer-user-dropdown a {
  display: block;
  color: #244a69;
  border: 0;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
}

.customer-links-auth .customer-user-dropdown a {
  color: #244a69;
}

.customer-links .customer-user-dropdown a,
.customer-links .customer-user-dropdown a:hover,
.customer-links .customer-user-dropdown a:focus {
  color: #244a69;
}

.customer-user-dropdown a:hover {
  background: #eef6ff;
  color: #173e5c;
  border-color: transparent;
}

.customer-links .customer-user-dropdown a,
.customer-links .customer-user-dropdown a:hover,
.customer-links .customer-user-dropdown a:focus {
  color: #244a69;
}

.customer-links a {
  color: #e8f5ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid rgba(193, 225, 252, 0.24);
  transition: all 0.2s ease;
}

.customer-links a:hover,
.customer-links a.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(202, 230, 255, 0.52);
  color: #ffffff;
}

.customer-auth-pill {
  font-size: 13px;
  font-weight: 700;
  color: #e5f5ff;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(196, 228, 252, 0.4);
}

.customer-links-auth .customer-register-btn {
  background: linear-gradient(120deg, #2dd4bf, #0ea5e9);
  border-color: transparent;
  color: #073a57;
  font-weight: 800;
}

.customer-hero {
  border-radius: 0;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.12), transparent 35%),
    radial-gradient(circle at 86% 18%, rgba(229, 72, 77, 0.24), transparent 38%),
    radial-gradient(circle at 45% 94%, rgba(255, 152, 156, 0.2), transparent 42%),
    linear-gradient(145deg, #0f1115 0%, #1c2028 46%, #391215 100%);
  color: #f9fbff;
  padding: 128px 30px 42px;
  margin: -25px calc(50% - 50vw) 30px;
  border: 0;
  box-shadow: 0 16px 32px rgba(17, 17, 17, 0.24);
  min-height: 500px;
  display: flex;
  align-items: center;
}

.customer-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 26px;
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
}

.customer-hero-copy {
  padding: 12px 6px;
}

.customer-hero-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ffd6d8;
}

.customer-hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 4.3vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 700px;
}

.customer-hero-copy p {
  margin: 10px 0 0;
  max-width: 640px;
  color: #f0e5e6;
  font-size: 18px;
  line-height: 1.45;
}

.customer-hero-subtitle {
  margin-top: 16px;
}

.trip-filters {
  border-radius: 18px;
  border: 1px solid rgba(217, 240, 255, 0.5);
  box-shadow: 0 22px 34px rgba(7, 35, 61, 0.28);
  margin-bottom: 0;
  padding: 14px 14px 12px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.32), rgba(212, 237, 249, 0.2));
  backdrop-filter: blur(14px);
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.trip-filters-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #dbe9f6;
}

.trip-filters-head h2 {
  margin: 0;
  font-size: 20px;
  color: #1a3856;
  line-height: 1.1;
}

.trip-filters p {
  color: #49647c;
}

.trip-filters-sub {
  margin: 4px 0 0;
  color: #5f7a93;
  font-size: 12px;
  line-height: 1.35;
}

#trip-filter-reset {
  width: auto;
  min-width: 84px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: #edf5ff;
  border: 1px solid #cfe2f7;
  color: #2b5276;
}

.trip-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trip-filters-grid input,
.trip-filters-grid select {
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #bfdaed;
  color: #24445f;
  font-weight: 700;
  font-size: 13px;
  padding: 0 10px;
}

.trip-filters-grid input[type="date"] {
  padding-right: 8px;
}

.trip-filters-grid input::placeholder {
  color: #8098af;
}

.trip-filters-grid input:focus,
.trip-filters-grid select:focus {
  outline: none;
  border-color: #60aee6;
  box-shadow: 0 0 0 3px rgba(96, 174, 230, 0.2);
}

.trip-filter-meta {
  margin: 10px 0 0;
  color: #2f6a95;
  font-size: 12px;
  font-weight: 700;
}

.trip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trip-card {
  border-radius: 20px;
  border: 1px solid #d4e5f3;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 30px rgba(20, 57, 97, 0.1);
  overflow: hidden;
  display: flex;
  min-height: 420px;
}

.trip-card:hover {
  box-shadow: 0 18px 34px rgba(17, 56, 94, 0.14);
}

.trip-card-media {
  position: relative;
  flex: 0 0 40%;
  min-height: 420px;
  overflow: hidden;
}

.trip-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  margin: 0;
  border-radius: 0;
}

.trip-card-image.is-placeholder {
  background: linear-gradient(150deg, #d8eef7, #eaf6fd);
  color: #3f6588;
  font-size: 38px;
}

.trip-card-location-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(205, 228, 244, 0.85);
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(6px);
  color: #1f4a6e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trip-card-details {
  flex: 1;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 251, 255, 0.9));
}

.trip-card-content {
  flex: 1;
  overflow: auto;
  padding: 20px 20px 16px;
  display: grid;
  align-content: start;
  gap: 10px;
}

.trip-card-content h3 {
  margin: 0;
  font-size: 24px;
  color: #153956;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.trip-card-meta {
  margin: 0;
  color: #57758f;
  font-size: 13px;
  font-weight: 500;
}

.trip-card-desc {
  margin: 0;
  color: #4a637b;
  font-size: 14px;
  line-height: 1.6;
}

.trip-card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.trip-stat {
  border-radius: 999px;
  padding: 4px 10px;
  background: #edf5fd;
  color: #3a5b7d;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #d7e8f7;
}

.trip-stat.is-open {
  background: #eaf8f0;
  color: #1f7a42;
}

.trip-stat.is-low {
  background: #fff4df;
  color: #9d5f00;
}

.trip-stat.is-full {
  background: #fee8e8;
  color: #b63b3b;
}

.trip-card-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trip-card-price-box {
  min-height: 94px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d5e7f5;
  background: #f5fbff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trip-card-price-box label {
  margin: 0;
  font-size: 12px;
  color: #60809d;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.trip-card-price-box strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  color: #18476b;
  line-height: 1.1;
}

.trip-card-actionbar {
  margin-top: auto;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.98));
  border-top: 1px solid #d8e8f5;
  padding: 14px 20px;
}

.trip-card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.trip-card-actions-grid > a {
  text-decoration: none;
}

.trip-card-actions-grid button {
  height: 48px;
  border-radius: 12px;
  padding: 0 14px;
  font-weight: 600;
  font-size: 14px;
}

.trip-card-cta,
.checkout-pay-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2f3a, #1b1f28);
  color: #ffffff;
  position: relative;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 20px rgba(17, 23, 32, 0.26);
}

.booking-form-shell button[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2f3a, #1b1f28);
  color: #ffffff;
  position: relative;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 20px rgba(17, 23, 32, 0.26);
}

.trip-card-cta::before,
.checkout-pay-btn::before,
.booking-form-shell button[type="submit"]::before {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--brand-red);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a6 6 0 0 0-6 6v3.17l-1.7 2.83A1 1 0 0 0 5.17 16h13.66a1 1 0 0 0 .86-1.5L18 11.17V8a6 6 0 0 0-6-6zm0 20a2.5 2.5 0 0 0 2.45-2h-4.9A2.5 2.5 0 0 0 12 22z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}

.trip-card-cta::after,
.checkout-pay-btn::after,
.booking-form-shell button[type="submit"]::after {
  content: "›";
  position: absolute;
  right: 0;
  width: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0.9;
}

.trip-card-cta:hover,
.checkout-pay-btn:hover,
.booking-form-shell button[type="submit"]:hover {
  background: linear-gradient(135deg, #343a46, #252a35);
}

.trip-card-cta:hover::after,
.checkout-pay-btn:hover::after,
.booking-form-shell button[type="submit"]:hover::after {
  animation: slide-right .6s ease-out both;
}

.trip-card-cta:active,
.checkout-pay-btn:active,
.booking-form-shell button[type="submit"]:active {
  transform: translate(1px, 1px);
}

@keyframes slide-right {
  0% {
    transform: translateX(-10px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.trip-detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
  border-radius: 22px;
  padding: 18px;
  border: 1px solid #cfe3f3;
  background:
    radial-gradient(circle at 8% 10%, rgba(230, 244, 255, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.9));
  box-shadow: 0 24px 42px rgba(23, 66, 109, 0.14);
}

.trip-detail-media .trip-cover-lg {
  margin: 0;
  border-radius: 18px;
  height: 100%;
  min-height: 320px;
}

.trip-detail-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.trip-detail-state {
  display: inline-block;
  width: fit-content;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid #cae0f3;
  background: #edf6ff;
  color: #28547b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.trip-detail-head h1 {
  margin: 8px 0 0;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #163958;
}

.trip-detail-meta {
  margin: 10px 0 0;
  color: #57758f;
  font-size: 15px;
}

.trip-detail-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4a637b;
}

.trip-detail-badges .badge {
  margin-bottom: 6px;
}

.trip-detail-badge-full {
  background: #fee8e8;
  color: #b63b3b;
}

.trip-detail-pricing {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trip-detail-pricing > div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #d5e7f5;
  background: #f5fbff;
}

.trip-detail-pricing label {
  margin: 0;
  font-size: 12px;
  color: #60809d;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.trip-detail-pricing strong {
  display: block;
  margin-top: 5px;
  font-size: 24px;
  color: #18476b;
}

.trip-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trip-detail-actions a {
  text-decoration: none;
}

.trip-detail-actions button {
  min-width: 150px;
}

.trip-detail-disabled {
  background: #d7e3ef;
  color: #516679;
  cursor: not-allowed;
}

.booking-trip-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  border-radius: 22px;
  padding: 16px;
  border: 1px solid #cfe3f3;
  background:
    radial-gradient(circle at 8% 10%, rgba(230, 244, 255, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 252, 255, 0.9));
  box-shadow: 0 24px 42px rgba(23, 66, 109, 0.14);
  margin-bottom: 14px;
  margin-top: 0;
}

.booking-trip-media .trip-cover-lg {
  margin: 0;
  border-radius: 16px;
  height: 100%;
  min-height: 280px;
}

.booking-trip-content h2 {
  margin: 8px 0 0;
  font-size: 34px;
  color: #173a58;
  line-height: 1.05;
}

.booking-form-shell {
  border-radius: 18px;
  border: 1px solid #cfe4f4;
  background:
    radial-gradient(circle at 10% 8%, rgba(228, 244, 255, 0.52), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 253, 255, 0.93));
  box-shadow: 0 16px 32px rgba(26, 69, 111, 0.12);
  padding: 20px;
}

.booking-form-shell .grid.cols-2 {
  gap: 14px;
}

.booking-form-shell .grid.cols-2 > div {
  border: 1px solid #d6e8f5;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 10px 12px;
}

.booking-form-shell input,
.booking-form-shell select {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #c7ddee;
  background: #fafdff;
}

.booking-form-shell input:focus,
.booking-form-shell select:focus {
  outline: none;
  border-color: #59a9da;
  box-shadow: 0 0 0 3px rgba(89, 169, 218, 0.16);
}

.booking-form-head h2 {
  margin: 0;
  font-size: 30px;
  color: #183c5b;
  letter-spacing: -0.02em;
}

.booking-form-head p {
  margin: 8px 0 0;
  color: #5c7c98;
}

.booking-form-shell h3 {
  margin: 16px 0 8px;
  color: #1e4364;
}

.booking-guest-fields {
  display: grid;
  gap: 10px;
}

.booking-angler-card {
  border-radius: 14px;
  border: 1px solid #d3e6f5;
  background: #f7fbff;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.booking-angler-card label {
  margin-top: 8px;
}

.booking-angler-card label:first-child {
  margin-top: 0;
}

.booking-form-actions {
  margin-top: 14px;
}

.booking-form-actions button {
  max-width: 320px;
}

.booking-trip-actions {
  margin-top: 6px;
}

.booking-trip-actions .secondary {
  width: auto;
  min-width: 140px;
}

.profile-hero {
  margin-bottom: 14px;
  border-radius: 18px;
}

.profile-hero h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.profile-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
}

.profile-form-card,
.profile-bookings-card {
  border-radius: 18px;
  border: 1px solid #d6e5f2;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.profile-account-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  border: 1px solid #bfe8d1;
  background: #eefcf4;
  color: #1c7a4a;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

.profile-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1fb765;
  box-shadow: 0 0 0 3px rgba(31, 183, 101, 0.2);
}

.profile-form-card h2,
.profile-bookings-card h2 {
  margin: 0 0 10px;
  color: #1c3d5a;
}

.profile-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-info-item {
  border: 1px solid #d8e6f3;
  border-radius: 12px;
  background: #fbfdff;
  padding: 10px;
}

.profile-info-item label {
  display: block;
  color: #59748d;
  font-size: 12px;
  margin-bottom: 4px;
}

.profile-info-item strong {
  color: #1a3956;
  font-size: 15px;
}

.profile-edit-form {
  margin-top: 12px;
}

.profile-form-actions {
  display: flex;
  align-items: flex-end;
}

.profile-booking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 530px;
  overflow: auto;
}

.profile-booking-card {
  border: 1px solid #d7e5f1;
  border-radius: 14px;
  background: #fbfdff;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.profile-booking-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.profile-booking-head h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.profile-booking-badges {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.profile-booking-date {
  margin: 0;
  color: #607b94;
  font-size: 13px;
}

.profile-booking-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.profile-booking-dot.is-paid {
  background: #26c06f;
}

.profile-booking-dot.is-due {
  background: #e5484d;
}

.profile-booking-pill {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
}

.profile-booking-pill.is-paid {
  background: linear-gradient(120deg, #28c76f, #20b35f);
}

.profile-booking-pill.is-due {
  background: linear-gradient(120deg, #f0646c, #d63a40);
}

.profile-booking-open {
  min-width: 94px;
}

.customer-feedback-open {
  overflow: hidden;
}

.customer-feedback-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 13000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.customer-feedback-modal.is-open {
  display: flex;
}

.customer-feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(4px);
}

.customer-feedback-card {
  position: relative;
  z-index: 1;
  width: min(460px, calc(100vw - 32px));
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  padding: 24px;
  display: grid;
  gap: 16px;
}

.customer-feedback-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #dbe5f0;
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  font-size: 24px;
  line-height: 1;
}

.customer-feedback-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fef2f2;
  color: #b91c1c;
  box-shadow: inset 0 0 0 1px #fecaca;
}

.customer-feedback-icon.notice {
  background: #eff6ff;
  color: #1d4ed8;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.customer-feedback-icon svg {
  width: 24px;
  height: 24px;
}

.customer-feedback-kicker {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.customer-feedback-copy h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.customer-feedback-copy p {
  margin: 10px 0 0;
  color: #526276;
  font-size: 15px;
  line-height: 1.65;
}

.customer-feedback-actions {
  display: flex;
  justify-content: stretch;
}

.booking-pass-page main {
  max-width: 1180px;
  padding-top: 56px !important;
  padding-bottom: 72px !important;
}

.booking-pass-shell {
  display: grid;
  gap: 16px;
}

.booking-pass-hero {
  display: grid;
  margin-top: 50px;
  grid-template-columns: minmax(0, 1.15fr) 250px;
  gap: 16px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid #d9e5f1;
  background:
    radial-gradient(circle at top right, rgba(191, 219, 254, 0.4), transparent 32%),
    radial-gradient(circle at left center, rgba(187, 247, 208, 0.25), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.booking-pass-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  align-items: center;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-pass-hero-copy h1 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0f172a;
  font-weight: 700;
}

.booking-pass-hero-copy p {
  margin: 0;
  max-width: 44ch;
  color: #526276;
  font-size: 14px;
  line-height: 1.6;
}

.booking-pass-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.booking-pass-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.booking-pass-pill.success { background: #dcfce7; color: #166534; }
.booking-pass-pill.warning { background: #fef3c7; color: #92400e; }
.booking-pass-pill.error { background: #fee2e2; color: #991b1b; }
.booking-pass-pill.neutral { background: #e2e8f0; color: #334155; }

.booking-pass-qr-card {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d8e4f1;
}

.booking-pass-qr-image {
  width: min(100%, 176px);
  aspect-ratio: 1;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  border: 1px solid #e2e8f0;
}

.booking-pass-qr-card strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.booking-pass-qr-card span {
  text-align: center;
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
}

.booking-pass-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 16px;
}

.booking-pass-panel {
  border-radius: 20px;
  border: 1px solid #d9e5f1;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.booking-pass-summary,
.booking-pass-payments {
  grid-column: span 1;
}

.booking-pass-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.booking-pass-panel-head h3 {
  margin: 0;
  font-size: 18px;
  color: #0f172a;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.booking-pass-summary-top {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
}

.booking-pass-trip-image {
  width: 100%;
  height: 128px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #dbe5f0;
  background: #eef3f8;
}

.booking-pass-summary-info {
  display: grid;
  gap: 4px;
  align-content: start;
}

.booking-pass-summary-info strong {
  font-size: 20px;
  color: #0f172a;
  font-weight: 700;
}

.booking-pass-summary-info span {
  color: #5d7084;
  font-size: 13px;
}

.booking-pass-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.booking-pass-metrics > div,
.booking-pass-contact {
  border: 1px solid #dbe5f0;
  border-radius: 16px;
  background: #fbfdff;
  padding: 12px;
}

.booking-pass-metrics label,
.booking-pass-contact label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a8da2;
  margin-bottom: 6px;
  font-weight: 600;
}

.booking-pass-metrics strong,
.booking-pass-contact strong {
  display: block;
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}

.booking-pass-contact {
  margin-top: 12px;
}

.booking-pass-contact span {
  display: block;
  color: #5d7084;
  font-size: 13px;
  margin-top: 3px;
}

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

.booking-pass-actions a,
.booking-pass-actions button {
  min-width: 150px;
}

.booking-pass-guest-list {
  display: grid;
  gap: 10px;
}

.booking-pass-guest-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #dbe5f0;
  background: #fbfdff;
}

.booking-pass-guest-card strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
}

.booking-pass-guest-card span {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-top: 4px;
}

.booking-pass-guest-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.booking-pass-verify-link {
  font-size: 12px;
  font-weight: 600;
  color: #1d4ed8;
}

.booking-pass-payments {
  grid-column: 1 / -1;
}

.profile-bookings-card select {
  min-width: 140px;
  border-radius: 10px;
}

.profile-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1400;
  padding: 0;
}

.profile-modal.is-open {
  display: flex;
}

.profile-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(10px);
}

.profile-modal-card {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  border-radius: 28px;
  border: 1px solid #dbe5f0;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 26px;
  overflow: auto;
}

.profile-modal-card::-webkit-scrollbar {
  width: 10px;
}

.profile-modal-card::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

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

.profile-modal-actions {
  margin: 6px 0 0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: center;
}

.profile-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef2f7;
  border: 1px solid #d9e5f1;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-modal-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.profile-modal-intro h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.05;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.profile-modal-intro p {
  margin: 0;
  max-width: 440px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.profile-modal-badge {
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #dbe5f0;
}

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

.profile-input-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: #fbfdff;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.profile-input-card-wide {
  grid-column: span 2;
}

.profile-input-card label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.profile-input-card input {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d6e2ee;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.08);
}

.profile-input-card input:focus {
  border-color: #cbd5e1;
  box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.18);
  outline: none;
}

.profile-input-card input[readonly] {
  color: #64748b;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5f9 100%);
}

.profile-input-card small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.profile-edit-feedback {
  min-height: 24px;
  margin-top: 14px;
}

.checkout-shell {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-shell-two-col {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
}

.checkout-col {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.checkout-col-main {
  grid-template-columns: 1fr;
}

.checkout-col-payments {
  grid-template-columns: 1fr;
}

.checkout-summary,
.checkout-waivers,
.checkout-payment,
.checkout-history {
  border-radius: 18px;
  border: 1px solid #d6e5f2;
  background:
    radial-gradient(circle at 7% 5%, rgba(255, 227, 228, 0.35), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fbff);
}

.checkout-summary,
.checkout-payment {
  grid-column: auto;
}

.checkout-shell-two-col .checkout-summary,
.checkout-shell-two-col .checkout-waivers,
.checkout-shell-two-col .checkout-payment {
  grid-column: auto;
  margin-bottom: 0;
}

.checkout-shell-two-col .checkout-history,
.checkout-msg {
  grid-column: 1 / -1;
}

.checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-summary-head h2 {
  margin: 0;
}

.checkout-summary-headline {
  align-items: flex-start;
}

.checkout-summary-headline .badge {
  margin-right: 0;
}

.checkout-eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5e7892;
  font-weight: 700;
}

.checkout-summary-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 4px;
}

.checkout-meta-item {
  border: 1px solid #d7e4ef;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px;
}

.checkout-meta-item label {
  margin: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6d849a;
}

.checkout-meta-item strong {
  display: block;
  margin-top: 4px;
  color: #143754;
  font-size: 16px;
}

.checkout-meta-item small {
  display: block;
  margin-top: 4px;
  color: #59738a;
  font-size: 12px;
}

.checkout-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.checkout-amount-box {
  border: 1px solid #d7e6f2;
  border-radius: 12px;
  background: #fbfdff;
  padding: 10px;
}

.checkout-amount-box label {
  display: block;
  color: #5a738c;
  font-size: 12px;
  margin-bottom: 4px;
}

.checkout-amount-box strong {
  font-size: 20px;
  color: #1b3b58;
}

.checkout-waiver-grid {
  display: grid;
  gap: 10px;
}

.checkout-waiver-banner {
  border-radius: 12px;
  border: 1px solid #cfe2f4;
  padding: 10px 12px;
  margin-bottom: 10px;
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: #21405b;
}

.checkout-waiver-banner strong {
  font-size: 13px;
}

.checkout-waiver-banner.is-required {
  background: linear-gradient(180deg, #fff7e4, #fffaf0);
  border-color: #f1d9a3;
  color: #6b4c08;
}

.checkout-waiver-banner.is-flex {
  background: linear-gradient(180deg, #edf8ff, #f8fcff);
  border-color: #cbe3f4;
}

.checkout-waiver-card {
  border: 1px solid #d8e6f3;
  border-radius: 14px;
  background: #fbfdff;
  padding: 12px;
}

.checkout-waiver-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.checkout-waiver-head p {
  margin: 0;
}

.checkout-waiver-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.checkout-payment-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(48, 140, 239, 0.22), transparent 40%),
    radial-gradient(circle at 12% 92%, rgba(238, 90, 82, 0.12), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}

.checkout-payment-head h3 {
  margin: 0;
}

.checkout-payment-kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 0 12px;
}

.checkout-payment-kpi {
  border: 1px solid #d5e5f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 10px;
}

.checkout-payment-kpi label {
  margin: 0;
  font-size: 12px;
  color: #5e7892;
}

.checkout-payment-kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  color: #123552;
}

.checkout-pay-btn {
  margin-top: 2px;
  min-height: 52px;
  padding: 0 52px 0 18px;
  border-radius: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  justify-content: center;
  background:
    linear-gradient(135deg, #111827 0%, #1f2937 55%, #334155 100%);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.24);
}

.checkout-pay-btn::before {
  width: 16px;
  height: 16px;
  background: #dbe3ee;
}

.checkout-pay-btn::after {
  right: 12px;
  width: 28px;
  font-size: 20px;
}

.checkout-pay-btn:hover {
  background:
    linear-gradient(135deg, #1f2937 0%, #293445 55%, #3f4d63 100%);
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.28);
}

.checkout-pay-btn-strong {
  width: 100%;
}

.checkout-payment-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: #5f7990;
}

.trip-cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d7e5f0;
  margin: 0 0 12px;
  background: #eef5fc;
}

.trip-cover.trip-cover-lg {
  height: 260px;
}

.trip-cover.is-placeholder {
  display: grid;
  place-items: center;
  color: #5d7a9a;
  font-size: 34px;
  font-weight: 700;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 6px 16px rgba(10, 60, 70, 0.06);
}

.grid {
  display: grid;
  gap: 12px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

input, select, textarea, button {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #bfd0d8;
  font: inherit;
  padding: 10px 12px;
}

input[type="checkbox"] {
  width: auto;
}

button {
  background: var(--accent);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

button:hover { background: var(--accent-2); }
button.secondary { background: #e9f2f5; color: #0f1720; border: 1px solid #bfd0d8; }
button.warning { background: #b55b00; }
button.success { background: var(--ok); }

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: #eaf3f7;
  color: #183a45;
  margin-right: 6px;
}

.kv {
  margin: 6px 0;
  color: var(--muted);
}

.notice, .error {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.notice { background: #eef8f0; border: 1px solid #b9e1c0; color: #1c5630; }
.error { background: #fdeeee; border: 1px solid #f3bcbc; color: var(--error); }

.row {
  display: flex;
  gap: 10px;
}

.row > * { flex: 1; }

.right { text-align: right; }

@media (max-width: 1040px) {
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-header {
    padding: 14px 16px;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-nav {
    grid-template-columns: auto 1fr;
    gap: 10px;
  }
  .customer-links-center {
    order: 3;
    grid-column: 1 / -1;
    justify-self: start;
    flex-wrap: wrap;
  }
  .customer-links-auth {
    justify-self: end;
  }
  .customer-hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .trip-grid {
    grid-template-columns: 1fr;
  }
  .trip-card {
    flex-direction: column;
    min-height: 0;
  }
  .trip-card-media {
    min-height: 260px;
    flex-basis: auto;
  }
  .profile-shell {
    grid-template-columns: 1fr;
  }
  .profile-info-grid {
    grid-template-columns: 1fr;
  }
  .checkout-amount-grid {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-summary-meta {
    grid-template-columns: 1fr 1fr;
  }
  .checkout-payment-kpis {
    grid-template-columns: 1fr;
  }
  .checkout-shell {
    grid-template-columns: 1fr;
  }
  .checkout-shell-two-col {
    grid-template-columns: 1fr;
  }
  .checkout-col {
    gap: 12px;
  }
  .checkout-msg {
    grid-column: auto;
  }
  .customer-hero-copy {
    text-align: center;
    display: grid;
    justify-items: center;
  }
}

@media (max-width: 720px) {
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-header {
    padding: 10px;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-nav {
    grid-template-columns: auto 1fr auto;
    justify-items: initial;
    align-items: center;
    gap: 8px;
    padding: 10px;
  }
  .customer-brand-text {
    font-size: 16px;
  }
  .customer-brand-logo-wrap {
    width: 122px;
    height: 34px;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-links-center {
    display: none;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-links-auth {
    justify-self: end;
    display: inline-flex;
    flex-wrap: nowrap;
    width: auto;
    gap: 6px;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-links-auth a,
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-user-toggle {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-user-toggle {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  body.customer-home:not(.customer-trip-page):not(.customer-book-page):not(.customer-account-page):not(.customer-checkout-page) .customer-brand-logo-wrap {
    width: 108px;
    height: 32px;
  }
  .auth-form-actions {
    flex-direction: column;
  }
  .customer-user-toggle {
    min-width: 0;
    width: auto;
  }
  .customer-user-dropdown {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
  .customer-home .customer-nav {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }
  .customer-home .customer-links-center {
    display: none;
  }
  .customer-home .customer-links-auth {
    justify-self: end;
    display: inline-flex;
    flex-wrap: nowrap;
    width: auto;
    gap: 6px;
  }
  .customer-home .customer-links-auth a,
  .customer-home .customer-user-toggle {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
  .customer-hero {
    padding: 156px 16px 24px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 0;
    display: block;
  }
  .customer-trip-page main {
    padding: 88px 14px 34px;
  }
  .customer-book-page main {
    padding: 100px 14px 34px;
  }
  .customer-account-page main,
  .customer-checkout-page main {
    padding: 88px 14px 34px;
  }
  .customer-hero-copy h1 {
    font-size: 30px;
  }
  .profile-hero h1 {
    font-size: 28px;
  }
  .checkout-amount-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary-meta {
    grid-template-columns: 1fr;
  }
  .profile-info-grid {
    grid-template-columns: 1fr;
  }
  .profile-booking-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .profile-booking-pill {
    width: fit-content;
  }
  .checkout-waiver-actions {
    grid-template-columns: 1fr;
  }
  .trip-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .trip-card {
    flex-direction: column;
  }
  .trip-card-media {
    min-height: 220px;
  }
  .trip-card-details {
    min-height: 0;
  }
  .trip-card-content {
    padding: 14px 14px 12px;
  }
  .trip-card-content h3 {
    font-size: 20px;
  }
  .trip-card-pricing {
    grid-template-columns: 1fr;
  }
  .trip-card-actionbar {
    position: static;
    padding: 12px 14px;
  }
  .trip-card-actions-grid {
    grid-template-columns: 1fr;
  }
  .trip-detail-shell {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 12px;
  }
  .trip-detail-media .trip-cover-lg {
    min-height: 220px;
  }
  .trip-detail-pricing {
    grid-template-columns: 1fr;
  }
  .booking-trip-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    margin-top: 0;
  }
  .booking-trip-media .trip-cover-lg {
    min-height: 220px;
  }
  .booking-trip-content h2 {
    font-size: 26px;
  }
  .trip-filters {
    padding: 12px;
    max-width: 100%;
  }
  .trip-filters-grid {
    grid-template-columns: 1fr;
  }
  .grid.cols-2 { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
}

:root {
  /* theme variables for admin dashboard */
  --admin-bg: #f3f7fc;
  --admin-color: #1f2b3a;
  --admin-sidebar-bg: #1e293b;
  --admin-sidebar-color: #f9fafb;
  --admin-accent: #6366f1;
  --admin-accent-dark: #4f46e5;
  --admin-card-bg: #ffffff;
  --admin-header-height: 64px;
  --admin-drawer-width: 320px;
  --admin-mobile-footer-height: 72px;
}

.admin-page {
  background: var(--admin-bg);
  color: var(--admin-color);
}

.admin-page.admin-auth-view {
  background:
    radial-gradient(circle at 8% 10%, rgba(153, 221, 240, 0.35), transparent 30%),
    radial-gradient(circle at 90% 85%, rgba(129, 204, 238, 0.26), transparent 34%),
    linear-gradient(145deg, #edf7ff 0%, #f7fbff 48%, #eef5ff 100%);
}

.admin-page.admin-auth-view .admin-shell {
  display: block;
}

.admin-page.admin-auth-view .admin-sidebar,
.admin-page.admin-auth-view .admin-mobile-header,
.admin-page.admin-auth-view .admin-drawer-backdrop {
  display: none !important;
}

.admin-shell {
  display: block;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .admin-page:not(.admin-auth-view) {
    height: 100vh;
    overflow: hidden;
  }

  .admin-page:not(.admin-auth-view) .admin-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }
}

.admin-mobile-header {
  display: none;
  background: var(--admin-sidebar-bg);
  color: var(--admin-sidebar-color);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-mobile-burger span {
  background: var(--admin-sidebar-color);
  display: block;
  height: 2px;
  width: 20px;
  margin: 4px 0;
  transition: all 0.3s;
}

.admin-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 28, 45, 0.42);
  backdrop-filter: blur(2px);
  z-index: 1050;
}

.admin-sidebar {
  background: var(--admin-sidebar-bg);
  color: var(--admin-sidebar-color);
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  transition: background 0.3s ease;
}

.admin-sidebar a {
  color: var(--admin-sidebar-color);
}

.admin-menu a.active,
.admin-menu a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

.admin-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
}

.admin-logo-title {
  color: #f9fafb;
}

.admin-logo-sub {
  color: #d1d5db;
}

.admin-logo-mark {
  width: 92px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #cde3f7;
  background: #ffffff;
  padding: 4px 6px;
  object-fit: contain;
  display: block;
}

.admin-logo-title {
  font-weight: 800;
  color: #183049;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.admin-logo-sub {
  font-size: 13px;
  color: #6a7f96;
  letter-spacing: 0.02em;
}

.admin-menu {
  display: grid;
  gap: 7px;
}

.admin-menu a {
  color: #4a5f79;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  min-height: 42px;
  width: auto;
  margin: 0;
}

.admin-nav-ico {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.1);
  font-size: 14px;
  color: #f9fafb;
  transition: background 0.2s, color 0.2s;
}

.admin-menu a.active .admin-nav-ico,
.admin-menu a:hover .admin-nav-ico {
  background: var(--admin-accent);
  color: #fff;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: #ebf3ff;
  color: #1f3d63;
  border-color: #d2e4fb;
  transform: translateY(-1px);
}

.admin-sidebar-foot {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  display: grid;
  gap: 9px;
  border-top: 1px solid #dfebf8;
}

.admin-sidebar-foot a {
  color: var(--admin-accent);
  transition: color 0.2s;
}

.admin-sidebar-foot a:hover {
  color: var(--admin-accent-dark);
}

.admin-sidebar-foot button {
  width: 100%;
  background: #eef4fb;
  color: #24415f;
  border: 1px solid #ccddee;
}

.admin-sidebar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-sidebar-settings-btn {
  width: 42px;
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid #ccddee;
  background: #eef4fb;
  color: #24415f !important;
  text-decoration: none;
}

.admin-sidebar-settings-btn svg {
  width: 18px;
  height: 18px;
}

.admin-sidebar-logout-btn {
  width: auto !important;
  min-width: 0 !important;
  flex: 1 1 auto;
}

.admin-main {
  padding: 24px;
  overflow-x: visible;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .admin-page:not(.admin-auth-view) .admin-main {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    align-content: start;
    overscroll-behavior: contain;
  }
}

.admin-page.admin-auth-view .admin-main {
  min-height: 100vh;
  padding: 34px clamp(16px, 3vw, 42px);
  place-items: center;
}

.admin-page.admin-auth-view #global-msg {
  width: min(980px, 100%);
}

.admin-page.admin-auth-view .admin-main > :not(#global-msg) {
  display: none;
}

.admin-auth-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(320px, 1.15fr);
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #cfe1f2;
  box-shadow: 0 28px 48px rgba(26, 74, 119, 0.16);
  background: #ffffff;
}

.admin-auth-art {
  background:
    radial-gradient(circle at 25% 12%, rgba(157, 231, 255, 0.44), transparent 45%),
    linear-gradient(150deg, #0f6ea2, #0f8ea3);
  color: #f1fbff;
  padding: 32px 28px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.admin-auth-logo {
  width: 170px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(215, 240, 255, 0.7);
  background: #ffffff;
  object-fit: contain;
  padding: 6px;
  box-shadow: 0 12px 22px rgba(4, 28, 46, 0.26);
}

.admin-auth-art h2 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.admin-auth-art p {
  margin: 0;
  font-weight: 700;
  color: #d5f3ff;
}

.admin-auth-art small {
  color: #e2f5ff;
  font-size: 13px;
  line-height: 1.5;
}

.admin-auth-form-card {
  padding: 30px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
}

.admin-auth-form-card h3 {
  margin: 0;
  font-size: 30px;
  color: #1d3a57;
  letter-spacing: -0.02em;
}

.admin-auth-form-card > p {
  margin: 8px 0 18px;
  color: #57738f;
}

.admin-auth-form label {
  color: #4a627a;
  font-weight: 600;
}

.admin-auth-form input {
  border-radius: 12px;
  border: 1px solid #c8dbec;
  background: #f8fcff;
}

.admin-auth-form input:focus {
  outline: none;
  border-color: #57a9da;
  box-shadow: 0 0 0 3px rgba(87, 169, 218, 0.18);
}

.admin-auth-form button {
  margin-top: 4px;
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  background: linear-gradient(120deg, #0f77af, #14a0be);
}

.admin-auth-form button:hover {
  background: linear-gradient(120deg, #0e6796, #1292ae);
}

.admin-main > section,
.admin-main > header {
  margin: 0 auto;
  width: 100%;
  max-width: 1360px;
  grid-column: 1 / -1;
}

.admin-sidebar-meta {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(168, 193, 231, 0.18);
  color: rgba(215, 228, 255, 0.72);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.admin-mobile-footer {
  display: none;
}

.admin-mobile-footer-inner {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 14px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  background: var(--admin-sidebar-bg);
  color: rgba(244, 248, 255, 0.76);
  font-size: 11px;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(166, 191, 231, 0.16);
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d9e5f1;
}

.admin-search-wrap {
  flex: 1;
}

.admin-search-wrap input {
  border: 1px solid #d4e1ee;
  background: #f7fbff;
  color: #2b3b4f;
  height: 40px;
}

.admin-release-card {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(120deg, #edf6ff, #e9fffa);
  border: 1px solid #d3e7f9;
  color: #214768;
}

.admin-release-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6a86a1;
}

#admin-version-pill {
  font-size: 14px;
  color: #0d6488;
}

.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-topbar-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #7a8da4;
}

.admin-profile-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7fbff;
  border: 1px solid #d3e3f3;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: #2a3d53;
}

.admin-profile-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39d98a;
}

.admin-hero {
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d8e5f1;
  color: #17324d;
  box-shadow: 0 10px 24px rgba(26, 66, 115, 0.08);
}

.admin-hero h1 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.admin-hero p {
  margin: 0;
  color: #62768d;
  font-size: 17px;
}

.admin-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.admin-hero-actions button {
  min-width: 140px;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.guide-trip-filter-card {
  padding: 18px;
}

.guide-filter-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px) repeat(2, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.guide-filter-field {
  display: grid;
  gap: 6px;
  color: #35506c;
  font-size: 13px;
  font-weight: 700;
}

.guide-filter-field input {
  height: 42px;
  border: 1px solid #cfe0ef;
  border-radius: 12px;
  background: #f8fbff;
  color: #16324d;
  padding: 0 12px;
}

.guide-filter-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.guide-trip-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-trip-detail-card {
  border: 1px solid #dbe8f5;
}

.guide-trip-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  color: #35506c;
}

.guide-trip-detail-meta strong {
  color: #17324d;
}

.trip-calendar-entry-v2 {
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-filter-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .admin-summary-grid {
    grid-template-columns: 1fr;
  }

  .guide-filter-grid,
  .guide-trip-detail-grid,
  .guide-trip-detail-meta {
    grid-template-columns: 1fr;
  }

  .guide-filter-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-kpi-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #d9e8f6;
  box-shadow: 0 10px 20px rgba(33, 85, 144, 0.08);
  display: flex;
  justify-content: space-between;
  position: relative;
}

.admin-kpi-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #14c6ff, #39d6cc);
}

.admin-kpi-main {
  padding-left: 8px;
  display: grid;
  gap: 4px;
}

.admin-kpi-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1dc6f2, #41d8c3);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
}

.admin-kpi-label {
  color: #5d738d;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.admin-kpi-value {
  font-size: 20px;
  font-weight: 600;
  color: #1f3d63;
  letter-spacing: -0.02em;
  line-height: 1;
}

.admin-kpi-card.kpi-tone-1 .admin-kpi-value { color: #0ea5e9; }
.admin-kpi-card.kpi-tone-2 .admin-kpi-value { color: #16a34a; }
.admin-kpi-card.kpi-tone-3 .admin-kpi-value { color: #7c3aed; }
.admin-kpi-card.kpi-tone-4 .admin-kpi-value { color: #ea580c; }

.admin-kpi-card.kpi-tone-1 {
  border-color: #b7e7fb;
}
.admin-kpi-card.kpi-tone-1::before {
  background: linear-gradient(180deg, #0ea5e9, #22d3ee);
}
.admin-kpi-card.kpi-tone-1 .admin-kpi-icon {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
}

.admin-kpi-card.kpi-tone-2 {
  border-color: #bceac9;
}
.admin-kpi-card.kpi-tone-2::before {
  background: linear-gradient(180deg, #16a34a, #34d399);
}
.admin-kpi-card.kpi-tone-2 .admin-kpi-icon {
  background: linear-gradient(135deg, #16a34a, #34d399);
}

.admin-kpi-card.kpi-tone-3 {
  border-color: #d9ccfb;
}
.admin-kpi-card.kpi-tone-3::before {
  background: linear-gradient(180deg, #7c3aed, #a855f7);
}
.admin-kpi-card.kpi-tone-3 .admin-kpi-icon {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.admin-kpi-card.kpi-tone-4 {
  border-color: #fbd5c2;
}
.admin-kpi-card.kpi-tone-4::before {
  background: linear-gradient(180deg, #ea580c, #fb923c);
}
.admin-kpi-card.kpi-tone-4 .admin-kpi-icon {
  background: linear-gradient(135deg, #ea580c, #fb923c);
}

.admin-kpi-foot {
  margin-top: 6px;
  color: #6f8399;
  font-size: 14px;
  font-weight: 500;
}

.admin-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-chart-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  font-size: 13px;
  color: #42586f;
}

.admin-chart-track {
  height: 9px;
  background: #e5edf6;
  border-radius: 999px;
  overflow: hidden;
}

.admin-chart-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #56ccf2, #80ed99);
  box-shadow: 0 0 8px rgba(86, 204, 242, 0.35);
}

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

.admin-panel {
  background: var(--admin-card-bg);
  border: 1px solid #d8e6f3;
  box-shadow: 0 10px 22px rgba(31, 73, 124, 0.08);
  border-radius: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-panel:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 73, 124, 0.12);
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.admin-head-actions {
  justify-content: flex-end;
  flex: 0 0 auto;
}

.admin-btn-brand {
  background: linear-gradient(120deg, #0ea5e9, #0a9f97);
  color: #fff;
}

.admin-btn-brand:hover {
  background: linear-gradient(120deg, #0c8ec9, #0b8880);
}

.admin-panel-head h2,
.admin-panel-head h3 {
  margin: 0;
  color: #1f3650;
  font-size: 24px;
}

.admin-btn-small {
  width: auto;
  min-width: 96px;
  padding: 7px 12px;
  font-size: 13px;
  line-height: 1.2;
}

.admin-drawer {
  padding: 16px;
  border: 1px solid #d8e6f3;
  border-radius: 14px;
  background: #f8fcff;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #dce7f2;
  background: var(--admin-card-bg);
  transition: box-shadow 0.2s;
}

.admin-table-wrap:hover {
  box-shadow: 0 8px 16px rgba(31, 73, 124, 0.06);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 820px;
  color: #2f435b;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #e2ebf4;
  padding: 12px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-trip-name-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.admin-trip-thumb {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #d4e5f3;
  background: #eaf3fb;
}

.admin-trip-thumb.is-placeholder {
  display: grid;
  place-items: center;
  color: #6284a6;
  font-size: 16px;
}

.admin-table th {
  color: #5d7188;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f4f9ff;
  position: sticky;
  top: 0;
}

.admin-table tr:hover td {
  background: #f7fbff;
}

.admin-table tbody tr:nth-child(even) td {
  background: #fbfdff;
}

.admin-input-compact {
  min-width: 110px;
  max-width: 170px;
  padding: 8px 10px;
  background: #f8fbff;
  color: #29405a;
  border: 1px solid #d4e2ef;
}

.admin-row-menu-wrap {
  position: relative;
  display: inline-block;
}

.admin-row-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 120px;
  border: 1px solid #d6e3f1;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(18, 48, 82, 0.12);
  padding: 6px;
  display: none;
  z-index: 5;
}

.admin-row-menu.is-open {
  display: grid;
}

.admin-row-menu button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: #2f4864;
  border: 0;
  border-radius: 8px;
  padding: 8px 9px;
  font-size: 13px;
}

.admin-row-menu button:hover {
  background: #edf4fc;
}

.admin-row-menu select {
  width: 100%;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px solid #d7dde6;
  background: #fff;
  color: #28313d;
  padding: 7px 8px;
  font-size: 12px;
}

#settings.card,
#locations.card,
#region.card {
  background: #ffffff;
  border: 1px solid #d8e6f3;
  color: #2a3f57;
}

#settings .kv,
#locations .kv,
#region .kv {
  color: #61768d;
}

.admin-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 1200;
  overflow-y: auto;
  padding: 20px 10px;
}

.admin-modal.is-open {
  display: flex;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 31, 50, 0.44);
  backdrop-filter: blur(2px);
}

.admin-modal-card {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 40px);
  overflow: hidden;
  padding: 0;
  box-shadow: 0 22px 50px rgba(18, 35, 58, 0.28);
  margin: auto 0;
}

.admin-modal-open {
  overflow: hidden;
}

.admin-trip-modal-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 600px;
}

.admin-trip-brand {
  background: linear-gradient(180deg, #0cb0d4 0%, #0f87cc 48%, #3f73df 100%);
  color: #fff;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.admin-trip-brand-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  font-size: 52px;
  margin-bottom: 20px;
}

.admin-trip-brand h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
}

.admin-trip-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.95;
}

.admin-trip-brand-badge {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(10, 26, 50, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  padding: 7px 12px;
}

.admin-trip-form-wrap {
  background: #ffffff;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 40px);
}

.admin-trip-form-wrap .admin-panel-head {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #ffffff;
  padding: 4px 0 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e2ecf6;
}

.admin-user-modal-card {
  width: min(860px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
}

.admin-confirm-card {
  width: min(520px, calc(100vw - 32px));
  max-height: none;
  border-radius: 24px;
  overflow: hidden;
}

.admin-confirm-shell {
  padding: 28px;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(19, 163, 196, 0.12), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.admin-confirm-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #eef6ff;
  color: #205c8b;
  box-shadow: inset 0 0 0 1px #d8e7f7;
}

.admin-confirm-icon svg {
  width: 24px;
  height: 24px;
}

.admin-confirm-icon.danger {
  background: #fff1f2;
  color: #b42338;
  box-shadow: inset 0 0 0 1px #fecdd3;
}

.admin-confirm-copy h2 {
  margin: 0;
  font-size: 28px;
  color: #13253d;
  letter-spacing: -0.02em;
}

.admin-confirm-body {
  margin-top: 8px;
  color: #58697f;
  line-height: 1.6;
  font-size: 15px;
}

.admin-confirm-body p {
  margin: 0;
}

.admin-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-confirm-actions .admin-btn-small,
.admin-confirm-actions .secondary {
  width: auto;
  min-width: 104px;
}

.admin-idle-card {
  width: min(480px, calc(100vw - 32px));
  max-height: none;
  border-radius: 24px;
  overflow: hidden;
}

.admin-idle-shell {
  padding: 26px;
  display: grid;
  gap: 16px;
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.14), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.admin-idle-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #eef2f7;
  color: #334155;
  box-shadow: inset 0 0 0 1px #dbe3ee;
}

.admin-idle-icon svg {
  width: 24px;
  height: 24px;
}

.admin-idle-copy h2 {
  margin: 0;
  font-size: 28px;
  color: #13253d;
  letter-spacing: -0.02em;
}

.admin-idle-copy p {
  margin: 8px 0 0;
  color: #58697f;
  line-height: 1.6;
  font-size: 15px;
}

.admin-idle-countdown {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.admin-idle-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-idle-actions .admin-btn-small,
.admin-idle-actions .secondary {
  width: auto;
  min-width: 130px;
}

.admin-user-form-wrap {
  background: #ffffff;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: calc(100vh - 44px);
}

.admin-user-form-wrap .admin-panel-head {
  position: sticky;
  top: 0;
  z-index: 4;
  background: #ffffff;
  padding: 4px 0 10px;
  border-bottom: 1px solid #e2ecf6;
  margin-bottom: 14px;
}

#admin-user-form {
  overflow-y: auto;
  padding-right: 4px;
}

#admin-create-msg {
  flex: 0 0 auto;
}

#admin-create-trip-form {
  overflow-y: auto;
  padding-right: 4px;
}

.admin-trip-image-preview-wrap {
  margin: 10px 0 14px;
}

.admin-trip-image-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #d2e3f2;
  display: none;
  background: #f4f9ff;
}

.admin-upload-box {
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  border: 1px dashed #a6bfd9;
  background: #f6fbff;
  color: #2f5072;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
}

.admin-upload-box input[type="file"] {
  display: none;
}

.admin-upload-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d8e7f8;
  color: #6f8399;
  font-size: 14px;
  font-weight: 800;
  opacity: 0.5;
}

.admin-upload-check.is-visible {
  background: #16a34a;
  color: #fff;
  opacity: 1;
}

.admin-upload-status {
  margin-top: 6px;
  font-size: 12px;
  color: #66809d;
}

.admin-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  cursor: pointer;
  position: relative;
}

.admin-switch input {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  width: 48px;
  height: 28px;
  margin: 0;
  z-index: 2;
  cursor: pointer;
}

.admin-switch-slider {
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: #c6d5e4;
  position: relative;
  transition: background 0.2s ease;
}

.admin-switch-slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(18, 41, 66, 0.24);
  transition: transform 0.2s ease;
}

.admin-switch input:checked + .admin-switch-slider {
  background: linear-gradient(120deg, #0ea5e9, #0a9f97);
}

.admin-switch input:checked + .admin-switch-slider::before {
  transform: translateX(20px);
}

.admin-switch-label {
  min-width: 24px;
  font-weight: 700;
  color: #294d71;
}

@media (max-width: 1024px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }
  .auth-hero-panel {
    padding: 22px 20px;
  }
  .auth-card {
    padding: 22px 20px;
  }
  .admin-page:not(.admin-auth-view) .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-page:not(.admin-auth-view) .admin-mobile-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    display: block;
    height: var(--admin-header-height);
    border-bottom: 1px solid #d4e1ee;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
  }
  .admin-mobile-header-row {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
  }
  .admin-mobile-burger {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #cde0f2;
    background: #f2f8ff;
    display: grid;
    align-content: center;
    gap: 5px;
    padding: 0 11px;
  }
  .admin-mobile-burger span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #24517a;
  }
.admin-mobile-brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: #1e3c5b;
  text-decoration: none;
  font-weight: 700;
  min-width: 0;
}
  .admin-mobile-logo-mark {
    width: 82px;
    height: 34px;
    border-radius: 9px;
    border: 1px solid #cde3f7;
    background: #fff;
    padding: 3px 6px;
    object-fit: contain;
  }
  .admin-mobile-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .admin-mobile-status-chip {
    border: 1px solid #d0e2f3;
    background: #edf5ff;
    color: #234b70;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 9px;
    line-height: 1;
  }
  .admin-page:not(.admin-auth-view) .admin-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--admin-drawer-width);
    max-width: 320px;
    height: 100vh;
    border-right: 1px solid #d8e3ef;
    z-index: 1101;
    transform: translateX(-102%);
    transition: transform 0.26s ease;
    visibility: hidden;
    pointer-events: none;
    padding-bottom: calc(var(--admin-mobile-footer-height) + env(safe-area-inset-bottom, 0px) + 16px) !important;
  }
  .admin-sidebar.is-open,
  .admin-drawer-open .admin-sidebar {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .admin-page:not(.admin-auth-view) .admin-main {
    padding: 16px;
    padding-top: calc(var(--admin-header-height) + 16px);
    padding-bottom: calc(var(--admin-mobile-footer-height) + env(safe-area-inset-bottom, 0px) + 18px);
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    width: 100%;
  }
  .admin-topbar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-topbar-right {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .admin-hero h1 {
    font-size: 28px;
  }
  .admin-mobile-footer {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 1090;
  }
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-kpi-label {
    font-size: 14px;
  }
  .admin-kpi-value {
    font-size: 20px;
  }
  .admin-kpi-foot {
    font-size: 12px;
  }
  .admin-chart-grid,
  .admin-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-panel-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .admin-head-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .admin-table {
    min-width: 560px;
  }
  .admin-trip-name-cell {
    min-width: 170px;
  }
  .admin-trip-modal-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .admin-trip-brand {
    padding: 22px 18px;
  }
  .admin-trip-brand-avatar {
    width: 84px;
    height: 84px;
    font-size: 40px;
    margin-bottom: 12px;
  }
  .admin-trip-brand h3 {
    font-size: 22px;
  }
  .admin-trip-form-wrap {
    padding: 16px;
    max-height: calc(100vh - 16px);
  }
  .admin-user-form-wrap {
    padding: 16px;
    max-height: calc(100vh - 16px);
  }
  .admin-modal {
    padding: 12px 6px;
  }
  .admin-modal-card {
    width: min(1080px, calc(100vw - 12px));
    max-height: calc(100vh - 16px);
  }
  .admin-page.admin-auth-view .admin-auth-shell {
    grid-template-columns: 1fr;
  }
  .admin-page.admin-auth-view .admin-auth-art {
    padding: 22px 20px;
  }
  .admin-page.admin-auth-view .admin-auth-form-card {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  body.admin-page {
    overflow-x: hidden;
  }
  .admin-shell,
  .admin-main,
  #admin-page-content,
  .admin-page .admin-main > section,
  .admin-page .admin-main > header {
    min-width: 0;
    max-width: 100%;
  }
  .admin-page .admin-overview-topbar {
    margin-left: -12px !important;
    margin-right: -12px !important;
    padding: 10px 12px 12px !important;
    display: grid;
    gap: 10px;
  }
  .admin-topbar-utility {
    justify-content: stretch;
  }
  .admin-status-chip,
  .admin-topbar-link {
    width: 100%;
  }
  .admin-top-search,
  .admin-booking-filters .admin-top-search {
    width: 100%;
    min-width: 0;
  }
  .admin-top-search input {
    width: 100%;
    min-width: 0;
  }
  .admin-section-head,
  .admin-overview-panel,
  .admin-stat-card,
  .admin-mini-card,
  .admin-customer-card,
  .admin-trip-card-v2,
  .admin-trip-card-v3 {
    min-width: 0;
    overflow: hidden;
  }
  .admin-section-head-with-action {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-section-head-with-action button,
  .admin-page #admin-page-content .admin-section-head-with-action button {
    width: 100%;
    min-width: 0;
  }
  .admin-stat-grid-3,
  .admin-mini-grid,
  .admin-customer-grid,
  .admin-trip-grid-v2,
  .admin-trip-grid-v3,
  .admin-overview-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-trip-card-grid,
  .admin-booking-filters {
    grid-template-columns: 1fr;
  }
  .admin-trip-card-v3-pricing,
  .admin-trip-card-v3-footer,
  .admin-customer-meta {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-page:not(.admin-auth-view) .admin-main {
    padding: 12px;
    gap: 12px;
  }
  .admin-logo {
    padding: 8px;
  }
  .admin-logo-title {
    font-size: 17px;
  }
  .admin-logo-sub {
    font-size: 12px;
  }
  .admin-menu a {
    padding: 8px 10px;
    font-size: 13px;
  }
  .admin-nav-ico {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  .admin-topbar {
    padding: 10px;
    gap: 8px;
  }
  .admin-topbar-date {
    display: none;
  }
  .admin-profile-chip {
    padding: 5px 9px;
    font-size: 12px;
  }
  .admin-hero {
    padding: 16px;
  }
  .admin-hero h1 {
    font-size: 24px;
  }
  .admin-hero p {
    font-size: 15px;
  }
  .admin-hero-actions {
    flex-direction: column;
  }
  .admin-hero-actions button {
    width: 100%;
    min-width: 0;
  }
  .admin-kpi-card {
    padding: 14px;
  }
  .admin-kpi-icon {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  .admin-panel-head h2,
  .admin-panel-head h3 {
    font-size: 20px;
  }
  .admin-table {
    min-width: 480px;
    font-size: 12px;
  }
  .admin-table th,
  .admin-table td {
    padding: 8px;
  }
  .admin-modal {
    padding: 8px 4px;
  }
  .admin-modal-card {
    width: calc(100vw - 8px);
    max-height: calc(100vh - 10px);
  }
  .admin-trip-form-wrap,
  .admin-user-form-wrap {
    padding: 12px;
  }
}

@media (max-width: 639px) {
  .admin-page {
    --admin-header-height: 56px;
    --admin-drawer-width: 80vw;
  }
  .admin-page:not(.admin-auth-view) .admin-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 10px;
    padding-top: calc(var(--admin-header-height) + 10px);
    margin: 0;
    width: 100%;
  }
  .admin-page:not(.admin-auth-view) .admin-sidebar {
    width: min(80vw, 320px);
    max-width: 320px;
    padding: 12px 10px;
  }
  .admin-mobile-header-row {
    padding: 0 10px;
  }
  .admin-mobile-brand span {
    font-size: 14px;
  }
  .admin-mobile-logo-mark {
    width: 70px;
    height: 30px;
  }
  .admin-logo-mark {
    width: 78px;
    height: 36px;
  }
  .admin-logo-title {
    font-size: 15px;
  }
  .admin-logo-sub {
    font-size: 11px;
  }
  .admin-release-card {
    width: 100%;
    justify-content: space-between;
  }
  .admin-topbar-right {
    gap: 6px;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-table {
    min-width: 420px;
  }
  .admin-btn-small {
    min-width: 108px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .admin-modal {
    align-items: flex-start;
    padding: 0;
    overflow: hidden;
  }
  .admin-modal-card {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
    max-height: 85vh;
    margin: 0;
    border-radius: 0 0 20px 20px;
    box-sizing: border-box;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.26s ease, opacity 0.26s ease;
  }
  .admin-modal.is-open .admin-modal-card {
    transform: translateY(0);
    opacity: 1;
  }
  .admin-modal-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: #d0dfef;
    z-index: 5;
  }
  .admin-trip-form-wrap,
  .admin-user-form-wrap {
    max-height: 85vh;
    overflow-x: hidden;
  }
  #admin-create-trip-form,
  #admin-user-form {
    min-width: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .admin-trip-form-wrap,
  .admin-user-form-wrap {
    padding: 16px 14px 20px;
  }

  .admin-panel-head {
    gap: 10px;
  }

  .admin-head-actions {
    width: 100%;
    gap: 10px;
  }

  .admin-head-actions .admin-btn-small,
  .admin-head-actions .secondary {
    flex: 1 1 calc(50% - 5px);
    width: auto;
    min-width: 0;
  }

  .admin-trip-form-wrap input,
  .admin-trip-form-wrap select,
  .admin-trip-form-wrap textarea,
  .admin-user-form-wrap input,
  .admin-user-form-wrap select,
  .admin-user-form-wrap textarea {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .admin-main > section,
  .admin-main > header {
    max-width: none;
    margin: 0;
  }
}

/* Brand Refresh: Logo Red + Mono */
body.auth-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(229, 72, 77, 0.16), transparent 34%),
    radial-gradient(circle at 87% 86%, rgba(0, 0, 0, 0.08), transparent 36%),
    linear-gradient(170deg, #fafbfc 0%, #f3f5f8 52%, #f9fbfd 100%);
}

.auth-hero-panel {
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 182, 182, 0.26), transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(255, 149, 149, 0.18), transparent 38%),
    linear-gradient(155deg, #191d24 0%, #232832 52%, #3a1113 100%);
  color: #f8fafc;
}

.auth-login-form button,
.admin-btn-brand,
.booking-form-actions button.success {
  background: linear-gradient(130deg, var(--brand-red), var(--brand-red-dark)) !important;
}

.auth-login-form button:hover,
.admin-btn-brand:hover,
.booking-form-actions button.success:hover {
  background: linear-gradient(130deg, #cf3b40, #b12f33) !important;
}

.customer-header {
  background: transparent;
}

.customer-nav {
  background: rgba(19, 23, 30, 0.66);
  border: 1px solid rgba(255, 221, 221, 0.38);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.28);
}

.customer-links a,
.customer-brand,
.customer-brand-text {
  color: #f8fafc;
}

.customer-register-btn,
.customer-auth-pill {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 226, 226, 0.5);
}

.trip-filters {
  border: 1px solid #ebd3d3;
  box-shadow: 0 20px 34px rgba(20, 20, 20, 0.15);
}

.trip-card {
  border: 1px solid #ebecef;
  box-shadow: 0 16px 28px rgba(16, 20, 28, 0.09);
}

.trip-card:hover {
  border-color: #efb9ba;
  box-shadow: 0 20px 34px rgba(16, 20, 28, 0.14);
}

.trip-card-location-pill {
  background: rgba(17, 17, 17, 0.82);
  color: #ffffff;
}

.trip-stat {
  background: #f3f4f6;
  color: #2f3238;
  border-color: #dfe3e8;
}

.trip-stat.is-low {
  background: #fff3f3;
  color: #b7373c;
  border-color: #f0c4c6;
}

.trip-card-price-box {
  background: #fcfcfd;
  border: 1px solid #e7eaef;
}

.trip-card-price-box strong,
.booking-trip-content h2,
.admin-hero h1,
.admin-panel-head h2,
.admin-panel-head h3 {
  color: #171a20;
}

.booking-form-shell,
.booking-angler-card,
.trip-detail-shell,
.admin-panel,
.admin-hero,
.admin-topbar,
.admin-kpi-card {
  border-color: #e5e7eb;
  box-shadow: 0 12px 24px rgba(15, 19, 28, 0.08);
}

.admin-page {
  background: #f4f6f8;
}

.admin-sidebar {
  border-right-color: #e4e7ec;
  background: #ffffff;
}

.admin-logo {
  background: linear-gradient(120deg, #fbfbfc, #f3f5f8);
  border-color: #e7eaf0;
}

.admin-menu a {
  color: #3a3f48;
}

.admin-nav-ico {
  background: #f1f3f6;
  color: #343942;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: #fff1f1;
  color: #b8383d;
  border-color: #f0cdce;
}

.admin-release-card {
  background: linear-gradient(120deg, #fbfbfc, #fff5f5);
  border-color: #f0d5d5;
  color: #2e333c;
}

#admin-version-pill,
.admin-kpi-value {
  color: #b8383d !important;
}

.admin-kpi-card::before {
  background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
}

.admin-kpi-icon {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
}

.admin-chart-fill {
  background: linear-gradient(90deg, #2b3039, var(--brand-red));
  box-shadow: 0 0 8px rgba(229, 72, 77, 0.3);
}

.admin-switch input:checked + .admin-switch-slider {
  background: linear-gradient(120deg, var(--brand-red), var(--brand-red-dark));
}

.admin-mobile-burger {
  border-color: #e2d0d0 !important;
  background: #fff5f5 !important;
}

.admin-mobile-burger span {
  background: #8f2f34 !important;
}

.admin-mobile-status-chip {
  border-color: #f0cdce;
  background: #fff1f1;
  color: #9c3439;
}

.badge {
  background: #f3f4f6;
  color: #31363f;
}

button.secondary {
  background: #f3f4f6;
  color: #1f232b;
  border: 1px solid #d9dde4;
}

/* Clean admin overview redesign */
.admin-page {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background: #f4f6fb;
}

.admin-page .admin-sidebar {
  background: linear-gradient(180deg, #06142a, #081a35);
  border-right-color: #11284d;
  color: #d7e4ff;
}

.admin-page .admin-logo {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(180, 205, 248, 0.2);
}

.admin-page .admin-menu a {
  color: #d4ddf3;
}

.admin-page .admin-nav-ico {
  background: rgba(168, 197, 255, 0.12);
  color: #d9e8ff;
}

.admin-page .admin-menu a.active,
.admin-page .admin-menu a:hover {
  background: rgba(149, 193, 255, 0.16);
  color: #ffffff;
  border-color: rgba(173, 202, 245, 0.2);
}

.admin-page .admin-sidebar-foot {
  border-top-color: rgba(171, 199, 236, 0.2);
}

.admin-page .admin-sidebar-foot a {
  color: #9dc0f4;
}

.admin-page .admin-sidebar-foot button {
  background: rgba(255, 255, 255, 0.06);
  color: #f4f8ff;
  border-color: rgba(167, 192, 231, 0.2);
}

.admin-overview-topbar {
  background: var(--admin-card-bg);
  border: 1px solid #e1e7f2;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(31, 73, 124, 0.08);
}

.admin-overview-topbar h1,
.admin-overview-topbar h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--admin-color);
}

.admin-topbar-utility {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d7e3ee;
  background: #f8fbff;
  color: #16324a;
}

.admin-status-chip-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #74849b;
}

.admin-status-chip strong {
  font-size: 14px;
  font-weight: 700;
  color: #10233a;
}

.admin-status-chip-compact {
  min-height: 34px;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #f7fbff, #eef6ff);
}

.admin-status-chip-compact .admin-status-chip-label {
  font-size: 10px;
}

.admin-status-chip-compact strong {
  font-size: 13px;
}

.admin-top-search {
  position: relative;
  flex: 1 1 auto;
  max-width: 400px;
  margin-left: 24px;
}

.admin-top-search input {
  width: 100%;
  padding: 8px 36px 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.admin-top-search input:focus {
  outline: none;
  border-color: var(--admin-accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

.admin-top-search i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

.admin-overview-user {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.admin-overview-user strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #131f37;
}

.admin-overview-user span {
  display: block;
  color: #6c7b95;
  font-size: 15px;
}

.admin-overview-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1bbf8d, #17a9c2);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.admin-overview-head {
  border-radius: 16px;
  border: 1px solid #e2e7f2;
  background: #fff;
  padding: 20px 22px;
}

.admin-overview-head h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #121d34;
}

.admin-overview-head p {
  margin: 8px 0 0;
  color: #62728d;
  font-size: 15px;
}

.admin-overview-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-overview-kpi {
  border: 1px solid #e0e6f2;
  border-radius: 14px;
  background: #fff;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-overview-kpi h3 {
  margin: 0;
  color: #5f6f86;
  font-size: 28px;
  letter-spacing: -0.01em;
}

.admin-overview-kpi strong {
  display: block;
  margin-top: 4px;
  font-size: 48px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #16233f;
}

.admin-overview-kpi p {
  margin: 8px 0 0;
  color: #6b7a93;
  font-size: 18px;
}

.admin-overview-kpi-ico {
  min-width: 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f1f4fa;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.admin-overview-kpi--dark {
  background: linear-gradient(130deg, #111d33, #1b2a47);
  border-color: #1f304f;
}

.admin-overview-kpi--dark h3,
.admin-overview-kpi--dark strong,
.admin-overview-kpi--dark p {
  color: #f3f7ff;
}

.admin-overview-kpi--dark .admin-overview-kpi-ico {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fbff;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 14px;
}

.admin-overview-panel {
  border-radius: 16px;
  border: 1px solid #e0e6f2;
  background: #fff;
  padding: 20px;
}

.admin-overview-panel h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: 700;
  color: #18243f;
}

.admin-overview-panel > p {
  margin: 6px 0 10px;
  color: #6a7992;
}

.admin-trend-svg {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #f8fafd;
  border: 1px solid #e3e9f2;
}

.admin-trend-svg polyline {
  fill: none;
  stroke: #2f3e55;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-trend-svg circle {
  fill: #2f3e55;
}

.admin-trend-svg text {
  font-size: 12px;
  fill: #7b899f;
  font-family: inherit;
}

.admin-recent-list {
  display: grid;
  gap: 16px;
  margin-top: 12px; /* extra space above cards */
}

.admin-overview-recent {
  padding-top: 8px; /* breathing room under header */
}

.admin-recent-row {
  background: var(--admin-card-bg);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(31, 73, 124, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-recent-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 73, 124, 0.1);
}

.admin-recent-info strong {
  font-size: 18px;
  color: var(--admin-color);
}

.admin-recent-info p {
  margin: 2px 0 0;
  font-size: 14px;
  color: #69778f;
}

.admin-recent-date {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.admin-recent-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-recent-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
}

.admin-recent-pill.is-ok { background: linear-gradient(120deg, #28bf7a, #1da968); }
.admin-recent-pill.is-bad { background: linear-gradient(120deg, #ee6f74, #d74146); }
.admin-recent-pill.is-pending { background: linear-gradient(120deg, #f2a53a, #dd8b15); }

@media (max-width: 1200px) {
  .admin-overview-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .admin-overview-kpis {
    grid-template-columns: 1fr;
  }
  .admin-overview-kpi h3 { font-size: 22px; }
  .admin-overview-kpi strong { font-size: 36px; }
  .admin-overview-head h1 { font-size: 34px; }
  .admin-overview-head p { font-size: 16px; }
}

/* Admin section pages (reference-style clean layout) */
.admin-page .admin-main {
  align-content: start;
}

#admin-page-content {
  display: grid;
  gap: 18px;
}

.admin-section-head {
  border: 1px solid #e0e6f2;
  border-radius: 16px;
  background: #fff;
  padding: 20px 22px;
}

.admin-section-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-weight: 700;
  color: #111d33;
}

.admin-section-head p {
  margin: 6px 0 0;
  color: #62728d;
  font-size: 14px;
}

.admin-section-head-with-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-section-head-with-action button {
  width: auto;
  min-width: 128px;
}

.admin-stat-grid {
  display: grid;
  gap: 12px;
}

.admin-stat-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat-card {
  border: 1px solid #e0e6f2;
  border-radius: 14px;
  background: #fff;
  padding: 16px 18px;
}

.admin-stat-card h4 {
  margin: 0;
  font-size: 15px;
  color: #62728c;
  font-weight: 700;
}

.admin-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
  color: #15223c;
  letter-spacing: -0.02em;
}

.admin-booking-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-booking-filters input,
.admin-booking-filters select {
  height: 42px;
}

.admin-table-compact th,
.admin-table-compact td {
  font-size: 14px;
  padding: 12px 10px;
}

.admin-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-inline-actions button,
.admin-inline-actions select {
  width: auto;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 12px;
}

.admin-mini-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-mini-card {
  border-radius: 14px;
  border: 1px solid #e0e6f2;
  background: #fff;
  padding: 16px;
}

.admin-mini-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-mini-card h4 {
  margin: 0;
  font-size: 18px;
  color: #12213a;
}

.admin-mini-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-mini-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #cddbeb;
  background: #f8fbff;
  color: #1f4a72;
  border-radius: 999px;
  padding: 0;
}

.admin-mini-action-btn.danger {
  border-color: #f0c8cc;
  background: #fff5f6;
  color: #a33945;
}

.admin-mini-card p {
  margin: 6px 0 0;
  color: #607089;
  font-size: 14px;
}

.admin-mini-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #243f5d;
  font-weight: 700;
  font-size: 13px;
}

.admin-mini-meta a {
  color: #2d6bb2;
  text-decoration: none;
}

.admin-mini-meta a:hover {
  text-decoration: underline;
}

.admin-customer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-customer-card {
  border-radius: 14px;
  border: 1px solid #e0e6f2;
  background: #fff;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.admin-customer-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-customer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(130deg, #1bbf8d, #16a3c5);
}

.admin-customer-head h4 {
  margin: 0;
  font-size: 17px;
  color: #13203a;
}

.admin-customer-head p {
  margin: 2px 0 0;
  color: #667792;
  font-size: 13px;
}

.admin-customer-card > p {
  margin: 0;
  color: #2f4969;
  font-size: 14px;
}

.admin-customer-meta {
  padding-top: 10px;
  border-top: 1px solid #e4ebf4;
  display: flex;
  justify-content: space-between;
  color: #60738d;
  font-size: 13px;
}

.admin-customer-meta strong {
  color: #12203a;
  font-size: 20px;
  margin-left: 8px;
}

.admin-section-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-section-actions button {
  width: auto;
}

.admin-trip-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.admin-trip-card-v2 {
  border-radius: 14px;
  border: 1px solid #e0e6f2;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: visible;
  transition: transform 0.2s, box-shadow 0.2s;
}

.admin-trip-card-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 73, 124, 0.08);
}

.admin-trip-card-image {
  position: relative;
  width: 100%;
  height: 160px;
  background: #e2e8f2;
}

.admin-trip-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-trip-cover.is-placeholder {
  display: grid;
  place-items: center;
  color: #5d7a9a;
  font-size: 34px;
  background: #eef5fc;
}

.admin-trip-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--admin-accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
}

.admin-trip-card-content {
  padding: 16px 20px;
  display: grid;
  gap: 10px;
}

.admin-trip-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.admin-trip-card-head h4 {
  margin: 0;
  color: #12203a;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.admin-trip-card-loc,
.admin-trip-card-guide {
  margin: 0;
  color: #61728d;
  font-size: 14px;
}

.admin-trip-card-grid {
  border: 1px solid #e6edf6;
  border-radius: 10px;
  background: #f8fbff;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

.admin-trip-card-grid span {
  color: #64758f;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

.admin-trip-card-grid strong {
  color: #10223f;
}

.admin-trip-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
}

.admin-row-menu-btn {
  position: absolute; /* place within image container */
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15,23,42,0.1);
  cursor: pointer;
  transition: none;
  z-index: 10;
}

.admin-row-menu-btn:hover,
.admin-row-menu-btn:focus {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: none;
}

.admin-row-menu-btn i {
  font-size: 14px;
  color: #374151;
}
.admin-row-menu-btn:hover i { color: var(--admin-accent-dark); }

.menu-icon {
  width: 20px;
  height: 20px;
  display: block;
  stroke: #374151;
}

.admin-row-menu {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 160px;
  background: var(--admin-card-bg);
  border: 1px solid #e6edf6;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(16,24,40,0.06);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.admin-row-menu.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.admin-row-menu-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: none;
  text-align: left;
  width: 100%;
  cursor: pointer;
  color: #0f172a;
}

.admin-row-menu-item:hover {
  background: rgba(15,23,42,0.02); /* lighter hover */
}

.admin-row-menu-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.admin-row-menu-item[aria-disabled="true"] {
  color: #9ca3af;
  cursor: default;
}

.admin-growth-banner {
  border-radius: 12px;
  border: 1px solid #b9ead9;
  background: #e8fbf4;
  color: #10684a;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-growth-banner strong {
  font-size: 15px;
}

.admin-growth-banner span {
  font-size: 13px;
  color: #247156;
}

.admin-page #admin-page-content button {
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.admin-page #admin-page-content .admin-inline-actions button,
.admin-page #admin-page-content .admin-inline-actions select {
  min-height: 34px;
  font-size: 12px;
}

.admin-page #admin-page-content .admin-section-head-with-action button {
  min-height: 40px;
  padding: 0 14px;
}

@media (max-width: 1260px) {
  .admin-customer-grid,
  .admin-trip-grid-v2,
  .admin-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stat-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-booking-filters {
    grid-template-columns: 1fr;
  }

  .admin-overview-kpi h3 {
    font-size: 20px;
  }

  .admin-overview-kpi strong {
    font-size: 34px;
  }

  .admin-overview-panel h3 {
    font-size: 22px;
  }
}

@media (max-width: 720px) {
  .admin-trips-section-head {
    padding: 16px;
    overflow: hidden;
  }

  .admin-trips-section-head > div,
  .admin-trips-section-head .admin-section-head-actions {
    min-width: 0;
    width: 100%;
  }

  .admin-trips-section-head h2,
  .admin-trips-section-head p {
    overflow-wrap: anywhere;
  }

  .admin-section-head-with-action {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-section-head-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .admin-customer-grid,
  .admin-trip-grid-v2,
  .admin-trip-grid-v3,
  .admin-mini-grid,
  .admin-stat-grid-3 {
    grid-template-columns: 1fr;
  }

  .admin-trip-grid-v3 {
    gap: 14px;
    width: 100%;
    min-width: 0;
    overflow-x: clip;
  }

  .admin-trip-card-v3 {
    width: 100%;
    max-width: 100%;
  }

  .admin-trip-card-v3-image {
    height: 168px;
  }

  .admin-trip-card-v3-image-overlay {
    flex-wrap: wrap;
  }

  .admin-trip-card-v3-pricing {
    align-items: flex-start;
  }

  .admin-trip-card-v3-actions {
    flex: 0 0 auto;
  }

  .admin-view-toggle {
    flex: 0 0 auto;
  }

  .admin-growth-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Utility-style classes used by admin DataCard */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.flex { display: flex; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.flex-1 { flex: 1 1 0%; }
.rounded-lg { border-radius: 0.5rem; }
.border { border-width: 1px; border-style: solid; }
.shadow-sm { box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08); }
.p-6 { padding: 1.5rem; }
.transition-shadow { transition: box-shadow 0.2s ease; }
.hover\:shadow-md:hover { box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12); }
.bg-white { background: #ffffff; }
.border-gray-200 { border-color: #e5e7eb; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-slate-900 { --tw-gradient-from: #0f172a; }
.to-slate-800 { --tw-gradient-to: #1e293b; }
.text-white { color: #ffffff; }
.border-slate-700 { border-color: #334155; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.font-medium { font-weight: 500; }
.text-gray-500 { color: #6b7280; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.font-bold { font-weight: 700; }
.mt-2 { margin-top: 0.5rem; }
.tracking-tight { letter-spacing: -0.025em; }
.text-gray-600 { color: #4b5563; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.bg-gray-100 { background: #f3f4f6; }
.w-6 { width: 1.5rem; }
.h-6 { height: 1.5rem; }
.text-gray-600 { color: #4b5563; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.bg-white\/10 { background: rgba(255, 255, 255, 0.1); }

.data-card strong.text-3xl {
  display: block;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Dashboard close-match polish (reference screenshot) */
.admin-page .admin-main {
  background: #f8fafc !important;
  padding: 24px !important;
  gap: 16px !important;
}

.admin-page .admin-overview-topbar {
  background: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e7eb !important;
  border-radius: 0 !important;
  padding: 10px 22px 12px !important;
  margin: -24px -24px 8px !important;
  max-width: none !important;
  width: auto !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 20 !important;
}

@media (min-width: 1025px) {
  .admin-page .admin-overview-topbar {
    top: -24px !important;
    margin-bottom: 0 !important;
  }
}

.admin-page .admin-overview-user strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.admin-page .admin-overview-user span {
  font-size: 13px;
  margin-top: 2px;
  color: #6b7280;
}

.admin-page .admin-overview-avatar {
  width: 40px;
  height: 40px;
  font-size: 15px;
  font-weight: 700;
}

.admin-dashboard-intro {
  padding: 2px 0 0;
}

.admin-dashboard-intro h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 33px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  color: #111827 !important;
}

.admin-dashboard-intro p {
  margin: 8px 0 0 !important;
  font-size: 15px !important;
  color: #6b7280 !important;
}

.admin-page .admin-overview-grid {
  gap: 12px;
}

.admin-page .admin-overview-panel {
  border-radius: 10px !important;
  border-color: #e5e7eb !important;
  padding: 18px 20px !important;
  box-shadow: none !important;
}

.admin-page .admin-overview-panel h3 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #111827 !important;
  letter-spacing: -0.02em !important;
}

.admin-page .admin-overview-panel > p {
  margin: 4px 0 12px !important;
  font-size: 15px !important;
  color: #6b7280 !important;
}

.admin-page .admin-recent-list {
  gap: 6px;
}

.admin-page .admin-recent-row {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.admin-page .admin-recent-row strong {
  font-size: 18px;
  color: #111827;
}

.admin-page .admin-recent-row p {
  font-size: 14px;
  color: #6b7280;
}

.admin-page .admin-recent-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 10px !important;
  font-size: 10px !important;
  font-weight: 700;
  color: #fff;
  text-transform: capitalize;
}

.admin-page .admin-recent-pill--draft {
  background: #f59e0b !important;
}

.admin-page .admin-recent-pill--pending-payment,
.admin-page .admin-recent-pill--pending {
  background: #f97316 !important;
}

.admin-page .admin-recent-pill--confirmed {
  background: #22c55e !important;
}

.admin-page .admin-recent-pill--cancelled {
  background: #ef4444 !important;
}

.admin-page .admin-recent-pill--rescheduled {
  background: #8b5cf6 !important;
}

.admin-page .admin-growth-banner {
  border-radius: 8px;
  border-color: #bdeedc;
  background: #ecfdf5;
  color: #0f766e;
  padding: 12px 14px;
}

.admin-page .admin-growth-banner strong {
  font-size: 14px;
}

.admin-page .admin-growth-banner span {
  font-size: 13px;
  color: #0f766e;
}

.admin-page .data-card {
  border-radius: 0.5rem !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08) !important;
  padding: 1.5rem !important;
}

.admin-page .data-card .w-12.h-12 {
  width: 3rem !important;
  height: 3rem !important;
  border-radius: 0.5rem !important;
}

.admin-page .data-card .w-6.h-6 {
  width: 1.5rem !important;
  height: 1.5rem !important;
  font-size: 1.5rem !important;
}

.admin-page .data-card p.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.admin-page .data-card .text-3xl {
  font-size: 1.875rem !important;
  line-height: 2.25rem !important;
  letter-spacing: -0.025em !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0.5rem 0 0 !important;
}

.admin-page .data-card .text-sm.mt-2 {
  margin-top: 0.5rem !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  color: #4b5563 !important;
}

.admin-page .data-card.bg-gradient-to-br.from-slate-900.to-slate-800 .text-3xl,
.admin-page .data-card.bg-gradient-to-br.from-slate-900.to-slate-800 .text-sm.mt-2 {
  color: #ffffff !important;
}

.admin-page .data-card.bg-gradient-to-br.from-slate-900.to-slate-800 .text-sm.font-medium.text-slate-300 {
  color: #cbd5e1 !important;
}

/* New styles for trip cards */
.admin-trip-grid-v3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.admin-trip-card-v3 {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}

.admin-trip-card-v3:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(16, 24, 40, 0.1), 0 4px 6px -2px rgba(16, 24, 40, 0.05);
}

.admin-trip-card-v3-image {
  position: relative;
  width: 100%;
  height: 180px;
  background: #f3f4f6;
}

.admin-trip-card-v3-image .admin-trip-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-trip-card-v3-image-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.admin-trip-card-v3-image-overlay .badge {
  background: rgba(17, 24, 39, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  padding: 4px 8px;
}

.admin-trip-card-v3-image-overlay .badge.is-published {
  background: rgba(34, 197, 94, 0.8);
}

.admin-trip-card-v3-image-overlay .badge.is-draft {
  background: rgba(249, 115, 22, 0.8);
}

.admin-trip-card-v3-content {
  padding: 16px;
  display: grid;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.admin-trip-card-v3-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  position: relative;
  min-width: 0;
}

.admin-trip-card-v3-head h4 {
  margin: 0;
  color: #111827;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-trip-card-v3-actions {
  position: relative;
}

.admin-trip-card-v3-actions .admin-row-menu-btn {
  position: static;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.admin-trip-card-v3-actions .admin-row-menu {
  top: 100%;
  right: 0;
}

.admin-trip-card-v3-time {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4b5563;
  font-size: 14px;
}

.admin-trip-card-v3-time svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.admin-trip-card-v3-capacity {
  display: grid;
  gap: 6px;
}

.admin-trip-card-v3-capacity-text {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
}

.admin-trip-card-v3-capacity-text strong {
  color: #111827;
  font-weight: 600;
}

.admin-trip-card-v3-capacity-bar {
  width: 100%;
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.admin-trip-card-v3-capacity-fill {
  height: 100%;
  background: #3b82f6;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.admin-trip-card-v3-pricing {
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.admin-trip-card-v3-pricing > span:first-child {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.admin-trip-card-v3-deposit {
  font-size: 13px;
  color: #6b7280;
}

.admin-trip-card-v3-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.admin-trip-card-v3-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #4b5563;
  min-width: 0;
  overflow-wrap: anywhere;
}

.admin-trip-card-v3-meta svg {
  color: #9ca3af;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .admin-page .admin-main {
    padding: 16px;
  }

  .admin-page .admin-overview-topbar {
    margin: -16px -16px 8px;
    padding: 10px 16px 12px;
  }

  .admin-dashboard-intro h1 {
    font-size: 34px;
  }

}

/* Sidebar structure + card compactness */
.admin-page .admin-sidebar {
  padding: 0 !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto !important;
}

.admin-page .admin-logo {
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 20px 14px 12px !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(171, 199, 236, 0.2) !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.admin-page .admin-logo-mark {
  width: 72px !important;
  height: 34px !important;
}

.admin-page .admin-logo-info {
  display: grid;
  line-height: 1.1;
}

.admin-page .admin-logo-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #f4f8ff !important;
  margin: 0;
}

.admin-page .admin-logo-sub {
  font-size: 12px !important;
  color: #9eb3d7 !important;
  margin-top: 2px;
}

.admin-page .admin-menu {
  overflow-y: auto !important;
  padding: 40px 10px 14px !important;
  align-content: start;
}

.admin-page .admin-sidebar-foot {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 2 !important;
  margin-top: 0 !important;
  padding: 12px 12px 14px !important;
  background: #081a35 !important;
  border-top-color: rgba(171, 199, 236, 0.2) !important;
}

.admin-page .admin-nav-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}

.admin-page .admin-menu a {
  border: 1px solid transparent !important;
}

.admin-page .admin-menu a.active {
  border-color: rgba(173, 202, 245, 0.42) !important;
  box-shadow: 0 8px 14px rgba(6, 20, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.admin-page .data-card {
  padding: 14px 16px !important;
}

.admin-page .data-card .text-3xl {
  font-size: 1.5rem !important;
  line-height: 1.9rem !important;
}

/* New Dashboard Styles */
.admin-dashboard-grid-v2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.admin-dashboard-main {
  display: grid;
  gap: 1.25rem;
}

.admin-dashboard-side {
  display: grid;
  gap: 1.25rem;
}

.admin-overview-trend-v2 {
  padding: 20px !important;
}

.admin-chart-wrap {
  margin-top: 1rem;
  width: 100%;
  overflow: hidden;
}

.admin-trend-svg-v2 {
  width: 100%;
  height: auto;
  font-family: inherit;
}

.admin-trend-svg-v2 .admin-chart-y-tick line {
  stroke: #e5e7eb;
  stroke-width: 1;
  stroke-dasharray: 4 4;
}

.admin-trend-svg-v2 .admin-chart-y-tick text {
  font-size: 11px;
  fill: #9ca3af;
}

.admin-trend-svg-v2 .admin-chart-area {
  fill: url(#chartGradient);
}

.admin-trend-svg-v2 .admin-chart-line {
  fill: none;
  stroke: var(--admin-accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-trend-svg-v2 .admin-chart-points circle {
  fill: var(--admin-accent);
  stroke: #fff;
  stroke-width: 2;
}

.admin-trend-svg-v2 .admin-chart-labels text {
  font-size: 12px;
  fill: #6b7280;
}

.admin-overview-activity h3 {
  margin-bottom: 0.5rem !important;
}

.admin-activity-list {
  display: grid;
  gap: 0.75rem;
}

.admin-activity-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  transition: background-color 0.2s;
}

.admin-activity-item:hover {
  background-color: #f9fafb;
}

.admin-activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.admin-activity-icon.booking {
  background-color: #eef2ff;
  color: #4f46e5;
}

.admin-activity-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #4b5563;
}

.admin-activity-content p strong {
  color: #111827;
  font-weight: 600;
}

.admin-activity-meta {
  text-align: right;
}

.admin-activity-amount {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.admin-activity-time {
  display: block;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .admin-dashboard-grid-v2 {
    grid-template-columns: 1fr;
  }
}

/* View Toggle Styles */
.admin-section-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-trips-section-head,
.admin-trips-section-body {
  min-width: 0;
  max-width: 100%;
}

.admin-trips-section-body {
  overflow-x: clip;
}

.admin-view-toggle {
  display: inline-flex;
  align-items: center;
  background: #f0f5fa;
  border-radius: 8px;
  padding: 4px;
  border: 1px solid #e1e7f2;
}

.admin-view-toggle button {
  width: 36px;
  height: 32px;
  min-width: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #62728d;
  transition: all 0.2s;
}

.admin-view-toggle button:hover {
  background: #e3eaf2;
  color: #111d33;
}

.admin-view-toggle button.active {
  background: #fff;
  color: var(--admin-accent);
  box-shadow: 0 2px 6px rgba(31, 73, 124, 0.1);
}

.admin-table .badge.is-published {
  background: #22c55e;
  color: #fff;
}

.admin-table .badge.is-draft {
  background: #f59e0b;
  color: #fff;
}

.admin-table .admin-row-menu-btn {
  position: static;
}

.admin-trip-calendar-shell {
  background: #fff;
  border: 1px solid #dbe5f0;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.admin-trip-calendar-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-trip-calendar-head button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d6e1ed;
  background: #f8fbff;
  color: #1e3a5f;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
}

.admin-trip-calendar-title {
  min-width: 0;
  text-align: center;
}

.admin-trip-calendar-title h3 {
  margin: 0;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.1;
}

.admin-trip-calendar-title p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 13px;
}

.admin-trip-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 4px;
}

.admin-trip-calendar-weekdays span {
  text-align: right;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.admin-trip-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.admin-trip-calendar-day {
  min-width: 0;
  min-height: 170px;
  max-width: 100%;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 10px;
  overflow: hidden;
}

.admin-trip-calendar-day.is-empty {
  background: #f8fafc;
  border-style: dashed;
}

.admin-trip-calendar-day.has-trips {
  border-color: #d7e3ef;
}

.admin-trip-calendar-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-trip-calendar-date {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.admin-trip-calendar-count {
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0ecff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
}

.admin-trip-calendar-items {
  display: grid;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.admin-trip-calendar-empty {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
}

.admin-trip-calendar-entry {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  text-align: left;
  border: 1px solid #dbe7f1;
  border-top: 3px solid var(--trip-color, #2563eb);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 10px;
  display: grid;
  gap: 6px;
  color: #334155;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  justify-self: stretch;
}

.admin-trip-calendar-entry-top,
.admin-trip-calendar-entry-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}

.admin-trip-calendar-entry-time,
.admin-trip-calendar-entry-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
}

.admin-trip-calendar-entry-time {
  color: #1d4ed8;
  background: #dbeafe;
}

.admin-trip-calendar-entry-status.is-published {
  color: #166534;
  background: #dcfce7;
}

.admin-trip-calendar-entry-status.is-draft {
  color: #92400e;
  background: #fef3c7;
}

.admin-trip-calendar-entry-name {
  font-size: 13px;
  line-height: 1.35;
  color: #0f172a;
  overflow-wrap: anywhere;
}

.admin-trip-calendar-entry-meta,
.admin-trip-calendar-entry-foot {
  font-size: 12px;
  color: #64748b;
}

.admin-trip-calendar-entry-meta {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-trip-calendar-entry-foot {
  font-weight: 700;
  color: #334155;
}

@media (max-width: 900px) {
  .admin-trip-calendar-shell {
    padding: 16px;
  }

  .admin-trip-calendar-head {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
  }

  .admin-trip-calendar-weekdays {
    display: none;
  }

  .admin-trip-calendar-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .admin-trip-calendar-day.is-empty {
    display: none;
  }

  .admin-trip-calendar-day {
    min-height: 0;
  }

  .admin-trip-calendar-day-head {
    padding-bottom: 4px;
    border-bottom: 1px solid #edf2f7;
  }
}

/* New Bookings Page Styles */
.admin-bookings-table th:first-child,
.admin-bookings-table td:first-child {
  padding-left: 20px;
}

.admin-bookings-table th:last-child,
.admin-bookings-table td:last-child {
  padding-right: 20px;
  text-align: right;
}

.admin-bookings-customer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-bookings-customer strong {
  font-weight: 600;
  color: #111827;
}

.admin-bookings-customer .kv {
  font-size: 12px;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.2;
}

.admin-status-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* Payment Statuses */
.admin-status-pill.status-paid { background-color: #e7f8f0; color: #16a34a; }
.admin-status-pill.status-paid::before { background-color: #22c55e; }

.admin-status-pill.status-partial { background-color: #fffbeb; color: #d97706; }
.admin-status-pill.status-partial::before { background-color: #f59e0b; }

.admin-status-pill.status-unpaid { background-color: #fef2f2; color: #dc2626; }
.admin-status-pill.status-unpaid::before { background-color: #ef4444; }

/* Booking Statuses */
.admin-status-pill.status-confirmed { background-color: #e7f8f0; color: #16a34a; }
.admin-status-pill.status-confirmed::before { background-color: #22c55e; }

.admin-status-pill.status-pending-payment,
.admin-status-pill.status-draft { background-color: #fffbeb; color: #d97706; }
.admin-status-pill.status-pending-payment::before,
.admin-status-pill.status-draft::before { background-color: #f59e0b; }

.admin-status-pill.status-cancelled { background-color: #f3f4f6; color: #4b5563; }
.admin-status-pill.status-cancelled::before { background-color: #6b7280; }

.admin-status-pill.status-rescheduled { background-color: #f5f3ff; color: #7c3aed; }
.admin-status-pill.status-rescheduled::before { background-color: #8b5cf6; }

.admin-row-menu-item-group {
  padding: 8px 10px;
  border-top: 1px solid #e5e7eb;
}

.admin-row-menu-item-group label {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-bottom: 6px;
}

.admin-row-menu-item-group select {
  width: 100%;
  border-radius: 6px;
  font-size: 12px;
  padding: 6px 8px;
}

.admin-row-menu-item svg {
  color: #9ca3af;
}

.admin-row-menu-item:hover svg {
  color: var(--admin-accent);
}

.admin-booking-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.admin-booking-filters .admin-top-search {
  flex-grow: 1;
  max-width: none;
  margin-left: 0;
}

.admin-booking-filters select {
  max-width: 180px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

/* New Customer & Payment Table Styles */
.admin-customers-table th:first-child,
.admin-customers-table td:first-child,
.admin-payments-table th:first-child,
.admin-payments-table td:first-child {
  padding-left: 20px;
}

.admin-customers-table th:last-child,
.admin-customers-table td:last-child,
.admin-payments-table th:last-child,
.admin-payments-table td:last-child {
  padding-right: 20px;
  text-align: right;
}

.admin-payments-table a {
  color: var(--admin-accent);
  font-weight: 600;
  text-decoration: none;
}

.admin-payments-table a:hover {
  text-decoration: underline;
}

.admin-payments-table .admin-row-menu-btn {
  position: static;
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  align-items: center;
  justify-content: center;
}

.admin-payments-table .admin-row-menu-btn:hover {
  background: #e5e7eb;
  color: var(--admin-accent);
}

/* New User Modal Styles */
.admin-user-modal-shell {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 500px;
}

.admin-user-brand {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #fff;
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.admin-user-brand-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.admin-user-brand-avatar svg {
  width: 52px;
  height: 52px;
  color: #94a3b8;
}

.admin-user-brand h3 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.15;
  color: #f8fafc;
}

.admin-user-brand p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.9;
  color: #e2e8f0;
}

.admin-user-brand-badge {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 7px 12px;
  color: #cbd5e1;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-form-grid-span-2 {
  grid-column: span 2 / span 2;
}

@media (max-width: 1024px) {
  .admin-user-modal-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .admin-user-brand {
    padding: 22px 18px;
  }
  .admin-user-brand-avatar {
    width: 84px;
    height: 84px;
    margin-bottom: 12px;
  }
  .admin-user-brand h3 {
    font-size: 22px;
  }
}

@media (max-width: 639px) {
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid-span-2 {
    grid-column: auto;
  }
  .admin-site-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-site-inline-form {
    grid-template-columns: 1fr;
  }
}

/* New Waivers Table Styles */
.admin-waivers-table th:first-child,
.admin-waivers-table td:first-child {
  padding-left: 20px;
}

.admin-waivers-table th:last-child,
.admin-waivers-table td:last-child {
  padding-right: 20px;
  text-align: right;
}

.admin-waivers-table .admin-row-menu-btn:hover {
  background: #e5e7eb;
  color: var(--admin-accent);
}

/* Settings Page Styles */
.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.admin-settings-card {
  padding: 0;
  overflow: hidden;
}

.admin-settings-head {
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9fafb;
}

.admin-settings-head h3 {
  margin: 0;
  font-size: 18px;
  color: #111827;
}

.admin-settings-head button {
  width: auto;
  min-width: 0;
  padding: 6px 12px;
  font-size: 12px;
  height: auto;
}

.admin-settings-body {
  padding: 16px 20px;
  display: grid;
  gap: 16px;
}

.admin-site-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-site-form-grid label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.admin-site-inline-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(220px, 1.4fr) 120px 90px auto auto;
  gap: 8px;
  align-items: center;
}

.admin-site-inline-form input,
.admin-site-inline-form select,
.admin-site-form-grid input {
  width: 100%;
}

.admin-site-check-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.admin-site-table th,
.admin-site-table td {
  vertical-align: middle;
}

.admin-site-input {
  width: 100%;
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #d2dbe8;
  background: #fff;
}

.admin-site-input-sm {
  max-width: 92px;
}

.admin-site-toggle {
  width: 18px;
  height: 18px;
}

.admin-site-actions {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-setting-row {
  display: grid;
  gap: 4px;
}

.admin-setting-row label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-setting-row div {
  font-size: 15px;
  color: #1f2937;
  font-weight: 500;
}

.badge.is-published {
  background: #22c55e;
  color: #fff;
}

/* New Trip Form Fieldset Styles */
#admin-create-trip-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#admin-create-trip-form fieldset:last-of-type {
  margin-bottom: 0;
}

#admin-create-trip-form legend {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0;
  margin-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  width: 100%;
  padding-bottom: 8px;
}

/* Modern Sidebar Redesign */
.admin-page .admin-sidebar {
  background: #0f172a !important;
  border-right: 1px solid #1e293b !important;
}

.admin-page .admin-logo {
  background: transparent !important;
  border-bottom: 1px solid #1e293b !important;
  padding: 24px 24px 20px !important;
}

.admin-page .admin-logo-mark {
  background: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding: 2px 4px !important;
  height: 36px !important;
  width: auto !important;
}

.admin-page .admin-logo-title {
  color: #f8fafc !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

.admin-page .admin-logo-sub {
  color: #64748b !important;
  font-size: 12px !important;
}

.admin-page .admin-menu {
  padding: 24px 16px !important;
  gap: 4px !important;
}

.admin-page .admin-menu a {
  color: #94a3b8 !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.admin-page .admin-menu a:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f1f5f9 !important;
}

.admin-page .admin-menu a.active {
  background: #1e293b !important;
  color: #fff !important;
}

.admin-page .admin-nav-ico {
  background: transparent !important;
  color: inherit !important;
  width: 20px !important;
  height: 20px !important;
  margin-right: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.admin-page .admin-menu a.active .admin-nav-ico {
  color: #38bdf8 !important;
}

.admin-page .admin-sidebar-foot {
  background: transparent !important;
  border-top: 1px solid #1e293b !important;
  padding: 20px 20px 24px !important;
}

.admin-page .admin-sidebar-foot a {
  color: #64748b !important;
}

.admin-page .admin-sidebar-foot a:hover {
  color: #94a3b8 !important;
}

.admin-page .admin-sidebar-settings-btn {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  color: #cbd5e1 !important;
}

.admin-page .admin-sidebar-settings-btn:hover {
  background: #334155 !important;
  color: #fff !important;
  border-color: #475569 !important;
}

  .admin-page .admin-sidebar-foot button {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #cbd5e1 !important;
    margin-top: 0 !important;
  }

  .admin-page .admin-sidebar-meta {
    color: #64748b !important;
    border-top-color: #1e293b !important;
  }

  .admin-page .admin-sidebar-foot button:hover {
    background: #334155 !important;
    color: #fff !important;
    border-color: #475569 !important;
}

/* Mobile Header Redesign (Dark) */
@media (max-width: 1024px) {
  .admin-page:not(.admin-auth-view) .admin-mobile-header {
    background: #0f172a !important;
    border-bottom: 1px solid #1e293b !important;
    backdrop-filter: none !important;
  }

  .admin-mobile-burger {
    background: transparent !important;
    border: 1px solid #334155 !important;
  }

  .admin-mobile-burger span {
    background: #94a3b8 !important;
  }

  .admin-mobile-brand {
    color: #f8fafc !important;
  }

  .admin-mobile-logo-mark {
    background: #fff !important;
    border: 0 !important;
  }

  .admin-mobile-status .badge {
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #86efac !important;
  }

  .admin-mobile-status-chip {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border: 0 !important;
  }
}

/* Mobile Responsive Fixes */
@media (max-width: 639px) {
  .admin-page:not(.admin-auth-view) .admin-sidebar {
    height: 100dvh !important;
    max-height: 100dvh !important;
  }

  .admin-page .admin-sidebar-foot {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .admin-sidebar-meta {
    display: none;
  }

  .admin-mobile-footer {
    display: block;
  }

  /* Fix Menu Icon */
  .admin-mobile-burger {
    width: 40px !important;
    height: 40px !important;
    padding: 0 9px !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px !important;
  }

  .admin-mobile-burger span {
    width: 100% !important;
    height: 2px !important;
    margin: 0 !important;
  }

  /* Fix Modals on Mobile */
  .admin-modal {
    padding: 0 !important;
    align-items: flex-end !important;
  }

  .admin-modal-card {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    max-height: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
    display: flex;
    flex-direction: column;
  }

  .admin-modal-card::before {
    display: none;
  }

  .admin-trip-modal-shell,
  .admin-user-modal-shell {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .admin-trip-brand,
  .admin-user-brand {
    display: none !important;
  }

  .admin-trip-form-wrap,
  .admin-user-form-wrap {
    flex: 1;
    max-height: none !important;
    padding: 16px !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  #admin-trip-form-panel,
  #admin-user-form-panel {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  #admin-confirm-modal {
    align-items: flex-end !important;
  }

  #admin-confirm-modal .admin-confirm-card {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
  }

  #admin-confirm-modal .admin-confirm-shell {
    padding: 18px 16px 22px;
  }

  #admin-confirm-modal .admin-confirm-actions {
    flex-wrap: wrap;
  }

  #admin-confirm-modal .admin-confirm-actions .admin-btn-small,
  #admin-confirm-modal .admin-confirm-actions .secondary {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  #admin-idle-modal {
    align-items: flex-end !important;
  }

  #admin-idle-modal .admin-idle-card {
    width: 100vw !important;
    max-width: 100vw !important;
    height: auto !important;
    max-height: none !important;
    border-radius: 20px 20px 0 0 !important;
    margin: 0 !important;
  }

  #admin-idle-modal .admin-idle-shell {
    padding: 18px 16px 22px;
  }

  #admin-idle-modal .admin-idle-actions {
    flex-wrap: wrap;
  }

  #admin-idle-modal .admin-idle-actions .admin-btn-small,
  #admin-idle-modal .admin-idle-actions .secondary {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }

  /* Responsive Tables (Card View) */
  .admin-table {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed;
  }
  .admin-table thead { display: none; }
  .admin-table tbody { display: block; width: 100%; min-width: 0; max-width: 100%; }
  .admin-table tr { display: block; width: 100%; max-width: 100%; margin-bottom: 16px; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; padding: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.05); overflow: visible; box-sizing: border-box; }
  .admin-table td { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 8px 0; border-bottom: 1px solid #f3f4f6; min-width: 0; gap: 6px; width: 100%; max-width: 100%; box-sizing: border-box; overflow: visible; }
  .admin-table td:last-child { border-bottom: 0; }
  .admin-table td::before { content: attr(data-label); font-weight: 600; color: #6b7280; font-size: 12px; text-transform: uppercase; text-align: left; }
  .admin-table td > * { min-width: 0; max-width: 100%; }
  
  /* Adjust specific cells for card view */
  .admin-bookings-customer, .admin-trip-name-cell { flex-direction: row; align-items: center; min-width: 0; width: 100%; }
  .admin-trip-name-cell > div,
  .admin-bookings-customer > div:last-child { min-width: 0; }
  .admin-trip-name-cell strong,
  .admin-trip-name-cell .kv,
  .admin-bookings-customer strong,
  .admin-bookings-customer .kv { overflow-wrap: anywhere; }
  .admin-table td[data-label="Actions"] { justify-content: flex-end; align-items: flex-end; margin-top: 4px; padding-top: 12px; border-top: 1px solid #e5e7eb; overflow: visible; }
  .admin-table td[data-label="Actions"]::before { display: none; }
  .admin-table-wrap { border: 0; background: transparent; box-shadow: none; overflow: visible; }
  .admin-table td[data-label="Actions"] .admin-row-menu { top: auto; bottom: calc(100% + 8px); right: 0; }
  .admin-table td[data-label="Actions"] .admin-row-menu-wrap { justify-self: end; }

  .admin-bookings-table tr,
  .admin-customers-table tr,
  .admin-payments-table tr,
  .admin-waivers-table tr {
    padding: 0;
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .admin-bookings-table td,
  .admin-customers-table td,
  .admin-payments-table td,
  .admin-waivers-table td {
    display: grid;
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 12px 16px;
  }

  .admin-bookings-table td::before,
  .admin-customers-table td::before,
  .admin-payments-table td::before,
  .admin-waivers-table td::before {
    margin: 0;
    padding-top: 2px;
  }

  .admin-bookings-table td[data-label="Customer"],
  .admin-customers-table td[data-label="Customer"],
  .admin-payments-table td[data-label="Booking"],
  .admin-waivers-table td[data-label="Angler"] {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  }

  .admin-bookings-table td[data-label="Customer"]::before,
  .admin-customers-table td[data-label="Customer"]::before,
  .admin-payments-table td[data-label="Booking"]::before,
  .admin-waivers-table td[data-label="Angler"]::before {
    display: none;
  }

  .admin-bookings-table .admin-bookings-customer,
  .admin-customers-table .admin-bookings-customer {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-width: 0;
  }

  .admin-bookings-table .admin-customer-avatar,
  .admin-customers-table .admin-customer-avatar {
    width: 48px;
    height: 48px;
  }

  .admin-bookings-table .admin-bookings-customer strong,
  .admin-customers-table .admin-bookings-customer strong,
  .admin-payments-table td[data-label="Booking"] strong,
  .admin-waivers-table td[data-label="Angler"] strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    color: #14233b;
    overflow-wrap: anywhere;
  }

  .admin-bookings-table .admin-bookings-customer .kv,
  .admin-customers-table .admin-bookings-customer .kv,
  .admin-payments-table td[data-label="Booking"] .kv,
  .admin-waivers-table td[data-label="Angler"] .kv {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
    overflow-wrap: anywhere;
  }

  .admin-bookings-table td[data-label="Actions"],
  .admin-customers-table td[data-label="Actions"],
  .admin-payments-table td[data-label="Actions"],
  .admin-waivers-table td[data-label="Actions"] {
    grid-template-columns: 1fr;
    justify-content: end;
    align-items: stretch;
    padding: 14px 16px 16px;
    margin-top: 0;
    background: #fbfdff;
  }

  .admin-bookings-table td[data-label="Actions"] .admin-row-menu-wrap,
  .admin-customers-table td[data-label="Actions"] .admin-row-menu-wrap,
  .admin-payments-table td[data-label="Actions"] .admin-row-menu-wrap,
  .admin-waivers-table td[data-label="Actions"] .admin-row-menu-wrap {
    justify-self: end;
  }

  .admin-bookings-table td[data-label="Actions"] .admin-row-menu-btn,
  .admin-customers-table td[data-label="Actions"] .admin-row-menu-btn,
  .admin-payments-table td[data-label="Actions"] .admin-row-menu-btn,
  .admin-waivers-table td[data-label="Actions"] .admin-row-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .admin-table-wrap:has(.admin-trips-table) {
    overflow-x: hidden;
  }

  .admin-table-wrap .admin-trips-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
  }

  .admin-table-wrap .admin-trips-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .admin-table-wrap .admin-trips-table tr {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0;
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .admin-table-wrap .admin-trips-table td {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    grid-template-columns: minmax(86px, auto) minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 12px 16px;
  }

  .admin-trips-table td::before {
    margin: 0;
    padding-top: 2px;
  }

  .admin-trips-table td[data-label="Trip"] {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
  }

  .admin-trips-table td[data-label="Trip"]::before {
    display: none;
  }

  .admin-table-wrap .admin-trips-table .admin-trip-name-cell {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0 !important;
  }

  .admin-trips-table .admin-trip-thumb {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .admin-trips-table .admin-trip-name-cell strong {
    display: block;
    font-size: 20px;
    line-height: 1.2;
    color: #14233b;
  }

  .admin-trips-table .admin-trip-name-cell .kv {
    margin-top: 4px;
    font-size: 13px;
    color: #64748b;
  }

  .admin-trips-table td[data-label="Status"] .badge {
    justify-self: start;
  }

  .admin-table-wrap .admin-trips-table td[data-label="Actions"] {
    grid-template-columns: 1fr;
    justify-content: end;
    align-items: stretch;
    padding: 14px 16px 16px;
    margin-top: 0;
    background: #fbfdff;
    overflow: visible;
  }

  .admin-table-wrap .admin-trips-table td[data-label="Actions"] .admin-row-menu-wrap {
    justify-self: end;
  }

  .admin-table-wrap .admin-trips-table td[data-label="Actions"] .admin-row-menu {
    top: auto;
    bottom: calc(100% + 8px);
    right: 0;
  }

  .admin-trips-table td[data-label="Actions"] .admin-row-menu-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .admin-form-grid,
  .admin-form-grid > div,
  .admin-form-grid-span-2,
  .admin-trip-form-wrap fieldset,
  .admin-user-form-wrap fieldset {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .admin-trip-form-wrap input,
  .admin-trip-form-wrap select,
  .admin-trip-form-wrap textarea,
  .admin-user-form-wrap input,
  .admin-user-form-wrap select,
  .admin-user-form-wrap textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .admin-trip-form-wrap input[type="date"],
  .admin-trip-form-wrap input[type="time"] {
    min-width: 0;
  }
}

/* Modern Customer Home Redesign */
.customer-hero-modern {
  position: relative;
  background: #0f172a;
  color: #fff;
  padding: 140px 24px 80px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.customer-hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.9)),
    url('https://images.squarespace-cdn.com/content/v1/5845f25be6f2e12d64ca9829/1553556676693-70K8F9S6T9X9X9X9X9X9/ke17ZwdGBToddI8pDm48kLkXF2pIyv_F2eUT9F60jBl7gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z4YTzHvnKhyp6Da-NYroOW3ZGjoBKy3azqku80C789l0iyqMbMesKd95J-X4EagrgU9L3Sa3U8cogeb0tjXbfawd0urKshkc5MgdBeJmALQKw/IMG_20180824_075508.jpg?format=2500w') center/cover no-repeat;
  z-index: 0;
}

.customer-hero-content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-bottom: 40px;
}

.customer-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: #e2e8f0;
}

.customer-hero-content h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.customer-hero-content p {
  font-size: 18px;
  color: #cbd5e1;
  margin: 0;
  max-width: 720px;
  margin-inline: auto;
}

.trip-search-bar {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 1000px;
  align-items: center;
}

.trip-search-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  border-right: 1px solid #e2e8f0;
}

.trip-search-group:last-of-type {
  border-right: none;
}

.trip-search-group label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  margin: 0;
}

.trip-search-bar input,
.trip-search-bar select {
  border: none;
  padding: 0;
  height: auto;
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  background: transparent;
  width: 100%;
}

.trip-search-bar input:focus,
.trip-search-bar select:focus {
  box-shadow: none;
  outline: none;
}

.trip-search-dates,
.trip-search-extras {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trip-search-sep {
  color: #cbd5e1;
}

.trip-search-actions {
  padding-left: 8px;
}

.trip-search-actions button {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: 0;
  background: #0f172a;
  color: #fff;
  border: none;
}

.trip-search-actions button:hover {
  background: #1e293b;
}

.trip-view-group {
  flex: 0 0 220px;
}

.trip-view-toggle {
  display: inline-flex;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  overflow: hidden;
  background: #f8fafc;
}

.trip-view-toggle button {
  flex: 1;
  border: none;
  background: transparent;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 10px;
}

.trip-view-toggle button.active {
  background: #0f172a;
  color: #fff;
}

.trip-calendar-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.trip-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.trip-calendar-head h3 {
  margin: 0;
  font-size: 24px;
  color: #0f172a;
}

.trip-calendar-head button {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}

.trip-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.trip-calendar-weekdays span {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  padding: 6px 8px;
}

.trip-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.trip-calendar-day {
  min-height: 128px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
}

.trip-calendar-day.is-empty {
  background: transparent;
  border-style: dashed;
  border-color: #e2e8f0;
}

.trip-calendar-day.has-trips {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.trip-calendar-date {
  font-weight: 800;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 8px;
}

.trip-calendar-items {
  display: grid;
  gap: 6px;
}

.trip-calendar-entry {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #eff6ff;
  padding: 6px;
}

.trip-calendar-entry-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #1e3a8a;
}

.trip-calendar-entry p {
  margin: 4px 0 6px;
  font-size: 12px;
  color: #0f172a;
  line-height: 1.3;
}

.trip-calendar-entry-actions {
  display: flex;
  gap: 6px;
}

.trip-calendar-chip {
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 8px;
  background: #0f172a;
  color: #fff;
}

.trip-calendar-chip.is-booked {
  background: #059669;
}

.trip-calendar-chip.is-map {
  background: #e2e8f0;
  color: #0f172a;
}

.trip-calendar-none {
  font-size: 11px;
  color: #94a3b8;
}

/* Modern Trip Grid */
.trip-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.trip-card-modern {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.trip-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.15);
}

.trip-card-modern-media {
  position: relative;
  height: 220px;
  background: #f1f5f9;
}

.trip-card-modern-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trip-card-modern-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.trip-card-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.trip-card-badge.location { background: rgba(255, 255, 255, 0.9); color: #0f172a; }
.trip-card-badge.urgent { background: rgba(239, 68, 68, 0.9); color: #fff; }
.trip-card-badge.full { background: rgba(100, 116, 139, 0.9); color: #fff; }

.trip-card-modern-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trip-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.trip-card-price .label {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
}

.trip-card-price .amount {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.trip-card-modern-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.trip-card-modern-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.trip-card-modern-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -2px 0 10px;
}

.trip-card-fact {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.trip-card-fact svg {
  flex: 0 0 auto;
  color: #1d4ed8;
}

.trip-card-modern-desc {
  margin: 0 0 12px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trip-card-booking-status {
  margin: -2px 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #ecfeff;
  border: 1px solid #bae6fd;
  color: #0c4a6e;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.trip-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.trip-card-price-v2 .label {
  display: block;
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
}

.trip-card-price-v2 .amount {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.trip-card-modern-actions {
  display: flex;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.trip-card-btn {
  flex: 0 0 auto;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.trip-card-btn.primary {
  background: #0f172a;
  color: #fff;
}

.trip-card-btn.primary:hover {
  background: #1e293b;
  text-decoration: none;
}

.trip-card-btn.secondary {
  background: #f1f5f9;
  color: #0f172a;
}

.trip-card-btn.secondary:hover {
  background: #e2e8f0;
  text-decoration: none;
}

.trip-card-btn.icon-only {
  flex: 0 0 42px;
  padding: 0;
}

@media (max-width: 768px) {
  .trip-search-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
  }
  .trip-search-group {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px;
  }
  .trip-search-group:last-of-type {
    border-bottom: none;
  }
  .trip-search-actions {
    padding: 12px;
  }
  .trip-search-actions button {
    width: 100%;
  }
  .trip-view-group {
    flex: 1;
  }
  .trip-view-toggle button {
    padding: 10px 8px;
  }
  .trip-calendar-shell {
    padding: 0 8px;
  }
  .trip-calendar-weekdays {
    display: none;
  }
  .trip-calendar-grid {
    grid-template-columns: 1fr;
  }
  .trip-calendar-day.is-empty {
    display: none;
  }
  .trip-calendar-day {
    min-height: 0;
  }
}

/* Full Width Hero & Modern Polish */
body.customer-home main {
  max-width: 100% !important;
  padding: 0 0 36px !important;
  display: block;
}

body.customer-home main > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.customer-trip-page main,
.customer-book-page main,
.customer-account-page main,
.customer-checkout-page main {
  padding-top: 26px !important;
  padding-bottom: 52px !important;
}

.customer-account-page main {
  padding-top: 52px !important;
}

body.customer-home main > .customer-hero-modern {
  max-width: none;
  padding: 180px 24px 120px;
  margin-bottom: 40px;
  margin-top: 0;
}

.customer-hero-bg {
  background: 
    linear-gradient(to bottom, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.8) 80%, #0f172a 100%),
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.2), transparent 50%),
    url('https://images.squarespace-cdn.com/content/v1/5845f25be6f2e12d64ca9829/1553556676693-70K8F9S6T9X9X9X9X9X9/ke17ZwdGBToddI8pDm48kLkXF2pIyv_F2eUT9F60jBl7gQa3H78H3Y0txjaiv_0fDoOvxcdMmMKkDsyUqMSsMWxHk725yiiHCCLfrh8O1z4YTzHvnKhyp6Da-NYroOW3ZGjoBKy3azqku80C789l0iyqMbMesKd95J-X4EagrgU9L3Sa3U8cogeb0tjXbfawd0urKshkc5MgdBeJmALQKw/IMG_20180824_075508.jpg?format=2500w') center/cover no-repeat;
}

.trip-search-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border-radius: 24px;
  padding: 16px 24px;
}

.trip-search-group {
  border-right-color: rgba(15, 23, 42, 0.1);
}

.trip-search-actions button {
  background: #0f172a;
  border-radius: 16px;
  transition: transform 0.2s, background 0.2s;
}

.trip-search-actions button:hover {
  transform: scale(1.05);
  background: #1e293b;
}

/* Booking Page Redesign */
.booking-page-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
  padding-top: 20px;
}

.booking-trip-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
}

.booking-trip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.booking-trip-info {
  padding: 20px;
}

.booking-trip-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.booking-trip-info h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: #0f172a;
}

.booking-trip-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  color: #64748b;
  font-size: 14px;
}

.booking-trip-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-trip-price {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  margin-bottom: 16px;
}

.booking-trip-price small {
  display: block;
  font-size: 12px;
  color: #64748b;
}

.booking-trip-price strong {
  display: block;
  font-size: 18px;
  color: #0f172a;
}

.booking-trip-capacity .capacity-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.booking-trip-capacity .capacity-fill {
  height: 100%;
  background: #10b981;
  border-radius: 999px;
}

.booking-trip-capacity small {
  font-size: 12px;
  color: #64748b;
}

.booking-trip-map-card {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  gap: 12px;
}

.booking-trip-map-head {
  display: grid;
  gap: 4px;
}

.booking-trip-map-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.booking-trip-map-head strong {
  color: #0f172a;
  font-size: 16px;
  line-height: 1.3;
}

.booking-trip-map-frame {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #dbe7f1;
  background: #eef6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.booking-trip-map-frame iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.booking-trip-map-copy {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.booking-trip-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #dbe7f1;
  background: #f8fbff;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

.booking-trip-map-link:hover {
  text-decoration: none;
  background: #eef4fb;
}

.booking-form-modern {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.booking-form-head {
  margin-bottom: 32px;
}

.booking-form-head h2 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #0f172a;
}

.booking-form-head p {
  margin: 0;
  color: #64748b;
}

.booking-form-group {
  margin-bottom: 28px;
}

.booking-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.booking-seat-note {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.seat-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seat-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: grid;
  place-items: center;
  padding: 0;
}

.seat-btn:hover {
  border-color: #cbd5e1;
  color: #334155;
  background: #f1f5f9;
}

.seat-btn.selected {
  border-color: #0f172a;
  background: #0f172a;
  color: #fff;
  transform: scale(1.05);
}

.booking-input-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-input-grid .span-2 {
  grid-column: span 2;
}

.booking-form-modern input,
.booking-form-modern select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 15px;
  color: #0f172a;
  transition: all 0.2s;
}

.booking-form-modern input:focus,
.booking-form-modern select:focus {
  background: #fff;
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
  outline: none;
}

.booking-guest-fields {
  display: grid;
  gap: 16px;
}

.booking-angler-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

.booking-submit-btn {
  width: 100%;
  height: 56px;
  background: #0f172a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.booking-submit-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .booking-page-grid {
    grid-template-columns: 1fr;
  }
  .booking-trip-card {
    position: static;
    margin-bottom: 24px;
  }
  .booking-trip-map-frame iframe {
    height: 200px;
  }
}

/* New Customer Header, Footer, Auth Pages */
.customer-header-v2 {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
  padding: 12px 24px;
}

.customer-nav-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.customer-nav-v2 .customer-brand-logo-wrap {
  background: #fff;
  border: none;
}

.customer-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.customer-links-auth a {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.customer-links-auth > a:first-child { /* Sign In */
  color: #f1f5f9;
}

.customer-links-auth > a:first-child:hover {
  background: #1e293b;
}

.customer-links-auth .customer-register-btn {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
}

.customer-links-auth .customer-register-btn:hover {
  background: #f1f5f9;
  border-color: #f1f5f9;
}

.customer-menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 9px;
  cursor: pointer;
}

.customer-menu-toggle:hover {
  background: #1e293b;
}

.customer-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #94a3b8;
  border-radius: 99px;
  transition: transform 0.3s, opacity 0.3s;
}

.customer-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.customer-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.customer-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.customer-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 80vw);
  background: #0f172a;
  border-left: 1px solid #1e293b;
  z-index: 102;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.customer-nav-drawer-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.customer-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-drawer-nav a {
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
}

.customer-drawer-nav a:hover {
  background: #1e293b;
  color: #fff;
}

.customer-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

body.customer-menu-open .customer-nav-drawer {
  transform: translateX(0);
}

body.customer-menu-open .customer-nav-backdrop {
  opacity: 1;
  visibility: visible;
}

/* New Auth Pages */
.auth-page-v2 {
  background:
    radial-gradient(circle at 12% 12%, rgba(125, 211, 252, 0.34), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.34), transparent 22%),
    radial-gradient(circle at 82% 84%, rgba(34, 197, 94, 0.16), transparent 24%),
    linear-gradient(155deg, #061a2f 0%, #0f2743 42%, #123c55 100%);
  font-family: 'Manrope', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

body.auth-page-v2 > main {
  margin: 0;
  max-width: none;
  padding: 0;
}

.auth-layout-v2 {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

.auth-layout-v2::before,
.auth-layout-v2::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.auth-layout-v2::before {
  width: 340px;
  height: 340px;
  top: 8%;
  left: max(24px, 6vw);
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(186, 230, 253, 0.18);
}

.auth-layout-v2::after {
  width: 280px;
  height: 280px;
  right: max(24px, 7vw);
  bottom: 9%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.auth-card-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 960px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 36px 72px rgba(4, 16, 32, 0.28);
  min-height: 620px;
  border: 1px solid rgba(226, 232, 240, 0.72);
  backdrop-filter: blur(16px);
  position: relative;
  z-index: 1;
}

.auth-col-info {
  background:
    radial-gradient(circle at 22% 20%, rgba(125, 211, 252, 0.22), transparent 30%),
    radial-gradient(circle at 76% 82%, rgba(255, 255, 255, 0.12), transparent 26%),
    linear-gradient(160deg, #081a30 0%, #0f2946 58%, #14425f 100%);
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  position: relative;
}

.auth-col-info::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.14), transparent 70%);
  pointer-events: none;
}

.auth-logo-link img {
  height: 54px;
  width: auto;
  margin-bottom: 34px;
  display: block;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 30px rgba(2, 12, 24, 0.24);
}

.auth-col-info h1 {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.auth-col-info p {
  font-size: 18px;
  color: #d7e4f1;
  line-height: 1.6;
  margin: 0;
  max-width: 32ch;
}

.auth-col-form {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.auth-col-form h2 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 24px;
}

.auth-form-v2 {
  display: grid;
  gap: 20px;
}

.auth-form-v2 .form-group {
  display: grid;
  gap: 8px;
}

.auth-form-v2 label {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.auth-form-v2 input {
  height: 48px;
  padding: 0 16px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 15px;
  color: #0f172a;
  background: #fff;
  transition: all 0.2s ease;
  width: 100%;
}

.auth-form-v2 input:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.1);
}

.form-hint {
  text-align: right;
  font-size: 13px;
}

.form-hint a {
  color: #64748b;
  text-decoration: none;
}

.form-hint a:hover {
  color: #0f172a;
  text-decoration: underline;
}

.btn-spinner {
  height: 50px;
  background: #0f172a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btn-spinner:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.btn-spinner:disabled,
.btn-spinner.loading {
  background: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-spinner .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  position: absolute;
}

.btn-spinner.loading .btn-text {
  visibility: hidden;
}

.btn-spinner.loading .spinner {
  display: block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.auth-form-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: #64748b;
}

.auth-form-footer a {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
}

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

@media (max-width: 768px) {
  .auth-layout-v2 {
    padding: 16px;
  }

  .auth-card-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
    max-width: 480px;
  }
  .auth-col-info {
    padding: 32px 28px 24px;
    align-items: center;
    text-align: center;
  }
  .auth-col-form {
    padding: 28px;
  }
  .auth-logo-link img {
    height: 46px;
    margin-bottom: 20px;
  }
}

/* New Footer */
.customer-footer {
  margin-top: 36px;
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 24px 0;
  font-size: 14px;
}

.customer-footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-col-brand .customer-brand {
  display: block;
  margin-bottom: 16px;
}

.footer-col-brand p {
  max-width: 300px;
  line-height: 1.6;
}

.footer-col-links h4 {
  color: #e2e8f0;
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-col-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-col-links a:hover {
  color: #fff;
}

.footer-col-contact h4 {
  color: #e2e8f0;
  font-size: 16px;
  margin: 0 0 16px;
}

.footer-col-contact p {
  margin: 0 0 8px;
  color: #94a3b8;
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-socials a {
  color: #94a3b8;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials a:hover {
  color: #fff;
}

.customer-footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 0;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 768px) {
  .customer-footer-content {
    grid-template-columns: 1fr;
  }
}

/* Internal Header Fix */
.customer-trip-page .customer-header,
.customer-book-page .customer-header,
.customer-account-page .customer-header,
.customer-checkout-page .customer-header {
  background: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
  padding: 12px 24px !important;
}

.customer-trip-page .customer-nav,
.customer-book-page .customer-nav,
.customer-account-page .customer-nav,
.customer-checkout-page .customer-nav {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 1280px !important;
}

/* Admin Settings Redesign */
.admin-settings-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.admin-settings-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.admin-site-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: #f8fafc;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.admin-site-inline-group {
  display: flex;
  gap: 10px;
  flex: 1;
}

.admin-site-inline-check {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  background: #f1f5f9;
  color: #64748b;
}

.admin-action-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.admin-action-btn.success:hover { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.admin-action-btn.danger:hover { background: #fee2e2; color: #991b1b; border-color: #fecaca; }

.mobile-label {
  display: none;
  font-size: 12px;
  font-weight: 600;
}

.text-center { text-align: center; }

@media (max-width: 1024px) {
  .admin-settings-grid-2 {
    grid-template-columns: 1fr;
  }
  .admin-site-inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .mobile-label { display: inline; }
  .admin-action-btn { width: auto; justify-content: center; }
}

/* Drag and Drop Reordering */
.drag-handle {
  cursor: grab;
  color: #94a3b8;
  display: flex;
  justify-content: center;
}
.drag-handle:active { cursor: grabbing; }
.draggable-row.dragging { opacity: 0.5; background: #f1f5f9; }
.draggable-row.dragging td { background: #f1f5f9; }

.admin-card-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.admin-card-footer p {
  margin: 0;
  font-size: 13px;
  color: #6b7280;
  margin-right: auto;
  align-self: center;
}

/* Menu Manager Cards */
.admin-menu-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-menu-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.admin-menu-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.admin-menu-card.dragging {
  opacity: 0.5;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
}

.admin-menu-card-content {
  flex: 1;
  display: grid;
  gap: 10px;
}

.admin-menu-card-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-action-btn.success-solid {
  background: #10b981;
  color: #ffffff;
  border-color: #059669;
}
.admin-action-btn.success-solid:hover { background: #059669; }

/* Card Toggle Switch */
.admin-card-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #4b5563;
  font-weight: 600;
}

.admin-card-toggle input {
  display: none;
}

.admin-card-toggle-track {
  width: 36px;
  height: 20px;
  background: #e5e7eb;
  border-radius: 999px;
  position: relative;
  transition: background 0.2s;
}

.admin-card-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.admin-card-toggle input:checked + .admin-card-toggle-track {
  background: #10b981;
}

.admin-card-toggle input:checked + .admin-card-toggle-track::after {
  transform: translateX(16px);
}

/* New Trip Page Controls & Calendar */
.trip-controls-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  height: 0;
  z-index: 30;
}

.trip-filters-backdrop {
  display: none;
}

.trip-filters-mobile-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 12px;
  border: 1px solid #dbe7f1;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  position: relative;
}

.trip-filters-mobile-toggle-icon {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  color: #1d4ed8;
}

.trip-filters-mobile-toggle::after {
  content: attr(data-active-count);
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 14px rgba(15, 23, 42, 0.16);
}

.trip-filters-mobile-toggle.has-filters::after {
  display: inline-flex;
}

.trip-filters-v2 {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  display: grid;
  gap: 16px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  position: absolute;
  top: 0;
  right: 24px;
  width: min(980px, calc(100vw - 48px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.trip-filters-v2.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.trip-filters-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.trip-filters-sheet-head strong {
  display: block;
  font-size: 20px;
  line-height: 1.05;
  color: #0f172a;
}

.trip-filters-sheet-head p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.trip-filters-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 999px;
  border: 1px solid #dbe4ee;
  background: #f8fafc;
  color: #0f172a;
  display: grid;
  place-items: center;
}

.trip-filters-grid-v3 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trip-filter-field {
  display: grid;
  gap: 8px;
}

.trip-filter-field span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #475569;
}

.trip-filter-field input,
.trip-filter-field select {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  height: 50px;
  padding: 0 14px;
  font-size: 14px;
  background: #f8fafc;
  color: #0f172a;
}

.trip-filter-field input::placeholder {
  color: #94a3b8;
}

.trip-filter-range-wrap {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.trip-filter-range-wrap input[type="range"] {
  width: 100%;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  accent-color: #0f172a;
}

.trip-filter-range-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #dbe4ee;
  border-radius: 14px;
  background: #f8fafc;
}

.trip-filter-range-meta strong {
  color: #0f172a;
  font-size: 14px;
}

.trip-filter-range-meta small {
  color: #64748b;
  font-size: 12px;
}

.trip-filters-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid #eef2f7;
}

.trip-filters-actions button {
  min-width: 122px;
  height: 46px;
  font-weight: 700;
}

.trip-filters-done {
  background: #0f172a;
  color: #fff;
  border: 1px solid #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trips-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 0 24px;
  max-width: 1280px;
  margin-inline: auto;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.trips-section-header > :first-child {
  min-width: 0;
}

.trips-section-header h2 {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 30px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #0b162f;
}

.trips-section-header p {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #55657a;
}

.trip-controls-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trip-view-toggle {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 10px;
  padding: 4px;
  border: 1px solid #cbd5e1;
}

.trip-view-toggle button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  font-weight: 700;
  font-size: 13px;
  transition: all 0.2s ease;
}

.trip-view-toggle button.active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
}

.trip-calendar-shell-v2 {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
}

.trip-calendar-head-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.trip-calendar-head-v2 h3 {
  margin: 0;
  font-size: 20px;
  color: #0f172a;
}

.trip-calendar-head-v2 button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #475569;
  display: grid;
  place-items: center;
}

.trip-calendar-weekdays-v2 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  padding: 0 8px;
}

.trip-calendar-grid-v2 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.trip-calendar-day-v2 {
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 8px;
  min-height: 148px;
  position: relative;
  overflow: visible;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.trip-calendar-day-v2.is-empty {
  background: #f8fafc;
}

.trip-calendar-date {
  text-align: right;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.trip-calendar-entry-v2 {
  display: grid;
  gap: 6px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #334155;
  padding: 10px 10px 9px;
  border-radius: 12px;
  border: 1px solid #dbe7f1;
  border-top: 3px solid var(--trip-color, #4f46e5);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
  overflow: visible;
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.trip-calendar-entry-v2:hover {
  background: #fff;
  border-color: #bfd5e6;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
  z-index: 200;
}

.trip-calendar-entry-topline,
.trip-calendar-entry-footerline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.trip-calendar-entry-time {
  font-size: 11px;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

.trip-calendar-entry-status {
  font-size: 10px;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trip-calendar-entry-status.is-booked {
  background: #e0f2fe;
  color: #075985;
}

.trip-calendar-entry-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

.trip-calendar-entry-location {
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trip-calendar-entry-seats,
.trip-calendar-entry-price {
  font-size: 11px;
  font-weight: 700;
  color: #475569;
}

.trip-calendar-entry-price {
  color: #0f172a;
}

.trip-calendar-hover-details {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  max-width: 280px;
  background: #0f172a;
  color: #e2e8f0;
  border: 1px solid #1e293b;
  border-radius: 10px;
  box-shadow: 0 16px 28px rgba(2, 6, 23, 0.36);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 1000;
}

.trip-calendar-hover-details strong {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.trip-calendar-hover-details span {
  display: block;
  font-size: 12px;
  line-height: 1.35;
}

.trip-calendar-entry-v2:hover .trip-calendar-hover-details,
.trip-calendar-entry-v2:focus-visible .trip-calendar-hover-details {
  opacity: 1;
  transform: translateY(0);
}

.trip-calendar-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 12000;
}

.trip-calendar-modal.is-open {
  display: grid;
  place-items: center;
  padding: 24px;
}

.trip-calendar-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
}

.trip-calendar-modal-card {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 24px 56px rgba(2, 6, 23, 0.35);
  z-index: 1;
}

.trip-calendar-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 20px;
  line-height: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.trip-calendar-modal-close:hover {
  background: #f8fafc;
}

body.trip-calendar-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  body.trip-filters-sheet-open {
    overflow: hidden;
  }
  body.customer-home main > * {
    padding-left: 16px;
    padding-right: 16px;
  }
  .trip-controls-container {
    margin: 0;
    padding: 0;
    height: auto;
  }
  .trip-filters-backdrop.is-open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(6px);
    z-index: 1190;
  }
  .trip-filters-mobile-toggle.is-active {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff;
  }
  .trip-filters-mobile-toggle.is-active .trip-filters-mobile-toggle-icon {
    background: transparent;
    color: #fff;
  }
  .trip-filters-v2 {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    z-index: 1200;
    border-radius: 28px 28px 0 0;
    padding: 20px 18px calc(28px + env(safe-area-inset-bottom, 0px));
    max-height: min(78vh, 78dvh);
    pointer-events: none;
    opacity: 0;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translate3d(0, 104%, 0);
    transition: transform 0.26s ease, opacity 0.22s ease;
    box-shadow: 0 -24px 50px rgba(15, 23, 42, 0.22);
  }
  .trip-filters-v2.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }
  .trip-filters-sheet-head {
    display: flex !important;
  }
  .trip-filters-grid-v3 {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }
  .trip-filter-field,
  .trip-filter-field:first-child {
    grid-column: auto;
    min-width: 0;
    width: 100%;
  }
  .trip-filter-field input,
  .trip-filter-field select {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 52px;
    font-size: 16px;
    padding-inline: 14px;
  }
  .trip-filter-field input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
  }
  .trip-filters-actions {
    position: sticky;
    bottom: calc(-20px - env(safe-area-inset-bottom, 0px));
    margin: 4px -18px calc(-28px - env(safe-area-inset-bottom, 0px));
    padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #e2e8f0;
  }
  .trip-filters-actions button {
    flex: 1 1 0;
    min-width: 0;
  }
  .trip-filters-done {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .trips-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0 16px;
  }
  .trip-controls-bar {
    width: 100%;
    justify-content: space-between;
  }
  .trip-view-toggle {
    align-self: flex-start;
  }
  .trip-calendar-hover-details {
    display: none;
  }
  .trip-calendar-shell-v2 {
    padding: 16px;
  }
  .trip-calendar-head-v2 {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
    align-items: center;
  }
  .trip-calendar-head-v2 h3 {
    text-align: center;
    font-size: 18px;
  }
  .trip-calendar-weekdays-v2 {
    display: none;
  }
  .trip-calendar-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .trip-calendar-day-v2.is-empty {
    display: none;
  }
  .trip-calendar-day-v2 {
    min-height: 0;
    padding: 10px;
    gap: 8px;
  }
  .trip-calendar-date {
    margin-bottom: 6px;
  }
  .trip-calendar-entry-v2 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .trip-calendar-entry-topline,
  .trip-calendar-entry-footerline {
    flex-wrap: wrap;
  }
  .trip-calendar-entry-location {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .trip-calendar-modal.is-open {
    padding: 12px;
  }
  .trip-card-modern-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .trip-calendar-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .trip-calendar-day-v2 {
    padding: 8px;
  }
  .trip-calendar-entry-v2 {
    padding: 8px;
    border-radius: 10px;
  }
  .trip-calendar-entry-name {
    font-size: 12px;
  }
  .trip-calendar-entry-location,
  .trip-calendar-entry-seats,
  .trip-calendar-entry-price,
  .trip-calendar-entry-time,
  .trip-calendar-entry-status {
    font-size: 10px;
  }
}

/* Checkout Page Redesign */
.checkout-page-header {
  margin-bottom: 24px;
}
.checkout-page-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
}
.checkout-page-header p {
  font-size: 16px;
  color: #64748b;
  margin: 0;
}

.checkout-page-grid-v2 {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.checkout-main-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-summary-col .checkout-summary-card-v2 {
  position: sticky;
  top: 100px;
}

.checkout-card-v2 {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.checkout-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.checkout-card-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
}

.checkout-card-head h3 {
  margin: 0;
  font-size: 20px;
  color: #0f172a;
}

.checkout-card-body {
  padding: 20px;
  display: grid;
  gap: 16px;
}

.checkout-waiver-grid-v2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-waiver-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}

.waiver-row-angler {
  display: flex;
  align-items: center;
  gap: 12px;
}

.waiver-row-angler strong {
  font-weight: 600;
  color: #1e293b;
}

.waiver-row-angler small {
  display: block;
  font-size: 12px;
  color: #64748b;
  text-transform: capitalize;
}

.waiver-row-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.waiver-row-action button {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: #334155;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

.waiver-row-action small {
  font-size: 11px;
  color: #64748b;
}

.waiver-row-signed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #10b981;
}

.waiver-row-verify {
  font-size: 12px;
  font-weight: 600;
  color: #0369a1;
}

.waiver-row-note {
  font-size: 12px;
  color: #64748b;
  text-align: right;
}

.waiver-consent-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 12000;
}

.waiver-consent-modal.is-open {
  display: grid;
  place-items: center;
  padding: 20px;
}

.waiver-consent-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
}

.waiver-consent-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 0;
  box-shadow: 0 32px 72px rgba(2, 6, 23, 0.32);
  display: grid;
  gap: 0;
  backdrop-filter: blur(14px);
}

.waiver-consent-head {
  display: grid;
  gap: 10px;
  padding: 28px 28px 18px;
  background:
    radial-gradient(circle at top right, rgba(148, 163, 184, 0.12), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.waiver-consent-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.waiver-consent-card h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.waiver-consent-meta {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.waiver-consent-body-wrap {
  padding: 0 28px;
}

.waiver-consent-body {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #fbfdff, #f8fafc);
  padding: 18px;
  max-height: 280px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.waiver-consent-form {
  display: grid;
  gap: 16px;
  padding: 18px 28px 0;
}

.waiver-consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 14px;
  color: #0f172a;
}

.waiver-consent-check input {
  margin-top: 2px;
}

.waiver-consent-sign {
  display: grid;
  gap: 8px;
}

.waiver-consent-sign span {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.waiver-consent-sign input {
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
}

.waiver-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 22px 28px 28px;
  border-top: 1px solid #e2e8f0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.35), #fff);
}

.waiver-consent-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255,255,255,0.9);
  color: #334155;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.waiver-public-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 16%, rgba(125, 211, 252, 0.26), transparent 28%),
    radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.42), transparent 20%),
    radial-gradient(circle at 82% 80%, rgba(34, 197, 94, 0.14), transparent 24%),
    linear-gradient(160deg, #061a2f 0%, #0f2743 42%, #123c55 100%);
}

.waiver-verify-page {
  background:
    radial-gradient(circle at 18% 18%, rgba(134, 239, 172, 0.34), transparent 26%),
    radial-gradient(circle at 82% 16%, rgba(191, 219, 254, 0.42), transparent 24%),
    radial-gradient(circle at 50% 82%, rgba(187, 247, 208, 0.34), transparent 28%),
    linear-gradient(180deg, #f4fbf7 0%, #eef8ff 52%, #f8fcff 100%);
}

.waiver-public-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

#waiver-verify-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.waiver-verify-page .waiver-public-main {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.waiver-verify-page .waiver-public-main > * {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.waiver-verify-page #global-msg:empty {
  display: none;
}

.waiver-verify-page #waiver-verify-wrap {
  width: 100%;
  max-width: 720px;
}

.waiver-public-card,
.waiver-verify-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 28px 60px rgba(3, 16, 33, 0.2);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.waiver-public-card h1,
.waiver-verify-card h1 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(28px, 3.6vw, 38px);
  letter-spacing: -0.03em;
}

.waiver-public-meta {
  margin: 0 0 14px;
  color: #475569;
}

.waiver-public-body {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  background: #f8fafc;
  max-height: 420px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.waiver-public-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.waiver-public-sign {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.waiver-public-sign span {
  font-size: 12px;
  color: #64748b;
  font-weight: 700;
}

.waiver-public-sign input {
  height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0 12px;
}

.waiver-verify-ok {
  margin: 0 0 6px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.waiver-verify-card {
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}

.waiver-verify-hero {
  display: grid;
  gap: 8px;
}

.waiver-verify-hero p {
  margin: 0;
  max-width: 50ch;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.waiver-verify-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.waiver-verify-badge.is-error {
  background: #fee2e2;
  color: #991b1b;
}

.waiver-verify-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  border: 1px solid #dbe3ee;
}

.waiver-verify-highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #64748b, #475569);
  color: #fff;
  box-shadow: 0 16px 24px rgba(71, 85, 105, 0.2);
}

.waiver-verify-highlight-icon svg {
  width: 24px;
  height: 24px;
}

.waiver-verify-highlight strong,
.waiver-verify-highlight span {
  display: block;
}

.waiver-verify-highlight strong {
  color: #0f172a;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.waiver-verify-highlight span {
  margin-top: 2px;
  color: #475569;
  font-size: 13px;
}

.waiver-verify-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.waiver-verify-item {
  padding: 12px 13px 11px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  min-width: 0;
}

.waiver-verify-item dt {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.waiver-verify-item dd {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.waiver-verify-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.waiver-verify-card-error .waiver-verify-hero {
  margin-bottom: 8px;
}

.waiver-verify-card .error,
.waiver-verify-card .notice {
  margin: 0;
}

.checkout-summary-card-v2 {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  padding: 20px;
}

.checkout-summary-card-v2 h4 {
  font-size: 18px;
  color: #0f172a;
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.summary-trip-info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.summary-trip-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.summary-trip-info strong {
  font-weight: 600;
  color: #1e293b;
}

.summary-trip-info small {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.summary-cost-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.summary-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #475569;
}

.summary-line-item.total {
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-weight: 600;
  color: #1e293b;
}

.summary-line-item.paid {
  color: #10b981;
}

.summary-line-item.due {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.summary-line-item.due strong {
  font-size: 20px;
}

@media (max-width: 900px) {
  .checkout-page-grid-v2 {
    grid-template-columns: 1fr;
  }
  .checkout-summary-col {
    grid-row: 1;
  }
  .checkout-summary-col .checkout-summary-card-v2 {
    position: static;
  }
}

@media (max-width: 600px) {
  .waiver-verify-page .waiver-public-main {
    padding: 20px 16px;
    align-items: center;
  }

  .waiver-verify-page #waiver-verify-wrap,
  .waiver-verify-card {
    max-width: 100%;
  }

  .waiver-public-main {
    padding: 18px 16px 32px;
  }

  .waiver-public-card,
  .waiver-verify-card {
    padding: 18px;
    border-radius: 22px;
  }

  .waiver-verify-highlight {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .waiver-verify-highlight strong {
    font-size: 22px;
  }

  .waiver-verify-grid {
    grid-template-columns: 1fr;
  }

  .checkout-waiver-row {
    flex-direction: column;
    align-items: stretch;
  }
  .waiver-row-action {
    align-items: stretch;
  }
  .waiver-row-note {
    text-align: left;
  }
  .waiver-consent-modal.is-open {
    align-items: flex-end;
    padding: 12px 0 0;
  }

  .waiver-consent-card {
    width: 100%;
    max-height: min(88vh, 100%);
    border-radius: 22px 22px 0 0;
  }

  .waiver-consent-head,
  .waiver-consent-body-wrap,
  .waiver-consent-form,
  .waiver-consent-actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .waiver-consent-head {
    padding-top: 20px;
    padding-bottom: 14px;
  }

  .waiver-consent-form {
    padding-top: 14px;
  }

  .waiver-consent-actions {
    padding-top: 18px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    flex-wrap: wrap;
  }

  .waiver-consent-actions .secondary,
  .waiver-consent-actions .checkout-pay-btn {
    width: 100%;
  }

  .waiver-consent-close {
    top: 14px;
    right: 14px;
  }
}

/* Site Loader */
.site-loader {
  position: fixed;
  inset: 0;
  background: #0f172a;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.site-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.site-loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  border-top-color: #38bdf8;
  animation: spin 1s linear infinite;
}

/* Guide Dashboard Redesign */
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.guide-trip-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.guide-trip-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #f8fafc;
}

.guide-trip-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.guide-trip-time {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.guide-trip-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-trip-meta span {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #e2e8f0;
  padding: 2px 8px;
  border-radius: 6px;
}

.guide-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #475569;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  transition: all 0.2s;
}

.guide-icon-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.guide-trip-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
}

.guide-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guide-stat label {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin: 0;
}

.guide-stat strong {
  font-size: 18px;
  color: #0f172a;
}

.guide-stat strong.text-green {
  color: #10b981;
}

.guide-bookings-list {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background: #fff;
}

.guide-booking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.guide-booking-row:last-child {
  border-bottom: none;
}

.guide-booking-info {
  display: flex;
  flex-direction: column;
}

.guide-booking-info strong {
  font-size: 14px;
  color: #1e293b;
}

.guide-booking-info span {
  font-size: 12px;
  color: #64748b;
}

.guide-booking-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.guide-status-dot.status-paid { background: #10b981; }
.guide-status-dot.status-partial { background: #f59e0b; }
.guide-status-dot.status-unpaid { background: #ef4444; }

.guide-action-link {
  font-size: 12px;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 6px;
}

.guide-action-link:hover {
  background: #dbeafe;
}

.guide-empty-state {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  padding: 12px 0;
  font-style: italic;
}

.guide-shell .admin-main {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 30%),
    linear-gradient(180deg, #f5fbff 0%, #eef6fb 100%);
}

.guide-shell #guide-page-content,
.guide-shell #guide-list {
  display: grid;
  gap: 18px;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #0f172a 0%, #134e4a 48%, #0ea5e9 100%);
  color: #f8fafc;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(2px);
}

.guide-hero-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.guide-hero-copy h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.guide-hero-copy .kv {
  max-width: 720px;
  color: rgba(241, 245, 249, 0.84);
  font-size: 15px;
  line-height: 1.6;
}

.guide-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.guide-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.guide-surface-card .guide-meta-pill,
.guide-trip-table-card .guide-meta-pill,
.guide-overview-trip-card .guide-meta-pill {
  background: #edf7ff;
  border-color: #d8e8f4;
  color: #1f4b68;
}

.guide-surface-card {
  border: 1px solid #d7e5f1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.guide-surface-card .admin-panel-head {
  align-items: center;
}

.guide-surface-card .admin-panel-head h2 {
  margin: 0;
  color: #0f172a;
}

.guide-trip-filter-card {
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
}

.guide-filter-field input {
  border-color: #d8e6f2;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.guide-table-wrap {
  border: 1px solid #e2ebf3;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.guide-table-wrap .admin-table thead th {
  background: linear-gradient(180deg, #f8fbff 0%, #eef4f8 100%);
  color: #35506c;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-table-wrap .admin-table tbody tr:hover {
  background: #f8fcff;
}

.guide-trip-table-head .secondary,
.guide-message-card .secondary,
.guide-overview-trip-card .secondary {
  border-color: #cfe0ef;
  background: #f8fbff;
  color: #17324d;
}

.guide-trip-table-head .secondary:hover,
.guide-message-card .secondary:hover,
.guide-overview-trip-card .secondary:hover {
  background: #eaf4fb;
}

#guide-trip-modal .admin-modal-card {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 252, 0.98));
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.3);
}

#guide-trip-modal .admin-modal-backdrop {
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(10px);
}

#guide-trip-modal .admin-panel-head {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: -28px -28px 0;
  padding: 24px 28px 20px;
  border-bottom: 1px solid #e2ebf3;
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.96));
  border-radius: 28px 28px 0 0;
}

#guide-trip-modal .admin-panel-head h2 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: #0f172a;
}

#guide-trip-modal .admin-panel-head .kv {
  color: #5f7388;
}

#guide-trip-modal-body {
  padding-bottom: 8px;
}

.guide-modal-panel,
.guide-modal-booking-card {
  border-radius: 22px;
  border: 1px solid #d9e5ef;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.guide-trip-detail-grid {
  gap: 18px;
}

.guide-trip-detail-meta {
  gap: 12px 18px;
}

.guide-trip-detail-meta > div {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid #deebf4;
}

.guide-trip-detail-card .guide-trip-detail-meta {
  margin-top: 16px;
}

.guide-modal-booking-card .admin-table-wrap {
  border: 1px solid #e2ebf3;
  border-radius: 16px;
  overflow: hidden;
}

.guide-message-card {
  overflow: hidden;
}

.guide-message-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

@media (max-width: 900px) {
  .guide-hero {
    padding: 22px;
  }

  #guide-trip-modal .admin-modal-card {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    border-radius: 20px;
  }

  #guide-trip-modal .admin-panel-head {
    margin: -20px -20px 0;
    padding: 20px;
    border-radius: 20px 20px 0 0;
  }
}

/* Modern Guide Modal Styles */
#guide-trip-modal .admin-modal-card {
  width: min(1000px, 95vw);
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 0;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#guide-trip-modal .admin-panel-head {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 20px 32px;
  margin: 0;
  border-radius: 0;
  flex-shrink: 0;
}

#guide-trip-modal .admin-panel-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

#guide-trip-modal .admin-panel-head .kv {
  font-size: 14px;
  color: #64748b;
  margin-top: 4px;
}

.guide-modal-body {
  flex: 1;
  overflow-y: auto;
  background: #f8fafc;
  padding: 0;
}

.guide-modal-content-modern {
  padding: 32px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.guide-trip-overview-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.guide-trip-overview-top {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
}

.guide-trip-header-info h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin: 0 0 8px 0;
}

.guide-trip-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.guide-trip-state-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
}

.guide-trip-time-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
}

.guide-trip-time-row svg {
  color: #94a3b8;
}

.guide-trip-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.guide-trip-meta-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-quick-fact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #f1f5f9;
}

.guide-quick-fact span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.guide-quick-fact strong {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.guide-trip-stats-row {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-stat-box {
  text-align: center;
}

.guide-stat-box label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
}

.guide-stat-box strong {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
}

.guide-bookings-section {
  margin-top: 8px;
}

.guide-section-head {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.guide-section-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 4px 0 0 0;
}

.guide-section-pill {
  background: #e0f2fe;
  color: #0284c7;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.guide-bookings-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-booking-card-modern {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.guide-booking-header-modern {
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.guide-booking-organizer h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.guide-booking-contact-row {
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-booking-badges {
  display: flex;
  gap: 8px;
}

.guide-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.guide-status-badge.unpaid { background: #fee2e2; color: #991b1b; }
.guide-status-badge.paid { background: #dcfce7; color: #166534; }
.guide-status-badge.seats { background: #f1f5f9; color: #475569; }

.guide-booking-financials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.financial-item {
  padding: 16px 24px;
  border-right: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.financial-item:last-child { border-right: none; }

.financial-item label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 0;
}

.financial-item span {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.guide-guest-list-modern {
  padding: 24px;
}

.guide-guest-list-modern h4 {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
}

.guide-guest-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.guide-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.2s;
}

.guide-guest-row:hover {
  border-color: #e2e8f0;
}

.guide-guest-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.guide-guest-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
}

.guide-guest-name {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-badge-organizer {
  font-size: 10px;
  background: #e0f2fe;
  color: #0284c7;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.guide-guest-contact {
  font-size: 13px;
  color: #64748b;
}

.guide-waiver-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.guide-waiver-pill.signed { background: #dcfce7; color: #166534; }
.guide-waiver-pill.pending { background: #fee2e2; color: #991b1b; }

@media (max-width: 768px) {
  .customer-feedback-modal {
    align-items: flex-end;
    padding: 12px 0 0;
  }

  .customer-feedback-card {
    width: 100vw;
    max-width: 100vw;
    border-radius: 22px 22px 0 0;
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .booking-pass-hero,
  .booking-pass-grid,
  .booking-pass-summary-top,
  .booking-pass-metrics {
    grid-template-columns: 1fr;
  }

  .booking-pass-hero,
  .booking-pass-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .booking-pass-hero-copy h1 {
    font-size: 34px;
  }

  .booking-pass-hero-copy p {
    font-size: 15px;
  }

  .booking-pass-guest-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-pass-guest-status {
    justify-content: flex-start;
  }

  .booking-pass-actions a,
  .booking-pass-actions button {
    width: 100%;
  }

  .guide-trip-overview-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .guide-trip-meta-stack {
    flex-direction: row;
    overflow-x: auto;
  }
  .guide-quick-fact {
    flex: 1;
    min-width: 120px;
    flex-direction: column;
    align-items: flex-start;
  }
  .guide-booking-header-modern {
    flex-direction: column;
    gap: 16px;
  }
  .guide-booking-financials {
    grid-template-columns: 1fr;
  }
  .financial-item {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .financial-item:last-child { border-bottom: none; }
  .financial-item label { margin-bottom: 0; }
}

/* Guide Dashboard Modern Styles */
.guide-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.guide-trip-card-modern {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-trip-card-modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.guide-trip-card-head {
  padding: 16px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.guide-trip-card-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.guide-trip-card-meta {
  font-size: 13px;
  color: #64748b;
  margin-top: 4px;
}

.guide-trip-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-stat-row {
  display: flex;
  gap: 24px;
}

.guide-stat-item {
  display: flex;
  flex-direction: column;
}

.guide-stat-item label {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 2px;
}

.guide-stat-item strong {
  font-size: 18px;
  color: #0f172a;
}

.guide-trip-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.guide-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 16px;
  padding: 32px;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.guide-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: #94a3b8;
}

.guide-hero h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
}

.guide-hero p {
  color: #cbd5e1;
  font-size: 15px;
  max-width: 600px;
  margin: 0 0 24px;
}

.guide-hero-stats {
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.guide-hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.guide-hero-stat span {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Modern Profile Page */
.profile-modern-shell {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-header-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.profile-header-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.profile-avatar-xl {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.profile-identity {
  flex: 1;
}

.profile-identity h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.profile-badges {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.profile-badge-role {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-badge-date {
  font-size: 13px;
  color: #64748b;
}

.profile-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: fit-content;
  flex: 0 0 auto;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #0f172a;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.profile-edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
  border-color: rgba(59, 130, 246, 0.35);
  color: #fff;
}

.profile-edit-btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #1d4ed8;
  border: 1px solid rgba(96, 165, 250, 0.24);
  flex-shrink: 0;
}

.profile-edit-btn-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.profile-grid-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.profile-main-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-section-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.profile-filter-select {
  width: auto;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  background: #fff;
}

.profile-bookings-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.profile-booking-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.profile-booking-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

.profile-booking-main {
  display: flex;
  gap: 16px;
  align-items: center;
}

.profile-booking-date-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #f1f5f9;
  border-radius: 12px;
  color: #334155;
  flex-shrink: 0;
}

.profile-booking-date-box .day {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.profile-booking-date-box .month {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}

.profile-booking-details h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.profile-booking-meta {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-booking-meta .sep {
  color: #cbd5e1;
}

.profile-status-text {
  font-weight: 700;
  text-transform: capitalize;
}
.profile-status-text.success { color: #10b981; }
.profile-status-text.warning { color: #f59e0b; }
.profile-status-text.error { color: #ef4444; }
.profile-status-text.neutral { color: #64748b; }

.profile-booking-finance {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
  min-width: 100px;
}

.profile-finance-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.profile-finance-row span { color: #94a3b8; }
.profile-finance-row strong { color: #334155; font-weight: 600; }
.profile-finance-row.due strong { color: #ef4444; }
.profile-finance-row.paid strong { color: #10b981; }

.profile-action-btn {
  display: inline-block;
  padding: 8px 16px;
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.profile-action-btn:hover {
  background: #1e293b;
  text-decoration: none;
}

.profile-info-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
}

.profile-info-card h3 {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.profile-info-group {
  margin-bottom: 16px;
}

.profile-info-group:last-child {
  margin-bottom: 0;
}

.profile-info-group label {
  font-size: 11px;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

.profile-info-value {
  font-size: 15px;
  color: #334155;
  font-weight: 500;
}

.profile-info-value.mono {
  font-family: monospace;
  font-size: 13px;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

.profile-empty-state {
  text-align: center;
  padding: 40px;
  background: #fff;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
}

.profile-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.profile-empty-state p {
  color: #64748b;
  margin: 0 0 16px;
}

.profile-empty-link {
  color: #0f172a;
  font-weight: 700;
}

.profile-modal-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #dbe5f0;
  background: #f8fafc;
  color: #475569;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.profile-modal-close-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.profile-cancel-btn {
  min-width: 116px;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid #dbe5f0;
  background: #ffffff;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
}

.profile-save-btn {
  min-width: 176px;
  min-height: 52px;
  padding: 0 22px;
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.profile-save-btn:hover {
  background: #1f2937;
}

@media (max-width: 900px) {
  .profile-grid-layout {
    grid-template-columns: 1fr;
  }
  .profile-section-side {
    order: -1;
  }
  .profile-booking-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .profile-booking-finance {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
  }
  .profile-booking-actions {
    width: 100%;
  }
  .profile-action-btn {
    display: block;
    text-align: center;
  }
  .profile-modal {
    padding: 0;
    align-items: flex-end;
  }
  .profile-modal-card {
    width: 100%;
    max-height: min(100vh, 100dvh);
    padding: 22px 18px 30px;
    border-radius: 26px 26px 0 0;
  }
  .profile-modal-intro {
    flex-direction: column;
  }
  .profile-modal-badge {
    align-self: flex-start;
  }
  .profile-edit-grid {
    grid-template-columns: 1fr;
  }
  .profile-input-card-wide {
    grid-column: auto;
  }
  .profile-modal-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .profile-cancel-btn,
  .profile-save-btn {
    width: 100%;
  }
  .booking-pass-page main,
  .customer-account-page main {
    padding-top: 36px !important;
  }
}

/* Admin interaction theme */
.admin-page:not(.admin-auth-view) {
  --admin-hover-bg: #f1f5f9;
  --admin-hover-bg-strong: #e5e7eb;
  --admin-hover-border: #cbd5e1;
  --admin-hover-ink: #1f2937;
  --admin-focus-ring: rgba(148, 163, 184, 0.32);
}

.admin-page:not(.admin-auth-view) button:hover,
.admin-page:not(.admin-auth-view) .admin-sidebar-settings-btn:hover,
.admin-page:not(.admin-auth-view) .admin-row-menu-item:hover,
.admin-page:not(.admin-auth-view) .admin-row-menu-btn:hover,
.admin-page:not(.admin-auth-view) .admin-view-toggle button:hover,
.admin-page:not(.admin-auth-view) .admin-action-btn:hover,
.admin-page:not(.admin-auth-view) .admin-card-footer button:hover,
.admin-page:not(.admin-auth-view) .admin-head-actions button:hover {
  background: var(--admin-hover-bg-strong) !important;
  border-color: var(--admin-hover-border) !important;
  color: var(--admin-hover-ink) !important;
  box-shadow: none !important;
  filter: none !important;
}

.admin-page:not(.admin-auth-view) .admin-panel:hover,
.admin-page:not(.admin-auth-view) .admin-overview-panel:hover,
.admin-page:not(.admin-auth-view) .admin-table-wrap:hover,
.admin-page:not(.admin-auth-view) .admin-recent-row:hover,
.admin-page:not(.admin-auth-view) .admin-activity-item:hover,
.admin-page:not(.admin-auth-view) .admin-menu-card:hover,
.admin-page:not(.admin-auth-view) .admin-trip-card-v2:hover,
.admin-page:not(.admin-auth-view) .admin-trip-card-v3:hover,
.admin-page:not(.admin-auth-view) .admin-trip-calendar-entry:hover,
.admin-page:not(.admin-auth-view) .admin-table tr:hover td {
  background: var(--admin-hover-bg) !important;
  border-color: var(--admin-hover-border) !important;
  box-shadow: 0 8px 18px rgba(148, 163, 184, 0.14) !important;
  color: inherit;
}

.admin-page:not(.admin-auth-view) .admin-sidebar-foot a:hover,
.admin-page:not(.admin-auth-view) .admin-payments-table a:hover,
.admin-page:not(.admin-auth-view) .admin-mini-meta a:hover {
  color: var(--admin-hover-ink) !important;
}

.admin-page:not(.admin-auth-view) .admin-menu a:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #f1f5f9 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.admin-page:not(.admin-auth-view) button:focus-visible,
.admin-page:not(.admin-auth-view) a:focus-visible,
.admin-page:not(.admin-auth-view) input:focus,
.admin-page:not(.admin-auth-view) select:focus,
.admin-page:not(.admin-auth-view) textarea:focus {
  outline: none !important;
  border-color: var(--admin-hover-border) !important;
  box-shadow: 0 0 0 3px var(--admin-focus-ring) !important;
}

/* Customer interaction theme */
body.customer-home {
  --customer-hover-bg: #f1f5f9;
  --customer-hover-bg-strong: #e5e7eb;
  --customer-hover-border: #cbd5e1;
  --customer-hover-ink: #0f172a;
  --customer-focus-ring: rgba(148, 163, 184, 0.28);
}

body.customer-home .customer-links a:hover,
body.customer-home .customer-auth-pill:hover,
body.customer-home .customer-user-dropdown a:hover,
body.customer-home .trip-card-btn:hover,
body.customer-home .seat-btn:hover,
body.customer-home .trip-filters-actions button:hover,
body.customer-home .trip-filters-close:hover,
body.customer-home .trip-filters-mobile-toggle:hover,
body.customer-home .trip-view-toggle button:hover,
body.customer-home .booking-submit-btn:hover,
body.customer-home .booking-trip-map-link:hover {
  background: var(--customer-hover-bg-strong) !important;
  border-color: var(--customer-hover-border) !important;
  color: var(--customer-hover-ink) !important;
  box-shadow: none !important;
  filter: none !important;
}

body.customer-home .trip-card:hover,
body.customer-home .trip-card-modern:hover,
body.customer-home .trip-calendar-entry-v2:hover,
body.customer-home .booking-trip-card:hover,
body.customer-home .booking-form-modern:hover {
  border-color: var(--customer-hover-border) !important;
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.14) !important;
}

body.customer-home .trip-card:hover,
body.customer-home .trip-card-modern:hover {
  transform: translateY(-2px);
}

body.customer-home .customer-links a:focus-visible,
body.customer-home .customer-auth-pill:focus-visible,
body.customer-home .trip-card-btn:focus-visible,
body.customer-home button:focus-visible,
body.customer-home input:focus,
body.customer-home select:focus,
body.customer-home textarea:focus {
  outline: none !important;
  border-color: var(--customer-hover-border) !important;
  box-shadow: 0 0 0 3px var(--customer-focus-ring) !important;
}
.customer-home .trip-card-price .amount,
.customer-home .trip-card-price-v2 .amount,
.customer-home .trip-card-booking-status,
.customer-home .profile-booking-date-box .day,
.customer-home .profile-empty-link,
.customer-home .profile-info-group label,
.customer-home .profile-status-text,
.customer-home .profile-cancel-btn,
.customer-home .profile-save-btn,
.customer-home .booking-pass-kicker,
.customer-home .booking-pass-pill,
.customer-home .booking-pass-panel-head h3,
.customer-home .booking-pass-summary-info strong,
.customer-home .booking-pass-metrics strong,
.customer-home .booking-pass-contact strong {
  font-weight: 600;
}

.customer-home .booking-form-group label,
.customer-home .profile-input-card label,
.customer-home .trip-search-group label,
.customer-home .trip-card-price .label,
.customer-home .trip-card-price-v2 .label,
.customer-home .booking-pass-metrics label,
.customer-home .booking-pass-contact label {
  font-weight: 500;
}
