.customer-create-booking-page,
.customer-create-booking-page * {
  box-sizing: border-box;
}

.customer-create-booking-page {
  width: 100%;
  min-width: 0;
}

.customer-booking-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    480px;

  gap: 24px;

  align-items: start;
}

.customer-booking-main {
  display: flex;

  flex-direction: column;

  gap: 24px;

  min-width: 0;
}

.customer-booking-sidebar {
  display: flex;

  flex-direction: column;

  gap: 18px;

  min-width: 0;

  position: sticky;

  top: 22px;
}

.customer-booking-card {
  background: #fff;

  border: 1px solid #dfe7ef;

  border-radius: 14px;

  padding: 26px;

  min-width: 0;
}
@media (max-width: 1200px) {
  .customer-booking-layout {
    grid-template-columns: 1fr;
  }

  .customer-booking-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .customer-booking-card {
    padding: 18px;
  }
}
/*====================================================
BOOKING INFORMATION
====================================================*/

.booking-card-header {
  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  margin-bottom: 26px;

  gap: 20px;
}

.booking-card-header h2 {
  margin: 0;

  font-size: 1.35rem;

  font-weight: 800;

  color: #18253b;
}

.booking-card-header p {
  margin-top: 6px;

  font-size: 0.88rem;

  color: #6d7a92;
}

.booking-card-header small {
  font-size: 0.78rem;

  font-weight: 700;

  color: #64748b;
}

.booking-card-header small span {
  color: #ef4444;
}

.booking-form-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;

  margin-bottom: 22px;
}

.booking-form-grid label {
  display: flex;

  flex-direction: column;

  gap: 8px;

  font-weight: 700;

  font-size: 0.88rem;

  color: #253754;
}

.booking-form-grid input,
.booking-form-grid select {
  height: 52px;

  border: 1px solid #d9e3ef;

  border-radius: 10px;

  padding: 0 16px;

  font: inherit;

  background: #fff;
}

.booking-section-title {
  margin: 12px 0;

  font-weight: 800;

  color: #243754;
}

.booking-type-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 18px;

  margin-bottom: 24px;
}

.booking-type-card {
  display: flex;

  align-items: center;

  gap: 18px;

  padding: 20px;

  border: 1px solid #dfe7ef;

  border-radius: 12px;

  background: #fff;

  cursor: pointer;

  transition: 0.2s;
}

.booking-type-card.active {
  border: 2px solid #16954f;

  background: #f3fcf6;
}

.booking-type-card i {
  font-size: 1.2rem;

  color: #16954f;
}

.booking-type-card strong {
  display: block;

  margin-bottom: 4px;
}

.booking-type-card small {
  color: #64748b;
}

.booking-date-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.booking-vehicle-row label {
  display: flex;

  flex-direction: column;

  gap: 8px;

  font-weight: 700;
}

.booking-vehicle-row select {
  height: 52px;

  border: 1px solid #d9e3ef;

  border-radius: 10px;

  padding: 0 16px;
}

.booking-vehicle-row small {
  margin-top: 6px;

  font-size: 0.76rem;

  color: #7b879a;
}

.secondary-outline-btn {
  height: 52px;

  border: 2px solid #16954f;

  border-radius: 10px;

  background: #fff;

  color: #16954f;

  font-weight: 700;

  cursor: pointer;
}

.booking-vehicle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: start;
  margin-bottom: 22px;
}

.booking-vehicle-row .secondary-outline-btn {
  width: 170px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 2px solid #0f8b4c;
  border-radius: 9px;
  background: #fff;
  color: #0f8b4c;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.booking-information-card textarea {
  border: 1px solid #d9e3ef;

  border-radius: 10px;

  padding: 14px;

  resize: vertical;

  font: inherit;
}
@media (max-width: 1200px) {
  .booking-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .booking-form-grid,
  .booking-date-grid,
  .booking-type-grid,
  .booking-vehicle-row {
    grid-template-columns: 1fr;
  }

  .booking-card-header {
    flex-direction: column;
  }
}

/* ==========================================================
   BOOKING SIDEBAR
========================================================== */

.booking-sidebar-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid #e7edf4;
}

.booking-sidebar-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
}

/* Customer summary */

.booking-customer-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}

.booking-customer-avatar {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  flex: 0 0 78px;
  border-radius: 50%;
  background: #dcfce7;
  color: #0f8b4c;
  font-size: 1.5rem;
  font-weight: 900;
}

