/* Skeleton wrapper */
.gmbe-skeleton-card {
  padding: 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Base skeleton line */
.sk-line,
.sk-button {
  background: linear-gradient(
    90deg,
    #eeeeee 25%,
    #dddddd 37%,
    #eeeeee 63%
  );
  background-size: 400% 100%;
  animation: gmbe-shimmer 1.4s ease infinite;
  border-radius: 4px;
}

/* Variants */
.sk-line.title {
  height: 18px;
  width: 70%;
  margin-bottom: 12px;
}

.sk-line.small {
  height: 14px;
  width: 50%;
  margin-bottom: 12px;
}

.sk-line.price {
  height: 20px;
  width: 40%;
  margin-bottom: 16px;
}

.sk-button {
  height: 36px;
  width: 120px;
  border-radius: 20px;
}

/* Animation */
@keyframes gmbe-shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}

/* ================================
   Package Card (Accordion)
================================ */

.gmbe-package {
  border: 1px solid #BCCED2;
  margin-bottom: 16px;
  background: #ffffff;
  overflow: hidden;
}

/* ================================
   Package Header
================================ */

.gmbe-package-header {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.gmbe-package-header:hover {
  background: #f9fafb;
}

.gmbe-package-title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  flex-grow: 1;
}

.gmbe-package-price {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.gmbe-accordion-icon {
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

/* ================================
   Accordion Body
================================ */

.gmbe-package-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

/* Open state */
.gmbe-package.active .gmbe-package-body {
  padding: 16px 18px 18px;
  max-height: 600px;
}

.gmbe-package.active .gmbe-accordion-icon {
  transform: rotate(45deg);
}

/* ================================
   Accordion Chevron Icon
================================ */

.gmbe-accordion-icon {
  font-size: 20px;
  color: #374151;
  transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.gmbe-package.active .gmbe-accordion-icon {
  transform: rotate(180deg);
}

/* ================================
   Package Footer (Pricing)
================================ */

.gmbe-package-footer {
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
  padding: 14px 18px;
}

/* ================================
   Meta & Select
================================ */

.gmbe-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.gmbe-time-select {
  width: 100%;
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background: #ffffff;
}

/* ================================
   Pricing Row (Left / Right)
================================ */

.gmbe-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.gmbe-price-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gmbe-total-price {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
}

.gmbe-price-breakdown {
  font-size: 14px;
  color: #374151;
}

.gmbe-tax-note {
  font-size: 13px;
  color: #6b7280;
}

/* Discount pricing */

.gmbe-discounted-price {
  color: var(--wpte-primary-color, var(--primary-color));
  font-weight: 700;
}

.gmbe-discount-value {
  font-size: 12px;
  font-weight: 500;
  margin-left: 4px;
  color: #047857;
}

.gmbe-discount-label {
  font-size: 12px;
  margin-left: 2px;
  color: #047857;
}

.gmbe-original-price {
  color: #9ca3af;
  margin-right: 6px;
}

/* ================================
   Book Now Button
================================ */

.gmbe-price-right {
  flex-shrink: 0;
}

.gmbe-book-now {
  background: var(--wpte-primary-color, var(--primary-color));
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
}

.gmbe-book-now:hover {
  background: #000000;
}

/* ================================
   Mobile Optimisation
================================ */

@media (max-width: 640px) {

  .gmbe-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .gmbe-price-right {
    width: 100%;
  }

  .gmbe-book-now {
    width: 100%;
    text-align: center;
  }
}

/* ================================
   Booking Box (Sidebar)
================================ */

.gmbe-booking-box {
  background: #ffffff;
  border: 1px solid rgba(15,29,35,.1019607843);
  box-shadow: 0px 40px 40px -40px rgba(0,0,0,.1607843137);
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 60px!important;
}

/* Title */
.gmbe-booking-box h2 {
  padding: 16px 24px;
  border-bottom: 1px solid rgba(15,29,35,.1);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.6;
  margin: -18px -18px 24px;
}

.gmbe-booking-box hr {
  margin-top: 20px;
  margin-bottom: 20px;
}

.gmbe-guest-block {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-direction: column;
}

.gmbe-guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gmbe-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gmbe-counter input {
    width: 40px!important;
    text-align: center;
    padding: 0!important;
    font-size: 14px;
    height: 32px!important;
}

.gmbe-counter i.fa {
    display: flex;
    font-size: 10px;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--wpte-primary-color, var(--primary-color));
    border-radius: 50%;
    width: 18px;
    height: 18px;
    color: var(--wpte-primary-color, var(--primary-color));
}

.gmbe-guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gmbe-guest-text {
    display: flex;
    flex-direction: column;
}

.gmbe-guest-label {
    font-weight: 600;
    font-size: 15px;
}

.gmbe-guest-desc {
    font-size: 12px;
    color: #777;
}

#gmbe-date {
  border-radius: 50px;
  padding: 10px 24px;
}

.gmbe-booking-benefits {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gmbe-benefit {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gmbe-benefit-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gmbe-benefit-header i {
    color: #28a745;
    font-size: 15px;
}

.gmbe-benefit-header strong {
    font-size: 14px;
    font-weight: 600;
}

.gmbe-benefit small {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-left: 23px; /* aligns text under title, not icon */
}

/* Desktop price header */
.gmbe-desktop-price{
    border-bottom:1px solid #eee;
    padding-bottom:15px;
    margin-bottom:15px;
}

.gmbe-price-from{
    font-size:13px;
    color:#777;
}

.gmbe-price-value{
    font-size:28px;
    font-weight:700;
    line-height:1.2;
}

.gmbe-price-note{
    font-size:12px;
    color:#888;
}

/* Hide desktop price on mobile */
@media (max-width:767px){
    .gmbe-desktop-price{
        display:none;
    }
}

/* -----------------------------
   MOBILE STICKY BOOKING BAR
------------------------------ */
#gmbe-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;

    display: none;
    align-items: center;
    justify-content: space-between;

    padding: 12px 14px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

/* Left content */
.gmbe-sticky-left {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.gmbe-sticky-from {
    font-size: 12px;
    color: #666;
}

.gmbe-sticky-price {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.gmbe-sticky-note {
    font-size: 11px;
    color: #28a745;
}

/* Button */
#gmbe-sticky-check {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
}

/* Mobile only */
@media (max-width: 768px) {
    #gmbe-mobile-sticky-bar {
        display: flex;
    }

    /* Prevent content being hidden behind bar */
    body {
        padding-bottom: 80px;
    }
}

/* Hide on desktop */
@media (min-width: 769px) {
    #gmbe-mobile-sticky-bar {
        display: none !important;
    }
}

/* ================================
   Labels & Inputs
================================ */

.gmbe-booking-box label {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 14px;
}

/* Date & Number input */
.gmbe-booking-box input[type="date"] {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  background: #ffffff;
}

.gmbe-booking-box input[type="date"]:focus,
.gmbe-booking-box input[type="number"]:focus {
  outline: none;
  border-color: #111827;
}

/* ================================
   Guest Row (Adults / Children)
================================ */

.gmbe-guest-row {
  display: flex;
  gap: 12px;
}

.gmbe-guest-row label {
  flex: 1;
}

/* ================================
   Check Availability Button
================================ */

#gmbe-check {
  width: 100%;
  background-color: var(--wpte-primary-color, var(--primary-color));
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  text-transform: uppercase;
}

#gmbe-check:hover {
  background: #000000;
}

