/* =========================================================
   AL HABIB TRAVEL CRM
   BOOKING VIEW
========================================================= */


/* =========================================================
   BRAND
========================================================= */

:root {
  --aht-teal-950: #123f40;
  --aht-teal-900: #174b4b;
  --aht-teal-800: #1d5958;
  --aht-teal-700: #176b65;

  --aht-green: #0f766e;
  --aht-green-dark: #0b5f59;

  --aht-amber: #f4ad19;
  --aht-amber-light: #ffc13f;

  --aht-soft-teal: #edf6f5;
  --aht-soft-teal-hover: #e1efed;

  --aht-page: #f3f5f6;
  --aht-white: #ffffff;

  --aht-text: #26343c;
  --aht-text-dark: #183b3f;
  --aht-muted: #78878a;

  --aht-border: #dfe7e8;
  --aht-border-soft: #e9eeee;

  --aht-danger: #b62936;
  --aht-danger-soft: #fde8ea;

  --aht-blue: #2458c7;
  --aht-blue-soft: #e8f1ff;
}


/* =========================================================
   RESET
========================================================= */

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


body {
  background: var(--aht-page);
  color: var(--aht-text);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.45;
}


a {
  text-decoration: none;
}


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


button {
  cursor: pointer;
}


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

.booking-page {
  width: calc(100% - 40px);

  max-width: 1600px;

  margin: 0 auto;

  padding:
    18px
    0
    34px;

  font-size: 0.92rem;
}


/* =========================================================
   HERO
========================================================= */

.booking-hero {
  min-height: 122px;

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

  gap: 22px;

  margin-bottom: 14px;

  padding:
    20px
    24px;

  border-radius: 15px;

  background:
    linear-gradient(
      120deg,
      #123f40 0%,
      #174b4b 62%,
      #1c5852 100%
    );

  box-shadow:
    0 12px 28px
    rgba(18, 60, 61, 0.10);
}


.booking-hero > div:first-child {
  min-width: 0;
}


.booking-hero .eyebrow {
  margin-bottom: 6px;

  color: var(--aht-amber);

  font-size: 10px;
  font-weight: 850;

  letter-spacing: 1.35px;

  text-transform: uppercase;
}


.booking-title-row {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 10px;
}


.booking-title-row h1 {
  color: #ffffff;

  font-size: 29px;
  font-weight: 850;

  line-height: 1.2;

  letter-spacing: -0.45px;
}


.booking-subtitle {
  margin-top: 8px;

  color:
    rgba(
      255,
      255,
      255,
      0.74
    );

  font-size: 13px;
}


/* =========================================================
   HERO ACTIONS
========================================================= */

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  flex-wrap: wrap;

  flex: 0 0 auto;

  gap: 9px;
}


/* =========================================================
   BUTTON SYSTEM
========================================================= */

.booking-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;

  min-height: 40px;

  padding:
    0
    16px;

  margin: 0;

  border: 1px solid transparent;
  border-radius: 9px;

  font-size: 11px;
  font-weight: 800;

  line-height: 1;

  white-space: nowrap;

  text-align: center;

  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}


.booking-page .btn:hover {
  transform: translateY(-1px);
}


/* =========================================================
   PRIMARY
========================================================= */

.booking-page .btn-primary {
  border-color:
    var(--aht-teal-950);

  background:
    var(--aht-teal-950);

  color: #ffffff;
}


.booking-page .btn-primary:hover {
  border-color:
    var(--aht-teal-800);

  background:
    var(--aht-teal-800);

  color: #ffffff;

  box-shadow:
    0 7px 16px
    rgba(16, 63, 64, 0.14);
}


/* =========================================================
   SECONDARY
========================================================= */

.booking-page .btn-secondary {
  border-color: #c9dddb;

  background:
    var(--aht-soft-teal);

  color:
    var(--aht-teal-950);
}


.booking-page .btn-secondary:hover {
  border-color: #adcfcb;

  background:
    var(--aht-soft-teal-hover);

  color:
    var(--aht-teal-950);
}


