@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/archivoblack-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-variable-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --bs-body-font-family:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  --font-heading:
    "Archivo Black", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Arial, sans-serif;
  --font-body:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Arial, sans-serif;
  --bs-body-color: #212529;
  --bs-body-color-rgb: 33, 37, 41;
  --brand-primary: #072d2d;
  --brand-primary-rgb: 7, 45, 45;
  --brand-bold: #ccff00;
  --brand-bold-rgb: 204, 255, 0;
  --brand-cta: #fe4b2d;
  --brand-cta-rgb: 254, 75, 45;
  --bg-warm: #eff2e6;
  --bs-orange-rgb: 253, 126, 20;
  --bs-primary: #fe4b2d;
  --bs-primary-rgb: 254, 75, 45;
  --bs-warning: #ffcc00;
  --bs-warning-rgb: 255, 204, 0;
  --custom-darkgreen: #008c6d;
  --custom-darkgreen-rgb: 0, 140, 109;
  --custom-navyblue: #060817;
  --custom-navyblue-rgb: 6, 8, 23;
}

/* ═══════════════════════════════════════
   BASE
═══════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  height: 100dvh;
}
body {
  font-family: var(--font-body);
  background: var(--brand-primary);
  color: var(--bs-dark);
  overflow: hidden;
}

.font-heading {
  font-family: var(--font-heading);
}
.font-body {
  font-family: var(--font-body);
}
.bg-brand-primary {
  background-color: var(--brand-primary);
}
.bg-brand-bold {
  background-color: var(--brand-bold);
}
.bg-brand-cta {
  background-color: var(--brand-cta);
}
.text-brand-primary {
  color: var(--brand-primary);
}
.text-brand-bold {
  color: var(--brand-bold);
}
.text-brand-cta {
  color: var(--brand-cta);
}

/* ═══════════════════════════════════════
   TOPBAR
═══════════════════════════════════════ */
.topbar {
  height: 60px;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  position: relative;
  z-index: 300;
  flex-shrink: 0;
}

.topbar .navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

.topbar .navbar-brand .logo {
  font-size: 1.5rem;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.675rem;
  color: var(--bs-light);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.trust-badge i {
  color: var(--bs-warning);
  font-size: 0.875rem;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-bold);
  border: 1px solid rgba(var(--brand-bold-rgb),0.25);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.67rem;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ldot {
  width: 6px;
  height: 6px;
  background: var(--brand-cta);
  border-radius: 50%;
  animation: ld 1.8s ease infinite;
  flex-shrink: 0;
}
@keyframes ld {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.7);
  }
}

/* ═══════════════════════════════════════
   APP LAYOUT
═══════════════════════════════════════ */
.app-wrap {
  display: flex;
  height: calc(100dvh - 60px);
}

/* ═══════════════════════════════════════
   LEFT - CHAT PANEL (light theme)
═══════════════════════════════════════ */
.chat-panel {
  width: 42%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  background: var(--bs-white);
  border-right: 1px solid #e2dfd8;
  /* cp tokens declared above on .chat-panel */
}

/* ── Chat header strip ── */
.chat-header {
  padding: 12px 16px 10px;
  border-bottom: 1px solid rgba(var(--bs-black-rgb),0.1);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bs-white);
}
.chat-header-av {
  width: 34px;
  height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.chat-header-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.chat-header-info {
  flex: 1;
  min-width: 0;
}
.chat-header-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--bs-dark);
  line-height: 1.25;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.chat-header-status {
  font-size: 0.65rem;
  color: var(--bs-success);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.chat-header-step {
  font-size: 0.65rem;
  color: rgba(var(--bs-black-rgb),0.25);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

/* ── Messages pane ── */
.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--bs-light);
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--bs-black-rgb),0.1) transparent;
}
.chat-msgs::-webkit-scrollbar {
  width: 3px;
}
.chat-msgs::-webkit-scrollbar-thumb {
  background: rgba(var(--bs-black-rgb),0.12);
  border-radius: 3px;
}

