/* ==========================================================================
   TABIFLOW V2 — Modals
   --------------------------------------------------------------------------
   File:  styles/components/modals.css
   Scope: All rules scoped to html.tf-v2panel — zero V1 impact.
   Pass:  1 (CSS foundation)

   Components covered:
     1. Empty state          (.empty-state)
     2. Drop-pin card        (.mobile-place-stop / .mobile-place-current)
     3. A46 disclaimer       (#time-estimates-modal / #time-estimates-backdrop)

   NOTE — A46 copy: placeholder text (E1 Draft 1, locked 2026-05-17).
   Lawyer review 2026-05-22. Final text expected Sat/Mon post-meeting.
   Swap is a string replacement in planner.html — no CSS rebuild needed.
   ========================================================================== */


/* ── 1. Empty state ──────────────────────────────────────────────────────── */

html.tf-v2panel .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 480px;
  padding: var(--tf-space-xxl) var(--tf-space-lg);
  text-align: center;
}

html.tf-v2panel .empty-state .empty-mochi {
  width: 170px;
  height: 112px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

html.tf-v2panel .empty-state .empty-mochi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

html.tf-v2panel .empty-state h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 var(--tf-space-sm);
  color: var(--tf-text-primary);
}

html.tf-v2panel .empty-state p {
  font-size: 14px;
  color: var(--tf-text-secondary);
  max-width: 280px;
  margin: 0 auto var(--tf-space-xl);
  line-height: 1.6;
}

/* Start a new trip: primary coral CTA */
html.tf-v2panel #v2-start-new-trip-btn {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;

  /* Owner ruling 2026-08-16: raised 3D coral gradient for rectangle CTAs. */
  background-color: #df6d64 !important;
  background-image: linear-gradient(
    180deg,
    #f18a80 0%,
    #e47369 48%,
    #d65d56 100%
  ) !important;

  box-shadow:
    0 5px 0 #ad4944,
    0 10px 20px rgba(15, 30, 45, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;

  border: 1px solid rgba(129, 49, 45, 0.35) !important;

  text-shadow: 0 1px 2px rgba(86, 31, 28, 0.45);
}

/* Remove the old decorative overlay */
html.tf-v2panel #v2-start-new-trip-btn::before {
  content: none;
}

@media (hover: hover) {
  html.tf-v2panel #v2-start-new-trip-btn:hover {
    transform: translateY(-1px);

    box-shadow:
      0 12px 22px rgba(15, 30, 45, 0.3),
      0 0 0 0 transparent !important;
  }
}

html.tf-v2panel #v2-start-new-trip-btn:active {
  transform: translateY(3px);

  box-shadow:
    0 5px 12px rgba(15, 30, 45, 0.24),
    0 0 0 0 transparent !important;
}


/* ── 2. Drop-pin confirmation card (.mobile-place-current surface) ────────── */

html.tf-v2panel .mobile-place-stop {
  background: var(--tf-bg-surface);
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-md);
  padding: var(--tf-space-md);
}

html.tf-v2panel .mobile-place-stop.is-active {
  border-color: var(--tf-primary);
  background: var(--tf-bg-elevated);
}

html.tf-v2panel .mobile-place-stop-number {
  background: var(--tf-bg-elevated-2);
  color: var(--tf-text-secondary);
  border-radius: var(--tf-radius-sm);
  font-size: 11px;
  font-weight: 700;
  padding: 2px var(--tf-space-xs);
  line-height: 1.4;
}

html.tf-v2panel .mobile-place-saved-pin-status {
  color: var(--tf-text-muted);
  font-size: 12px;
}

html.tf-v2panel .mobile-place-saved-address {
  color: var(--tf-text-primary);
  font-size: 14px;
  font-weight: 500;
}

html.tf-v2panel .mobile-place-actions {
  display: flex;
  flex-direction: column;
  gap: var(--tf-space-sm);
  margin-top: var(--tf-space-sm);
}

