/* ==========================================================================
   TRIPZEN DESIGN SYSTEM (ORIGINAL FONTS & COLOR PALETTE)
   ========================================================================== */

:root {
  /* Original Brand Palette */
  --bg: #f4efe6;
  --bg-deep: #f8f4ed;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #fffdf8;
  --line: rgba(55, 86, 74, 0.14);
  --ink: #17352b;
  --muted: #5f756d;
  --accent: #e8873a;
  --accent-strong: #c66120;
  --forest: #235946;
  --sage: #dce8df;

  /* Aliases matching components */
  --primary: var(--accent);
  --primary-hover: var(--accent-strong);
  --primary-light: rgba(232, 135, 58, 0.12);
  --primary-tint: #fbeee3;
  --primary-glow: rgba(232, 135, 58, 0.24);

  --text-main: var(--ink);
  --text-body: #2d453b;
  --text-muted: var(--muted);
  --text-subtle: #7d938b;

  --surface-border: var(--line);
  --surface-border-subtle: rgba(55, 86, 74, 0.08);

  /* Sidebar Active */
  --sidebar-active-bg: rgba(35, 89, 70, 0.1);
  --sidebar-active-text: var(--forest);
  --sidebar-active-icon: var(--forest);

  /* Status & Accents */
  --success: #235946;
  --success-light: #eef5ef;
  --success-border: #c8ddd0;
  --error: #b24c28;
  --error-light: #fdf2ee;
  --error-border: #f8cec1;
  --warning: #e8873a;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(33, 64, 54, 0.05);
  --shadow-sm: 0 4px 10px rgba(33, 64, 54, 0.06);
  --shadow-md: 0 12px 26px rgba(33, 64, 54, 0.08);
  --shadow-lg: 0 22px 50px rgba(33, 64, 54, 0.12);
  --shadow-xl: 0 30px 60px rgba(33, 64, 54, 0.16);
  --shadow-orange: 0 8px 20px rgba(232, 135, 58, 0.3);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(232, 135, 58, 0.18), transparent 30%),
    radial-gradient(circle at right 20%, rgba(35, 89, 70, 0.16), transparent 28%),
    linear-gradient(180deg, #f7f2ea 0%, #eef5ef 100%);
  background-attachment: fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
.brand strong,
.stitch-brand strong,
.page-header-stitch h1,
.card-section-title,
.auth-header-center h1 {
  font-family: 'Syne', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes badgePop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  80% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulseHeart {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes floatGentle {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-fade-in {
  animation: fadeIn var(--transition-normal) forwards;
}

.animate-scale-in {
  animation: scaleIn var(--transition-normal) forwards;
}

/* ==========================================================================
   BUTTONS & CONTROLS
   ========================================================================== */

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(232, 135, 58, 0.3);
  transition: all var(--transition-normal);
}

.primary-btn:hover {
  background: linear-gradient(135deg, var(--accent-strong), #a84c12);
  box-shadow: var(--shadow-orange);
  transform: translateY(-2px);
}

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

.primary-btn:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-border);
  transition: all var(--transition-fast);
}

.ghost-btn:hover {
  background: var(--sage);
  color: var(--ink);
  border-color: rgba(55, 86, 74, 0.25);
  transform: translateY(-1px);
}

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

.ghost-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.wide-btn {
  width: 100%;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   GLOBAL NOTIFICATIONS & BANNERS
   ========================================================================== */

.floating-notification {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1000;
  background: rgba(23, 53, 43, 0.95);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--accent);
  animation: slideInRight var(--transition-normal);
}

.global-banner {
  margin: 16px auto;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn var(--transition-normal);
}

.global-banner.error,
.status.error {
  background-color: var(--error-light);
  color: var(--error);
  border: 1px solid var(--error-border);
}

.global-banner.success,
.status.success,
.status {
  background-color: var(--success-light);
  color: var(--forest);
  border: 1px solid var(--success-border);
}

.status {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   TOP NAVIGATION BAR (Preferences, Public)
   ========================================================================== */

.topbar-stitch {
  width: 100%;
  background: rgba(255, 253, 248, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-xs);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stitch-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--forest);
  letter-spacing: -0.02em;
}

.stitch-brand span,
.stitch-brand strong {
  font-family: 'Syne', sans-serif;
}

.stitch-brand-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  display: block;
  transition: transform var(--transition-fast);
}

.stitch-brand:hover .stitch-brand-logo-img {
  transform: scale(1.06);
}

.stitch-brand-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--forest));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(232, 135, 58, 0.25);
}