/* =========================================================
   LIGHT
========================================================= */

.booking-page .btn-light {
  border-color: #d9e2e2;

  background: #ffffff;

  color: #334b4e;
}


.booking-page .btn-light:hover {
  border-color: #bdcfce;

  background: #f6f9f9;

  color:
    var(--aht-teal-950);
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.booking-hero .btn {
  min-height: 42px;

  padding:
    0
    18px;
}


.booking-hero .btn-light {
  min-width: 100px;

  background: #ffffff;

  border-color:
    rgba(
      255,
      255,
      255,
      0.75
    );

  color: #31474a;
}


.booking-hero .btn-secondary {
  min-width: 158px;

  border-color: #d3e7e4;

  background: #edf6f5;

  color: #173f40;
}


.booking-hero .btn-secondary:hover {
  border-color: #bbd8d5;

  background: #e1efed;
}


.booking-hero .btn-primary {
  min-width: 94px;

  border-color:
    var(--aht-amber);

  background:
    var(--aht-amber);

  color: #123d3d;

  box-shadow:
    0 6px 16px
    rgba(244, 173, 25, 0.18);
}


.booking-hero .btn-primary:hover {
  border-color:
    var(--aht-amber-light);

  background:
    var(--aht-amber-light);

  color: #123d3d;
}


.booking-page .btn-full {
  width: 100%;

  min-height: 41px;
}


/* =========================================================
   STATUS BADGES
========================================================= */

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 27px;

  padding:
    0
    11px;

  border-radius: 999px;

  font-size: 9px;
  font-weight: 850;

  text-transform: capitalize;
}


.status-pending {
  background: #fff3cf;
  color: #966a00;
}


.status-confirmed {
  background: #e1f6e7;
  color: #187c38;
}


.status-travelling {
  background: #e7efff;
  color: #2458c7;
}


.status-completed {
  background: #e9edef;
  color: #47545b;
}


.status-cancelled {
  background: #fde8ea;
  color: #b62936;
}


/* =========================================================
   BOOKING OVERVIEW
========================================================= */

.overview-grid {
  display: grid;

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

  align-items: stretch;

  gap: 12px;

  margin-bottom: 16px;
}


.overview-card {
  min-width: 0;
  min-height: 102px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding:
    16px
    18px;

  border:
    1px solid
    var(--aht-border);

  border-radius: 12px;

  background:
    var(--aht-white);

  box-shadow:
    0 5px 16px
    rgba(30, 59, 62, 0.04);
}


.overview-card span {
  display: block;

  margin-bottom: 7px;

  color: #748487;

  font-size: 9px;
  font-weight: 850;

  letter-spacing: 0.55px;

  text-transform: uppercase;
}


.overview-card strong {
  display: block;

  overflow: hidden;

  color: #20393d;

  font-size: 20px;
  font-weight: 850;

  line-height: 1.2;

  white-space: nowrap;

  text-overflow: ellipsis;
}


.overview-card small {
  display: block;

  margin-top: 6px;

  color: #7e8c8e;

  font-size: 9px;
}


.overview-card.highlight-card {
  border-color: #cce1df;

  background: #edf6f5;
}


.overview-card.highlight-card strong {
  color: #174847;
}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.content-grid {
  display: grid;

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

  align-items: start;

  gap: 16px;
}


.main-column,
.side-column {
  min-width: 0;
}


.side-column {
  position: sticky;

  top: 18px;

  align-self: start;
}


/* =========================================================
   CARDS
========================================================= */

.booking-page .card {
  margin-bottom: 13px;

  padding:
    15px
    17px;

  border:
    1px solid
    var(--aht-border);

  border-radius: 12px;

  background:
    var(--aht-white);

  box-shadow:
    0 5px 18px
    rgba(32, 59, 63, 0.04);
}


/* =========================================================
   SECTION HEADERS
========================================================= */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  margin-bottom: 14px;

  padding-bottom: 13px;

  border-bottom:
    1px solid
    #e7edee;
}


.section-header > div {
  min-width: 0;
}