.booking-customer-badge {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #dcfce7;
  color: #0f8b4c;
  font-size: 0.65rem;
  font-weight: 900;
}

.booking-customer-profile h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 900;
}

.booking-customer-profile p {
  margin: 7px 0 0;
  color: #315085;
  font-size: 0.76rem;
  font-weight: 800;
}

.booking-customer-contact-list {
  display: grid;
  gap: 14px;
}

.booking-customer-contact-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
}

.booking-customer-contact-list i {
  width: 20px;
  color: #0f8b4c;
  text-align: center;
}

/* Booking summary */

.booking-summary-list {
  display: grid;
  gap: 1px;
  padding: 18px 0;
}

.booking-summary-list > div {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.booking-summary-list span {
  color: #40557b;
  font-size: 0.76rem;
  font-weight: 700;
}

.booking-summary-list b {
  max-width: 180px;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 0.76rem;
  font-weight: 900;
  text-align: right;
}

.booking-summary-total {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #e7edf4;
}

.booking-summary-total span {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 900;
}

.booking-summary-total strong {
  color: #0f8b4c;
  font-size: 0.98rem;
  font-weight: 900;
}

/* Good to know */

.booking-good-to-know-card {
  background: linear-gradient(145deg, #f8fbff, #f9fcfa);
}

.booking-good-to-know-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-good-to-know-heading i {
  color: #0f8b4c;
  font-size: 1rem;
}

.booking-good-to-know-heading h2 {
  margin: 0;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 900;
}

.booking-good-to-know-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.booking-good-to-know-card li {
  color: #40557b;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 1200px) {
  .customer-booking-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #booking-good-to-know {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .customer-booking-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  #booking-good-to-know {
    grid-column: auto;
  }

  .booking-summary-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    padding: 8px 0;
  }

  .booking-summary-list b {
    max-width: none;
    text-align: left;
  }
}

/* ==========================================================
   Pricing & Payment
========================================================== */

.booking-pricing-card {
  margin-top: 24px;
}

.booking-checkbox input {
  margin-top: 2px;
}

.booking-checkbox strong {
  display: block;
  color: #111827;
  font-size: 0.9rem;
  font-weight: 700;
}

.booking-checkbox small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  line-height: 1.45;
}

.booking-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;

  margin-top: 32px;

  padding-top: 24px;

  border-top: 1px solid #e6edf4;
}

@media (max-width: 900px) {
  .booking-footer-actions {
    justify-content: stretch;

    flex-direction: column;
  }

  .booking-footer-actions button {
    width: 100%;
  }
}

/* ==========================================================
   BOOKING INFORMATION POLISH
========================================================== */

.booking-card-title {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.booking-card-title-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 9px;
  background: #e7f8ee;
  color: #0f8b4c;
  font-size: 1rem;
}

.booking-information-card label,
.booking-pricing-card .booking-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #263754;
  font-size: 0.8rem;
  font-weight: 800;
}

.booking-information-card input,
.booking-information-card select,
.booking-information-card textarea,
.booking-pricing-card input,
.booking-pricing-card select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border: 1px solid #d8e2ed;
  border-radius: 9px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.83rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.booking-information-card input,
.booking-information-card select,
.booking-pricing-card input,
.booking-pricing-card select {
  height: 48px;
  padding: 0 14px;
}

.booking-information-card textarea {
  min-height: 104px;
  padding: 14px;
}

.booking-information-card input:focus,
.booking-information-card select:focus,
.booking-information-card textarea:focus,
.booking-pricing-card input:focus,
.booking-pricing-card select:focus {
  border-color: #0f8b4c;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 139, 76, 0.08);
}

.booking-information-card input::placeholder,
.booking-information-card textarea::placeholder {
  color: #94a3b8;
}

.booking-notes-field {
  position: relative;
}

.booking-notes-field > span small {
  color: #64748b;
  font-weight: 600;
}

.booking-notes-field > em {
  align-self: flex-end;
  margin-top: -2px;
  color: #64748b;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

/* Booking type cards */

.booking-type-card {
  position: relative;
  min-height: 88px;
  text-align: left;
}

.booking-type-card::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
}

.booking-type-card.active::after {
  border-color: #0f8b4c;
  box-shadow: inset 0 0 0 4px #fff;
  background: #0f8b4c;
}

.booking-type-card.active {
  border-color: #0f8b4c;
  background: #f2fbf6;
}