.stitch-nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stitch-nav-item {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 8px 4px;
  transition: color var(--transition-fast);
}

.stitch-nav-item:hover {
  color: var(--ink);
}

.stitch-nav-item.active {
  color: var(--accent-strong);
  font-weight: 700;
}

.stitch-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--accent);
  border-radius: 3px 3px 0 0;
}

.stitch-topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stitch-signin-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: color var(--transition-fast);
}

.stitch-signin-link:hover {
  color: var(--accent-strong);
}

/* ==========================================================================
   DASHBOARD LAYOUT (Sidebar + Main Stage)
   ========================================================================== */

.dashboard-container {
  display: flex;
  min-height: 100vh;
  background: transparent;
}

.dashboard-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 90;
}

.sidebar-header {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--surface-border-subtle);
  margin-bottom: 20px;
}

.sidebar-user-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-md);
  background: rgba(35, 89, 70, 0.06);
  margin-top: 16px;
  transition: all var(--transition-fast);
  text-decoration: none;
  cursor: pointer;
}

.sidebar-user-pill:hover {
  background: rgba(35, 89, 70, 0.12);
  transform: translateY(-1px);
}

.sidebar-user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  background: var(--primary-tint);
}

.sidebar-user-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.sidebar-user-info span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.sidebar-nav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.sidebar-nav-link:hover {
  background: rgba(35, 89, 70, 0.08);
  color: var(--ink);
}

.sidebar-nav-link.active {
  background: var(--sidebar-active-bg);
  color: var(--sidebar-active-text);
  font-weight: 700;
}

.sidebar-nav-icon {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
}

.sidebar-nav-badge {
  margin-left: auto;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.sidebar-footer {
  padding-top: 16px;
  border-top: 1px solid var(--surface-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.sidebar-logout-btn:hover {
  color: var(--error);
  background: var(--error-light);
}

.dashboard-main-content {
  flex-grow: 1;
  padding: 36px 48px;
  max-width: 1300px;
  overflow-x: hidden;
}

/* ==========================================================================
   PAGE HEADERS
   ========================================================================== */

.page-header-stitch {
  margin-bottom: 32px;
  animation: fadeIn var(--transition-normal);
}

.page-header-stitch h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-header-stitch p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-top: 6px;
  max-width: 720px;
}

.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SCREEN 1: CURATE YOUR JOURNEY (PREFERENCES / PROFILE CREATION)
   ========================================================================== */

.curate-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}

.curate-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 36px;
  align-items: start;
}

/* Left Form Card */
.curate-form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.card-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 18px;
}

/* Dedicated Profile Photo Upload Component (Screenshot 1) */
.profile-upload-stitch {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

.profile-avatar-circle-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(35, 89, 70, 0.08);
  border: 2px dashed rgba(55, 86, 74, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 8px;
}

.profile-avatar-circle-wrap:hover {
  border-color: var(--accent);
  background: var(--primary-light);
  transform: scale(1.02);
}

.profile-avatar-circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.profile-camera-icon {
  font-size: 2.1rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-edit-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.profile-upload-caption {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.profile-upload-caption:hover {
  color: var(--accent-strong);
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.field-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-label span {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.stitch-input,
.stitch-select,
.stitch-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.stitch-input:focus,
.stitch-select:focus,
.stitch-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-divider-line {
  border: none;
  height: 1px;
  background-color: var(--line);
  margin: 22px 0;
}

/* Travel Style Pill Selectors */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.style-pill-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(35, 89, 70, 0.08);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.style-pill-btn:hover {
  background: rgba(35, 89, 70, 0.14);
}

.style-pill-btn.active {
  background: var(--primary-light);
  color: var(--accent-strong);
  border-color: var(--accent);
  font-weight: 700;
}

/* Right Destination Grid */
.destinations-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.destinations-header-bar h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
}

.select-multiple-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.destination-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.destination-stitch-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 2px solid transparent;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: left;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.destination-stitch-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.destination-stitch-card.selected {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(232, 135, 58, 0.22);
}

.destination-media-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--ink);
}

.destination-media-video,
.destination-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.destination-stitch-card:hover .destination-media-video,
.destination-stitch-card:hover .destination-media-img {
  transform: scale(1.05);
}

.destination-check-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  animation: badgePop var(--transition-fast) forwards;
}

.destination-stitch-card.selected .destination-check-badge {
  display: flex;
}

.destination-card-content {
  padding: 16px 18px;
}

.destination-card-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.destination-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Curate Footer */
.curate-footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 32px 0 16px;
}