.section-header h2 {
  margin:
    2px
    0
    0;

  color: #193f41;

  font-size: 17px;
  font-weight: 820;

  line-height: 1.3;

  letter-spacing: -0.2px;
}


.section-label {
  color: #879394;

  font-size: 9px;
  font-weight: 850;

  letter-spacing: 1px;

  text-transform: uppercase;
}


.section-description {
  margin-top: 4px;

  color: #7c898b;

  font-size: 10px;
}


.compact-header {
  margin-bottom: 12px;

  padding-bottom: 10px;
}


/* =========================================================
   SECTION HEADER ACTIONS
========================================================= */

.section-header > .btn {
  flex: 0 0 auto;

  min-width: 150px;
  min-height: 40px;

  padding:
    0
    18px;

  border-color: #c6ddda;

  border-radius: 9px;

  background: #eaf4f3;

  color: #174847;

  font-size: 11px;
  font-weight: 800;
}


.section-header > .btn:hover {
  border-color: #a9cfca;

  background: #dfeeed;

  color: #103f40;
}


/* =========================================================
   DETAIL GRIDS
========================================================= */

.details-grid {
  display: grid;

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

  gap: 9px;
}


.details-grid-two,
.details-grid-four {
  display: grid;

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

  gap: 9px;
}


.detail-item {
  min-width: 0;
  min-height: 64px;

  padding:
    11px
    12px;

  border:
    1px solid
    #e2e8ea;

  border-radius: 8px;

  background: #f8faf9;
}


.detail-item span {
  display: block;

  margin-bottom: 5px;

  color: #7b858d;

  font-size: 8px;
  font-weight: 700;
}


.detail-item strong {
  display: block;

  overflow: hidden;

  color: #29363c;

  font-size: 11px;
  font-weight: 750;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.text-capitalize {
  text-transform: capitalize;
}


/* =========================================================
   PASSENGER FORM
========================================================= */

.passenger-form-wrapper {
  display: none;

  margin-bottom: 14px;

  padding: 14px;

  border:
    1px solid
    #dce7e5;

  border-radius: 9px;

  background: #f7faf9;
}


.passenger-form-visible {
  display: block;
}


.passenger-form {
  display: flex;

  flex-direction: column;

  gap: 14px;
}


/* =========================================================
   FORMS
========================================================= */

.form-grid {
  display: grid;

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

  gap: 12px;
}


.form-group {
  min-width: 0;
}


.form-group label {
  display: block;

  margin-bottom: 5px;

  color: #4e5a61;

  font-size: 10px;
  font-weight: 700;
}


.booking-page input,
.booking-page select,
.booking-page textarea {
  width: 100%;

  border:
    1px solid
    #d7dfe2;

  border-radius: 7px;

  outline: none;

  background: #ffffff;

  color: #26343c;

  font-size: 11px;
}


.booking-page input,
.booking-page select {
  height: 36px;

  padding:
    0
    10px;
}


.booking-page textarea {
  min-height: 76px;

  padding:
    9px
    10px;

  resize: vertical;
}


.booking-page input:focus,
.booking-page select:focus,
.booking-page textarea:focus {
  border-color: #236061;

  box-shadow:
    0 0 0 3px
    rgba(35, 96, 97, 0.09);
}


.checkbox-group {
  display: flex;
  align-items: center;

  gap: 8px;
}


.checkbox-group input {
  width: 16px;
  height: 16px;
}


.checkbox-group span {
  font-size: 11px;
  font-weight: 650;
}


.inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 8px;
}


/* =========================================================
   TABLES
========================================================= */

.booking-page .table-wrapper {
  width: 100%;

  overflow-x: auto;

  border:
    1px solid
    #dfe8e8;

  border-radius: 10px;
}


.booking-page .table-wrapper table {
  width: 100%;

  min-width: 700px;

  margin: 0;

  border-collapse: collapse;
}


.booking-page .table-wrapper thead {
  background:
    var(--aht-teal-900);
}