html.tf-v2panel .mobile-place-copy {
  color: var(--tf-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

html.tf-v2panel .mobile-place-input {
  background: var(--tf-bg-elevated);
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-sm);
  color: var(--tf-text-primary);
  font-size: 14px;
  padding: var(--tf-space-sm) var(--tf-space-md);
  font-family: inherit;
}

html.tf-v2panel .mobile-place-input:focus {
  outline: none;
  border-color: var(--tf-primary);
  box-shadow: var(--tf-focus-ring);
}


/* ── 3. A46 time-estimates disclaimer modal ───────────────────────────────── */

html.tf-v2panel #time-estimates-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.6);
}

html.tf-v2panel #time-estimates-modal {
  position: fixed;
  inset: 0;
  z-index: 901;
  align-items: center;
  justify-content: center;
  padding: var(--tf-space-lg);
  transform: none;
  /* display flex/none toggled by JS via inline style */
}

html.tf-v2panel #time-estimates-modal .modal-header {
  display: none;
}

html.tf-v2panel #time-estimates-modal .modal-body {
  background: var(--tf-bg-surface);
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-xl);
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--tf-space-md);
}

html.tf-v2panel #time-estimates-modal .tf-modal-mochi {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tf-mochi-bg);
  border: 2px solid var(--tf-mochi-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  align-self: flex-start;
  flex-shrink: 0;
}

html.tf-v2panel #time-estimates-modal .tf-modal-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: var(--tf-text-primary);
}

html.tf-v2panel #time-estimates-modal .modal-body p {
  font-size: 13px;
  color: var(--tf-text-secondary);
  line-height: 1.6;
  margin: 0;
}

html.tf-v2panel #time-estimates-modal .modal-body .tf-signoff {
  color: var(--tf-text-primary);
  font-style: italic;
}

html.tf-v2panel #time-estimates-close {
  background: var(--tf-primary);
  color: var(--tf-primary-ink);
  border: 0;
  border-radius: var(--tf-radius-md);
  padding: var(--tf-space-md);
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  min-height: var(--tf-tap-min);
  margin-top: var(--tf-space-xs);
}


/* ── 4. Mochi safety pause (Reset / Delete confirm) ──────────────────────── */
/*
   Section 16b lock: safe action is PRIMARY (prominent, filled).
   Applies to BOTH Reset and Delete — Section 16b section meta says
   "User tapped Delete trip or Reset trip." Both get this pattern.
   Copy differentiates consequence (A71). Shape is identical.
*/

html.tf-v2panel #mochi-safety-backdrop {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

html.tf-v2panel #mochi-safety-backdrop.is-open {
  display: block;
}

html.tf-v2panel #mochi-safety-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--tf-space-lg);
}

html.tf-v2panel #mochi-safety-modal.is-open {
  display: flex;
}

html.tf-v2panel .mochi-safety-card {
  background: var(--tf-bg-elevated);
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-xl) var(--tf-space-lg) var(--tf-space-lg);
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--tf-space-md);
  text-align: center;
}

html.tf-v2panel .mochi-safety-mascots {
  width: 122px;
  max-width: 46%;
  height: auto;
  display: block;
  margin: 0 auto 14px;
  object-fit: contain;
}

html.tf-v2panel .mochi-safety-icon {
  font-size: 32px;
  line-height: 1;
}

html.tf-v2panel .mochi-safety-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--tf-text-primary);
  line-height: 1.3;
}

html.tf-v2panel .mochi-safety-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tf-text-secondary);
  max-width: 280px;
  /* Flex layout — copy can grow/shrink without breaking card */
}

/* Mochi-gated pin save — optional name input + hint inside safety modal.
 * Both hidden by default (hidden attribute on element); JS reveals when
 * opts.inputField is provided (pin save/repin flows). */
html.tf-v2panel .mochi-safety-input {
  width: 100%;
  max-width: 280px;
  padding: var(--tf-space-sm) var(--tf-space-md);
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-sm);
  background: var(--tf-bg-elevated);
  color: var(--tf-text-primary);
  font-size: 14px;
  font-family: inherit;
  min-height: var(--tf-tap-min);
  margin-top: var(--tf-space-xs);
  box-sizing: border-box;
}