.curate-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-nav-links a:hover {
  color: var(--ink);
}

.footer-copyright {
  font-size: 0.84rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   SCREEN 2: YOUR PERFECT MATCHES (DISCOVER)
   ========================================================================== */

.matches-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

/* Filters Card */
.filters-sidebar-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filters-sidebar-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 20px;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-group-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
  display: block;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 12px;
  font-size: 0.95rem;
  color: var(--muted);
}

.search-input-wrap .stitch-input {
  padding-left: 36px;
}

.filter-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(35, 89, 70, 0.08);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.filter-tag-pill:hover {
  background: rgba(35, 89, 70, 0.14);
}

.filter-tag-pill.active {
  background: var(--primary-light);
  color: var(--accent-strong);
  border: 1px solid var(--accent);
  font-weight: 700;
}

/* Slider Track */
.compatibility-slider-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compatibility-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #fdba74 0%, var(--accent) 100%);
  outline: none;
}

.compatibility-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.compatibility-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-labels-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

/* Match Cards Grid */
.stitch-matches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stitch-match-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.stitch-match-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(55, 86, 74, 0.25);
}

.match-photo-container {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: var(--ink);
  overflow: hidden;
}

.match-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.stitch-match-card:hover .match-photo-img {
  transform: scale(1.04);
}

.match-badge-float {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.match-badge-float span.heart {
  color: var(--accent);
  display: inline-block;
  animation: pulseHeart 2.2s infinite ease-in-out;
}

.match-card-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.match-card-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}

.match-planning-route {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
}

.match-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-badge-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(35, 89, 70, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.match-connect-btn {
  margin-top: auto;
  width: 100%;
}

/* ==========================================================================
   SCREEN 3: MESSAGES & CHAT (INBOX)
   ========================================================================== */

.inbox-stitch-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  height: calc(100vh - 120px);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Middle: Conversations List */
.inbox-conversations-column {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: rgba(255, 253, 248, 0.8);
}

.conversations-header {
  padding: 20px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.conversations-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.conversations-search-wrap {
  padding: 0 20px 16px;
}

.conversations-scroll-list {
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.conversation-stitch-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--surface-border-subtle);
  text-align: left;
  transition: background var(--transition-fast);
  position: relative;
  cursor: pointer;
}

.conversation-stitch-item:hover {
  background: rgba(35, 89, 70, 0.05);
}

.conversation-stitch-item.active {
  background: rgba(35, 89, 70, 0.1);
}

.avatar-online-wrap {
  position: relative;
  flex-shrink: 0;
}

.conversation-item-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-tint);
}

.online-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--forest);
  border: 2px solid #fff;
}

.conversation-item-content {
  flex-grow: 1;
  min-width: 0;
}

.conversation-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.conversation-item-top strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-item-top span.time {
  font-size: 0.75rem;
  color: var(--text-subtle);
  flex-shrink: 0;
}

.conversation-item-snippet {
  font-size: 0.84rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-unread-pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Right: Active Chat Area */
.inbox-active-chat-column {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.7);
}