/* ================================
   Status / Loading Text
================================ */

#gmbe-results-status {
  margin-top: 12px;
  font-size: 14px;
  color: #6b7280;
}

/* ================================
   Mobile Friendly
================================ */

@media (max-width: 768px) {
  .gmbe-booking-box {
    padding: 16px;
  }
}

/* ================================
   Desktop Sticky Booking Box
================================ */

@media (min-width: 769px) {
  .gmbe-booking-box {
    position: sticky;
    top: 20px;
    z-index: 10;
  }
}

/* ================================
   No Results State
================================ */

.gmbe-no-results {
  border: 1px solid #BCCED2;
  padding: 24px;
  text-align: center;
  background: #fafafa;
  margin-bottom: 12px;
}

.gmbe-no-results-icon {
  font-size: 32px;
  color: #9ca3af;
  display: block;
  margin-bottom: 10px;
}

.gmbe-no-results h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.gmbe-no-results p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

/* ================================
   Single Trip Highlights
================================ */

/* Wrapper */
.gmbe-trip-highlights{
    display:flex;
    gap:30px;
    margin:30px 0;
}

/* Left title 25% */
.gmbe-highlights-left{
    width:25%;
    flex-shrink:0;
}

.gmbe-highlights-title{
    font-size:22px;
    font-weight:700;
    margin:0;
}