.booking-page .table-wrapper th {
  padding:
    12px
    14px;

  color:
    rgba(
      255,
      255,
      255,
      0.93
    );

  font-size: 9px;
  font-weight: 800;

  letter-spacing: 0.35px;

  text-align: left;

  text-transform: uppercase;

  white-space: nowrap;
}


.booking-page .table-wrapper td {
  padding:
    12px
    14px;

  border-bottom:
    1px solid
    #edf0f2;

  color: #33484c;

  font-size: 10.5px;

  white-space: nowrap;
}


.booking-page .table-wrapper tbody tr:hover {
  background: #f5f9f9;
}


.booking-page
.table-wrapper
tbody
tr:last-child
td {
  border-bottom: 0;
}


/* =========================================================
   TABLE ACTIONS
========================================================= */

.passenger-actions,
.visa-actions {
  display: flex;
  align-items: center;

  gap: 6px;
}


.inline-form {
  display: inline;
}


.table-btn {
  min-height: 29px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding:
    0
    9px;

  border: 0;

  border-radius: 6px;

  font-size: 9px;
  font-weight: 750;
}


.table-btn-edit {
  background:
    var(--aht-blue-soft);

  color:
    var(--aht-blue);
}


.table-btn-edit:hover {
  background: #d9e8ff;
}


.table-btn-delete {
  background:
    var(--aht-danger-soft);

  color:
    var(--aht-danger);
}


.table-btn-delete:hover {
  background: #fbd9dc;
}


/* =========================================================
   PASSENGER BADGES
========================================================= */

.passenger-type,
.lead-badge {
  min-height: 23px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding:
    0
    8px;

  border-radius: 18px;

  font-size: 9px;
  font-weight: 750;

  text-transform: capitalize;
}


.passenger-type {
  background: #e9f3f2;

  color: #176565;
}


.lead-badge {
  background: #e3f6e8;

  color: #187c38;
}


.muted-text {
  color: #929ba1;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
  padding:
    28px
    18px;

  border:
    1px dashed
    #d5dde0;

  border-radius: 9px;

  background: #f9fbfb;

  text-align: center;
}


.empty-state h3 {
  margin-bottom: 5px;

  color: #263a3d;

  font-size: 15px;
}


.empty-state p {
  color: #7b858d;

  font-size: 11px;
}


/* =========================================================
   NOTES
========================================================= */

.notes-box {
  min-height: 80px;

  padding: 13px;

  border:
    1px solid
    #e7ebed;

  border-radius: 8px;

  background: #f8fafb;

  color: #465259;

  font-size: 11px;

  white-space: pre-wrap;
}


/* =========================================================
   AGENT
========================================================= */

.agent-box {
  display: flex;
  align-items: center;

  gap: 10px;

  margin-bottom: 12px;

  padding: 11px;

  border:
    1px solid
    #e7ebed;

  border-radius: 8px;

  background: #f7f9fa;
}


.agent-avatar {
  flex:
    0
    0
    38px;

  width: 38px;
  height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    var(--aht-teal-950);

  color: #ffffff;

  font-size: 11px;
  font-weight: 800;
}


.agent-box strong {
  display: block;

  font-size: 12px;
}


.agent-box span {
  display: block;

  margin-top: 2px;

  color: #7c868d;

  font-size: 9px;
}


.side-summary {
  display: none;
}


/* =========================================================
   SIDE INFORMATION
========================================================= */

.side-information-card {
  padding: 15px;
}


.side-information-card
.section-header {
  margin-bottom: 0;
}


.side-information-card
.section-header
h2 {
  font-size: 15px;
}


.side-detail-list {
  display: flex;

  flex-direction: column;
}


.side-detail-row {
  min-width: 0;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 14px;

  padding:
    10px
    0;

  border-bottom:
    1px solid
    #e5eaec;
}


.side-detail-row:last-child {
  padding-bottom: 0;

  border-bottom: 0;
}


.side-detail-row span {
  flex: 0 0 auto;

  color: #718087;

  font-size: 9px;
  font-weight: 750;
}