/* ── Sender labels ── */
.sndr {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(var(--bs-black-rgb),0.25);
  margin-top: 4px;
}
.sndr.u {
  text-align: right;
  margin-top: 4px;
}

/* ── Bot avatar ── */
.av {
  width: 30px;
  flex-shrink: 0;
}
.av .image{
  width: 30px;
  height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.av-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 7px;
  height: 7px;
  background: var(--bs-success);
  border-radius: 50%;
  border: 1.5px solid var(--bs-light);
}

/* Bot bubble - white card on light background */
.bbl {
  background: var(--bs-white);
  border: 1px solid rgba(var(--bs-black-rgb),0.1);
  color: var(--bs-dark);
  padding: 12px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 88%;
  animation: msgIn 0.28s ease;
  font-weight: 400;
  display: inline-block;
  box-shadow: 0 1px 4px rgba(var(--bs-black-rgb),0.05);
}
.bbl strong {
  font-weight: 700;
}
.bbl p {
  margin: 0;
}
.bbl p + p {
  margin-top: 0.5em;
}

/* User bubble - stays red/branded */
.bbl-u {
  background: var(--brand-cta);
  color: var(--bs-white);
  padding: 12px 14px;
  border-radius: 16px 16px 4px 16px;
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 78%;
  animation: msgIn 0.28s ease;
  box-shadow: rgba(var(--brand-cta-rgb),0.25);
  font-weight: 500;
}
.u-row {
  display: flex;
  justify-content: flex-end;
}

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

/* ── Quick reply chips ── */
.qr-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  margin-top: 10px;
}
.qr {
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--brand-cta-rgb),0.35);
  color: var(--brand-cta);
  padding: 6px 12px;
  margin: 0;
  border-radius: 20px;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.qr:hover {
  background: var(--brand-cta);
  color: var(--bs-white);
  border-color: var(--brand-cta);
}

/* ═══════════════════════════════════════
   FORM CONTROLS INSIDE CHAT (light)
═══════════════════════════════════════ */
.chat-input-group {
  display: flex;
  gap: 0;
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  max-width: 340px;
  margin-top: 8px;
  box-shadow: 0 1px 4px rgba(var(--bs-black-rgb),0.05);
}
.chat-input-group:focus-within {
  border-color: var(--brand-cta);
}
.chat-input-group .form-control,
.chat-input-group .form-select {
  background: transparent;
  border: none;
  color: var(--bs-dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 13px;
  flex: 1;
  outline: none;
  box-shadow: none;
}
.chat-input-group .form-control::placeholder {
  color: rgba(var(--bs-black-rgb),0.25);
}
.chat-input-group .form-control:focus,
.chat-input-group .form-select:focus {
  box-shadow: none;
  background: transparent;
  color: var(--bs-dark);
}

/* Select light styling */
.chat-input-group .form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: var(--bs-dark);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a1a1aa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}
.chat-input-group .form-select option {
  background: var(--bs-white);
  color: var(--bs-dark);
}

.chat-input-group .btn-send-inline {
  background: var(--brand-cta);
  border: none;
  color: var(--bs-white);
  width: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.18s;
  font-size: 0.95rem;
}
.chat-input-group .btn-send-inline:hover {
  opacity: 0.85;
}

/* Textarea variant */
@media (min-width: 992px) {
  .chat-textarea-form {
    min-width: 340px;
  }
}

.chat-textarea {
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  border-radius: var(--bs-border-radius-lg);
  color: var(--bs-dark);
  font-size: 0.85rem;
  padding: 10px 13px;
  width: 100%;
  max-width: 340px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-top: 8px;
  box-shadow: 0 1px 4px rgba(var(--bs-black-rgb),0.05);
}
.chat-textarea:focus {
  border-color: var(--brand-cta);
  box-shadow: 0 0 0 3px rgba(var(--brand-cta-rgb),0.1);
}
.chat-textarea::placeholder {
  color: rgba(var(--bs-black-rgb),0.25);
}