/* Right list 75% */
.gmbe-highlights-right{
    width:75%;
}

.gmbe-highlights-list{
    margin:0;
    padding-left:18px;
}

.gmbe-highlights-list li{
    margin-bottom:8px;
}

/* 📱 Mobile */
@media (max-width:767px){

    .gmbe-trip-highlights{
        flex-direction:column;
        gap:10px;
    }

    .gmbe-highlights-left,
    .gmbe-highlights-right{
        width:100%;
    }

    .gmbe-highlights-title{
        font-size:20px;
    }
}

/* ================================
   Single Trip Includes and Excludes
================================ */

.gmbe-includes-wrap{
    display:flex;
    gap:30px;
    margin:35px 0;
}

.gmbe-inc-left{
    width:25%;
    flex-shrink:0;
}

.gmbe-inc-title{
    font-size:22px;
    font-weight:700;
    margin:0;
}

.gmbe-inc-right{
    width:75%;
}

.gmbe-includes-list{
    list-style:none;
    padding:0;
    margin:0 0 15px 0;
}

.gmbe-includes-list li{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:8px;
}

/* icons */
.gmbe-icon-yes{
    color:#16a34a;
    margin-top:3px;
}

.gmbe-icon-no{
    color:#dc2626;
    margin-top:3px;
}

@media(max-width:767px){
    .gmbe-includes-wrap{
        flex-direction:column;
        gap:10px;
    }

    .gmbe-inc-left,
    .gmbe-inc-right{
        width:100%;
    }
}

/* ================================
   Single Trip Ratings
================================ */

.gmbe-rating-wrap{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:15px;
    font-weight:500;
}

.gmbe-top-rated{
    background-color: var(--wpte-primary-color, var(--primary-color));
    color:#fff;
    padding:4px 8px;
    border-radius:6px;
    font-size:13px;
    font-weight:600;
}

.gmbe-stars i{
    color:#f5a623;
    margin-right:2px;
    font-size:16px;
}

.gmbe-rating-value{
    font-weight:700;
    font-size:16px;
}

.gmbe-rating-count{
    color:#666;
}

/* ===================================
   Single Trip Master Shortcode Styles
====================================== */

.gmbe-row {
    display:flex;
    gap:40px;
    margin-bottom:40px;
    align-items:flex-start;
}
    
.gmbe-left {
    width:25%;
    flex-shrink:0;
}
.gmbe-right {
    width:75%
}

.gmbe-list{
    margin:0;
    padding-left: 0;
}

.gmbe-list li{
    margin-bottom:8px;
    line-height:1.6;
}

.gmbe-list i {
    margin-right: 8px;
    line-height: inherit;
}

/* remove bullets when icon used */
.gmbe-list.no-bullet{
    list-style:none;
    padding-left:0;
}

.gmbe-list.no-bullet li{
    display:flex;
    align-items:flex-start;
    gap:8px;
    margin-bottom:8px;
}

.gmbe-sub{
    margin-top:20px;
    margin-bottom:8px;
    font-size:16px;
    font-weight:600;
}

.mobile-view{display:none}

/* ===============================
   SIMPLE ACCORDION (MOBILE/TABLET)
================================= */

.gmbe-accordion{
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
}

/* header */
.gmbe-acc-head{
    background:#fff;
    padding:16px 10px;
    cursor:pointer;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:16px;
    color: var(--title-color);
}

/* soft divider between items */
.gmbe-section + .gmbe-section .gmbe-accordion{
    border-top:none;
}

/* chevron icon */
.gmbe-acc-head:after{
    content:"\f078"; /* fa-chevron-down */
    font-family: var(--fa-style-family,"Font Awesome 6 Pro");
    font-weight:900;
    font-size:14px;
    color:#6b7280;
    transition:transform .25s ease;
}

/* rotate when open */
.gmbe-acc-head.active:after{
    transform:rotate(180deg);
}

/* body */
.gmbe-acc-body{
    display:none;
    padding:0 10px 18px 10px;
    font-size:15px;
    color:#374151;
}

/* open state spacing */
.gmbe-acc-head.active{
    padding-bottom:12px;
}

.gmbe-acc-body {
    display:none;
    padding:16px;
    border-top:none;
    margin-bottom:8px;
    background:#fff;
}