.side-detail-row strong {
  min-width: 0;

  color: #26343c;

  font-size: 10px;
  font-weight: 850;

  text-align: right;

  overflow-wrap: anywhere;
}


/* =========================================================
   FINANCIAL SUMMARY
========================================================= */

.financial-summary-card {
  margin-top: 0;
}


.financial-summary-list {
  display: flex;

  flex-direction: column;
}


.financial-summary-row {
  display: grid;

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

  align-items: center;

  gap:
    4px
    10px;

  padding:
    10px
    0;

  border-bottom:
    1px solid
    #e9edef;
}


.financial-summary-row:last-child {
  border-bottom: 0;
}


.financial-summary-row span {
  color: #6f7a82;

  font-size: 10px;
  font-weight: 650;
}


.financial-summary-row strong {
  color: #253239;

  font-size: 11px;
  font-weight: 800;

  text-align: right;

  white-space: nowrap;
}


.financial-summary-row small {
  grid-column:
    1
    /
    -1;

  color: #929ba1;

  font-size: 8px;
}


.financial-positive strong {
  color: #167c35;
}


.financial-cost strong {
  color: #a36d00;
}


.financial-available,
.financial-margin,
.financial-profit {
  margin-top: 8px;

  padding: 11px;

  border-radius: 8px;
}


.financial-available {
  border:
    1px solid
    #c5e8ce;

  background: #eaf8ee;
}


.financial-margin {
  border:
    1px solid
    #c9e2de;

  background: #edf7f5;
}


.financial-profit {
  border:
    1px solid
    #d8e7e4;

  background: #f3f8f7;
}


.financial-available strong {
  color: #167c35;
}


.financial-margin strong,
.financial-profit strong {
  color:
    var(--aht-green);
}


.negative-money {
  color: #c52e3b !important;
}


.financial-summary-note {
  margin-top: 10px;

  padding-top: 9px;

  border-top:
    1px solid
    #e7ebed;

  color: #818b92;

  font-size: 8px;

  line-height: 1.4;
}


/* =========================================================
   TOM SELECT
========================================================= */

#passengerForm .ts-wrapper {
  width: 100%;
}


#passengerForm .ts-control {
  width: 100%;

  min-height: 44px;
  height: 44px;

  display: flex;
  align-items: center;

  padding:
    0
    12px;

  border:
    1px solid
    #cbd5e1;

  border-radius: 9px;

  background: #ffffff;

  box-shadow: none;

  color: #172521;

  font-size: 13px;

  line-height: 1.2;

  overflow: hidden;
}


#passengerForm
.ts-control
> input {
  flex:
    1
    1
    auto;

  width: auto !important;

  min-width: 40px !important;

  min-height: 0 !important;

  height: auto !important;

  margin: 0 !important;

  padding: 0 !important;

  border: 0 !important;

  border-radius: 0 !important;

  background: transparent !important;

  box-shadow: none !important;

  font-size: 13px !important;

  line-height: 1.2 !important;
}


#passengerForm
.ts-control
.item {
  display: inline-flex;

  align-items: center;

  margin: 0;

  padding: 0;

  color: #172521;

  font-size: 13px;

  line-height: 1.2;
}


#passengerForm
.ts-wrapper.focus
.ts-control {
  border-color:
    var(--aht-green);

  box-shadow:
    0 0 0 3px
    rgba(23, 107, 91, 0.11);
}


#passengerForm
.ts-dropdown {
  z-index: 9999;

  margin-top: 4px;

  overflow: hidden;

  border:
    1px solid
    #d5dfdb;

  border-radius: 9px;

  background: #ffffff;

  box-shadow:
    0 10px 28px
    rgba(15, 23, 42, 0.12);
}


#passengerForm
.ts-dropdown-content {
  max-height: 240px;

  overflow-y: auto;
}


#passengerForm
.ts-dropdown
.option {
  padding:
    9px
    11px;

  color: #26343c;

  font-size: 12px;

  line-height: 1.3;
}


#passengerForm
.ts-dropdown
.active {
  background: #edf5f3;

  color:
    var(--aht-teal-950);
}