.chat-room-header {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-partner-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.chat-partner-info strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.chat-partner-info span.status-text {
  display: block;
  font-size: 0.78rem;
  color: var(--forest);
  font-weight: 600;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-icon-action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.chat-icon-action-btn:hover {
  background: rgba(35, 89, 70, 0.1);
  color: var(--ink);
}

/* Messages Stream */
.chat-messages-container {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.date-divider-pill {
  margin: 8px auto 16px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}

.message-row-wrap {
  display: flex;
  flex-direction: column;
  max-width: 65%;
  animation: fadeIn var(--transition-fast);
}

.message-row-wrap.incoming {
  align-self: flex-start;
}

.message-row-wrap.outgoing {
  align-self: flex-end;
}

.message-bubble-stitch {
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.94rem;
  line-height: 1.45;
  box-shadow: var(--shadow-xs);
}

.message-row-wrap.incoming .message-bubble-stitch {
  background: #ffffff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.message-row-wrap.outgoing .message-bubble-stitch {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  border-bottom-right-radius: 4px;
}

.message-time-sub {
  font-size: 0.72rem;
  color: var(--text-subtle);
  margin-top: 4px;
}

.message-row-wrap.incoming .message-time-sub {
  align-self: flex-start;
}

.message-row-wrap.outgoing .message-time-sub {
  align-self: flex-end;
}

/* Chat Input Bar */
.chat-input-toolbar {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-input-bubble-wrap {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.chat-text-input {
  width: 100%;
  padding: 12px 48px 12px 18px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: all var(--transition-fast);
}

.chat-text-input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.emoji-btn-inside {
  position: absolute;
  right: 14px;
  font-size: 1.15rem;
  color: var(--muted);
}

.chat-send-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(232, 135, 58, 0.3);
  transition: all var(--transition-fast);
}

.chat-send-fab:hover {
  transform: scale(1.05);
}

/* ==========================================================================
   SCREEN 4: FIND YOUR GROUP ADVENTURE (EXPLORE & PACKAGES)
   ========================================================================== */

.packages-filter-bar-stitch {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  padding: 12px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-bar-search {
  flex-grow: 1;
  min-width: 220px;
}

.filter-bar-select {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.packages-cards-grid-stitch {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stitch-package-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.stitch-package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(55, 86, 74, 0.25);
}

.package-media-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  background: var(--ink);
  overflow: hidden;
}

.package-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.stitch-package-card:hover .package-cover-img {
  transform: scale(1.04);
}

.package-rating-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.package-card-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.package-card-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.25;
}

.package-operator-sub {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.package-chips-row {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.package-chip {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(35, 89, 70, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.package-card-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--surface-border-subtle);
}

.package-top-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(232, 135, 58, 0.35);
  z-index: 2;
}

.package-inclusions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.package-inclusion-tag {
  font-size: 0.75rem;
  color: var(--primary-dark);
  background: rgba(35, 89, 70, 0.07);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.package-payment-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  padding: 8px 10px;
  background: rgba(244, 239, 230, 0.6);
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(55, 86, 74, 0.2);
}

.package-payment-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: 100%;
  margin-bottom: 2px;
}

.package-payment-method-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: #37564a;
  background: #ffffff;
  border: 1px solid rgba(55, 86, 74, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

.package-price-wrap {
  display: flex;
  flex-direction: column;
}

.package-price-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.package-price-header strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.package-original-price {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.package-discount-badge {
  font-size: 0.7rem;
  color: #2e7d32;
  background: #e8f5e9;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.package-price-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.package-bottom-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.package-invite-btn {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--surface);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.package-pdf-btn {
  border: 1px solid rgba(35, 89, 70, 0.2) !important;
  color: var(--forest) !important;
  background: #ffffff !important;
  transition: all var(--transition-fast);
}

.package-pdf-btn:hover {
  background: rgba(35, 89, 70, 0.08) !important;
  border-color: var(--forest) !important;
}

.package-invite-btn:hover {
  background: var(--sage);
  color: var(--ink);
  border-color: rgba(55, 86, 74, 0.25);
}

/* ==========================================================================
   SHARED-COST GROUPS & DETAIL MODAL
   ========================================================================== */

.group-trips-section {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.group-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.stitch-group-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-border);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
  position: relative;
}

.stitch-group-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(35, 89, 70, 0.12);
  border-color: var(--forest);
}

.group-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.group-card-top h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.group-savings-badge {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.group-create-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.group-create-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.group-create-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 18px 0;
}

.group-member-progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface-border-subtle);
  border-radius: 999px;
  overflow: hidden;
  margin: 8px 0 14px 0;
}

.group-member-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--accent));
  border-radius: 999px;
}

/* ==========================================================================
   AUTH PAGE & HERO WITH ORIGINAL VIDEO (UNBLURRED & CRISP)
   ========================================================================== */

.auth-hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  overflow: hidden;
}

.auth-hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: none !important;
}

.auth-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17, 39, 32, 0.72) 0%, rgba(17, 39, 32, 0.22) 50%, rgba(17, 39, 32, 0.72) 100%);
  z-index: 1;
}