.gmbe-left h3{
   font-size:18px;
   font-weight:900;
   margin:0;
   line-height:1.3;
}

/* Includes icon (green check) */
.gmbe-icon-yes {
  color:#16a34a !important;
}

/* Excludes icon (red cross) */
.gmbe-icon-no {
  color:#dc2626 !important;
}

.gmbe-dot{
    width:6px;
    height:6px;
    background:#111;
    border-radius:50%;
    display:inline-block;
    margin-top:8px;
}

.gmbe-includes-list li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:10px;
  font-size:15px;
}

/* truncation wrapper */
.gmbe-truncate {
    position: relative;
}

/* collapsed state */
.gmbe-truncate.collapsed {
    max-height: 140px;   /* adjust height */
    overflow: hidden;
}

/* fade effect */
.gmbe-truncate.collapsed:after {
    content:"";
    position:absolute;
    bottom:0;
    left:0;
    right:0;
    height:60px;
    background:linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}

/* button */
.gmbe-toggle-more{
    display:inline-block;
    margin-top:10px;
    font-weight:600;
    cursor:pointer;
    color:var(--wpte-primary-color,#000);
    font-size:14px;
}

/* mobile */
@media(max-width:991px){

    .desktop-view{display:none}
    .mobile-view{display:block}
    
    .gmbe-row{
      flex-direction:column;
      gap:10px;
    }
    
    .gmbe-left,.gmbe-right{
      width:100%;
    }

}

.gmbe-about-title{
    font-size:20px;
    font-weight:700;
    margin-bottom:18px
}

.gmbe-about-list{
    list-style:none;
    padding:0;
    margin:0;
    display:flex;
    flex-direction:column;
    gap:18px
}

.gmbe-about-list li{
    display:flex;
    gap:14px;
    align-items:flex-start;
    list-style: none;
}

.gmbe-about-list i{
    font-size:18px;
    color:#374151;
    margin-top:3px;
    width:22px;
    text-align:center;
}

.gmbe-about-list strong{
    display:block;
    font-size:15px;
    font-weight:600;
}

.gmbe-about-list span{
    display:block;
    font-size:14px;
    color:#6b7280;
    margin-top:3px;
}


/* =============================================================
   BOOKING MODAL
   Primary: #1a2b49  |  Border: #BCCED2
============================================================= */

body.gmbe-no-scroll { overflow: hidden; }

#gmbe-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.58);
  z-index: 99999;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px 40px;
  overflow-y: auto;
}
#gmbe-modal-overlay.active { display: flex; }

.gmbe-modal {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 620px;
  margin: auto;
  box-shadow: 0 24px 80px rgba(0,0,0,0.28);
  overflow: hidden;
  animation: gmbeModalIn 0.22s ease;
}
@keyframes gmbeModalIn {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0);     }
}

/* Header */
.gmbe-modal-header {
  background: #1a2b49;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gmbe-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
#gmbe-modal-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 20px;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
#gmbe-modal-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

/* Booking summary */
.gmbe-modal-summary {
  background: #f0f4f8;
  border-bottom: 1px solid #dde4ec;
  padding: 16px 24px;
}
.gmbe-modal-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0 0 12px;
}
.gmbe-summary-rows { display: flex; flex-direction: column; gap: 6px; }
.gmbe-summary-row {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
}
.gmbe-summary-label {
  min-width: 68px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a2b49;
  padding-top: 2px;
}
.gmbe-summary-value { flex: 1; }
.gmbe-summary-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1.5px solid #cbd5e1;
}
.gmbe-summary-total-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a2b49;
}
.gmbe-summary-total-amount {
  font-size: 22px;
  font-weight: 800;
  color: #1a2b49;
  letter-spacing: -0.02em;
}

/* Form body */
.gmbe-modal-body { padding: 20px 24px 4px; }

.gmbe-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.gmbe-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.gmbe-col-span-2 { grid-column: 1 / -1; }