/* =========================================================
   INVOICE TRACKER
========================================================= */

.invoice-tracker-card {
  overflow: hidden;
}


.invoice-tracker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 18px;

  padding-bottom: 16px;

  border-bottom:
    1px solid
    #e6edeb;
}


.invoice-tracker-header
> div:first-child {
  min-width: 0;
}


.invoice-tracker-header h2 {
  margin:
    3px
    0
    0;

  color:
    var(--aht-teal-950);

  font-size: 18px;
  font-weight: 850;

  line-height: 1.25;

  letter-spacing: -0.25px;
}


.invoice-tracker-count {
  min-width: 58px;
  min-height: 58px;

  flex: 0 0 auto;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding:
    8px
    10px;

  border:
    1px solid
    #d3e8e4;

  border-radius: 11px;

  background: #edf8f6;

  text-align: center;
}


.invoice-tracker-count strong {
  color:
    var(--aht-green);

  font-size: 18px;
  font-weight: 850;

  line-height: 1;
}


.invoice-tracker-count span {
  margin-top: 4px;

  color: #718380;

  font-size: 8px;
  font-weight: 800;

  text-transform: uppercase;
}


/* =========================================================
   INVOICE SLIDER
========================================================= */

.invoice-slider {
  position: relative;

  margin-top: 18px;
}


.invoice-slide {
  display: none;
}


.invoice-slide-active {
  display: block;

  animation:
    invoiceFade
    180ms
    ease;
}


@keyframes invoiceFade {

  from {
    opacity: 0;

    transform:
      translateX(5px);
  }

  to {
    opacity: 1;

    transform:
      translateX(0);
  }

}


/* =========================================================
   INVOICE TOP
========================================================= */

.invoice-slide-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 12px;
}


.invoice-slide-label {
  display: block;

  margin-bottom: 2px;

  color: #84918f;

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.7px;

  text-transform: uppercase;
}


.invoice-slide-top h3 {
  margin: 0;

  color:
    var(--aht-teal-950);

  font-size: 20px;

  line-height: 1.2;
}


/* =========================================================
   INVOICE STATUS
========================================================= */

.invoice-signature-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding:
    5px
    9px;

  border-radius: 999px;

  font-size: 10px;
  font-weight: 700;

  white-space: nowrap;
}


.invoice-signature-status-not_sent {
  background: #eef1f1;

  color: #626d6c;
}


.invoice-signature-status-pending,
.invoice-signature-status-sent {
  background: #fff2cf;

  color: #976800;
}


.invoice-signature-status-viewed {
  background: #e6f0ff;

  color: #245da2;
}


.invoice-signature-status-signed {
  background: #dff5ea;

  color: #176b48;
}


.invoice-signature-status-declined,
.invoice-signature-status-failed {
  background: #fde5e3;

  color: #a0342e;
}


/* =========================================================
   INVOICE VALUE
========================================================= */

.invoice-slide-value {
  margin-top: 17px;

  padding:
    14px
    15px;

  border:
    1px solid
    #e1e9e7;

  border-radius: 10px;

  background: #f8faf9;
}


.invoice-slide-value span {
  display: block;

  color: #71817e;

  font-size: 10px;
}


.invoice-slide-value strong {
  display: block;

  margin-top: 2px;

  color:
    var(--aht-teal-950);

  font-size: 22px;
}


.invoice-slide-value small {
  display: block;

  margin-top: 4px;

  color: #84918f;

  font-size: 10px;
}


/* =========================================================
   SIGNATURE PROGRESS
========================================================= */

.invoice-progress {
  position: relative;

  margin-top: 18px;
}


.invoice-progress-step {
  position: relative;

  min-height: 47px;

  display: grid;

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

  gap: 10px;
}


.invoice-progress-step:not(
  :last-child
)::after {
  content: "";

  position: absolute;

  left: 11px;
  top: 23px;
  bottom: 0;

  width: 2px;

  background: #e0e8e6;
}