html.tf-v2panel .mochi-safety-input:focus-visible {
  outline: none;
  border-color: var(--tf-primary);
  box-shadow: var(--tf-focus-ring);
}

/* Edit C — verified coords display under Edit Pin Stop tab's saved address.
 * Renders only when stop.pinData.locationLocked === true. Bytes-on-screen
 * trust signal: shows the exact lat/lng the user confirmed. */
html.tf-v2panel .mochi-saved-coords {
  margin: var(--tf-space-xs) 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--tf-text-secondary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

html.tf-v2panel .mochi-safety-hint {
  margin: var(--tf-space-xs) 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--tf-text-muted);
  max-width: 280px;
}

html.tf-v2panel .mochi-safety-actions {
  display: flex;
  flex-direction: column;
  gap: var(--tf-space-sm);
  width: 100%;
  margin-top: var(--tf-space-xs);
}

/* Keep my trip: raised coral primary action */
html.tf-v2panel .mochi-safety-btn-keep {
  min-height: 44px;
  width: 100%;
  border-radius: 14px;

  color: #ffffff;
  -webkit-text-fill-color: #ffffff;

  background-color: #df6d64;

  border: 1px solid rgba(129, 49, 45, 0.35);

  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;

  text-shadow: 0 1px 2px rgba(86, 31, 28, 0.45);
    background-image: linear-gradient(
      180deg,
      #f18a80 0%,
      #e47369 48%,
      #d65d56 100%
    ) !important;
    box-shadow:
      0 5px 0 #ad4944,
      0 10px 20px rgba(15, 30, 45, 0.28),
      inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;
}

@media (hover: hover) {
  html.tf-v2panel .mochi-safety-btn-keep:hover,
  html.tf-v2panel .mochi-safety-btn-keep:focus-visible {
    transform: translateY(-1px);

    box-shadow:
      0 12px 22px rgba(15, 30, 45, 0.3),
      0 0 0 0 transparent;

    outline: none;
  }
}

html.tf-v2panel .mochi-safety-btn-keep:active {
  transform: translateY(3px);

  box-shadow:
    0 5px 12px rgba(15, 30, 45, 0.24),
    0 0 0 0 transparent;
}


/* Load plan: same style as Load sample trip */
html.tf-v2panel .mochi-safety-btn-confirm {
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;

  color: #087f86;
  -webkit-text-fill-color: #087f86;
  background: #e8f7f7;
  border: 1px solid #a9dddd;

  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 600;

  box-shadow: none;
  text-shadow: none;
  filter: none;
}

/* Dark mode: exact Load sample trip palette */
html.tf-v2panel.tf-theme-dark .mochi-safety-btn-confirm {
  color: #75d5d5;
  -webkit-text-fill-color: #75d5d5;
  background: #17383c;
  border-color: #31666a;
}

html.tf-v2panel #trip-guard-backdrop .btn-primary {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  /* UI3 supersession: Planner primary actions use the solid coral-orange
     family, not the earlier blue/teal/coral brand gradient. Values taken from
     the approved build's #trip-guard-download rule below. */
  background-color: #df6d64;
  color: #ffffff;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
    background-image: linear-gradient(
      180deg,
      #f18a80 0%,
      #e47369 48%,
      #d65d56 100%
    ) !important;
    box-shadow:
      0 5px 0 #ad4944,
      0 10px 20px rgba(15, 30, 45, 0.28),
      inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;
}

html.tf-v2panel #trip-guard-backdrop .btn-primary:hover,
html.tf-v2panel #trip-guard-backdrop .btn-primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  outline: none;
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost {
  min-height: 42px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--tf-text-secondary);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost:hover,
