:root {
    --border-color: #000;
    --dotted-color: #797979;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    margin: 0;
  }
  
  .voucher {
    /* border: 1px solid var(--border-color); */
    padding: 15px;
    width: 100%;
    width: 900px;
  }
  
  .header,
  .footer {
    text-align: center;
    margin-bottom: 0;
  }
  
  .header .company-name {
    font-weight: bold;
    margin-bottom: 5px;
  }
  
  .header .company-detail {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 25px;
  
    > span:first-of-type {
      width: 100%;
    }
  }
  
  .subheader {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    align-items: center;
  
    .title {
      font-size: 25px;
      text-align: center;
      text-transform: uppercase;
    }
  
    .right span {
      display: block;
      margin-bottom: 4px;
    }
  }
  
  .header {
    margin-bottom: 20px;
  }
  
  .content div {
    margin: 5px 0;
  }
  
  .section.top,
  .section.footer {
    display: flex;
    flex-wrap: wrap;
  }
  
  .section.center {
    border: 2px solid var(--border-color);
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  
    .program-field {
      grid-column: 1/-1;
    }
  }
  
  .checkbox {
    display: inline-block;
    margin-right: 10px;
  
    label {
      cursor: pointer;
      position: relative;
  
      &::before {
        display: inline-block;
        content: '';
        width: 16px;
        height: 16px;
        border: 1px solid var(--border-color);
        margin-right: 5px;
        transform: translateY(2px);
        display: none;
      }
      &::after {
        content: '';
        width: 12px;
        height: 12px;
        display: block;
        background: #fff;
        position: absolute;
        top: 1px;
        left: 3px;
        display: none;
      }
    }
  
    input {
  /*     display: none; */
  
      &:checked + label {
        &::after {
          content: '';
          background: var(--border-color);
        }
      }
    }
  }
  
  .dotted {
    display: inline-block !important;
    border: none;
    font-weight: bold;
    font-size: 16px;
    line-height: 1;
    border-bottom: 2px dotted var(--dotted-color);
    margin-bottom: 0 !important;
    transform: translateY(-4px);
    margin-right: 5px;
    padding-left: 5px;
  
    &:focus {
      border: none;
      border-bottom: 2px solid var(--dotted-color);
      outline: none;
    }
  }
  
  @media print {
    .action-btn {
      display: none;
    }
    .checkbox label::after {
      background: var(--border-color);
    }
  }

  /* Booking list dashboard */
  .booking-list-page {
    background: #f3f6f5;
    min-height: calc(100vh - 92px);
    padding: 1rem 0 4rem;
  }

  .booking-shell {
    max-width: 1320px;
  }

  .booking-panel {
    background: #fff;
    border: 1px solid #dce5e2;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(22, 42, 42, 0.06);
    overflow: hidden;
  }

  .booking-search {
    background: #fbfdfc;
    border-bottom: 1px solid #dce5e2;
    padding: 1rem;
    position: relative;
  }

  .booking-search .input-group {
    margin: 0 auto;
    max-width: 620px;
  }

  .booking-search .input-group-text {
    background: #fff;
    border-right: 0;
    color: #16816d;
  }

  .booking-search .form-control {
    border-left: 0;
    box-shadow: none;
    min-height: 42px;
  }

  .booking-search .form-control:focus {
    border-color: #86bdb2;
  }

  /* Shared single-row filter bar used on the tour/hotel/taxi booking lists */
  .filters-bar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .filters-search {
    flex: 1 1 240px;
    min-width: 200px;
    position: relative;
  }

  .filters-search .input-group {
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .filters-field {
    flex: 0 1 160px;
    min-width: 140px;
  }

  .filters-field.filters-date {
    flex-basis: 190px;
    min-width: 170px;
  }

  .filters-actions {
    align-items: center;
    display: flex;
    gap: 0.4rem;
    margin-left: auto;
  }

  .filters-actions .btn {
    align-items: center;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    white-space: nowrap;
    width: 38px;
  }

  @media (max-width: 900px) {
    .filters-search {
      flex-basis: 100%;
    }

    .filters-actions {
      margin-left: 0;
    }
  }

  .booking-suggestions {
    background: #fff;
    border: 1px solid #bcd5ce;
    border-radius: 8px;
    box-shadow: 0 16px 32px rgba(22, 42, 42, 0.18);
    left: 0;
    margin-top: 0.35rem;
    max-height: 280px;
    overflow-y: auto;
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 10;
  }

  .booking-suggestions-header {
    align-items: center;
    background: #f3f8f6;
    border-bottom: 1px solid #dce9e4;
    color: #54706a;
    display: flex;
    font-size: 0.7rem;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0.06em;
    padding: 0.55rem 0.85rem;
    text-transform: uppercase;
  }

  .booking-suggestions-header span {
    align-items: center;
    background: #d9ede6;
    border-radius: 10px;
    color: #176754;
    display: inline-flex;
    height: 20px;
    justify-content: center;
    min-width: 20px;
    padding: 0 0.4rem;
  }

  .booking-suggestion {
    align-items: flex-start;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #edf2f0;
    color: #263735;
    display: flex;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
    text-align: left;
    width: 100%;
  }

  .booking-suggestion:last-child {
    border-bottom: 0;
  }

  .booking-suggestion:hover,
  .booking-suggestion.active {
    background: #e9f6f1;
  }

  .booking-suggestion-reference {
    background: #e6f3ef;
    border-radius: 4px;
    color: #126653;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 92px;
    overflow: hidden;
    padding: 0.3rem 0.4rem;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .booking-suggestion-content {
    display: grid;
    gap: 0.35rem;
    min-width: 0;
    padding-top: 0.05rem;
    flex: 1;
  }

  .booking-suggestion-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .booking-suggestion-service,
  .booking-suggestion-hotel {
    border-radius: 3px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
  }

  .booking-suggestion-service {
    background: #dff2ec;
    color: #176754;
  }

  .booking-suggestion-hotel {
    background: #fff1d6;
    color: #8a5300;
  }

  .booking-suggestion-value {
    color: #1f302e;
    font-size: 0.9rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .booking-suggestion-arrow {
    color: #80a89d;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }

  .booking-suggestion:hover .booking-suggestion-arrow,
  .booking-suggestion.active .booking-suggestion-arrow {
    color: #08715b;
  }

  .booking-table {
    color: #31403f;
    min-width: 920px;
  }

  .booking-table thead th {
    background: #163d39;
    border: 0;
    color: #f7fbfa;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.9rem 1rem;
    text-transform: uppercase;
  }

  .booking-table tbody td {
    border-color: #e5ece9;
    padding: 0.95rem 1rem;
    vertical-align: middle;
  }

  .booking-table tbody tr:hover {
    background: #f4faf7;
  }

  .booking-id {
    color: #71807d;
    font-size: 0.82rem;
    font-weight: 600;
  }

  .booking-service {
    background: #dff2ec;
    border-radius: 4px;
    color: #176754;
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.28rem 0.45rem;
  }

  .booking-hotel {
    background: #fff1d6;
    border-radius: 4px;
    color: #8a5300;
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.28rem 0.45rem;
  }

  .booking-action-group {
    display: flex;
    gap: 0.35rem;
    white-space: nowrap;
  }

  .booking-action-button {
    align-items: center;
    border: 1px solid transparent;
    display: inline-flex;
    height: 34px;
    justify-content: center;
    padding: 0;
    width: 34px;
  }

  .booking-action-button i {
    line-height: 1;
  }

  .booking-invoice {
    background: #eaf2ff;
    border-color: #bfd5ff;
    color: #1d4ed8;
  }

  .booking-edit {
    background: #fff4dc;
    border-color: #f5d794;
    color: #9a5b00;
  }

  .booking-duplicate {
    background: #e2f5ee;
    border-color: #afe0d1;
    color: #08715b;
  }

  .booking-delete {
    background: #fdecEB;
    border-color: #f4c2bd;
    color: #b42318;
  }

  .booking-action-button:hover,
  .booking-action-button:focus {
    filter: brightness(0.93);
  }

  .booking-action-button:focus-visible {
    box-shadow: 0 0 0 0.2rem rgba(22, 129, 109, 0.25);
  }

  .booking-empty-state {
    color: #657271;
    padding: 3rem 1rem;
    text-align: center;
  }

  .booking-empty-state i {
    color: #16816d;
    font-size: 1.75rem;
  }

  .booking-empty-state p {
    margin: 0.8rem 0;
  }

  .booking-pagination {
    margin-top: 1.5rem;
  }

  .booking-pagination .page-link {
    border-color: #dce5e2;
    color: #31504c;
  }

  .booking-pagination .page-item.active .page-link {
    background: #16816d;
    border-color: #16816d;
  }

  @media (max-width: 576px) {
    .booking-list-page {
      padding: 1.75rem 0 3rem;
    }

    .booking-search .input-group {
      flex-wrap: nowrap;
    }

    .booking-search-button {
      width: 42px;
    }
  }

  .form-label i {
    margin-right: 5px;
}

/* Operations dashboard */
.dashboard-page {
  background: #f3f6f5;
  min-height: calc(100vh - 92px);
}

.dashboard-shell { max-width: 1320px; }

.dashboard-heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.dashboard-eyebrow {
  color: #16816d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.dashboard-heading h1 { color: #183b35; font-size: 2rem; font-weight: 750; margin: 0 0 0.35rem; }
.dashboard-heading p:not(.dashboard-eyebrow) { color: #62736f; margin: 0; }
.dashboard-date { color: #52635f; font-size: 0.85rem; font-weight: 650; white-space: nowrap; }
.dashboard-date i { color: #16816d; margin-right: 0.4rem; }

.dashboard-metrics {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 1.25rem;
}

.dashboard-metric {
  background: #fff;
  border: 1px solid #dbe7e2;
  border-radius: 8px;
  color: #263a36;
  display: grid;
  min-height: 164px;
  padding: 1rem;
  position: relative;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

a.dashboard-metric:hover { box-shadow: 0 12px 24px rgba(22, 62, 52, 0.12); color: #263a36; transform: translateY(-2px); }
.dashboard-metric > i:first-child { align-items: center; border-radius: 6px; color: #fff; display: inline-flex; font-size: 1rem; height: 34px; justify-content: center; width: 34px; }
.dashboard-metric span { align-self: end; color: #677873; font-size: 0.78rem; font-weight: 700; }
.dashboard-metric strong { color: #183b35; font-size: 2rem; font-weight: 760; line-height: 1.05; }
.dashboard-metric small { color: #70817d; font-size: 0.73rem; font-weight: 650; }
.dashboard-metric small i { color: #16816d; margin-left: 0.15rem; }
.metric-tour > i:first-child { background: linear-gradient(135deg, #1fb88f, #0f7a5c); }
.metric-hotel > i:first-child { background: linear-gradient(135deg, #f2ac4f, #d97a12); }
.metric-taxi > i:first-child { background: linear-gradient(135deg, #4a97d6, #1c5c94); }
.metric-users > i:first-child { background: linear-gradient(135deg, #9576cf, #5f3a95); }
.metric-agencies > i:first-child { background: linear-gradient(135deg, #e07d6c, #b13d2c); }

.site-footer {
  background: linear-gradient(135deg, #142b3a, #1b3d4a);
  border-top: 4px solid #16816d;
  color: #d5e2e7;
  margin-top: 3rem;
}

.site-footer-main {
  padding-bottom: 2.25rem;
  padding-top: 3.25rem;
}

.site-footer-brand {
  display: inline-block;
}

.site-footer-brand img {
  display: block;
  height: auto;
  max-width: 175px;
  width: 100%;
}

.site-footer-description,
.site-footer-note {
  color: #adc1ca;
  line-height: 1.7;
  margin: 1rem 0 0;
  max-width: 340px;
}

.site-footer-heading {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.site-footer-links {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-links a,
.site-footer-back-top {
  color: #d5e2e7;
  text-decoration: none;
  transition: color 150ms ease;
}

.site-footer-links a:hover,
.site-footer-back-top:hover {
  color: #72d7b4;
}

.site-footer-links a:focus-visible,
.site-footer-back-top:focus-visible,
.site-footer-brand:focus-visible {
  border-radius: 3px;
  outline: 2px solid #72d7b4;
  outline-offset: 4px;
}

.site-footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(213, 226, 231, 0.18);
  color: #adc1ca;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.2rem 0;
}

.site-footer-back-top {
  align-items: center;
  display: inline-flex;
  gap: 0.4rem;
}

@media (max-width: 575.98px) {
  .site-footer-main {
    padding-bottom: 1.75rem;
    padding-top: 2.5rem;
  }

  .site-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
.dashboard-metric::after { background: linear-gradient(90deg, transparent, currentColor); border-radius: 8px 8px 0 0; content: ''; height: 3px; left: 0; opacity: 0; position: absolute; right: 0; top: 0; transition: opacity 160ms ease; }
.metric-tour { color: #1fb88f; }.metric-hotel { color: #f2ac4f; }.metric-taxi { color: #4a97d6; }.metric-users { color: #9576cf; }.metric-agencies { color: #e07d6c; }
a.dashboard-metric:hover::after { opacity: 1; }

.wave { display: inline-block; animation: wave-hand 2.2s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave-hand { 0%, 60%, 100% { transform: rotate(0deg); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } 40% { transform: rotate(-4deg); } }

.dashboard-reports { display: grid; gap: 1.25rem; grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.9fr); }
.dashboard-chart-card { background: #fff; border: 1px solid #dbe7e2; border-radius: 8px; min-width: 0; padding: 1.25rem; }
.dashboard-chart-wrap, .dashboard-doughnut-wrap { position: relative; width: 100%; }
.dashboard-chart-wrap canvas, .dashboard-doughnut-wrap canvas { max-width: 100%; }
.dashboard-chart-card header { align-items: flex-start; display: flex; justify-content: space-between; }
.dashboard-chart-card header p { color: #72827e; font-size: 0.7rem; font-weight: 750; letter-spacing: 0.06em; margin: 0 0 0.25rem; text-transform: uppercase; }
.dashboard-chart-card h2 { color: #183b35; font-size: 1.05rem; font-weight: 750; margin: 0; }
.chart-legend { color: #71817d; font-size: 0.72rem; font-weight: 650; }
.chart-legend i { background: #1b9c7a; border-radius: 50%; display: inline-block; height: 8px; margin-right: 0.3rem; width: 8px; }
.dashboard-chart-wrap { height: 290px; margin-top: 1.25rem; }
.dashboard-doughnut-wrap { height: 205px; margin: 1rem auto 0; max-width: 250px; }
.dashboard-mix-key { display: flex; justify-content: space-around; margin-top: 0.4rem; }
.dashboard-mix-key span { color: #657672; font-size: 0.72rem; font-weight: 650; }
.dashboard-mix-key b { color: #26423c; display: block; font-size: 0.96rem; margin-top: 0.15rem; padding-left: 14px; }
.dashboard-mix-key i { border-radius: 50%; display: inline-block; height: 8px; margin-right: 0.3rem; width: 8px; }
.tour-dot { background: #1b9c7a; }.hotel-dot { background: #ec9a34; }.taxi-dot { background: #2d7fc1; }

.dashboard-activity-feed { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); margin-top: 1.25rem; }
.feed-card { background: #fff; border: 1px solid #dbe7e2; border-radius: 8px; padding: 1.1rem; }
.feed-card header { align-items: center; display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.feed-icon { align-items: center; border-radius: 6px; color: #fff; display: inline-flex; font-size: 0.85rem; height: 28px; justify-content: center; width: 28px; }
.feed-icon-tour { background: linear-gradient(135deg, #1fb88f, #0f7a5c); }
.feed-icon-hotel { background: linear-gradient(135deg, #f2ac4f, #d97a12); }
.feed-icon-taxi { background: linear-gradient(135deg, #4a97d6, #1c5c94); }
.feed-card h3 { color: #183b35; flex: 1; font-size: 0.92rem; font-weight: 750; margin: 0; }
.feed-card header a { color: #16816d; font-size: 0.72rem; font-weight: 700; text-decoration: none; }
.feed-card header a:hover { text-decoration: underline; }
.feed-card ul { list-style: none; margin: 0; padding: 0; }
.feed-card li { align-items: center; border-top: 1px solid #eef3f1; display: flex; gap: 0.5rem; padding: 0.55rem 0; }
.feed-card li:first-child { border-top: 0; }
.feed-name { color: #263a36; flex: 1; font-size: 0.82rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-meta { color: #70817d; font-size: 0.74rem; max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-when { color: #97a6a1; font-size: 0.7rem; font-weight: 650; white-space: nowrap; }
.feed-empty { color: #97a6a1; font-size: 0.8rem; padding: 0.75rem 0; }

.dashboard-actions { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.25rem; }
.dashboard-actions a { align-items: center; background: #fff; border: 1px solid #dbe7e2; border-radius: 8px; color: #28423c; display: flex; gap: 0.75rem; min-height: 76px; padding: 0.85rem 1rem; text-decoration: none; }
.dashboard-actions > a > i:first-child { color: #16816d; font-size: 1.3rem; }.dashboard-actions span { display: grid; flex: 1; gap: 0.15rem; }.dashboard-actions b { font-size: 0.86rem; }.dashboard-actions small { color: #74837f; font-size: 0.72rem; }.dashboard-actions > a > i:last-child { color: #8ca19a; }
.dashboard-actions a:hover { background: #f8fcfa; border-color: #a8cfc3; color: #28423c; }

@media (max-width: 1100px) { .dashboard-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .dashboard-activity-feed { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) { .dashboard-heading { align-items: flex-start; flex-direction: column; }.dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }.dashboard-reports { grid-template-columns: minmax(0, 1fr); }.dashboard-actions { grid-template-columns: minmax(0, 1fr); }.dashboard-chart-wrap { height: 240px; } }
@media (max-width: 440px) { .dashboard-metrics { grid-template-columns: minmax(0, 1fr); }.dashboard-metric { min-height: 135px; }.dashboard-heading h1 { font-size: 1.7rem; } }