.invoice-progress-dot {
  position: relative;

  z-index: 2;

  width: 24px;
  height: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    2px solid
    #d9e3e1;

  border-radius: 50%;

  background: #ffffff;

  color: #ffffff;

  font-size: 10px;
  font-weight: 800;
}


.invoice-progress-step strong {
  display: block;

  color: #253735;

  font-size: 12px;
}


.invoice-progress-step small {
  display: block;

  margin-top: 1px;

  color: #85918f;

  font-size: 10px;
}


.invoice-progress-complete
.invoice-progress-dot {
  border-color:
    var(--aht-green);

  background:
    var(--aht-green);
}


.invoice-progress-complete:not(
  :last-child
)::after {
  background: #95cec7;
}


/* =========================================================
   INVOICE ACTIONS
========================================================= */

.invoice-slide-actions {
  display: grid;

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

  gap: 8px;

  margin-top: 7px;
}


.invoice-action {
  min-height: 38px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding:
    8px
    10px;

  border-radius: 8px;

  font-size: 11px;
  font-weight: 750;

  text-align: center;
}


.invoice-action-view {
  border:
    1px solid
    #cbe1dd;

  background: #eff7f5;

  color:
    var(--aht-green);
}


.invoice-action-view:hover {
  border-color: #acd1cb;

  background: #e4f2ef;
}


.invoice-action-download,
.invoice-action-send {
  border:
    1px solid
    var(--aht-green);

  background:
    var(--aht-green);

  color: #ffffff;
}


.invoice-action-download:hover,
.invoice-action-send:hover {
  border-color:
    var(--aht-green-dark);

  background:
    var(--aht-green-dark);
}


.invoice-signature-form {
  margin: 0;
}


.invoice-action-send {
  width: 100%;

  cursor: pointer;
}


.invoice-action-disabled {
  width: 100%;

  border:
    1px solid
    #e0e6e5;

  background: #f3f5f5;

  color: #8a9694;

  cursor: not-allowed;
}


/* =========================================================
   INVOICE NAVIGATION
========================================================= */

.invoice-slider-navigation {
  display: grid;

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

  align-items: center;

  gap: 10px;

  margin-top: 16px;
}


.invoice-slider-arrow {
  width: 34px;
  height: 34px;

  border:
    1px solid
    #d7e1df;

  border-radius: 50%;

  background: #ffffff;

  color:
    var(--aht-green);

  font-size: 22px;

  line-height: 1;

  cursor: pointer;
}


.invoice-slider-arrow:hover {
  border-color: #bcded9;

  background: #edf8f6;
}


.invoice-slider-position {
  color: #71817e;

  font-size: 11px;
  font-weight: 700;

  text-align: center;
}


/* =========================================================
   INVOICE FOOTER
========================================================= */

.invoice-tracker-footer {
  margin-top: 17px;

  padding-top: 16px;

  border-top:
    1px solid
    #e8eeec;
}


.invoice-tracker-footer
.btn-primary {
  min-height: 41px;

  border-color:
    var(--aht-green);

  background:
    var(--aht-green);

  color: #ffffff;
}


.invoice-tracker-footer
.btn-primary:hover {
  border-color:
    var(--aht-green-dark);

  background:
    var(--aht-green-dark);
}


.invoice-view-all {
  min-height: 38px;

  margin-top: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    #d7e4e1;

  border-radius: 8px;

  background: #ffffff;

  color:
    var(--aht-green);

  font-size: 11px;
  font-weight: 700;
}


.invoice-view-all:hover {
  border-color: #bcd8d3;

  background: #f3f8f7;
}


/* =========================================================
   INVOICE EMPTY
========================================================= */

.invoice-tracker-empty {
  padding:
    25px
    10px
    18px;

  text-align: center;
}


.invoice-tracker-empty strong {
  display: block;

  color: #263a37;
}


.invoice-tracker-empty p {
  margin-top: 5px;

  color: #7b8987;

  font-size: 12px;
}


/* =========================================================
   STRIPE PAYMENT SLIDER
========================================================= */

.stripe-payment-slide {
  display: none;
}


.stripe-payment-slide-active {
  display: block;

  animation:
    invoiceFade
    180ms
    ease;
}