/* Number stepper */
.number-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  max-width: 240px;
  margin-top: 8px;
  box-shadow: 0 1px 4px rgba(var(--bs-black-rgb),0.05);
}
/* +/− stepper buttons only - excludes .btn-send-inline */
.number-stepper button:not(.btn-send-inline) {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(var(--bs-black-rgb),0.75);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.number-stepper button:not(.btn-send-inline):hover {
  background: rgba(var(--brand-cta-rgb),0.08);
  color: var(--brand-cta);
}
.number-stepper input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--bs-dark);
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  outline: none;
  padding: 0;
  /* Hide native browser spinner arrows */
  appearance: textfield;
  -moz-appearance: textfield;
}
.number-stepper input::-webkit-outer-spin-button,
.number-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.number-stepper .btn-send-inline {
  width: 42px;
  height: 38px;
  flex-shrink: 0;
  background: var(--brand-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bs-white);
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.18s;
}
.number-stepper .btn-send-inline:hover {
  opacity: 0.85;
}

/* Date input */
input[type="date"].chat-date {
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  border-radius: var(--bs-border-radius-lg);
  color: var(--bs-dark);
  font-size: 0.85rem;
  padding: 9px 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-top: 8px;
  cursor: pointer;
}
input[type="date"].chat-date:focus {
  border-color: var(--brand-cta);
  box-shadow: 0 0 0 3px rgba(var(--brand-cta-rgb),0.1);
}
input[type="date"].chat-date::-webkit-calendar-picker-indicator {
  cursor: pointer;
}
.chat-input-group input[type="date"].chat-date {
  border: none;
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
}
.chat-input-group input[type="date"].chat-date:focus {
  border: none;
  box-shadow: none;
}

/* ── h-btn (category / action buttons) - light ── */
.h-btn {
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  color: rgba(var(--bs-black-rgb),0.75);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  letter-spacing: 0.2px;
  display: inline-block;
  box-shadow: 0 1px 3px rgba(var(--bs-black-rgb),0.05);
}
.h-btn:hover {
  background: rgba(var(--brand-cta-rgb),0.05);
  border-color: rgba(var(--brand-cta-rgb),0.5);
  color: var(--brand-cta);
}
.h-btn.primary {
  background: var(--brand-cta);
  border-color: transparent;
  color: var(--bs-white);
  box-shadow: 0 4px 14px rgba(var(--brand-cta-rgb),0.25);
}
.h-btn.primary:hover {
  opacity: 0.9;
}

/* ═══════════════════════════════════════
   ACTIVITY CARDS inside chat (light)
═══════════════════════════════════════ */
.act-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s;
  max-width: 400px;
  min-height: 72px;
  box-shadow: 0 1px 4px rgba(var(--bs-black-rgb),0.05);
}
.act-card:hover {
  border-color: var(--brand-cta);
  box-shadow: rgba(var(--brand-cta-rgb),0.25);
}
.act-card.selected {
  border-color: var(--bs-success);
  background: rgba(var(--bs-success-rgb),0.04);
}

.act-card-accent {
  width: 4px;
  flex-shrink: 0;
  background: var(--brand-cta);
}
.act-card-icon {
  width: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: #fdf4f5;
  border-right: 1px solid rgba(var(--bs-black-rgb),0.1);
}
.act-card-icon .btn {
  padding: 0;
  color: rgba(var(--bs-black-rgb),0.25);
  line-height: 1;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: color 0.18s;
}
.act-card-icon .btn:hover {
  color: var(--brand-cta);
}
.act-card-icon .btn i {
  font-size: 1.6rem;
}

.act-card-body {
  flex: 1;
  padding: 10px 13px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.act-card-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bs-dark);
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.act-card-desc {
  font-size: 0.75rem;
  color: rgba(var(--bs-black-rgb),0.75);
  line-height: 1.5;
  font-weight: 400;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.act-card-cta {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--bs-black-rgb),0.25);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.act-card:hover .act-card-cta {
  color: var(--brand-cta);
}
.act-card.selected .act-card-cta {
  color: var(--bs-success);
}