html.tf-v2panel #trip-guard-backdrop .btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.055);
  color: var(--tf-text-primary);
  outline: none;
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost {
  min-height: 42px;
  width: 100%;
  border-radius: 14px;
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost:nth-of-type(2) {
  border: 1px solid rgba(255, 95, 147, 0.34);
  background: rgba(255, 95, 147, 0.08);
  color: #ff6b9a;
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost:nth-of-type(2):hover,
html.tf-v2panel #trip-guard-backdrop .btn-ghost:nth-of-type(2):focus-visible {
  background: rgba(255, 95, 147, 0.12);
  border-color: rgba(255, 95, 147, 0.48);
  outline: none;
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost:nth-of-type(3) {
  border: 1px solid rgba(207, 232, 236, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: var(--tf-text-secondary);
}

html.tf-v2panel #trip-guard-backdrop .btn-ghost:nth-of-type(3):hover,
html.tf-v2panel #trip-guard-backdrop .btn-ghost:nth-of-type(3):focus-visible {
  background: rgba(255, 255, 255, 0.055);
  color: var(--tf-text-primary);
  outline: none;
}

/* ── 5. About Tabiflow modal (Panel C) ───────────────────────────────────── */
/*
 * Triggered by handleHbgAction('about') — hamburger drawer ≡ → "About Tabiflow".
 * Opened / closed by openAboutModal() / closeAboutModal() in planner-page.js.
 * Both elements use inline style="display:none" in HTML so V1 users never see
 * card content — same pattern as #time-estimates-modal.
 * .is-open classes toggle visibility; !important defeats the inline style.
 * z-index map: same level as mochi-safety (299/300) — cannot be open simultaneously.
 */

html.tf-v2panel #tf-about-backdrop {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

html.tf-v2panel #tf-about-backdrop.is-open {
  display: block !important;
}

html.tf-v2panel #tf-about-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: var(--tf-space-lg);
}

html.tf-v2panel #tf-about-modal.is-open {
  display: flex !important;
}

html.tf-v2panel .about-card {
  background: var(--tf-bg-elevated);
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-lg);
  padding: var(--tf-space-lg);
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--tf-space-md);
}

html.tf-v2panel .about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--tf-space-sm);
}

html.tf-v2panel .about-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--tf-text-primary);
  flex: 1;
}

html.tf-v2panel .about-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--tf-text-secondary);
  cursor: pointer;
  min-height: var(--tf-tap-min);
  min-width: var(--tf-tap-min);
  border-radius: var(--tf-radius-md);
  transition: background 0.1s;
  padding: 0;
  font-family: inherit;
  line-height: 1;
  flex-shrink: 0;
}

html.tf-v2panel .about-close:hover,
html.tf-v2panel .about-close:focus-visible {
  background: var(--tf-bg-surface);
  outline: none;
}

html.tf-v2panel .about-body {
  display: flex;
  flex-direction: column;
  gap: var(--tf-space-md);
}

html.tf-v2panel .about-version {
  font-size: 13px;
  color: var(--tf-text-muted);
}

html.tf-v2panel .about-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--tf-border-soft);
  border-radius: var(--tf-radius-md);
  overflow: hidden;
}

html.tf-v2panel .about-link {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--tf-primary);
  text-decoration: none;
  padding: var(--tf-space-md) var(--tf-space-lg);
  min-height: var(--tf-tap-min);
  border-bottom: 1px solid var(--tf-border-soft);
  transition: background 0.1s;
}

html.tf-v2panel .about-link:last-child {
  border-bottom: none;
}

html.tf-v2panel .about-link:hover,
html.tf-v2panel .about-link:active {
  background: var(--tf-bg-surface);
}

html.tf-v2panel .about-link:focus-visible {
  outline: none;
  box-shadow: var(--tf-focus-ring);
}

/* ── § Load-plan sheet (nav package) ────────────────────────────────────── */
html.tf-v2panel #load-plan-backdrop {
  position: fixed;
  inset: 0;
  z-index: 299;
  background: rgba(0, 0, 0, 0.6);
  display: none;
}

html.tf-v2panel #load-plan-backdrop.is-open {
  display: block !important;
}

html.tf-v2panel #load-plan-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--tf-space-lg);
}

html.tf-v2panel #load-plan-modal.is-open {
  display: flex !important;
}