.auth-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.auth-hero-left {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn var(--transition-normal);
}

.auth-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffedd5;
  width: fit-content;
}

.auth-hero-left h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.auth-hero-left p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 540px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.auth-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pill-point {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
}

/* Traveler Corner Love Card (What travelers love) */
.traveler-corner-love-card {
  margin-top: 14px;
  background: rgba(17, 39, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  max-width: 480px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.love-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.compass-badge {
  font-size: 1.2rem;
}

.love-tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.traveler-corner-love-card blockquote {
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  color: #fffdf8;
  line-height: 1.45;
}

.love-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.auth-card-stitch {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 253, 248, 0.96);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 32px 28px;
  box-shadow: var(--shadow-xl);
  animation: scaleIn var(--transition-normal);
}

.auth-header-center {
  text-align: center;
  margin-bottom: 20px;
}

.auth-header-center h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-top: 10px;
}

.auth-header-center p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}

.auth-toggle-pill {
  display: flex;
  background: rgba(35, 89, 70, 0.08);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.auth-toggle-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.auth-toggle-btn.active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

/* Cool Interactive Gender Pills */
.interactive-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.choice-pill-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  transition: all var(--transition-fast);
}

.choice-pill-btn:hover {
  background: rgba(35, 89, 70, 0.06);
  border-color: rgba(55, 86, 74, 0.3);
  color: var(--ink);
  transform: translateY(-1px);
}

.choice-pill-btn.active {
  background: var(--primary-light);
  border-color: var(--accent);
  color: var(--accent-strong);
  box-shadow: 0 2px 8px rgba(232, 135, 58, 0.18);
}

.choice-icon {
  font-size: 1.05rem;
}

/* Cool Interactive Travel Style 2x2 Cards */
.choice-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.choice-sub-hint {
  font-size: 0.72rem;
  color: var(--accent-strong);
  font-weight: 700;
}

.interactive-style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 4px;
}

.style-choice-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.style-choice-card:hover {
  border-color: rgba(232, 135, 58, 0.5);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.style-choice-card.active {
  border-color: var(--accent);
  background: #fffcf8;
  box-shadow: 0 4px 14px rgba(232, 135, 58, 0.22);
}

.style-card-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.style-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}

.style-card-text strong {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.style-choice-card.active .style-card-text strong {
  color: var(--accent-strong);
}

.style-card-text small {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.25;
}

.style-check-circle {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 900;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.style-choice-card.active .style-check-circle {
  display: flex;
}

/* ==========================================================================
   MATCH PROFILE DETAIL VIEW
   ========================================================================== */

.match-detail-card-stitch {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 20px;
}

.match-detail-hero {
  display: flex;
  gap: 28px;
  padding: 32px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.match-detail-avatar-big {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-tint);
}

.match-detail-overview-chips {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.overview-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(35, 89, 70, 0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.overview-pill.strong {
  background: var(--primary-light);
  color: var(--accent-strong);
  font-weight: 700;
}

.profile-facts-stitch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 24px 32px;
  background: rgba(35, 89, 70, 0.04);
  border-bottom: 1px solid var(--line);
}

.fact-chip-stitch {
  background: #ffffff;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border-subtle);
}

.fact-chip-stitch span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.fact-chip-stitch strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.match-detail-body {
  padding: 32px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .dashboard-sidebar {
    width: 80px;
    padding: 16px 8px;
    align-items: center;
  }
  .sidebar-user-info,
  .sidebar-nav-link span,
  .sidebar-logout-btn span,
  .sidebar-header .stitch-brand span {
    display: none;
  }
  .sidebar-nav-link {
    justify-content: center;
    padding: 12px;
  }
  .sidebar-user-pill {
    padding: 4px;
  }
  .curate-grid,
  .matches-layout-grid {
    grid-template-columns: 1fr;
  }
  .packages-cards-grid-stitch {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   DEDICATED PROFILE CREATION STYLES
   ========================================================================== */

.profile-setup-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .profile-setup-grid {
    grid-template-columns: 1fr;
  }
}

.profile-setup-avatar-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.profile-avatar-large-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 3px dashed var(--surface-border);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 12px;
  overflow: hidden;
}

.profile-avatar-large-wrap:hover {
  border-color: var(--accent);
  background: var(--primary-tint);
  transform: scale(1.03);
}

.profile-avatar-large-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-presets-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 12px;
}

.avatar-presets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
}

.preset-avatar-btn {
  background: var(--surface-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preset-avatar-btn:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.preset-avatar-btn.active {
  border-color: var(--accent);
  background: var(--primary-tint);
}

.preset-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.interests-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.interest-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1.5px solid var(--surface-border);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.interest-tag-pill:hover {
  border-color: var(--forest);
  background: rgba(35, 89, 70, 0.06);
}

.interest-tag-pill.active {
  background: var(--forest);
  border-color: var(--forest);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(35, 89, 70, 0.25);
}

.interest-tag-check {
  font-size: 0.8rem;
  opacity: 0.7;
}

.interest-tag-pill.active .interest-tag-check {
  opacity: 1;
}

/* ==========================================================================
   CHECKOUT MODAL & BOOKING GATEWAY WORKFLOW
   ========================================================================== */

.checkout-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 20, 0.72);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease-out forwards;
}

.checkout-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.checkout-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--surface-border-subtle);
  background: var(--surface-alt);
}