/* Date fields stay inside Safari and iPad grids */

.booking-date-grid > label {
  min-width: 0;
}

.booking-date-grid input[type="date"],
.booking-date-grid input[type="time"] {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Add Vehicle button */

.secondary-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
}

@media (max-width: 1050px) {
}

@media (max-width: 620px) {
  .booking-card-header {
    flex-direction: column;
  }

  .booking-date-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-type-card {
    min-height: 82px;
  }
}

/* ==========================================================
   PRICING AND PAYMENT. FINAL
========================================================== */

.booking-pricing-card {
  margin-top: 0;
}

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

.booking-pricing-card .booking-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.booking-pricing-card .booking-field > span {
  color: #263754;
  font-size: 0.8rem;
  font-weight: 800;
}

.booking-pricing-card .booking-field > span b {
  color: #ef4444;
}

.booking-pricing-card select,
.booking-pricing-card input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #d8e2ed;
  border-radius: 9px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 0.83rem;
}

.booking-pricing-card input[readonly] {
  background: #f7f9fc;
  color: #0f172a;
  font-weight: 900;
}

.booking-pricing-card select:focus,
.booking-pricing-card input:focus {
  border-color: #0f8b4c;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(15, 139, 76, 0.08);
}

/* Paid on arrival */

.booking-paid-arrival-card {
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid #d8e2ed;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.booking-paid-arrival-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.booking-paid-arrival-check {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  border: 1.5px solid #b8c5d3;
  border-radius: 4px;
  background: #fff;
  color: transparent;
  font-size: 0.65rem;
}

.booking-paid-arrival-card input:checked + .booking-paid-arrival-check {
  border-color: #0f8b4c;
  background: #0f8b4c;
  color: #fff;
}

.booking-paid-arrival-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.booking-paid-arrival-copy strong {
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 900;
}

.booking-paid-arrival-copy small {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.45;
}

/* Actions */

.booking-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e6edf4;
}

.booking-footer-actions button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.booking-footer-actions .btn-secondary {
  min-width: 110px;
  border: 1px solid #d8e2ed;
  background: #fff;
  color: #0f172a;
}

.booking-footer-actions .btn-primary {
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  background: #0f8b4c;
  color: #fff;
  box-shadow: 0 9px 20px rgba(15, 139, 76, 0.18);
}

/* Responsive */

@media (max-width: 900px) {
  .booking-pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .booking-footer-actions {
    flex-direction: column-reverse;
  }

  .booking-footer-actions button {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .booking-vehicle-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-vehicle-row .secondary-outline-btn {
    width: 100%;
    margin-top: 0;
  }
}

/* ==========================================================
   BOOKING INFORMATION. FINAL RESPONSIVE FIX
========================================================== */

/* Date and time fields automatically wrap according to card width */
.booking-information-card .booking-date-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)) !important;
  gap: 18px !important;
  width: 100%;
  min-width: 0;
}

.booking-information-card .booking-date-grid > label {
  width: 100%;
  min-width: 0;
}

.booking-information-card .booking-date-grid input[type="date"],
.booking-information-card .booking-date-grid input[type="time"] {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 48px;
  padding: 0 12px;
  box-sizing: border-box;
}

/* Vehicle field and Add Vehicle button */
.booking-information-card .booking-vehicle-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: start;
  width: 100%;
  min-width: 0;
  margin-bottom: 22px;
}

.booking-information-card .booking-vehicle-row > label {
  width: 100%;
  min-width: 0;
}

.booking-information-card .booking-vehicle-row select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 48px;
}