html.tf-v2panel .load-plan-card {
  max-width: 380px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}

html.tf-v2panel .load-plan-close-btn {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--tf-text-secondary);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--tf-radius-sm);
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: var(--tf-tap-min);
}

html.tf-v2panel .load-plan-close-btn:hover,
html.tf-v2panel .load-plan-close-btn:focus-visible {
  background: var(--tf-bg-surface);
  outline: none;
}

html.tf-v2panel .load-plan-replace-note {
  font-size: 12px;
  color: var(--tf-text-muted);
  margin: 0;
}

/* Load plan: primary coral CTA */
html.tf-v2panel #load-plan-modal #ts-chooser-load-btn {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;

  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;

  background-color: #df6d64;

  border: 1px solid rgba(129, 49, 45, 0.35);

  text-shadow: 0 1px 2px rgba(86, 31, 28, 0.45);
    background-image: linear-gradient(
      180deg,
      #f18a80 0%,
      #e47369 48%,
      #d65d56 100%
    ) !important;
    box-shadow:
      0 5px 0 #ad4944,
      0 10px 20px rgba(15, 30, 45, 0.28),
      inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;
}

html.tf-v2panel #load-plan-modal #ts-chooser-load-btn:hover,
html.tf-v2panel #load-plan-modal #ts-chooser-load-btn:focus-visible,
html.tf-v2panel #load-plan-modal .btn-primary:hover,
html.tf-v2panel #load-plan-modal .btn-primary:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.03);
  outline: none;
}

/* Download my trip first: matches Start planning */
#trip-guard-download {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;

  /* Owner ruling 2026-08-16: raised 3D coral gradient for rectangle CTAs. */
  background-color: #df6d64 !important;
  background-image: linear-gradient(
    180deg,
    #f18a80 0%,
    #e47369 48%,
    #d65d56 100%
  ) !important;

  box-shadow:
    0 5px 0 #ad4944,
    0 10px 20px rgba(15, 30, 45, 0.28),
    inset 0 2px 0 rgba(255, 255, 255, 0.32) !important;

  border: 1px solid rgba(129, 49, 45, 0.35) !important;

  text-shadow: 0 1px 2px rgba(86, 31, 28, 0.45);
}

/* Space for the Download button’s raised edge */
#trip-guard-download {
  margin-bottom: 5px;
}

/* Start fresh: soft opaque coral */
#trip-guard-start-fresh {
  color: #d45f58 !important;
  -webkit-text-fill-color: #d45f58 !important;
  background: #fff3ef !important;
  border: 1px solid #f3c5bd !important;
  box-shadow: none !important;
}

/* Hover */
@media (hover: hover) {
  #trip-guard-start-fresh:hover {
    color: #c7524c !important;
    -webkit-text-fill-color: #c7524c !important;
    background: #fde7e2 !important;
    border-color: #edada4 !important;
  }
}

/* Dark theme */
html.tf-theme-dark #trip-guard-start-fresh {
  color: #ff918b !important;
  -webkit-text-fill-color: #ff918b !important;
  background: #362b31 !important;
  border-color: #704844 !important;
}

@media (hover: hover) {
  html.tf-theme-dark #trip-guard-start-fresh:hover {
    color: #ffa29c !important;
    -webkit-text-fill-color: #ffa29c !important;
    background: #44343a !important;
    border-color: #875550 !important;
  }
}

/* Cancel: neutral gray button in light mode */
html:not(.tf-theme-dark)
  #trip-guard-backdrop
  .btn-ghost:not(#trip-guard-start-fresh) {
  color: #4f5363 !important;
  -webkit-text-fill-color: #4f5363 !important;
  background: #f1f2f4 !important;
  border: 1px solid #d9dce2 !important;
  box-shadow: none !important;
}

@media (hover: hover) {
  html:not(.tf-theme-dark)
    #trip-guard-backdrop
    .btn-ghost:not(#trip-guard-start-fresh):hover {
    color: #343846 !important;
    background: #e7e9ed !important;
    border-color: #cdd0d7 !important;
  }
}