/* ═══════════════════════════════════════
   PRODUCT CARDS in chat (light)
═══════════════════════════════════════ */
.prod-shelf {
  padding: 0;
  margin: 0;
  margin-top: 10px;
}
.prod-cards-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--brand-bold-rgb),1) transparent;
}
.prod-cards-row::-webkit-scrollbar {
  height: 4px;
}
.prod-cards-row::-webkit-scrollbar-thumb {
  background: rgba(var(--bs-black-rgb),0.25);
  border-radius: 4px;
}

.prod-card {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 100%;
  max-width: 180px;
  background: var(--bs-white);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.175);
  border-radius: var(--bs-border-radius-xl);
  box-shadow: var(--bs-box-shadow-sm);
  overflow: hidden;
  cursor: pointer;  
  transition: all 0.22s;
}
.prod-card.selected {
  border-color: var(--bs-success);
  background: rgba(var(--bs-success-rgb),0.04);
}

.pc-img {
  width: 100%;
  height: 100px;
  position: relative;
  overflow: hidden;
  display: block;
  flex-shrink: 0;
}
.pc-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  padding: 10px 12px;
}
.pc-name {
  color: var(--bs-black);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  line-height: 1;  
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.pc-sub {
  color: var(--bs-black);
  font-size: 0.675rem;
  line-height: 1.25;
  font-weight: 500;
}
.pc-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pc-tag {
  color: rgba(var(--bs-black-rgb),0.75);
  font-size: 0.65rem;
  line-height: 1.25;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.pc-tag::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--bs-success);
  font-size: 0.7rem;
  line-height: 1.5;
  flex-shrink: 0;
  margin-top: 1px;
}
.pc-add-btn {
  width: 100%;
  margin-top: auto;
  background: rgba(var(--brand-cta-rgb),0.05);
  border: 1.5px solid rgba(var(--brand-cta-rgb),0.3);
  color: var(--brand-cta);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 0;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.18s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.prod-card.selected .pc-add-btn {
  background: rgba(var(--bs-success-rgb),0.08);
  border-color: var(--bs-success);
  color: var(--bs-success);
}
.pc-add-btn:hover, .pc-add-btn.picked{
  background: var(--brand-cta);
  color: var(--bs-white);
  border-color: var(--brand-cta);
}

.act-tabs {
  background: rgba(var(--brand-cta-rgb),0.05);
  border: none;
  border-bottom: 1px solid rgba(var(--bs-black-rgb),0.15);
  margin-bottom: 15px;
}

.act-tab {
  background: none;
  border: none;
  font-size: 0.785rem; 
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
}

.act-tab .nav-link {
  padding: 8px 16px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: rgba(var(--bs-black-rgb),1); 
  transition: background-color .15s, color .15s, border-color .15s;
}

.act-tab .nav-link.active {
  background: rgba(var(--brand-cta-rgb),0.25);
  border-bottom-color: var(--brand-cta);
  color: rgba(var(--bs-black-rgb),1); 
}

.act-tab .nav-link:hover {
  color: rgba(var(--bs-black-rgb),1); 
  border-bottom-color: rgba(var(--bs-black-rgb),0.15);
}

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

.act-grid .pc-add-btn {
  background: rgba(var(--brand-primary-rgb),0.05);
  border: 1.5px solid rgba(var(--brand-primary-rgb),0.35);
  color: var(--brand-primary);
  padding: 6px 12px;
  margin: 0;
  border-radius: 20px;
  font-size: 0.75rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  width: auto;
  text-transform: none;
  letter-spacing: 0px;
}

.act-grid .pc-add-btn:hover, .act-grid .pc-add-btn.picked {
  background: var(--brand-primary);
  color: var(--bs-white);
  border-color: var(--brand-primary);
}

.thats-all-btn {
  background: var(--bs-white);
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  transition: all 0.18s;
}
.thats-all-btn:hover {
  background: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
  color: var(--bs-white);  
}

/* ── Chat footer (light) ── */
.chat-footer {
  padding: 12px 16px 14px;
  background: var(--bs-white);
  border-top: 1px solid rgba(var(--bs-black-rgb),0.1);
  flex-shrink: 0;
}
.chat-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bs-light);
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);
  border-radius: 28px;
  padding: 6px 6px 6px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input-wrap:focus-within {
  border-color: var(--brand-cta);
  box-shadow: 0 0 0 3px rgba(var(--brand-cta-rgb),0.1);
}
.chat-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--bs-dark);
  font-size: 0.85rem;
  font-weight: 500;
}
.chat-input-wrap input::placeholder {
  color: rgba(var(--bs-black-rgb),0.25);
}
.send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  flex-shrink: 0;
  background: var(--brand-cta);
  color: var(--bs-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.82rem;
}
.send-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(var(--brand-cta-rgb),0.5);
}
.chat-hint {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(var(--bs-black-rgb),0.25);
  margin-top: 10px;
  letter-spacing: 0.3px;
}