/* Align button with select, not helper text */
.booking-information-card .booking-vehicle-row .secondary-outline-btn {
  width: 150px;
  min-width: 150px;
  height: 48px;
  align-self: start;
  margin-top: 27px;
  padding: 0 14px;
  white-space: nowrap;
  border: 1.5px solid #0f8b4c;
  border-radius: 9px;
  background: #fff;
  color: #0f8b4c;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

/* iPad and narrow dashboard content */
@media (max-width: 1200px) {
  .booking-information-card .booking-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .booking-information-card .booking-vehicle-row {
    grid-template-columns: minmax(0, 1fr) 145px;
  }

  .booking-information-card .booking-vehicle-row .secondary-outline-btn {
    width: 145px;
    min-width: 145px;
  }
}

/* Tablets and mobile */
@media (max-width: 760px) {
  .booking-information-card .booking-date-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .booking-information-card .booking-vehicle-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .booking-information-card .booking-vehicle-row .secondary-outline-btn {
    width: 100%;
    min-width: 0;
    margin-top: 0;
  }
}

/* ==========================================================
   IPAD SAFARI DATE AND TIME. FINAL FIX
========================================================== */

@media (min-width: 768px) and (max-width: 1180px) {
  .booking-information-card {
    min-width: 0;
    overflow: hidden;
  }

  .booking-information-card .booking-date-grid {
    width: 100%;
    min-width: 0;
    display: grid !important;
    grid-template-columns:
      calc(50% - 12px)
      calc(50% - 12px) !important;
    column-gap: 24px !important;
    row-gap: 18px !important;
  }

  .booking-information-card .booking-date-grid > label {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
  }

  .booking-information-card .booking-date-grid input[type="date"],
  .booking-information-card .booking-date-grid input[type="time"] {
    display: block;
    inline-size: 100% !important;
    width: 100% !important;
    min-inline-size: 0 !important;
    min-width: 0 !important;
    max-inline-size: 100% !important;
    max-width: 100% !important;
    height: 48px;
    margin: 0;
    padding: 0 38px 0 12px;
    border: 1px solid #d8e2ed;
    border-radius: 9px;
    background-color: #fff;
    color: #0f172a;
    font-size: 0.76rem;
    box-sizing: border-box;
  }

  .booking-information-card
    .booking-date-grid
    input[type="date"]::-webkit-date-and-time-value,
  .booking-information-card
    .booking-date-grid
    input[type="time"]::-webkit-date-and-time-value {
    min-width: 0;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .booking-information-card
    .booking-date-grid
    input::-webkit-calendar-picker-indicator {
    margin: 0;
    padding: 4px;
    opacity: 1;
  }
}

/* ==========================================================
   BOOKING SUCCESS MODAL
========================================================== */

.booking-success-modal,
.booking-success-modal * {
  box-sizing: border-box;
}

.booking-success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.booking-success-modal.hidden {
  display: none;
}

.booking-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.booking-success-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 34px;
  border: 1px solid #dce7e1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
  text-align: center;
}

.booking-success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #475569;
  cursor: pointer;
}

.booking-success-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: linear-gradient(145deg, #dcfce7, #bbf7d0);
  color: #0f8b4c;
  font-size: 2rem;
  box-shadow: 0 14px 30px rgba(15, 139, 76, 0.16);
}

.booking-success-label {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e8f8ee;
  color: #0f8b4c;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-success-dialog h2 {
  margin: 14px 0 0;
  color: #0f172a;
  font-size: 1.55rem;
  font-weight: 900;
}

.booking-success-dialog > p {
  max-width: 420px;
  margin: 12px auto 22px;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.65;
}

.booking-success-id-box {
  padding: 16px;
  border: 1px dashed #9ad8b5;
  border-radius: 12px;
  background: #f2fbf6;
}

.booking-success-id-box > span {
  display: block;
  margin-bottom: 7px;
  color: #64748b;
  font-size: 0.7rem;
  font-weight: 800;
}

.booking-success-id-box > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.booking-success-id-box strong {
  color: #0f8b4c;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.booking-success-id-box button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #b9dfc9;
  border-radius: 7px;
  background: #fff;
  color: #0f8b4c;
  cursor: pointer;
}

.booking-success-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}

.booking-success-details > div {
  min-width: 0;
  padding: 13px;
  border: 1px solid #e5ebf1;
  border-radius: 10px;
  background: #fbfcfe;
}

.booking-success-details span {
  display: block;
  margin-bottom: 5px;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
}

.booking-success-details strong {
  display: block;
  overflow-wrap: anywhere;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 900;
}

.booking-success-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.booking-success-actions button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.booking-success-secondary {
  border: 1px solid #d7e0e9;
  background: #fff;
  color: #0f172a;
}

.booking-success-primary {
  border: 0;
  background: #0f8b4c;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 139, 76, 0.2);
}

body.booking-modal-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .booking-success-modal {
    padding: 14px;
  }

  .booking-success-dialog {
    padding: 28px 18px 20px;
    border-radius: 16px;
  }

  .booking-success-details,
  .booking-success-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-success-dialog h2 {
    font-size: 1.3rem;
  }
}

#copy-created-booking-id.copied {
  border-color: #0f8b4c;
  background: #0f8b4c;
  color: #fff;
}