.checkout-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-close-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.checkout-close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--ink);
}

.checkout-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-package-summary {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: rgba(35, 89, 70, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 89, 70, 0.12);
  align-items: center;
}

.checkout-pkg-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.checkout-pkg-info h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px 0;
}

.checkout-pkg-info p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

.checkout-section-title {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stepper-counter-wrap {
  display: inline-flex;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 12px;
}

.stepper-btn {
  width: 34px;
  height: 34px;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background var(--transition-fast);
}

.stepper-btn:hover {
  background: var(--primary-tint);
  color: var(--forest);
}

.stepper-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  min-width: 24px;
  text-align: center;
}

.checkout-fare-breakdown {
  background: var(--surface-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fare-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-body);
}

.fare-row.total-row {
  border-top: 1.5px dashed rgba(0, 0, 0, 0.15);
  padding-top: 10px;
  margin-top: 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.checkout-pay-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #e8873a, #c66120);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(232, 135, 58, 0.4);
  transition: all var(--transition-fast);
}

.checkout-pay-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 135, 58, 0.5);
}

.checkout-trust-badge {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

/* Booking Voucher */
.booking-voucher-card {
  text-align: center;
  padding: 12px 0;
}

.voucher-check-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.2);
}

.voucher-ticket-box {
  background: var(--surface-alt);
  border: 2px dashed rgba(55, 86, 74, 0.3);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin: 20px 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.voucher-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.86rem;
}

.voucher-row strong {
  color: var(--ink);
}

.voucher-row span {
  color: var(--muted);
}

.budget-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .budget-chips-grid {
    grid-template-columns: 1fr;
  }
}

.budget-chip-card {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--surface-border);
  background: var(--surface-alt);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.budget-chip-card:hover {
  border-color: var(--accent);
}

.budget-chip-card.active {
  border-color: var(--accent);
  background: var(--primary-tint);
  box-shadow: 0 4px 12px rgba(232, 135, 58, 0.15);
}

.budget-chip-card strong {
  font-size: 0.92rem;
  color: var(--ink);
}

.budget-chip-card small {
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .topbar-inner {
    flex-direction: column;
    gap: 14px;
  }
  .stitch-nav-menu {
    gap: 16px;
    font-size: 0.88rem;
  }
  .dashboard-container {
    flex-direction: column;
  }
  .dashboard-sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    position: sticky;
    bottom: 0;
    top: auto;
    border-right: none;
    border-top: 1px solid var(--line);
    padding: 8px 16px;
  }
  .sidebar-header,
  .sidebar-user-pill,
  .sidebar-footer {
    display: none;
  }
  .sidebar-nav-list {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }
  .dashboard-main-content {
    padding: 20px 16px 80px;
  }
  .destination-cards-grid,
  .stitch-matches-grid,
  .packages-cards-grid-stitch,
  .group-cards-grid {
    grid-template-columns: 1fr;
  }
  .inbox-stitch-container {
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* ==========================================================================
   TRIPZEN ITINERARY VIEWER MODAL & PRINT STYLING
   ========================================================================== */

.itinerary-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 760px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.itinerary-modal-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 32px 28px 24px;
  color: #ffffff;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.itinerary-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.itinerary-close-btn:hover {
  background: rgba(0, 0, 0, 0.8) !important;
  transform: scale(1.08);
}