/* Loading indicator in chat */
#loading {
  display: none;
}
#loading.htmx-request {
  display: block;
}

.typing-dots .spinner-grow {
  width: 0.5rem;
  height: 0.5rem;
  animation-duration: 1.15s;
}
.typing-dots.loading-dots .spinner-grow {
  width: 1rem;
  height: 1rem;
}
.typing-dots .spinner-grow:nth-child(1) {
  animation-delay: 0s;
}
.typing-dots .spinner-grow:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots .spinner-grow:nth-child(3) {
  animation-delay: 0.4s;
}

/* ═══════════════════════════════════════
   RIGHT - ITINERARY PANEL
═══════════════════════════════════════ */
.itin-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--brand-primary);
  columns: var(--bs-light);
  overflow: hidden;
}

/* ── Hero ── */
.itin-hero {
  position: relative;
  height: 190px;
  flex-shrink: 0;
  overflow: hidden;
}
.itin-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 13, 23, 0.05) 0%,
    rgba(8, 13, 23, 0.86) 100%
  );
}
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 20px 16px;
}
.hero-dest {
  color: var(--bs-white);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(var(--bs-black-rgb),0.5);
}
.hero-dest em {
  color: var(--bs-warning);
}
.hero-chips {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
/* Empty OOB pill targets should not reserve flex gap space. */
.hero-chips > [id$="-pill"]:empty {
  display: none;
}
#hero-name {
  color: var(--brand-bold);
}
.hchip {
  background: rgba(var(--bs-white-rgb),0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--bs-white-rgb),0.18);
  color: var(--bs-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.67rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.hchip .fa-xmark {
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.hchip .fa-xmark:hover {
  opacity: 1;
}

/* Ensure all HTMX delete controls show click affordance. */
[hx-delete] {
  cursor: pointer;
}

/* Progress bar */
.progress {
  height: 20px;
  background: rgba(var(--bs-black-rgb),0.1);
  border-radius: 10px;
  overflow: hidden;
}
.progress-bar {
  background: var(--brand-bold);
  border-radius: 10px;
  transition: width 0.6s ease;
  color: var(--brand-primary);
  font-size: 0.675rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Itin body ── */
.itin-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px 32px;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--bs-black-rgb),0.1) transparent;
}
.itin-body::-webkit-scrollbar {
  width: 4px;
}
.itin-body::-webkit-scrollbar-thumb {
  background: rgba(var(--bs-black-rgb),0.1);
  border-radius: 4px;
}

.itin-body .prod-card {
  max-width: 250px;
  border: none;
  box-shadow: none;
}

.itin-body .pc-img{
  width: 100%;
  height: 100%;
}

/* Section labels */
.sec-lbl {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(var(--bs-white-rgb),0.75);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sec-lbl::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(var(--bs-white-rgb),0.75);;
}