.gmbe-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}
.gmbe-req { color: #ef4444; margin-left: 2px; }
.gmbe-optional { font-weight: 400; color: #9ca3af; font-size: 12px; }

.gmbe-form-group input,
.gmbe-form-group select,
.gmbe-form-group textarea {
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  color: #111827;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}
.gmbe-form-group input::placeholder,
.gmbe-form-group textarea::placeholder { color: #9ca3af; }
.gmbe-form-group input:focus,
.gmbe-form-group select:focus,
.gmbe-form-group textarea:focus {
  border-color: #1a2b49;
  box-shadow: 0 0 0 3px rgba(26,43,73,0.10);
}
.gmbe-form-group textarea { resize: vertical; min-height: 78px; }

/* Payment option cards */
.gmbe-payment-options { margin-top: 4px; }
.gmbe-pay-option {
  display: flex;
  align-items: stretch;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  overflow: hidden;
}
.gmbe-pay-option:hover { border-color: #1a2b49; background: rgba(26,43,73,0.03); }
.gmbe-pay-option.selected { border-color: #1a2b49; background: rgba(26,43,73,0.05); }
.gmbe-pay-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gmbe-pay-option-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  width: 100%;
}
.gmbe-pay-icon { font-size: 22px; flex-shrink: 0; }
.gmbe-pay-text { display: flex; flex-direction: column; gap: 3px; }
.gmbe-pay-text strong { font-size: 14px; font-weight: 700; color: #111827; }
.gmbe-pay-text span   { font-size: 13px; color: #6b7280; line-height: 1.4; }
.gmbe-pay-option.selected .gmbe-pay-text strong::after {
  content: " \2713";
  color: #16a34a;
  font-size: 13px;
}

/* Error */
.gmbe-modal-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 16px;
  line-height: 1.5;
}

/* Submit */
.gmbe-modal-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #f1f5f9;
}
.gmbe-modal-submit {
  width: 100%;
  background: #1a2b49;
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 15px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, transform 0.1s;
  font-family: inherit;
}
.gmbe-modal-submit:hover    { background: #253d69; }
.gmbe-modal-submit:active   { transform: scale(0.99); }
.gmbe-modal-submit:disabled { background: #94a3b8; cursor: not-allowed; transform: none; }
.gmbe-modal-terms {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin: 10px 0 0;
}
.gmbe-modal-terms a { color: #1a2b49; text-decoration: underline; }

/* Mobile modal — bottom sheet */
@media (max-width: 600px) {
  .gmbe-form-grid { grid-template-columns: 1fr; }
  .gmbe-col-span-2 { grid-column: 1; }
  #gmbe-modal-overlay { padding: 0; align-items: flex-end; }
  .gmbe-modal {
    border-radius: 14px 14px 0 0;
    max-height: 92vh;
    overflow-y: auto;
    margin: 0;
    animation: gmbeModalInMobile 0.25s ease;
  }
  @keyframes gmbeModalInMobile {
    from { transform: translateY(100%); }
    to   { transform: translateY(0);    }
  }
}


/* =============================================================
   CONFIRMATION PAGE
============================================================= */

.gmbe-confirm-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  font-family: inherit;
  color: #111827;
}

/* Hero */
.gmbe-confirm-hero { text-align: center; margin-bottom: 36px; }
.gmbe-confirm-icon-wrap {
  width: 76px; height: 76px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 34px;
}
.gmbe-confirm-icon-wrap.success  { background: #dcfce7; }
.gmbe-confirm-icon-wrap.reserved { background: #dbeafe; }
.gmbe-confirm-icon-wrap.pending  { background: #fef9c3; }
.gmbe-confirm-hero h1 {
  font-size: 30px; font-weight: 800;
  color: #1a2b49; margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.gmbe-confirm-hero p {
  font-size: 16px; color: #6b7280;
  max-width: 480px; margin: 0 auto; line-height: 1.6;
}

/* Reference */
.gmbe-confirm-ref-wrap { text-align: center; margin-bottom: 32px; }
.gmbe-confirm-ref {
  display: inline-flex; align-items: center; gap: 10px;
  background: #f0f4f8; border: 1.5px solid #cbd5e1;
  border-radius: 10px; padding: 10px 20px;
  font-size: 14px; color: #64748b;
}
.gmbe-confirm-ref strong {
  font-size: 18px; font-weight: 800;
  color: #1a2b49; letter-spacing: 0.04em;
}

/* Card */
.gmbe-confirm-card { border: 1.5px solid #e2e8f0; border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.gmbe-confirm-card-header {
  background: #1a2b49; color: #fff;
  padding: 13px 22px; font-size: 12px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
}
.gmbe-confirm-card-body { padding: 8px 22px 22px; }

/* Detail rows */
.gmbe-confirm-detail {
  display: flex; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid #f1f5f9;
  font-size: 15px; line-height: 1.5;
}
.gmbe-confirm-detail:last-of-type { border-bottom: none; }
.gmbe-confirm-detail-label {
  min-width: 130px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #64748b; padding-top: 2px;
}
.gmbe-confirm-detail-value { flex: 1; color: #111827; }
.gmbe-confirm-trip-link { color: #1a2b49; font-weight: 700; text-decoration: none; }
.gmbe-confirm-trip-link:hover { text-decoration: underline; }

/* Status badges */
.gmbe-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 20px;
  font-size: 13px; font-weight: 700;
}
.gmbe-status-badge.confirmed { background: #dcfce7; color: #15803d; }
.gmbe-status-badge.reserved  { background: #dbeafe; color: #1d4ed8; }
.gmbe-status-badge.pending   { background: #fef9c3; color: #a16207; }

/* Total row */
.gmbe-confirm-total-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #f8fafc; margin: 16px -22px -22px;
  padding: 16px 22px; border-top: 1.5px solid #e2e8f0;
}
.gmbe-confirm-total-label { font-size: 15px; font-weight: 700; color: #1a2b49; }
.gmbe-confirm-total-amount {
  font-size: 26px; font-weight: 800; color: #1a2b49;
  letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 5px;
}
.gmbe-confirm-currency { font-size: 13px; font-weight: 600; color: #64748b; }

/* Steps */
.gmbe-confirm-steps { padding-top: 4px; }
.gmbe-confirm-step {
  display: flex; gap: 18px;
  padding: 16px 0; border-bottom: 1px solid #f1f5f9;
}
.gmbe-confirm-step:last-child { border-bottom: none; padding-bottom: 0; }
.gmbe-step-number {
  width: 34px; height: 34px; border-radius: 50%;
  background: #1a2b49; color: #fff;
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gmbe-step-text { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.gmbe-step-text strong { font-size: 15px; color: #111827; }
.gmbe-step-text span { font-size: 14px; color: #6b7280; line-height: 1.5; }

/* Help block */
.gmbe-confirm-help {
  display: flex; align-items: flex-start; gap: 16px;
  background: #f0f4f8; border: 1.5px solid #dde4ec;
  border-radius: 12px; padding: 18px 20px;
  margin-bottom: 28px; font-size: 14px; line-height: 1.6;
}
.gmbe-confirm-help-icon { font-size: 24px; flex-shrink: 0; }
.gmbe-confirm-help strong { display: block; color: #1a2b49; font-size: 15px; margin-bottom: 2px; }
.gmbe-confirm-help span { color: #374151; }

/* Action buttons */
.gmbe-confirm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.gmbe-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border: 2px solid #1a2b49;
  border-radius: 9px; color: #1a2b49; font-weight: 700;
  font-size: 14px; cursor: pointer; background: #fff;
  text-decoration: none; font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.gmbe-btn-secondary:hover { background: #1a2b49; color: #fff; }
.gmbe-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: #1a2b49;
  border-radius: 9px; color: #fff; font-weight: 700;
  font-size: 14px; text-decoration: none;
  transition: background 0.15s;
}
.gmbe-btn-primary:hover { background: #253d69; color: #fff; }

/* Responsive */
@media (max-width: 640px) {
  .gmbe-confirm-wrap { padding: 32px 16px 56px; }
  .gmbe-confirm-hero h1 { font-size: 24px; }
  .gmbe-confirm-detail-label { min-width: 100px; }
  .gmbe-confirm-actions { flex-direction: column; }
  .gmbe-btn-secondary,
  .gmbe-btn-primary { justify-content: center; }
}

@media print {
  /* Hide everything on the page */
  body * { visibility: hidden; }

  /* Show only the confirmation content */
  .gmbe-confirm-wrap,
  .gmbe-confirm-wrap * { visibility: visible; }

  /* Position it at the top-left so it fills the printed page */
  .gmbe-confirm-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
  }

  /* Hide the action buttons and help block — not needed on paper */
  .gmbe-confirm-actions,
  .gmbe-confirm-help { display: none !important; }

  /* Ensure card borders print */
  .gmbe-confirm-card { border: 1px solid #cbd5e1 !important; }
  .gmbe-confirm-card-header { background: #1a2b49 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .gmbe-step-number { background: #1a2b49 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