.itinerary-modal-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.itinerary-modal-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 6px 0;
  color: #ffffff;
}

.itinerary-modal-subtitle {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin: 0;
}

.itinerary-modal-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.itinerary-facts-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.itinerary-fact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.itinerary-fact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.itinerary-fact-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.itinerary-overview-box {
  background: rgba(16, 185, 129, 0.07);
  border-left: 3.5px solid var(--forest);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.92rem;
  color: #374151;
  line-height: 1.6;
}

.itinerary-section-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
}

.itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.itinerary-day-box {
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.itinerary-day-header {
  background: var(--surface-alt);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--surface-border-subtle);
}

.itinerary-day-pill {
  background: var(--forest);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.itinerary-day-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
  flex: 1;
}

.itinerary-day-alt {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}

.itinerary-day-content {
  padding: 12px 14px;
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
}

.itinerary-day-meta {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--surface-border-subtle);
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

.itinerary-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.itinerary-col-box {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.itinerary-checklist-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.itinerary-checklist-ul li {
  font-size: 0.84rem;
  color: #374151;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.itinerary-checklist-ul:not(.exclusions) li::before {
  content: "✓";
  color: var(--forest);
  font-weight: 900;
}

.itinerary-checklist-ul.exclusions li::before {
  content: "✕";
  color: #ef4444;
  font-weight: 900;
}

.itinerary-actions-bar {
  background: var(--surface-alt);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.itinerary-price-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
}

.itinerary-price-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.itinerary-cta-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 640px) {
  .itinerary-facts-strip {
    grid-template-columns: 1fr 1fr;
  }
  .itinerary-two-col {
    grid-template-columns: 1fr;
  }
  .itinerary-actions-bar {
    flex-direction: column;
    text-align: center;
  }
  .itinerary-cta-btns {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   WHATSAPP BOOKING CONFIRMATION & NOTIFICATION BOX
   ========================================================================== */

.whatsapp-booking-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.12);
  position: relative;
  overflow: hidden;
}

.whatsapp-box-header {
  margin-bottom: 12px;
}

.whatsapp-brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-icon {
  font-size: 1.8rem;
  background: #25D366;
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.whatsapp-box-title {
  margin: 0 0 2px 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #065f46;
}

.whatsapp-box-desc {
  margin: 0;
  font-size: 0.82rem;
  color: #047857;
  line-height: 1.4;
}

.whatsapp-btn-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.whatsapp-action-btn {
  background: #25D366;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all var(--transition-fast);
  flex: 1;
  justify-content: center;
  text-align: center;
}

.whatsapp-action-btn:hover {
  background: #1eb956;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-copy-btn {
  background: #ffffff;
  color: #065f46;
  border: 1px solid #86efac;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.whatsapp-copy-btn:hover {
  background: #f0fdf4;
  border-color: #22c55e;
  color: #047857;
}

/* ==========================================================================
   TRIPZEN OFFICIAL AUTOMATED WHATSAPP CONFIRMATION CARD
   ========================================================================== */

.whatsapp-official-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
  border: 1.5px solid #6ee7b7;
  border-radius: var(--radius-xl, 16px);
  padding: 20px 22px;
  margin-top: 16px;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.14);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeIn 0.3s ease-out;
}

.whatsapp-official-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #059669, #047857);
}

.whatsapp-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.whatsapp-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #065f46;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.1);
}

.whatsapp-pulse-dot {
  width: 9px;
  height: 9px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: waPulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.whatsapp-verified-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #10b981;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.whatsapp-status-pill {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.whatsapp-dispatch-details {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md, 12px);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.whatsapp-detail-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
  flex-wrap: wrap;
}

.whatsapp-detail-label {
  color: #065f46;
  font-weight: 700;
  min-width: 80px;
}

.whatsapp-detail-val {
  color: #1f2937;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.whatsapp-detail-val code {
  background: #e2e8f0;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: monospace;
}

.whatsapp-actions-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.whatsapp-chat-official-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 11px 18px;
  border-radius: var(--radius-md, 10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast, 0.2s ease);
  flex: 1 1 240px;
  text-align: center;
  border: none;
  cursor: pointer;
}