/* ── Activity card on right panel (selected state) ── */
.act-card.light {
  background: var(--bs-white);
  border-color: rgba(var(--bs-white-rgb),0.75);;
  max-width: 100%;
}
.act-card.light .act-card-title {
  color: var(--bs-dark);
}
.act-card.light .act-card-desc {
  color: rgba(var(--bs-black-rgb),0.75);
}
.act-card.light .act-card-icon {
  background: #fafaf8;
  border-right-color: rgba(var(--bs-white-rgb),0.75);;
}
.act-card.light .act-card-icon .btn {
  color: rgba(var(--bs-black-rgb),0.25);
}
.act-card.light .act-card-icon .btn:hover {
  color: var(--brand-cta);
}
.act-card.light:hover {
  border-color: rgba(var(--bs-black-rgb),0.25);
}

/* ── Auth / Quote form card ── */
.auth-card {
  background: var(--bs-white);
  border: 2px solid rgba(var(--bs-white-rgb),0.75);;
  border-radius: var(--bs-border-radius-xxl);
  padding: 22px 20px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(var(--bs-black-rgb),0.05);
}
.auth-headline {
  color: var(--bs-dark);
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.auth-sub {
  color: rgba(var(--bs-black-rgb),0.75);
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 15px;
}
.cd-bar {
  background: var(--brand-bold);
  border-radius: var(--bs-border-radius-lg);
  padding: 11px 15px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brand-primary);
}
.cd-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cd-time {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
}

.afield {
  width: 100%;
  border: 1.5px solid rgba(var(--bs-black-rgb),0.25);;
  border-radius: var(--bs-border-radius-lg);
  padding: 11px 13px;
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: var(--bs-dark);
  background: var(--bs-white);
}
.afield:focus {
  border-color: var(--brand-cta);
  box-shadow: 0 0 0 3px rgba(var(--brand-cta-rgb),0.08);
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  margin-top: 2px;
}
.privacy-row input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--brand-cta);
  cursor: pointer;
}
.privacy-row label {
  font-size: 0.76rem;
  color: rgba(var(--bs-black-rgb),0.75);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
}
.privacy-row label a {
  color: var(--brand-cta);
  text-decoration: underline;
  font-weight: 600;
}

.claim-btn {
  width: 100%;
  background: var(--brand-cta);
  color: var(--bs-white);
  border: none;
  border-radius: var(--bs-border-radius-lg);
  padding: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(var(--brand-cta-rgb),0.25);
}
.claim-btn:hover {
  box-shadow: rgba(var(--brand-cta-rgb),0.25);
}
.claim-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.auth-micro {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(var(--bs-black-rgb),0.25);
  margin-top: 10px;
  font-weight: 500;
}

/* ═══════════════════════════════════════
   MOBILE TABS
═══════════════════════════════════════ */
.mob-tabs {
  display: none;
}

@media (min-width: 768px) {
  .app-wrap.tab-content > .tab-pane {
    display: flex !important;
    opacity: 1 !important;
  }
}

@media (max-width: 767px) {
  .app-wrap {
    flex-direction: column;
  }
  .chat-panel,
  .itin-panel {
    width: 100%;
    min-width: 0;
    height: calc(100dvh - 60px - 45px);
    display: none;
  }
  .chat-panel.active,
  .itin-panel.active {
    display: flex;
  }
  .mob-tabs {
    display: flex;
    height: 45px;
    background: var(--bs-black);
  }
  .mob-tab {
    flex: 1;
    border: none;
    background: none;
    color: var(--bs-light);
    font-size: 0.675rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: color 0.2s;
  }
  .mob-tab i {
    font-size: 1rem;
  }
  .mob-tab.active {
    background: var(--brand-bold);
    color: var(--brand-primary);
  }
  .hero-dest {
    font-size: 1.875rem;
  }
  .chat-panel {
    border-right: none;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .chat-panel {
    width: 46%;
  }
}