.stripe-payment-card
.invoice-tracker-footer
.btn-primary {
  border-color:
    var(--aht-green);

  background:
    var(--aht-green);

  color: #ffffff;
}


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

@media (max-width: 1100px) {

  .overview-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .content-grid {
    grid-template-columns: 1fr;
  }


  .side-column {
    position: static;
  }


  .details-grid,
  .details-grid-two,
  .details-grid-four {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );
  }


  .hero-actions {
    max-width: 580px;
  }


  .booking-hero
  .btn-secondary {
    min-width: 135px;
  }

}


@media (max-width: 760px) {

  .booking-page {
    width:
      calc(
        100% - 28px
      );

    padding-top: 16px;
  }


  .booking-hero {
    align-items: flex-start;

    flex-direction: column;
  }


  .hero-actions {
    width: 100%;

    justify-content: flex-start;
  }


  .booking-hero .btn {
    flex:
      1
      1
      auto;
  }


  .section-header {
    align-items: flex-start;

    flex-direction: column;
  }


  .section-header > .btn {
    width: 100%;
  }


  .form-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 560px) {

  .overview-grid,
  .details-grid,
  .details-grid-two,
  .details-grid-four {
    grid-template-columns: 1fr;
  }


  .invoice-slide-actions {
    grid-template-columns: 1fr;
  }

}

/* =====================================================
   VENDOR SEARCH FIELD
===================================================== */

.ts-wrapper.vendor-search-select
.ts-control {
  cursor: text;
}


.ts-wrapper.vendor-search-select
.ts-control::after {
  display: none !important;
}

/* =====================================================
   VENDOR TOM SELECT
   SINGLE LINE SEARCH FIELD
===================================================== */

.ts-wrapper.vendor-search-select {
  width: 100%;
}


.ts-wrapper.vendor-search-select
.ts-control {
  display: flex;

  align-items: center;

  flex-wrap: nowrap;

  width: 100%;

  min-height: 42px;

  height: 42px;

  padding: 0 12px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #cfd8dc;

  border-radius: 7px;

  box-shadow: none;

  cursor: text;
}


.ts-wrapper.vendor-search-select
.ts-control > input {
  flex: 1 1 auto !important;

  width: auto !important;

  min-width: 80px !important;

  height: 40px;

  margin: 0 !important;

  padding: 0 !important;

  border: 0 !important;

  outline: 0 !important;

  background: transparent !important;

  font-size: 15px;

  line-height: 40px;

  white-space: nowrap;
}


.ts-wrapper.vendor-search-select
.ts-control .item {
  flex: 0 1 auto;

  max-width: 65%;

  margin: 0 8px 0 0;

  padding: 0;

  overflow: hidden;

  color: #26343c;

  font-size: 15px;

  line-height: 40px;

  text-overflow: ellipsis;

  white-space: nowrap;
}


/* =====================================================
   VENDOR RESULTS DROPDOWN
===================================================== */

.ts-wrapper.vendor-search-select
.ts-dropdown {
  max-height: 220px;

  margin-top: 4px;

  overflow: hidden;

  border: 1px solid #d4dddf;

  border-radius: 7px;

  box-shadow:
    0 8px 20px
    rgba(
      32,
      52,
      51,
      0.10
    );
}


.ts-wrapper.vendor-search-select
.ts-dropdown-content {
  max-height: 218px;

  overflow-y: auto;
}


.ts-wrapper.vendor-search-select
.ts-dropdown .option {
  min-height: 36px;

  padding: 8px 11px;

  font-size: 14px;

  line-height: 20px;
}


.ts-wrapper.vendor-search-select
.ts-dropdown .option.active {
  background: #f3f7f6;

  color: #174f4b;
}


/* =====================================================
   REMOVE MULTI LINE BEHAVIOUR
===================================================== */

.ts-wrapper.vendor-search-select.multi
.ts-control {
  flex-wrap: nowrap;
}


.ts-wrapper.vendor-search-select
.ts-control::after {
  display: none !important;
}