.whatsapp-chat-official-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.whatsapp-resend-btn {
  background: #ffffff;
  color: #065f46;
  border: 1.5px solid #6ee7b7;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: all var(--transition-fast, 0.2s ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.whatsapp-resend-btn:hover {
  background: #f0fdf4;
  border-color: #10b981;
  color: #047857;
  transform: translateY(-1px);
}

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

/* ==========================================================================
   MY BOOKINGS & RESERVATIONS DASHBOARD
   ========================================================================== */

.bookings-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .bookings-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .bookings-metrics-grid {
    grid-template-columns: 1fr;
  }
}

.booking-metric-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 14px);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.booking-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(35, 89, 70, 0.25);
}

.booking-metric-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(35, 89, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.booking-metric-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booking-metric-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.booking-metric-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
}

.bookings-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.booking-history-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl, 18px);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.booking-history-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(35, 89, 70, 0.1);
  border-color: rgba(35, 89, 70, 0.3);
}

.booking-card-top-header {
  background: linear-gradient(135deg, rgba(35, 89, 70, 0.06) 0%, rgba(244, 239, 230, 0.4) 100%);
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.booking-card-title-group h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.booking-card-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

.booking-card-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
}

.booking-card-main-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-meta-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: rgba(35, 89, 70, 0.03);
  border: 1px solid rgba(35, 89, 70, 0.1);
  border-radius: var(--radius-md, 10px);
  padding: 12px 16px;
}

@media (max-width: 768px) {
  .booking-meta-strip-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.booking-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.booking-meta-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.booking-meta-data {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink);
}

.booking-card-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--surface-border-subtle);
  flex-wrap: wrap;
}

.booking-amount-box {
  display: flex;
  flex-direction: column;
}

.booking-amount-lbl {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}

.booking-amount-val {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--forest);
}

.booking-btn-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-counter-pill {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
   AGENCY & COST-SHARING GROUP TRIPS DASHBOARD & MODAL
   ========================================================================== */

.group-squad-hero {
  background: linear-gradient(135deg, rgba(35, 89, 70, 0.08) 0%, rgba(232, 135, 58, 0.08) 100%);
  border: 1px solid rgba(35, 89, 70, 0.15);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.group-squad-hero-text h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px 0;
}

.group-squad-hero-text p {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
}

.group-filter-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.group-filter-tabs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.group-tabs-group {
  display: flex;
  gap: 8px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-border);
}

.group-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-body);
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.group-tab-btn:hover {
  color: var(--forest);
}

.group-tab-btn.active {
  background: var(--forest);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(35, 89, 70, 0.25);
}

.group-hide-full-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  background: var(--surface);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-border);
}

.group-hide-full-toggle input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--forest);
  width: 16px;
  height: 16px;
}

.agency-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(35, 89, 70, 0.08);
  color: var(--forest);
  border: 1px solid rgba(35, 89, 70, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.creator-gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
}

.slots-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
}

.slots-status-pill.open {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.slots-status-pill.full {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.group-fixed-price-box {
  display: flex;
  flex-direction: column;
}

.group-fixed-price-val {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--forest);
  line-height: 1.1;
}

.group-fixed-price-val span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.group-batch-pool-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}

.group-inclusions-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-body);
  background: rgba(0, 0, 0, 0.02);
  border: 1px dashed var(--surface-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  margin: 12px 0;
}

.group-members-strip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--surface-border-subtle);
}

.group-avatar-stack {
  display: flex;
  align-items: center;
}

.group-avatar-stack-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -8px;
  object-fit: cover;
  background: var(--sage);
}

.group-avatar-stack-img:first-child {
  margin-left: 0;
}

.btn-delete-group {
  background: transparent;
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-delete-group:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #b91c1c;
}

.btn-instant-join {
  background: linear-gradient(135deg, var(--forest) 0%, #1c4537 100%);
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(35, 89, 70, 0.2);
}

.btn-instant-join:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(35, 89, 70, 0.3);
}

.card-is-sold-out {
  opacity: 0.82;
  border-color: rgba(220, 38, 38, 0.3) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
}

/* Accessible Modal */
.agency-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 39, 32, 0.65);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.agency-modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--surface-border);
  padding: 32px;
  position: relative;
}

.agency-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--surface-border);
}

.agency-modal-header h2 {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.agency-modal-header p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

.modal-close-icon-btn {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.modal-close-icon-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--ink);
}