*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, "Segoe UI", Tahoma, sans-serif;
    background: #f4f7fb;
    color: #1a2a3a;
    line-height: 1.5;
}

a {
    color: #1565c0;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #dde4ee;
    box-shadow: 0 1px 6px rgba(15, 39, 68, 0.06);
    margin-bottom: 24px;
}

/* Admin header */
.admin-header {
    background: #fff;
    border-bottom: 2px solid #0f2744;
    margin-bottom: 20px;
}

.admin-header-wrap {
    padding: 0;
}

.admin-header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    padding: 10px 0 8px;
    border-bottom: 1px solid #e8edf4;
}

.admin-brand {
    min-width: 0;
    flex: 1 1 280px;
}

.admin-brand a {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #0f2744;
    text-decoration: none;
    line-height: 1.3;
}

.admin-brand a:hover {
    color: #1e4d7b;
    text-decoration: none;
}

.admin-brand .brand-sub {
    display: block;
    font-size: 0.82rem;
    color: #5c6b7f;
    margin-top: 2px;
}

.admin-user-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 2px;
}

.admin-user-greeting {
    font-size: 0.86rem;
    color: #3d4f63;
    white-space: nowrap;
}

.admin-logout-btn {
    padding: 5px 14px;
    font-size: 0.78rem;
    border-color: #c5ced9;
    color: #0f2744;
}

.admin-logout-btn:hover {
    background: #f4f7fb;
    border-color: #0f2744;
    text-decoration: none;
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 0 10px;
}

.admin-nav-group {
    position: relative;
}

.admin-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: inherit;
    color: #1e4d7b;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    line-height: 1.35;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.admin-nav-trigger:hover,
.admin-nav-group:focus-within .admin-nav-trigger {
    background: #e8eef6;
    color: #0f2744;
}

.admin-nav-group-active .admin-nav-trigger {
    background: #e8eef6;
    color: #0f2744;
    font-weight: 600;
    border-color: #c5d4e4;
}

.admin-nav-group-pending .admin-nav-trigger {
    color: #c62828;
    background: #fff5f5;
    border-color: #ef9a9a;
    font-weight: 600;
}

.admin-nav-group-pending.admin-nav-group-active .admin-nav-trigger,
.admin-nav-group-pending:focus-within .admin-nav-trigger {
    color: #b71c1c;
    background: #ffcdd2;
    border-color: #ef5350;
}

.admin-nav-chevron {
    font-size: 0.65rem;
    opacity: 0.75;
    line-height: 1;
}

.admin-nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #fff;
    background: #c62828;
    border-radius: 999px;
    line-height: 1;
}

.admin-nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 220px;
    padding: 6px;
    background: #fff;
    border: 1px solid #c5d4e4;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 39, 68, 0.14);
    z-index: 300;
}

.admin-nav-group:hover .admin-nav-dropdown,
.admin-nav-group:focus-within .admin-nav-dropdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav-dropdown-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e4d7b;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    line-height: 1.35;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.admin-nav-dropdown-link:hover {
    background: #e8eef6;
    color: #0f2744;
    text-decoration: none;
}

.admin-nav-dropdown-link.admin-nav-link-active {
    background: #e8eef6;
    color: #0f2744;
    font-weight: 600;
    border-color: #c5d4e4;
}

.admin-nav-dropdown-link.admin-nav-link-primary {
    background: #0f2744;
    color: #fff;
    border-color: #0f2744;
    font-weight: 600;
}

.admin-nav-dropdown-link.admin-nav-link-primary:hover {
    background: #1a3a5c;
    color: #fff;
}

.admin-nav-dropdown-link.admin-nav-link-primary.admin-nav-link-active {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.admin-nav-link {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1e4d7b;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 16px;
    text-decoration: none;
    line-height: 1.35;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.admin-nav-link:hover {
    background: #e8eef6;
    color: #0f2744;
    text-decoration: none;
}

.admin-nav-link-active {
    background: #e8eef6;
    color: #0f2744;
    font-weight: 600;
    border-color: #c5d4e4;
}

.admin-nav-link-primary {
    background: #0f2744;
    color: #fff;
    border-color: #0f2744;
    font-weight: 600;
}

.admin-nav-link-primary:hover {
    background: #1a3a5c;
    color: #fff;
}

.admin-nav-link-primary.admin-nav-link-active {
    background: #1a3a5c;
    color: #fff;
    border-color: #1a3a5c;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.admin-nav-link-pending-requests {
    color: #c62828;
    background: #fff5f5;
    border-color: #ef9a9a;
    font-weight: 600;
    animation: admin-nav-pending-pulse 2.8s ease-in-out infinite;
}

.admin-nav-link-pending-requests:hover {
    color: #b71c1c;
    background: #ffebee;
    border-color: #e57373;
}

.admin-nav-link-pending-requests.admin-nav-link-active {
    color: #b71c1c;
    background: #ffcdd2;
    border-color: #ef5350;
}

@keyframes admin-nav-pending-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(198, 40, 40, 0);
    }
    50% {
        box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    .admin-nav-link-pending-requests {
        animation: none;
    }
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
}

.brand a {
    font-size: 1.1rem;
    font-weight: bold;
    color: #1565c0;
    text-decoration: none;
}

.brand-sub {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 2px;
}

.header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.user-info {
    font-size: 0.9rem;
    color: #555;
}

@media (max-width: 768px) {
    .admin-header-top {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-user-area {
        justify-content: space-between;
        padding-top: 0;
    }

    .admin-nav {
        gap: 5px;
    }

    .admin-nav-link,
    .admin-nav-trigger {
        font-size: 0.76rem;
        padding: 5px 10px;
    }

    .admin-nav-dropdown {
        min-width: 200px;
    }
}

.main-content {
    padding-bottom: 40px;
}

.site-footer {
    background: #fff;
    border-top: 1px solid #dde4ee;
    padding: 16px 0;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

h1, h2, h3 {
    color: #1a2a3a;
    margin-top: 0;
}

.page-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.card {
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.form-section {
    margin-bottom: 24px;
}

.form-section h2 {
    font-size: 1.1rem;
    border-bottom: 2px solid #ff9800;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #c5d0de;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #fff;
}

textarea {
    min-height: 90px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.15);
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    background: #e8eef5;
    color: #1a2a3a;
}

.btn:hover {
    text-decoration: none;
    opacity: 0.92;
}

.btn-primary {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}

.btn-secondary {
    background: #ff9800;
    color: #fff;
    border-color: #ff9800;
}

.btn-danger {
    background: #c62828;
    color: #fff;
    border-color: #c62828;
}

.btn-outline {
    background: #fff;
    border-color: #1565c0;
    color: #1565c0;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.82rem;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th, td {
    padding: 10px 12px;
    border-bottom: 1px solid #e3eaf2;
    text-align: right;
    vertical-align: top;
}

th {
    background: #eef4fb;
    color: #1a2a3a;
    font-size: 0.9rem;
}

tr:hover td {
    background: #fafcff;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: bold;
    white-space: nowrap;
}

.status-new { background: #e3f2fd; color: #1565c0; }
.status-hotel_pending { background: #fff3e0; color: #ef6c00; }
.status-hotel_confirmed { background: #e8f5e9; color: #2e7d32; }
.status-rides_confirmed { background: #e0f7fa; color: #00838f; }
.status-sent_to_customer { background: #f3e5f5; color: #7b1fa2; }
.status-completed { background: #eceff1; color: #455a64; }
.status-cancelled { background: #ffebee; color: #c62828; }

.alert {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.alert-error {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

.alert-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}

.alert-warning {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffe082;
}

.alert-info {
    background: #e8eef6;
    color: #0f2744;
    border: 1px solid #c5d4e4;
}

.location-hotel-notice {
    font-size: 0.92rem;
}

.location-name-he {
    display: block;
    font-weight: 500;
}

.location-name-en {
    display: block;
    font-size: 0.82rem;
    color: #5c6b7f;
    margin-top: 2px;
}

.location-name-city {
    font-size: 0.82rem;
    color: #777;
}

.location-missing-en-badge {
    display: inline-block;
    margin-top: 3px;
    padding: 2px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #b45309;
    background: #fef3e2;
    border: 1px solid #f5d5a8;
    border-radius: 12px;
}

.field-optional {
    font-size: 0.78rem;
    font-weight: normal;
    color: #777;
}

.field-hint {
    display: block;
    margin-top: 4px;
    font-size: 0.78rem;
    color: #777;
    line-height: 1.35;
}

.location-checkbox-label {
    align-items: flex-start;
}

.location-label-names {
    display: inline-block;
    vertical-align: top;
}

.search-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.search-bar input {
    flex: 1;
    min-width: 200px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.login-card h1 {
    text-align: center;
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.login-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.ride-row {
    border: 1px dashed #c5d0de;
    border-radius: 6px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fafcff;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px 20px;
}

.detail-item {
    padding: 8px 0;
    border-bottom: 1px solid #eef2f7;
}

.detail-label {
    font-size: 0.82rem;
    color: #666;
    display: block;
}

.detail-value {
    font-weight: bold;
}

.actions-cell .btn {
    margin-left: 4px;
    margin-bottom: 4px;
}

.file-link {
    display: inline-block;
    margin-top: 4px;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.optional {
    font-weight: normal;
    color: #888;
    font-size: 0.85rem;
}

.hotel-stays-empty-state {
    padding: 16px 4px;
}

.hotel-stays-empty-message {
    margin: 0 0 8px;
    font-weight: 600;
    color: #455a64;
}

.hotel-stays-empty-note {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: #78909c;
}

.transfer-summary {
    margin-top: 14px;
    padding: 12px 14px;
    background: #eef4fb;
    border-radius: 4px;
    border-right: 3px solid #1565c0;
}

.transfer-meta {
    color: #666;
    font-size: 0.9rem;
}

.customer-select-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.customer-select-row select {
    flex: 1;
    min-width: 220px;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    th, td {
        font-size: 0.85rem;
        padding: 8px;
    }
}

/* Operations dashboard */
.page-header-compact {
    margin-bottom: 12px;
}

.page-header-compact h1 {
    font-size: 1.35rem;
}

.summary-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.summary-card {
    flex: 1 1 100px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 6px;
    padding: 8px 12px;
    text-align: center;
}

.summary-card-warn {
    border-color: #efbcbc;
}

.summary-value {
    display: block;
    font-size: 1.25rem;
    font-weight: bold;
    color: #1565c0;
    line-height: 1.2;
}

.summary-card-warn .summary-value {
    color: #c62828;
}

.summary-label {
    display: block;
    font-size: 0.72rem;
    color: #777;
    margin-top: 2px;
}

/* Operational dashboard KPI cards */
.ops-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.ops-kpi-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 10px 8px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 8px;
    text-decoration: none;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.ops-kpi-card:hover {
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
    transform: translateY(-1px);
}

.ops-kpi-card.is-active {
    box-shadow: 0 0 0 2px rgba(21, 101, 192, 0.25);
    border-color: #90caf9;
}

.ops-kpi-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
}

.ops-kpi-label {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: #546e7a;
    line-height: 1.25;
}

.ops-kpi-attention {
    border-color: #ef9a9a;
    background: #fff5f5;
}
.ops-kpi-attention .ops-kpi-value { color: #c62828; }

.ops-kpi-problem {
    border-color: #ffcc80;
    background: #fff8f0;
}
.ops-kpi-problem .ops-kpi-value { color: #e65100; }

.ops-kpi-waiting {
    border-color: #ffe082;
    background: #fffdf5;
}
.ops-kpi-waiting .ops-kpi-value { color: #f57f17; }

.ops-kpi-schedule {
    border-color: #90caf9;
    background: #f3f9ff;
}
.ops-kpi-schedule .ops-kpi-value { color: #1565c0; }

.ops-kpi-active {
    border-color: #a5d6a7;
    background: #f6fff6;
}
.ops-kpi-active .ops-kpi-value { color: #2e7d32; }

.ops-kpi-completed {
    border-color: #cfd8dc;
    background: #f5f7f8;
}
.ops-kpi-completed .ops-kpi-value { color: #607d8b; }

.ops-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.ops-quick-filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #455a64;
    background: #fff;
    border: 1px solid #d5dee8;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
}

.ops-quick-filter-chip:hover {
    border-color: #90caf9;
    color: #1565c0;
    background: #f3f9ff;
}

.ops-quick-filter-chip.is-active {
    background: #1565c0;
    border-color: #1565c0;
    color: #fff;
}

.dashboard-filters {
    margin-bottom: 12px;
    padding: 10px 14px;
}

.filters-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.filter-search {
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 320px;
    padding: 7px 10px;
    font-size: 0.88rem;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
}

.filter-status-select {
    flex: 0 0 168px;
    width: 168px;
    padding: 7px 28px 7px 10px;
    font-size: 0.88rem;
    border: 1px solid #ccd6e0;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.filter-check {
    flex: 0 0 auto;
    font-size: 0.82rem;
    white-space: nowrap;
    margin: 0;
    color: #555;
}

.filter-submit {
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.filters-row input[type="text"]:not(.filter-search) {
    flex: 1 1 180px;
    min-width: 0;
    padding: 6px 10px;
    font-size: 0.88rem;
}

.filters-row select:not(.filter-status-select) {
    width: auto;
    min-width: 120px;
    padding: 6px 8px;
    font-size: 0.88rem;
}

.ops-table-wrap {
    overflow-x: auto;
    padding: 0;
    -webkit-overflow-scrolling: touch;
}

.ops-table-wrap.card {
    padding: 0;
}

.ops-table {
    width: 100%;
    table-layout: fixed;
    font-size: 0.84rem;
    border-collapse: collapse;
}

.ops-table col.col-next { width: 120px; }
.ops-table col.col-next-action { width: 148px; }
.ops-table col.col-passenger { width: 180px; }
.ops-table col.col-customer { width: 130px; }
.ops-table col.col-order-type { width: 118px; }
.ops-table col.col-hotel-status { width: 150px; }
.ops-table col.col-transport-status { width: 140px; }
.ops-table col.col-overall-status { width: 96px; }
.ops-table col.col-arrival { width: 160px; }
.ops-table col.col-hotels { width: 220px; }
.ops-table col.col-departure { width: 180px; }
.ops-table col.col-state { width: 130px; }
.ops-table col.col-actions { width: 110px; min-width: 110px; }

.ops-table-work .cell-next-action {
    line-height: 1.35;
}

.next-action-label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
}

.next-action-detail {
    display: block;
    font-size: 0.74rem;
    color: #607d8b;
    margin-top: 2px;
}

.next-action-problem { color: #c62828; }
.next-action-waiting { color: #ef6c00; }
.next-action-today { color: #1565c0; }
.next-action-tomorrow { color: #0277bd; }
.next-action-schedule { color: #37474f; }
.next-action-completed { color: #78909c; }
.next-action-active { color: #2e7d32; }

.ops-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: normal;
}

.hotel-ops-badge.hotel-ops-none,
.transport-ops-badge.transport-ops-none {
    background: #eceff1;
    color: #78909c;
}

.hotel-ops-badge.hotel-ops-wait,
.hotel-ops-badge.hotel-ops-sent {
    background: #f3e5f5;
    color: #7b1fa2;
}

.hotel-ops-badge.hotel-ops-confirmed {
    background: #e0f2f1;
    color: #00695c;
}

.hotel-ops-badge.hotel-ops-missing {
    background: #fff3e0;
    color: #e65100;
}

.transport-ops-badge.transport-ops-pending {
    background: #ffebee;
    color: #c62828;
}

.transport-ops-badge.transport-ops-partial {
    background: #fff8e1;
    color: #f57f17;
}

.transport-ops-badge.transport-ops-ok {
    background: #e8f5e9;
    color: #2e7d32;
}

.transport-ops-badge.transport-ops-neutral {
    background: #eceff1;
    color: #546e7a;
}

.pill-order.ops-status-progress {
    background: #fff3e0;
    color: #ef6c00;
}

.pill-order.ops-status-ready {
    background: #e8f5e9;
    color: #2e7d32;
}

.cell-hotel-status,
.cell-transport-status,
.cell-overall-status {
    vertical-align: top;
}

.order-type-summary-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: -4px 0 12px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
}

.order-type-summary-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}

.order-type-summary-items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.order-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.order-type-badge-summary {
    font-size: 0.68rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 5px;
}

.order-type-badge-summary strong {
    font-weight: 700;
    margin-inline-start: 2px;
}

.order-type-badge .order-type-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.order-type-icons-duo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.order-type-icons-duo .order-type-icon {
    width: 12px;
    height: 12px;
}

.order-type-hotel {
    background: #eef5fd;
    color: #1565c0;
}

.order-type-transport {
    background: #fff6eb;
    color: #e65100;
}

.order-type-combined {
    background: #f3eefb;
    color: #5e35b1;
}

.order-type-none {
    background: #f5f5f5;
    color: #757575;
}

.order-type-badge-compact {
    display: none;
    margin-top: 4px;
}

.cell-order-type {
    vertical-align: middle;
}

.ops-table thead th {
    background: #f7f9fc;
    color: #555;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 10px 8px;
    border-bottom: 2px solid #dde4ee;
    white-space: nowrap;
}

.ops-table tbody td {
    padding: 12px 8px;
    vertical-align: top;
    line-height: 1.45;
    border-bottom: 1px solid #eef2f7;
    background: #fff;
}

.ops-table tbody tr:hover td {
    background: #fafcff;
}

/* Cell typography */
.cell-title {
    display: block;
    font-weight: bold;
    color: #1a2a3a;
    line-height: 1.3;
}

.cell-line {
    display: block;
    color: #333;
    font-size: 0.82rem;
}

.cell-muted {
    display: block;
    font-size: 0.76rem;
    color: #888;
    margin-top: 1px;
}

.cell-tiny {
    display: block;
    font-size: 0.7rem;
    color: #aaa;
    margin-top: 3px;
}

.cell-clamp {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cell-warn-sm {
    display: block;
    font-size: 0.74rem;
    color: #c62828;
    margin-top: 2px;
}

/* Next column */
.next-datetime {
    display: block;
    font-size: 0.95rem;
    font-weight: bold;
    color: #1565c0;
    white-space: nowrap;
}

.next-label {
    display: block;
    font-size: 0.76rem;
    color: #666;
    margin-top: 2px;
}

/* Pills in state column */
.cell-state {
    line-height: 1.5;
}

.pill-order {
    display: block;
    width: fit-content;
    max-width: 100%;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    margin: 0 0 5px 0;
    white-space: normal;
    line-height: 1.35;
}

.cell-state-auto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.cell-state-auto .pill-op {
    display: block;
    width: fit-content;
    font-size: 0.66rem;
    font-weight: normal;
    padding: 2px 7px;
    border-radius: 9px;
    white-space: nowrap;
    line-height: 1.35;
    border: 1px dashed transparent;
}

.pill-op-warn {
    background: #fff8e1;
    color: #e65100;
    border-color: #ffe082;
}

.pill-op-muted {
    background: #f5f5f5;
    color: #757575;
    border-color: #e0e0e0;
}

.pill-op-orange {
    background: #fff3e0;
    color: #ef6c00;
    border-color: #ffcc80;
}

.pill-op-green {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
}

.pill {
    display: inline-block;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 10px;
    margin: 0 0 3px 3px;
    white-space: nowrap;
    line-height: 1.4;
}

.pill-more {
    background: #e3f2fd;
    color: #1565c0;
    font-size: 0.68rem;
    padding: 1px 6px;
    margin-top: 3px;
}

.pill-warn {
    background: #fff3e0;
    color: #e65100;
}

.pill-muted {
    background: #eceff1;
    color: #607d8b;
}

.pill-orange {
    background: #fff3e0;
    color: #ef6c00;
}

.pill-green {
    background: #e8f5e9;
    color: #2e7d32;
}

.ops-table .pill-order.status-new { background: #e3f2fd; color: #1565c0; }
.ops-table .pill-order.status-hotel_pending { background: #fff3e0; color: #ef6c00; }
.ops-table .pill-order.status-hotel_confirmed { background: #e8f5e9; color: #2e7d32; }
.ops-table .pill-order.status-rides_confirmed { background: #e0f7fa; color: #00838f; }
.ops-table .pill-order.status-sent_to_customer { background: #f3e5f5; color: #7b1fa2; }
.ops-table .pill-order.status-completed { background: #eceff1; color: #455a64; }
.ops-table .pill-order.status-cancelled { background: #ffebee; color: #c62828; }

.ops-table .pill-order.smart-status-open {
    background: #e3f2fd;
    color: #1565c0;
}

.ops-table .pill-order.smart-status-completed {
    background: #eceff1;
    color: #546e7a;
}

.ops-table .pill-order.smart-status-cancelled {
    background: #ffebee;
    color: #c62828;
}

/* Compact actions — sticky on inline-end (left in RTL) so not clipped when table overflows */
.cell-actions {
    vertical-align: middle !important;
    min-width: 110px;
    width: 110px;
    position: sticky;
    inset-inline-end: 0;
    z-index: 2;
    background: #fff;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.05);
}

.ops-table thead th:last-child {
    position: sticky;
    inset-inline-end: 0;
    z-index: 3;
    min-width: 110px;
    width: 110px;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.05);
}

.ops-table tbody tr:hover td.cell-actions {
    background: #fafcff;
}

.ops-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
    line-height: 1.5;
}

.ops-sep {
    color: #c5cdd8;
    font-size: 0.72rem;
    user-select: none;
}

.ops-link {
    display: inline;
    font-size: 0.78rem;
    color: #1565c0;
    text-decoration: none;
    white-space: nowrap;
    padding: 1px 0;
}

.ops-link:hover {
    text-decoration: underline;
}

.ops-delete-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.ops-delete {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    color: #1565c0;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.ops-delete:hover {
    color: #c62828;
    text-decoration: underline;
}

/* Row states */
.ops-table tbody tr.row-departed td {
    background: #f8f8f8;
    color: #999;
}

.ops-table tbody tr.row-departed .cell-title,
.ops-table tbody tr.row-departed .next-datetime {
    color: #999;
}

.ops-table tbody tr.row-in-israel td:first-child {
    border-inline-start: 3px solid #81c784;
}

.ops-table tbody tr.row-leaving-today td:first-child {
    border-inline-start: 3px solid #ffb74d;
}

.ops-table tbody tr.row-missing-info td:first-child {
    border-inline-start: 3px solid #ef9a9a;
}

.ops-table tbody tr.row-in-israel td {
    background: #fafffe;
}

.ops-table tbody tr.row-leaving-today td {
    background: #fffcf5;
}

.ops-table tbody tr.row-missing-info td {
    background: #fff;
}

.ops-table tbody tr.row-cancelled td {
    background: #fafafa;
    color: #aaa;
    opacity: 0.8;
}

.ops-table tbody tr.row-cancelled .cell-title,
.ops-table tbody tr.row-cancelled .next-datetime {
    color: #aaa;
}

/* Operational row accents */
.ops-table tbody tr.row-op-attention td:first-child {
    border-inline-start: 4px solid #e53935;
}

.ops-table tbody tr.row-op-waiting td:first-child {
    border-inline-start: 4px solid #fb8c00;
}

.ops-table tbody tr.row-op-today td:first-child {
    border-inline-start: 4px solid #1e88e5;
}

.ops-table tbody tr.row-op-tomorrow td:first-child {
    border-inline-start: 4px solid #42a5f5;
}

.ops-table tbody tr.row-op-active td:first-child {
    border-inline-start: 4px solid #43a047;
}

.ops-table tbody tr.row-op-completed td {
    background: #f8f9fa;
    color: #90a4ae;
}

.ops-table tbody tr.row-op-completed .cell-title,
.ops-table tbody tr.row-op-completed .next-action-label {
    color: #90a4ae;
}

.ops-table tbody tr.row-op-cancelled td {
    background: #fafafa;
    color: #aaa;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .filters-row {
        flex-wrap: wrap;
    }

    .filter-search {
        flex: 1 1 100%;
        max-width: none;
    }

    .filter-submit {
        margin-inline-start: 0;
    }

    .order-type-summary-bar {
        gap: 8px;
        padding: 8px 10px;
    }

    .order-type-summary-items {
        gap: 6px;
    }

    .ops-table col.col-order-type,
    .ops-table thead th:nth-child(4),
    .ops-table tbody td.cell-order-type {
        display: none;
    }

    .ops-table col.col-customer,
    .ops-table thead th:nth-child(3),
    .ops-table tbody td.cell-customer {
        display: none;
    }

    .ops-table tbody tr {
        display: block;
        border-bottom: 1px solid #e8edf2;
        padding: 10px 12px;
    }

    .ops-table tbody td {
        display: block;
        width: 100%;
        padding: 4px 0;
        border: none;
    }

    .ops-table tbody td.cell-actions {
        padding-top: 8px;
    }

    .ops-table thead {
        display: none;
    }

    .ops-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-type-badge-compact {
        display: inline-flex;
    }

    .ops-table col.col-actions,
    .ops-table thead th:last-child,
    .ops-table td.cell-actions {
        min-width: 96px;
        width: 96px;
    }

    .ops-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .ops-sep {
        display: none;
    }

    .ops-link,
    .ops-delete {
        display: block;
        font-size: 0.76rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    th, td {
        font-size: 0.85rem;
        padding: 8px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .site-footer,
    .no-print,
    .btn,
    form.no-print-form {
        display: none !important;
    }

    body {
        background: #fff;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .card {
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .print-header {
        border-bottom: 2px solid #1565c0;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    table {
        font-size: 10pt;
    }
}

.print-page .print-header {
    text-align: center;
    margin-bottom: 24px;
}

.print-page .print-title {
    font-size: 1.4rem;
    color: #1565c0;
    font-weight: bold;
}

.print-page .print-subtitle {
    color: #666;
    margin-top: 4px;
}

.print-page .bilingual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.print-page .lang-en {
    direction: ltr;
    text-align: left;
}

@media (max-width: 600px) {
    .print-page .bilingual {
        grid-template-columns: 1fr;
    }
}

/* Hotel booking request document */
.booking-request-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.booking-request-page {
    max-width: 820px;
    margin: 0 auto;
}

.booking-request-doc {
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 8px;
    padding: 40px 48px;
    line-height: 1.7;
    font-size: 0.95rem;
    color: #1a2a3a;
}

.booking-request-header {
    text-align: center;
    border-bottom: 2px solid #1565c0;
    padding-bottom: 16px;
    margin-bottom: 28px;
}

.booking-company-name {
    font-size: 1.15rem;
    font-weight: bold;
    color: #1565c0;
}

.booking-company-meta {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.booking-line,
.booking-subject,
.booking-intro {
    margin: 0 0 14px;
}

.booking-subject {
    font-size: 1.05rem;
}

.booking-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.booking-details-table th,
.booking-details-table td {
    border: 1px solid #dde4ee;
    padding: 10px 12px;
    text-align: right;
    vertical-align: top;
}

.booking-details-table th {
    width: 38%;
    background: #f7f9fc;
    font-weight: bold;
    color: #444;
}

.booking-notice {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 12px 14px;
    margin: 18px 0;
    color: #5d4037;
    font-weight: 500;
}

.booking-notes-block,
.booking-billing-block {
    margin: 22px 0;
}

.booking-notes-block p,
.booking-billing-block p {
    margin: 6px 0 0;
}

.booking-signature {
    margin-top: 36px;
}

.booking-ref {
    margin-top: 24px;
    font-size: 0.8rem;
    color: #999;
}

.hotel-early-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hotel-stay-actions {
    padding-top: 4px;
}

.stay-flag {
    display: inline-block;
    font-size: 0.72rem;
    color: #ef6c00;
    background: #fff3e0;
    padding: 1px 6px;
    border-radius: 4px;
}

.hotel-req-badge {
    display: inline-block;
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 9px;
    margin-top: 3px;
    white-space: nowrap;
}

.hotel-req-status-not_sent { background: #f5f5f5; color: #757575; }
.hotel-req-status-generated { background: #e3f2fd; color: #1565c0; }
.hotel-req-status-sent { background: #fff3e0; color: #ef6c00; }
.hotel-req-status-confirmed { background: #e8f5e9; color: #2e7d32; }
.hotel-req-status-cancelled { background: #ffebee; color: #c62828; }

.hotel-req-pending { background: #fff3e0; color: #ef6c00; }
.hotel-req-wait { background: #e3f2fd; color: #1565c0; }
.hotel-req-ok { background: #e8f5e9; color: #2e7d32; }
.hotel-req-warn { background: #ffebee; color: #c62828; }

.order-section-card {
    margin-bottom: 18px;
}

.order-section-card-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin-bottom: 14px;
}

.order-section-card-head h2 {
    margin: 0;
}

.order-flight-card {
    border-inline-start: 5px solid #1565c0;
    background: linear-gradient(to left, #ffffff 0%, #f3f8ff 100%);
}

.order-hotel-card {
    border-inline-start: 5px solid #6a1b9a;
    background: #faf8fc;
}

.order-transport-card--pending {
    border-inline-start: 5px solid #c62828;
    background: #fff5f5;
}

.order-transport-card--transferred {
    border-inline-start: 5px solid #f9a825;
    background: #fffde7;
}

.order-transport-section {
    border-inline-start: 5px solid #546e7a;
    background: #fafafa;
}

.order-transport-table .order-transport-row.order-transport-card--pending {
    background: #fff5f5;
}

.order-transport-table .order-transport-row.order-transport-card--transferred {
    background: #fffde7;
}

.ride-transport-badge {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.ride-transport-badge--not_transferred {
    background: #ffcdd2;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}

.ride-transport-badge--transferred {
    background: #fff59d;
    color: #f57f17;
    border: 1px solid #fdd835;
}

.ride-transport-meta {
    display: block;
    margin-top: 8px;
    font-size: 0.82rem;
    color: #666;
}

.ride-transport-status-cell .ride-transport-meta {
    margin-top: 4px;
}

.ride-transport-action-form {
    margin: 12px 0 0;
}

.ride-transport-action-form--detached {
    display: none;
}

.internal-ride-transfer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}

.internal-ride-row.ride-highlight-target,
.order-transport-row.ride-highlight-target,
.order-transport-card.ride-highlight-target,
.order-departure-section.ride-highlight-target,
.order-departure-section--has-ride,
.ride-handoff-target {
    scroll-margin-top: 80px;
}

.ride-highlight-target:target,
.ride-handoff-target:target {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
    background: #eff6ff;
    transition: background 0.3s ease, outline-color 0.3s ease;
}

.order-departure-merged-card.ride-highlight-target:target,
.order-departure-merged-card.ride-handoff-target:target {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.order-departure-missing-ride {
    margin: 12px 16px 16px;
}

.order-departure-section--has-ride:target {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
    background: #eff6ff;
}

.order-transport-row.ride-highlight-target:target td {
    background: #eff6ff;
}

.order-transport-card.ride-highlight-target:target {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.ride-transport-actions-cell .ride-transport-action-form {
    margin: 0;
}

.pill-transfer {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 999px;
    margin-top: 4px;
}

.pill-transfer-pending {
    background: #ffcdd2;
    color: #b71c1c;
}

.pill-transfer-done {
    background: #fff59d;
    color: #f57f17;
}

.hotel-stay-status-cell .stay-meta {
    display: block;
    font-size: 0.74rem;
    color: #888;
    margin-top: 3px;
}

.booking-status-panel {
    margin-bottom: 16px;
    padding: 14px 16px;
}

.booking-status-panel h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.booking-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    margin-top: 12px;
}

.booking-status-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.booking-status-form-confirmed label {
    font-size: 0.82rem;
    color: #555;
}

.booking-status-form-confirmed input[type="text"] {
    min-width: 160px;
    padding: 6px 8px;
}

/* Hotel booking email preview */
.booking-email-preview-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.booking-email-preview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.booking-email-preview-card {
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 8px;
    padding: 24px 28px;
}

.booking-email-preview-heading {
    margin: 0 0 18px;
    font-size: 1.05rem;
    color: #1565c0;
}

.booking-email-field {
    margin-bottom: 16px;
}

.booking-email-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.booking-email-value {
    background: #f7f9fc;
    border: 1px solid #dde4ee;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 0.92rem;
    word-break: break-word;
}

.booking-email-subject {
    font-weight: 600;
}

.booking-email-missing {
    color: #c62828;
    background: #ffebee;
    border-color: #ffcdd2;
}

.booking-email-body-display {
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 6px;
    padding: 16px 18px;
    font-size: 0.92rem;
    line-height: 1.65;
    white-space: normal;
    text-align: left;
    direction: ltr;
}

.booking-email-body-copy {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.booking-email-details-list {
    margin: 0;
}

.booking-email-details-list dt {
    font-size: 0.75rem;
    color: #777;
    margin-top: 10px;
}

.booking-email-details-list dt:first-child {
    margin-top: 0;
}

.booking-email-details-list dd {
    margin: 2px 0 0;
    font-size: 0.9rem;
    color: #1a2a3a;
}

.booking-email-side-links {
    margin-top: 16px;
}

@media (max-width: 960px) {
    .booking-email-preview-layout {
        grid-template-columns: 1fr;
    }
}

@media print {
    .booking-request-doc {
        border: none;
        border-radius: 0;
        padding: 0;
        max-width: 100%;
    }

    .booking-request-page {
        max-width: 100%;
    }

    .booking-details-table th,
    .booking-details-table td {
        font-size: 11pt;
    }

    .billing-report-doc {
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .billing-report-page {
        max-width: 100%;
    }

    .billing-report-table {
        font-size: 9pt;
    }

    .billing-report-table th,
    .billing-report-table td {
        padding: 4px 6px;
    }
}

/* Monthly hotel billing report */
.billing-report-filters {
    margin-bottom: 14px;
    padding: 12px 14px;
}

.billing-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.billing-filter-field {
    margin: 0;
    min-width: 140px;
}

.billing-filter-field label {
    display: block;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 4px;
}

.billing-filter-field select {
    width: 100%;
    min-width: 160px;
    padding: 7px 10px;
    font-size: 0.88rem;
}

.billing-filter-year select {
    min-width: 100px;
}

.billing-filter-actions {
    margin-inline-start: auto;
}

.billing-report-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.billing-report-page {
    max-width: 100%;
}

.billing-report-doc {
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 8px;
    padding: 24px;
}

.billing-report-header {
    border-bottom: 2px solid #1565c0;
    padding-bottom: 14px;
    margin-bottom: 18px;
}

.billing-report-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #1565c0;
    margin-bottom: 8px;
}

.billing-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9rem;
    color: #444;
}

.billing-report-note {
    margin: 10px 0 0;
    font-size: 0.82rem;
    color: #777;
}

.billing-report-table-wrap {
    overflow-x: auto;
}

.billing-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.billing-report-table th,
.billing-report-table td {
    border: 1px solid #dde4ee;
    padding: 8px 10px;
    text-align: right;
    vertical-align: top;
}

.billing-report-table thead th {
    background: #f7f9fc;
    font-size: 0.78rem;
    white-space: nowrap;
}

.billing-report-table tbody tr:nth-child(even) td {
    background: #fafcff;
}

.billing-report-summary {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #dde4ee;
}

.billing-report-table tbody tr.billing-row-incomplete td {
    background: #fff8f0;
}

.billing-report-table .stay-flag-warn {
    color: #c62828;
    font-weight: 600;
}

.profit-report-kpis {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-top: none;
}

.profit-margin-negative {
    color: #c62828;
    font-weight: 600;
}

.booking-email-preview-note {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: #666;
}

.booking-email-document-wrap {
    border: 1px solid #dde4ee;
    border-radius: 8px;
    padding: 16px;
    background: #fafcff;
}

.booking-email-intro {
    margin: 0 0 16px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #333;
    direction: ltr;
    text-align: left;
}

.booking-email-document-page {
    max-width: 100%;
    margin: 0;
}

.booking-email-value-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.booking-email-inline-link {
    font-size: 0.82rem;
    color: #1565c0;
    text-decoration: none;
}

.booking-email-inline-link:hover {
    text-decoration: underline;
}

@media print {
    .booking-email-preview-card {
        border: none;
        padding: 0;
    }

    .booking-email-document-wrap {
        border: none;
        padding: 0;
        background: transparent;
    }
}

.billing-report-en .billing-report-doc {
    direction: ltr;
    text-align: left;
}

.billing-report-en .billing-report-meta {
    flex-direction: row;
    justify-content: flex-start;
}

    font-size: 1rem;
    margin: 0 0 12px;
    color: #333;
}

.billing-summary-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.billing-summary-item {
    flex: 1 1 160px;
    background: #f7f9fc;
    border: 1px solid #dde4ee;
    border-radius: 6px;
    padding: 12px 14px;
}

.billing-summary-label {
    display: block;
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 4px;
}

.billing-summary-value {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    color: #1565c0;
}

@media (max-width: 768px) {
    .billing-filter-actions {
        margin-inline-start: 0;
        width: 100%;
    }
}

/* Consolidated hotel booking batch */
.batch-filters {
    margin-bottom: 14px;
    padding: 12px 14px;
}

.batch-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.batch-filter-field {
    margin: 0;
    min-width: 130px;
}

.batch-filter-field label {
    display: block;
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 4px;
}

.batch-filter-field select,
.batch-filter-field input[type="date"] {
    width: 100%;
    min-width: 140px;
    padding: 7px 10px;
    font-size: 0.88rem;
}

.batch-filter-actions {
    margin-inline-start: auto;
}

.batch-selection-wrap {
    padding: 0;
}

.batch-selection-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.88rem;
    color: #555;
}

.batch-selection-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.batch-selection-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.batch-selection-table th,
.batch-selection-table td {
    border-bottom: 1px solid #eef2f7;
    padding: 8px 8px;
    text-align: right;
    vertical-align: top;
}

.batch-selection-table thead th {
    background: #f7f9fc;
    font-size: 0.74rem;
    white-space: nowrap;
}

.batch-selection-table tbody tr:hover td {
    background: #fafcff;
}

.batch-selection-table .col-check {
    width: 36px;
    text-align: center;
}

.batch-notes-cell {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.batch-doc-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.batch-document-page {
    max-width: 100%;
}

.batch-booking-doc {
    padding: 32px 36px;
}

.batch-doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 0.88rem;
}

.batch-doc-table th,
.batch-doc-table td {
    border: 1px solid #dde4ee;
    padding: 8px 10px;
    text-align: right;
    vertical-align: top;
}

.batch-doc-table thead th {
    background: #f7f9fc;
    font-size: 0.78rem;
    white-space: nowrap;
}

.batch-doc-times {
    margin: 16px 0;
    font-size: 0.92rem;
    color: #444;
}

.batch-doc-times p {
    margin: 4px 0;
}

@media print {
    .batch-booking-doc {
        padding: 0;
    }

    .batch-doc-table {
        font-size: 9pt;
    }

    .batch-doc-table th,
    .batch-doc-table td {
        padding: 4px 6px;
    }
}

@media (max-width: 768px) {
    .batch-filter-actions {
        margin-inline-start: 0;
        width: 100%;
    }

    .batch-selection-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Customer portal — premium executive report */
.customer-portal-body {
    --cp-navy: #0f2744;
    --cp-navy-mid: #1a3a5c;
    --cp-blue: #1e4d7b;
    --cp-blue-soft: #e8eef6;
    --cp-gold: #c47a2c;
    --cp-gold-soft: #fdf4e8;
    --cp-amber: #b45309;
    --cp-amber-soft: #fef3e2;
    --cp-bg: #eef2f7;
    --cp-card: #ffffff;
    --cp-border: #d4dce8;
    --cp-border-light: #e8edf4;
    --cp-text: #0f1c2e;
    --cp-text-muted: #5c6b7f;
    --cp-shadow: 0 4px 24px rgba(15, 39, 68, 0.08);
    --cp-shadow-sm: 0 2px 8px rgba(15, 39, 68, 0.06);
    --cp-radius: 12px;
    --cp-radius-sm: 8px;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cp-bg);
    color: var(--cp-text);
    line-height: 1.55;
}

.customer-portal-body .customer-portal-main a,
.customer-portal-body .customer-portal-footer a {
    color: var(--cp-blue);
}

.customer-portal-body .container {
    max-width: 1500px;
    padding: 0 20px;
}

.customer-portal-body .main-content.customer-report-main {
    padding-top: 14px;
    padding-bottom: 32px;
}

.customer-portal-body .customer-portal-header {
    background: var(--cp-navy);
    border-bottom: 2px solid var(--cp-gold);
    box-shadow: none;
    margin-bottom: 0;
}

.customer-portal-header-inner {
    padding: 0;
}

.customer-portal-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding: 9px 0;
    font-size: 0.82rem;
}

.customer-portal-logo {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fff;
    text-transform: uppercase;
}

.customer-portal-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 300;
    user-select: none;
}

.customer-portal-tagline {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.customer-portal-company {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
}

.customer-portal-topbar-spacer {
    flex: 1 1 20px;
}

.customer-portal-nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.customer-portal-nav-link:hover {
    color: #fff;
    text-decoration: none;
}

.customer-portal-nav-link-active {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: var(--cp-gold);
}

.customer-portal-user {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
}

.customer-portal-logout {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.customer-portal-logout:hover,
.customer-portal-logout:focus,
.customer-portal-logout:visited {
    color: #ffffff;
}

.customer-portal-logout:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    color: #fff;
}

/* Compact page title row */
.customer-report-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-report-title {
    margin: 0 0 2px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--cp-navy);
    line-height: 1.25;
}

.customer-report-tagline {
    margin: 0;
    font-size: 0.84rem;
    color: var(--cp-text-muted);
    font-weight: 400;
}

.customer-report-customer {
    margin: 4px 0 0;
    font-size: 0.84rem;
    color: var(--cp-text-muted);
}

.customer-report-customer strong {
    color: var(--cp-navy);
    font-weight: 600;
}

.lang-segment {
    display: inline-flex;
    background: var(--cp-card);
    border: 1px solid var(--cp-border);
    border-radius: 6px;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.lang-segment-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--cp-text-muted);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.lang-segment-btn:hover {
    color: var(--cp-navy);
    background: var(--cp-blue-soft);
    text-decoration: none;
}

.lang-segment-btn.is-active {
    color: #fff;
    background: var(--cp-navy);
    border-color: var(--cp-navy);
}

.customer-report-controls {
    margin-bottom: 8px;
}

.customer-report-controls-card {
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius-sm);
    padding: 14px 16px;
    box-shadow: var(--cp-shadow-sm);
}

.customer-filters-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px;
}

.customer-filter-field {
    margin: 0;
    min-width: 130px;
}

.customer-filter-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cp-text-muted);
    margin-bottom: 4px;
}

.customer-input {
    width: 100%;
    min-width: 130px;
    padding: 7px 10px;
    font-size: 0.86rem;
    font-family: inherit;
    color: var(--cp-text);
    background: #fff;
    border: 1.5px solid var(--cp-border);
    border-radius: 6px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.customer-input:focus {
    outline: none;
    border-color: var(--cp-blue);
    box-shadow: 0 0 0 3px rgba(30, 77, 123, 0.12);
}

.customer-filter-search {
    flex: 1 1 200px;
}

.customer-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    margin-inline-start: auto;
}

.customer-btn {
    display: inline-block;
    padding: 7px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--cp-radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    line-height: 1.3;
}

.customer-btn-primary {
    background: var(--cp-navy);
    color: #ffffff;
    border-color: var(--cp-navy);
    box-shadow: 0 2px 8px rgba(15, 39, 68, 0.2);
}

.customer-btn-primary:hover,
.customer-btn-primary:focus,
.customer-btn-primary:active {
    background: var(--cp-navy-mid);
    border-color: var(--cp-navy-mid);
    box-shadow: 0 4px 12px rgba(15, 39, 68, 0.25);
    color: #ffffff;
}

.customer-portal-body a.customer-btn-primary,
.customer-portal-body a.customer-btn-primary:visited,
.customer-portal-body a.customer-btn-primary:hover,
.customer-portal-body a.customer-btn-primary:focus,
.customer-portal-body a.customer-btn-primary:active {
    color: #ffffff;
    text-decoration: none;
}

.customer-portal-body a.customer-home-card-btn-primary,
.customer-portal-body a.customer-home-card-btn-primary:visited,
.customer-portal-body a.customer-home-card-btn-primary:hover,
.customer-portal-body a.customer-home-card-btn-primary:focus,
.customer-portal-body a.customer-home-card-btn-primary:active {
    color: #ffffff;
    text-decoration: none;
}

.customer-portal-body a.customer-home-booking-btn-primary,
.customer-portal-body a.customer-home-booking-btn-primary:visited,
.customer-portal-body a.customer-home-booking-btn-primary:hover,
.customer-portal-body a.customer-home-booking-btn-primary:focus,
.customer-portal-body a.customer-home-booking-btn-primary:active {
    color: #ffffff;
    text-decoration: none;
}

.customer-portal-body a.customer-home-booking-btn-hotel,
.customer-portal-body a.customer-home-booking-btn-hotel:visited,
.customer-portal-body a.customer-home-booking-btn-hotel:hover,
.customer-portal-body a.customer-home-booking-btn-hotel:focus,
.customer-portal-body a.customer-home-booking-btn-hotel:active {
    color: var(--cp-navy);
    text-decoration: none;
}

.customer-portal-body a.customer-home-booking-btn-transport,
.customer-portal-body a.customer-home-booking-btn-transport:visited,
.customer-portal-body a.customer-home-booking-btn-transport:hover,
.customer-portal-body a.customer-home-booking-btn-transport:focus,
.customer-portal-body a.customer-home-booking-btn-transport:active {
    color: #7c4a03;
    text-decoration: none;
}

.customer-btn-outline {
    background: #fff;
    color: var(--cp-navy);
    border-color: var(--cp-border);
}

.customer-btn-outline:hover {
    background: var(--cp-blue-soft);
    border-color: var(--cp-blue);
    color: var(--cp-navy);
    text-decoration: none;
}

.customer-btn-sm {
    padding: 7px 12px;
    font-size: 0.76rem;
    font-weight: 600;
}

.customer-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.customer-kpi-card {
    position: relative;
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius-sm);
    padding: 10px 14px 10px 16px;
    box-shadow: none;
    overflow: hidden;
}

.customer-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 100%;
}

.customer-kpi-rows::before {
    background: var(--cp-blue);
}

.customer-kpi-stay::before {
    background: var(--cp-navy);
}

.customer-kpi-billable::before {
    background: var(--cp-gold);
}

.customer-kpi-value {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--cp-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.customer-kpi-billable .customer-kpi-value {
    color: var(--cp-gold);
}

.customer-kpi-label {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--cp-text-muted);
}

.customer-report-table-card {
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius-sm);
    box-shadow: var(--cp-shadow-sm);
    overflow: visible;
}

.customer-report-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
    table-layout: auto;
}

.customer-report-table th,
.customer-report-table td {
    padding: 8px 9px;
    text-align: start;
    vertical-align: middle;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-report-table thead th {
    background: var(--cp-navy);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    white-space: nowrap;
    border-bottom: none;
    padding: 9px 9px;
}

.customer-report-table thead th.col-note {
    white-space: normal;
}

.customer-report-table tbody tr {
    transition: background 0.12s;
}

.customer-report-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

.customer-report-table tbody tr:hover td {
    background: var(--cp-blue-soft);
}

.customer-report-table tbody tr.customer-report-row-incomplete td {
    background: #fff8f0;
}

.customer-report-warn-badge {
    color: #c62828;
    font-weight: 600;
}

.customer-td-total {
    font-weight: 600;
    color: #1565c0;
}

.customer-kpi-card.customer-kpi-total .customer-kpi-value {
    color: #1565c0;
}

.customer-kpi-card.customer-kpi-warn .customer-kpi-value {
    color: #c62828;
}

.customer-report-table .col-note {
    white-space: normal;
    word-break: break-word;
    min-width: 88px;
    max-width: 140px;
    line-height: 1.35;
}

.customer-td-passenger {
    font-weight: 700;
    color: var(--cp-text);
}

.customer-td-hotel {
    font-weight: 600;
    color: var(--cp-navy-mid);
}

.customer-td-muted {
    font-size: 0.78rem;
    color: var(--cp-text-muted);
}

.customer-billable-badge {
    display: inline-block;
    min-width: 28px;
    padding: 4px 10px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--cp-navy);
    background: var(--cp-blue-soft);
    border-radius: 20px;
    text-align: center;
}

.customer-extra-night-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--cp-amber);
    background: var(--cp-amber-soft);
    border: 1px solid #f5d5a8;
    border-radius: 20px;
    white-space: normal;
    cursor: help;
}

.customer-empty-state {
    text-align: center;
    padding: 56px 32px;
}

.customer-empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border: 2px solid var(--cp-border);
    border-radius: 50%;
    position: relative;
}

.customer-empty-icon::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--cp-border);
    border-radius: 2px;
}

.customer-empty-title {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-empty-text {
    margin: 0;
    font-size: 0.92rem;
    color: var(--cp-text-muted);
}

.print-only {
    display: none;
}

html[dir="ltr"] .customer-portal-body,
body.customer-report-en {
    text-align: left;
}

html[dir="ltr"] .customer-portal-brand,
body.customer-report-en .customer-portal-brand {
    align-items: flex-start;
}

html[dir="ltr"] .customer-filter-actions,
body.customer-report-en .customer-filter-actions {
    margin-inline-start: auto;
}

html[dir="rtl"] .customer-report-table th,
html[dir="rtl"] .customer-report-table td {
    text-align: right;
}

html[dir="ltr"] .customer-report-table th,
html[dir="ltr"] .customer-report-table td,
body.customer-report-en .customer-report-table th,
body.customer-report-en .customer-report-table td {
    text-align: left;
}

.customer-portal-body .customer-portal-footer {
    background: var(--cp-card);
    border-top: 1px solid var(--cp-border-light);
    color: var(--cp-text-muted);
}

.customer-alert-error {
    background: #fff5f5;
    border: 1px solid #f5c6c6;
    border-radius: var(--cp-radius);
    padding: 16px 20px;
    color: #9b1c1c;
    font-size: 0.92rem;
    margin-bottom: 24px;
}

@media (max-width: 900px) {
    .customer-kpi-grid {
        grid-template-columns: 1fr;
    }

    .customer-report-head {
        flex-direction: column;
    }

    .customer-filter-actions {
        margin-inline-start: 0;
        width: 100%;
    }

    .customer-filter-actions .customer-btn {
        flex: 1 1 auto;
    }

    .customer-filter-actions .customer-btn-primary {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .customer-portal-topbar {
        gap: 8px;
    }

    .customer-portal-user {
        display: none;
    }

    .customer-portal-sep {
        display: none;
    }

    .customer-report-title {
        font-size: 1.2rem;
    }

    .customer-td-passenger,
    .customer-td-muted {
        white-space: normal;
    }
}

@media print {
    .customer-portal-body {
        background: #fff;
    }

    .customer-portal-body .customer-portal-header,
    .customer-portal-body .customer-portal-footer,
    .customer-portal-body .no-print {
        display: none !important;
    }

    .customer-portal-body .print-only {
        display: block !important;
        margin-bottom: 16px;
    }

    .customer-report-print-header h1 {
        font-size: 16pt;
        margin: 0 0 6px;
        color: #000;
    }

    .customer-report-print-header p {
        margin: 0 0 4px;
        font-size: 10pt;
        color: #333;
    }

    .customer-portal-body .customer-kpi-grid {
        display: flex;
        gap: 12px;
        margin-bottom: 16px;
        page-break-inside: avoid;
    }

    .customer-portal-body .customer-kpi-card {
        flex: 1;
        box-shadow: none;
        border: 1px solid #ccc;
        padding: 10px 14px;
    }

    .customer-portal-body .customer-kpi-card::before {
        display: none;
    }

    .customer-portal-body .customer-kpi-value {
        font-size: 14pt;
        color: #000;
    }

    .customer-portal-body .customer-kpi-billable .customer-kpi-value {
        color: #000;
    }

    .customer-portal-body .customer-report-table-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .customer-portal-body .customer-report-table {
        font-size: 8pt;
    }

    .customer-portal-body .customer-report-table thead th {
        background: #e8edf4 !important;
        color: #0f1c2e !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .customer-portal-body .customer-report-table th,
    .customer-portal-body .customer-report-table td {
        padding: 6px 8px;
        border: 1px solid #ddd;
    }

    .customer-portal-body .customer-report-table tbody tr:nth-child(even) td {
        background: #f9f9f9 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .customer-portal-body .customer-report-table tbody tr:hover td {
        background: inherit !important;
    }

    .customer-portal-body .customer-billable-badge {
        background: transparent;
        padding: 0;
        font-weight: 700;
    }

    .customer-portal-body .customer-extra-night-badge {
        background: transparent;
        border: none;
        padding: 0;
        color: #333;
        font-size: 7pt;
    }
}

/* Customer portal home & shell */
.customer-portal-body .customer-portal-main {
    padding-top: 24px;
    padding-bottom: 48px;
    max-width: 1200px;
}

.customer-portal-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 0 0 10px;
}

.customer-portal-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.customer-portal-subnav-icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.88;
}

.customer-portal-subnav-text {
    white-space: nowrap;
}

.customer-portal-subnav-link:visited {
    color: rgba(255, 255, 255, 0.78);
}

.customer-portal-subnav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.customer-portal-subnav-link:focus {
    color: #ffffff;
}

.customer-portal-subnav-link.is-active,
.customer-portal-subnav-link.is-active:visited,
.customer-portal-subnav-link.is-active:hover,
.customer-portal-subnav-link.is-active:focus {
    color: #ffffff;
    background: var(--cp-navy-mid);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.customer-portal-subnav-link.is-active .customer-portal-subnav-icon {
    opacity: 1;
}

.customer-portal-lang-segment {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.customer-portal-lang-segment .lang-segment-btn {
    color: rgba(255, 255, 255, 0.85);
    padding: 5px 12px;
    font-size: 0.75rem;
}

.customer-portal-lang-segment .lang-segment-btn:visited {
    color: rgba(255, 255, 255, 0.85);
}

.customer-portal-lang-segment .lang-segment-btn:hover,
.customer-portal-lang-segment .lang-segment-btn:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.customer-portal-lang-segment .lang-segment-btn.is-active,
.customer-portal-lang-segment .lang-segment-btn.is-active:visited,
.customer-portal-lang-segment .lang-segment-btn.is-active:hover,
.customer-portal-lang-segment .lang-segment-btn.is-active:focus {
    background: var(--cp-navy-mid);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}

.customer-home-hero {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-home-welcome {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--cp-navy);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.customer-home-welcome strong {
    color: var(--cp-blue);
}

.customer-home-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--cp-text-muted);
}

.customer-home-booking-block {
    --booking-card-min-height: 204px;
    --booking-card-padding: 20px 22px;
    --booking-btn-min-height: 42px;
    margin-bottom: 18px;
    padding: 18px;
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow-sm);
}

.customer-home-booking-block .customer-home-section-title {
    margin-bottom: 14px;
}

.customer-home-booking-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.customer-home-booking-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: var(--booking-card-min-height);
    padding: var(--booking-card-padding);
    background: #ffffff;
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius-sm);
    box-shadow: var(--cp-shadow-sm);
}

.customer-home-booking-card-primary {
    background: linear-gradient(180deg, #eef6ff 0%, #f8fbff 42%, #ffffff 100%);
    border: 2px solid #42a5f5;
    box-shadow: 0 4px 18px rgba(21, 101, 192, 0.12);
}

.customer-home-booking-card-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 12px;
}

.customer-home-booking-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.customer-home-booking-card-icon-combined {
    color: #1565c0;
    background: #ffffff;
    border: 2px solid #64b5f6;
}

.customer-home-booking-card-icon-hotel {
    color: #1565a0;
    background: #e8f4f8;
    border: 2px solid #80cbc4;
}

.customer-home-booking-card-icon-transport {
    color: var(--cp-amber);
    background: var(--cp-amber-soft);
    border: 2px solid #f5d5a8;
}

.customer-home-booking-card-title {
    margin: 0 0 6px;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--cp-navy);
    line-height: 1.3;
}

.customer-home-booking-card-primary .customer-home-booking-card-title {
    font-size: 1.14rem;
    font-weight: 800;
}

.customer-home-booking-card-desc {
    margin: 0;
    font-size: 0.86rem;
    color: var(--cp-text-muted);
    line-height: 1.45;
    flex: 1;
}

.customer-home-booking-card-hotel {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-color: #c5d4e4;
}

.customer-home-booking-card-transport {
    background: linear-gradient(180deg, #fffbf5 0%, #ffffff 100%);
    border-color: #f5d5a8;
}

.customer-home-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.customer-home-booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    align-self: flex-start;
    min-height: var(--booking-btn-min-height);
    min-width: 168px;
    padding: 0 18px;
    font-size: 0.86rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: var(--cp-radius-sm);
    border: 2px solid transparent;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.customer-home-booking-card .customer-home-booking-btn {
    margin-top: auto;
    padding-top: 10px;
    padding-bottom: 10px;
}

.customer-home-booking-btn-primary {
    color: #ffffff;
    background: var(--cp-navy);
    border-color: var(--cp-navy);
}

.customer-home-booking-btn-primary:hover,
.customer-home-booking-btn-primary:focus {
    color: #ffffff;
    background: var(--cp-navy-mid);
    border-color: var(--cp-navy-mid);
}

.customer-home-booking-btn-hotel {
    color: var(--cp-navy);
    background: #ffffff;
    border-color: #1e4d7b;
}

.customer-home-booking-btn-hotel:hover,
.customer-home-booking-btn-hotel:focus {
    color: var(--cp-navy);
    background: var(--cp-blue-soft);
    border-color: var(--cp-navy);
}

.customer-home-booking-btn-transport {
    color: #7c4a03;
    background: #ffffff;
    border-color: var(--cp-amber);
}

.customer-home-booking-btn-transport:hover,
.customer-home-booking-btn-transport:focus {
    color: #7c4a03;
    background: var(--cp-amber-soft);
    border-color: #92400e;
}

.customer-home-section {
    margin-bottom: 22px;
}

.customer-home-section-title {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-home-section-booking {
    margin-bottom: 18px;
}

.customer-home-section-secondary .customer-home-section-title {
    color: var(--cp-text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.customer-home-action-grid {
    display: grid;
    gap: 14px;
}

.customer-home-action-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-home-action-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-home-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.customer-home-card {
    display: flex;
    flex-direction: column;
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius);
    padding: 28px 24px 24px;
    box-shadow: var(--cp-shadow);
    transition: transform 0.15s, box-shadow 0.15s;
    min-height: 280px;
}

.customer-home-card-compact {
    min-height: 0;
    padding: 16px 18px 18px;
    box-shadow: var(--cp-shadow-sm);
}

.customer-home-card-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(15, 39, 68, 0.1);
}

.customer-home-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(15, 39, 68, 0.12);
}

.customer-home-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0;
}

.customer-home-card-icon-sm {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.customer-home-card-compact .customer-home-card-title {
    font-size: 1.02rem;
    margin-bottom: 6px;
}

.customer-home-card-compact .customer-home-card-text {
    margin-bottom: 14px;
    font-size: 0.84rem;
    line-height: 1.45;
}

.customer-home-card-compact .customer-home-card-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
}

.customer-home-footer-link {
    margin: 8px 0 0;
    text-align: center;
}

.customer-home-card-hotel .customer-home-card-icon {
    background: #e8eef6;
    color: var(--cp-navy);
    border: 2px solid #c5d4e4;
}

.customer-home-card-transport .customer-home-card-icon {
    background: #fef3e2;
    color: var(--cp-amber);
    border: 2px solid #f5d5a8;
}

.customer-home-card-combined .customer-home-card-icon {
    background: #e8f4fc;
    color: #1565c0;
    border: 2px solid #90caf9;
    font-weight: 700;
}

.customer-home-card-report .customer-home-card-icon {
    background: #edf7ed;
    color: #1b5e20;
    border: 2px solid #a5d6a7;
}

.customer-home-card-passengers .customer-home-card-icon {
    background: #f3e8fd;
    color: #5b21b6;
    border: 2px solid #d8b4fe;
}

.customer-home-card-passenger-report .customer-home-card-icon {
    background: #e0f2f1;
    color: #00695c;
    border: 2px solid #80cbc4;
}

.customer-home-card-title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-home-card-text {
    margin: 0 0 20px;
    font-size: 0.92rem;
    color: var(--cp-text-muted);
    line-height: 1.55;
    flex: 1;
}

.customer-home-card-btn {
    display: inline-block;
    padding: 10px 18px;
    font-size: 0.86rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--cp-radius-sm);
    border: 1.5px solid var(--cp-border);
    color: var(--cp-navy);
    background: #fff;
    transition: background 0.15s, border-color 0.15s;
}

.customer-home-card-btn:hover {
    background: var(--cp-blue-soft);
    border-color: var(--cp-blue);
    text-decoration: none;
    color: var(--cp-navy);
}

.customer-home-card-btn-primary {
    background: var(--cp-navy);
    border-color: var(--cp-navy);
    color: #ffffff;
}

.customer-home-card-btn-primary:hover,
.customer-home-card-btn-primary:focus,
.customer-home-card-btn-primary:active {
    background: var(--cp-navy-mid);
    border-color: var(--cp-navy-mid);
    color: #ffffff;
}

.customer-home-quick {
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius-sm);
    padding: 18px 22px;
    box-shadow: var(--cp-shadow-sm);
}

.customer-home-quick-title {
    margin: 0 0 12px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cp-text-muted);
}

.customer-home-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.customer-home-quick-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cp-blue);
    text-decoration: none;
}

.customer-home-quick-link:hover {
    color: var(--cp-navy);
    text-decoration: underline;
}

.customer-home-quick-link-muted {
    color: var(--cp-text-muted);
}

.customer-passengers-hero {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-passengers-title {
    margin: 0 0 6px;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-passengers-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--cp-text-muted);
}

.customer-passengers-form-card,
.customer-passengers-list-card {
    margin-bottom: 16px;
}

.customer-passengers-section-title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-passengers-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.customer-passengers-notes {
    grid-column: 1 / -1;
}

.customer-passengers-form-actions,
.customer-passengers-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.customer-passengers-filters {
    margin-top: 0;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-passengers-toggle {
    margin: 0;
    padding-bottom: 4px;
}

.customer-passengers-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.customer-btn-sm {
    padding: 6px 12px;
    font-size: 0.76rem;
}

.customer-passenger-status {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 12px;
}

.customer-passenger-status-active {
    color: #1b5e20;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.customer-passenger-status-inactive {
    color: #777;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.customer-passenger-inactive td {
    opacity: 0.75;
}

.customer-passengers-empty {
    padding: 32px 16px;
}

.customer-passengers-back {
    margin-top: 8px;
    font-size: 0.9rem;
}

.customer-passengers-back a {
    color: var(--cp-blue);
    font-weight: 600;
    text-decoration: none;
}

.customer-passengers-back a:hover {
    text-decoration: underline;
}

/* Customer hotel request form */
.customer-hotel-hero {
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-hotel-title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cp-navy);
    letter-spacing: -0.02em;
}

.customer-hotel-subtitle {
    margin: 0;
    max-width: 640px;
    font-size: 1rem;
    color: var(--cp-text-muted);
    line-height: 1.6;
}

.customer-hotel-form {
    max-width: 820px;
    margin: 0 auto;
}

.customer-hotel-section {
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.customer-hotel-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef3f9 100%);
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-hotel-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    background: var(--cp-navy);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(15, 39, 68, 0.2);
}

.customer-hotel-section-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-hotel-section-body {
    padding: 24px;
}

.customer-hotel-section-body .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cp-navy);
}

.customer-input-lg {
    padding: 12px 14px;
    font-size: 1rem;
    min-height: 48px;
}

.customer-input-readonly {
    background: #f4f7fb;
    color: var(--cp-navy);
    font-weight: 600;
    cursor: default;
}

.customer-hotel-dates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.customer-hotel-passenger-phone {
    margin: 12px 0 0;
    padding: 10px 14px;
    font-size: 0.92rem;
    color: var(--cp-text-muted);
    background: var(--cp-blue-soft);
    border-radius: var(--cp-radius-sm);
    border: 1px solid #c5d4e4;
}

.customer-hotel-passenger-phone-label {
    font-weight: 600;
    color: var(--cp-navy);
    margin-inline-end: 6px;
}

.customer-hotel-empty {
    text-align: center;
    padding: 28px 20px;
    background: #fafbfd;
    border: 1px dashed var(--cp-border);
    border-radius: var(--cp-radius-sm);
}

.customer-hotel-empty p {
    margin: 0 0 16px;
    color: var(--cp-text-muted);
    line-height: 1.55;
}

.customer-hotel-empty-muted {
    background: #fff;
}

.customer-hotel-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.customer-hotel-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--cp-text);
    line-height: 1.45;
}

.customer-hotel-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--cp-navy);
}

.customer-hotel-warning {
    margin-top: 18px;
    padding: 16px 18px;
    background: var(--cp-amber-soft);
    border: 1px solid #f5d5a8;
    border-radius: var(--cp-radius-sm);
    border-inline-start: 4px solid var(--cp-amber);
}

.customer-hotel-warning strong {
    display: block;
    margin-bottom: 6px;
    color: var(--cp-amber);
    font-size: 0.88rem;
}

.customer-hotel-warning p {
    margin: 0;
    font-size: 0.92rem;
    color: #7c4a03;
    line-height: 1.55;
}

.customer-hotel-warning-inline {
    margin-top: 14px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: #9b1c1c;
    background: #fff5f5;
    border-color: #f5c6c6;
    border-inline-start-color: #e53935;
}

.customer-combined-early-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.75rem 0 1rem;
}

.customer-combined-early-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.customer-combined-early-info {
    margin: 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #334155;
    background: rgba(37, 99, 235, 0.06);
    border-inline-start: 3px solid rgba(37, 99, 235, 0.35);
    border-radius: 4px;
}

.customer-combined-previous-night-warning {
    margin: 0;
}

.customer-transport-same-location {
    margin-top: 10px;
    margin-bottom: 0;
}

.customer-hotel-form input[type="date"].customer-hotel-date-input {
    min-height: 48px;
}

.customer-hotel-form .customer-hotel-date-input.flatpickr-input[readonly] {
    background: #fff;
    cursor: pointer;
}

.customer-hotel-form .flatpickr-input.customer-input-lg {
    width: 100%;
}

.customer-hotel-form .flatpickr-calendar {
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    box-shadow: var(--cp-shadow);
    font-family: inherit;
}

.customer-hotel-form .flatpickr-day.customer-holiday-day {
    background: #fff8e6;
    border-color: #f5d5a8;
    color: #9a5b00;
    font-weight: 600;
}

.customer-hotel-form .flatpickr-day.customer-holiday-day:hover,
.customer-hotel-form .flatpickr-day.customer-holiday-day:focus {
    background: #fef3e2;
    border-color: #e6b566;
}

.customer-hotel-form .flatpickr-day.customer-holiday-day.selected,
.customer-hotel-form .flatpickr-day.customer-holiday-day.selected:hover {
    background: var(--cp-navy);
    border-color: var(--cp-navy);
    color: #ffffff;
}

.customer-hotel-form .customer-holiday-day-label {
    display: block;
    margin-top: 1px;
    font-size: 0.52rem;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.customer-hotel-form .customer-hotel-holiday-warning {
    margin-top: 8px;
    padding: 10px 12px;
    font-size: 0.82rem;
    color: #9a5b00;
    background: #fff8e6;
    border: 1px solid #f5d5a8;
    border-inline-start: 3px solid #e6b566;
}

.customer-hotel-form .customer-hotel-time-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cp-navy);
}

.customer-hotel-form .customer-hotel-time-24h {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 280px;
}

.customer-hotel-form .customer-hotel-time-select {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.customer-hotel-form .customer-hotel-time-separator {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cp-navy);
    line-height: 1;
}

.customer-hotel-ack-wrap {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
}

.customer-hotel-ack {
    font-weight: 600;
    color: var(--cp-navy);
}

.customer-hotel-submit-wrap {
    max-width: 820px;
    margin: 28px auto 8px;
    text-align: center;
}

.customer-btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
    min-width: 240px;
}

.customer-hotel-success-card {
    max-width: 560px;
    margin: 32px auto;
    padding: 40px 36px;
    text-align: center;
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
}

.customer-hotel-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    font-size: 1.75rem;
    color: #1b5e20;
    background: #e8f5e9;
    border: 2px solid #a5d6a7;
    border-radius: 50%;
}

.customer-hotel-success-title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-hotel-success-text {
    margin: 0 0 28px;
    font-size: 0.98rem;
    color: var(--cp-text-muted);
    line-height: 1.6;
}

.customer-hotel-success-summary {
    margin: 0 0 28px;
    padding: 20px 24px;
    text-align: start;
    background: #f8fafc;
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius-sm);
}

.customer-hotel-success-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--cp-border-light);
}

.customer-hotel-success-row:last-child {
    border-bottom: none;
}

.customer-hotel-success-row dt {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cp-text-muted);
}

.customer-hotel-success-row dd {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cp-navy);
    text-align: end;
}

.customer-hotel-status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #b45309;
    background: var(--cp-amber-soft);
    border: 1px solid #f5d5a8;
    border-radius: 14px;
}

.customer-request-status-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 14px;
    white-space: nowrap;
}

.customer-request-status-pending {
    color: #b45309;
    background: #fef3e2;
    border: 1px solid #f5d5a8;
}

.customer-request-status-seen {
    color: #1e4d7b;
    background: #e8eef6;
    border: 1px solid #c5d4e4;
}

.customer-request-status-approved {
    color: #1b5e20;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
}

.customer-request-status-processing-hotel {
    color: #b45309;
    background: #fef3e2;
    border: 1px solid #f5d5a8;
}

.customer-request-status-sent-hotel {
    color: #1565c0;
    background: #e3f2fd;
    border: 1px solid #90caf9;
}

.customer-request-status-hotel-confirmed {
    color: #1b5e20;
    background: #e8f5e9;
    border: 1px solid #81c784;
}

.customer-request-status-rejected {
    color: #9b1c1c;
    background: #fff5f5;
    border: 1px solid #f5c6c6;
}

.customer-request-status-cancelled {
    color: #616161;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.customer-request-status-order-deleted {
    color: #5e35b1;
    background: #f3e8fd;
    border: 1px solid #d1c4e9;
}

.customer-request-status-unknown {
    color: #555;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.customer-home-recent-requests {
    margin-bottom: 18px;
    padding: 14px 16px;
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow-sm);
}

.customer-home-recent-title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-home-recent-empty {
    margin: 0;
    color: var(--cp-text-muted);
    font-size: 0.92rem;
}

.customer-home-recent-table-wrap {
    overflow-x: auto;
}

.customer-home-recent-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.customer-home-recent-table th,
.customer-home-recent-table td {
    padding: 6px 10px;
    text-align: start;
    border-bottom: 1px solid var(--cp-border-light);
    vertical-align: top;
}

.customer-home-recent-table th {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cp-text-muted);
    background: #f8fafc;
}

.customer-home-recent-rejection {
    margin-top: 6px;
    font-size: 0.78rem;
    color: #9b1c1c;
    line-height: 1.4;
}

.customer-home-recent-actions {
    white-space: nowrap;
}

.customer-home-recent-no-action {
    color: var(--cp-text-muted);
}

.customer-home-cancel-btn {
    font-size: 0.82rem;
}

.customer-alert-success {
    margin-bottom: 14px;
    padding: 12px 16px;
    font-size: 0.92rem;
    color: #1b5e20;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--cp-radius-sm);
}

.admin-request-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.admin-combined-request-summary {
    max-width: 420px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #334155;
    white-space: normal;
}

.admin-transport-pending-note {
    display: inline-block;
    font-size: 0.78rem;
    color: #5c6b7f;
    font-style: italic;
    max-width: 160px;
    line-height: 1.35;
}

.customer-hotel-form .customer-transport-ride-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 640px) {
    .customer-hotel-form .customer-transport-ride-grid {
        grid-template-columns: 1fr;
    }
}

.customer-hotel-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.customer-coming-soon {
    text-align: center;
    max-width: 520px;
    margin: 48px auto;
    padding: 40px 32px;
    background: var(--cp-card);
    border: 1px solid var(--cp-border-light);
    border-radius: var(--cp-radius);
    box-shadow: var(--cp-shadow);
}

.customer-coming-soon-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--cp-amber);
    background: var(--cp-amber-soft);
    border: 1px solid #f5d5a8;
    border-radius: 20px;
}

.customer-coming-soon-title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    color: var(--cp-navy);
}

.customer-coming-soon-text {
    margin: 0 0 24px;
    font-size: 0.95rem;
    color: var(--cp-text-muted);
    line-height: 1.55;
}

.customer-passenger-report-hero {
    margin-bottom: 24px;
    padding: 28px 32px;
    background: linear-gradient(135deg, var(--cp-navy) 0%, #1a3a5c 100%);
    border-radius: var(--cp-radius);
    color: #fff;
}

.customer-passenger-report-title {
    margin: 0 0 8px;
    font-size: 1.65rem;
    font-weight: 700;
}

.customer-passenger-report-subtitle {
    margin: 0 0 8px;
    font-size: 0.98rem;
    opacity: 0.92;
    line-height: 1.5;
}

.customer-passenger-report-hint {
    margin: 0;
    font-size: 0.84rem;
    opacity: 0.78;
}

.customer-passenger-report-filters {
    margin-bottom: 24px;
}

.customer-passenger-report-filters-card {
    margin-bottom: 0;
}

.customer-passenger-report-summary {
    margin-bottom: 24px;
    padding: 14px 18px;
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius-sm);
    font-size: 0.92rem;
    color: var(--cp-text);
}

.customer-passenger-report-summary-sep {
    margin: 0 10px;
    color: var(--cp-text-muted);
}

.customer-passenger-report-view-toggle-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.customer-passenger-report-view-toggle {
    flex-shrink: 0;
}

.customer-passenger-report-view-toggle .lang-segment-btn {
    color: var(--cp-navy);
}

.customer-passenger-report-view-toggle .lang-segment-btn:visited {
    color: var(--cp-text-muted);
}

.customer-passenger-report-view-toggle .lang-segment-btn:hover,
.customer-passenger-report-view-toggle .lang-segment-btn:focus {
    color: var(--cp-navy);
    background: var(--cp-blue-soft);
}

.customer-passenger-report-view-toggle .lang-segment-btn.is-active,
.customer-passenger-report-view-toggle .lang-segment-btn.is-active:visited,
.customer-passenger-report-view-toggle .lang-segment-btn.is-active:hover,
.customer-passenger-report-view-toggle .lang-segment-btn.is-active:focus {
    color: #ffffff;
    background: var(--cp-navy);
    border-color: var(--cp-navy);
}

.customer-passenger-report-list-wrap {
    margin-bottom: 32px;
}

.customer-passenger-report-list-table {
    min-width: 880px;
}

.customer-passenger-report-list-table td {
    vertical-align: top;
    line-height: 1.45;
}

.customer-passenger-report-section {
    margin-bottom: 32px;
}

.customer-passenger-report-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cp-border);
}

.customer-passenger-report-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.customer-passenger-report-section-icon-hotel {
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
}

.customer-passenger-report-section-icon-transport {
    background: linear-gradient(135deg, #ef6c00 0%, #e65100 100%);
}

.customer-passenger-report-section-title {
    margin: 0;
    font-size: 1.25rem;
    color: var(--cp-navy);
}

.customer-passenger-report-section-empty {
    padding: 24px;
    background: var(--cp-surface);
    border: 1px dashed var(--cp-border);
    border-radius: var(--cp-radius-sm);
    text-align: center;
    color: var(--cp-text-muted);
}

.customer-passenger-report-transport-group {
    margin-bottom: 22px;
}

.customer-passenger-report-transport-group:last-child {
    margin-bottom: 0;
}

.customer-passenger-report-transport-group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--cp-border);
}

.customer-passenger-report-transport-group-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-passenger-report-transport-group-count {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1565c0;
    background: #e3f2fd;
}

.customer-passenger-report-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.customer-passenger-report-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cp-border);
    border-radius: var(--cp-radius);
    box-shadow: 0 2px 8px rgba(15, 35, 60, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.customer-passenger-report-card:hover {
    box-shadow: 0 6px 18px rgba(15, 35, 60, 0.1);
    transform: translateY(-1px);
}

.customer-passenger-report-card-hotel.is-stay {
    border-top: 4px solid #2e7d32;
}

.customer-passenger-report-card-hotel.is-request {
    border-top: 4px solid #1565c0;
}

.customer-passenger-report-card-transport {
    border-top: 4px solid #ef6c00;
}

.customer-passenger-report-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 12px;
    background: var(--cp-surface);
    border-bottom: 1px solid var(--cp-border);
}

.customer-passenger-report-card-head-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-passenger-report-card-type {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--cp-navy);
}

.customer-passenger-report-card-id {
    font-size: 0.8rem;
    color: var(--cp-text-muted);
}

.customer-passenger-report-card-body {
    margin: 0;
    padding: 14px 18px 16px;
}

.customer-passenger-report-card-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 7px 0;
    border-bottom: 1px solid #f0f2f5;
}

.customer-passenger-report-card-row:last-child {
    border-bottom: none;
}

.customer-passenger-report-card-row dt {
    margin: 0;
    font-size: 0.82rem;
    color: var(--cp-text-muted);
    flex-shrink: 0;
}

.customer-passenger-report-card-row dd {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cp-navy);
    text-align: end;
}

.customer-passenger-report-rejection {
    margin-top: auto;
    padding: 12px 18px 16px;
    font-size: 0.84rem;
    color: #9b1c1c;
    background: #fff5f5;
    border-top: 1px solid #f5c6c6;
    line-height: 1.5;
}

.customer-passenger-report-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 48px 24px;
    background: var(--cp-surface);
    border: 1px dashed var(--cp-border);
    border-radius: var(--cp-radius);
    text-align: center;
    color: var(--cp-text-muted);
}

.customer-passenger-report-empty-icon {
    font-size: 2.4rem;
    line-height: 1;
    opacity: 0.7;
}

.customer-passenger-report-empty p {
    margin: 0;
    font-size: 1rem;
    max-width: 420px;
    line-height: 1.55;
}

html[dir="ltr"] .customer-portal-body,
body.customer-portal-en {
    text-align: left;
}

@media (max-width: 960px) {
    .customer-home-booking-grid,
    .customer-home-action-grid-3,
    .customer-home-action-grid-2,
    .customer-home-cards {
        grid-template-columns: 1fr;
    }

    .customer-home-booking-btn,
    .customer-home-booking-btn-primary,
    .customer-home-booking-btn-hotel,
    .customer-home-booking-btn-transport {
        width: 100%;
        min-width: 0;
    }

    .customer-home-card {
        min-height: 0;
    }

    .customer-passengers-form-grid {
        grid-template-columns: 1fr;
    }

    .customer-hotel-dates-grid {
        grid-template-columns: 1fr;
    }

    .customer-hotel-success-row {
        flex-direction: column;
        gap: 4px;
    }

    .customer-hotel-success-row dd {
        text-align: start;
    }

    .customer-passenger-report-cards {
        grid-template-columns: 1fr;
    }

    .customer-passenger-report-card-row {
        flex-direction: column;
        gap: 4px;
    }

    .customer-passenger-report-card-row dd {
        text-align: start;
    }

    .customer-passenger-report-list-table {
        min-width: 720px;
    }

    .customer-passenger-report-view-toggle-wrap {
        justify-content: stretch;
    }

    .customer-passenger-report-view-toggle {
        width: 100%;
    }

    .customer-passenger-report-view-toggle .lang-segment-btn {
        flex: 1;
        text-align: center;
    }

    .customer-portal-topbar {
        gap: 8px;
    }

    .customer-portal-lang-segment {
        order: 10;
        width: 100%;
        justify-content: center;
    }
}

.inline-form {
    display: inline;
}

.customer-combined-wizard {
    max-width: 820px;
    margin: 0 auto;
}

.customer-combined-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px;
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.customer-combined-progress-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #64748b;
    font-size: 0.85rem;
}

.customer-combined-progress-item.is-active,
.customer-combined-progress-item.is-complete {
    color: var(--cp-navy);
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.customer-combined-progress-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #e2e8f0;
    font-weight: 700;
    font-size: 0.8rem;
}

.customer-combined-progress-item.is-active .customer-combined-progress-num,
.customer-combined-progress-item.is-complete .customer-combined-progress-num {
    background: var(--cp-navy);
    color: #fff;
}

.customer-combined-progress-label {
    white-space: nowrap;
}

.customer-combined-toggle-fieldset {
    border: 0;
    margin: 0 0 20px;
    padding: 0;
}

.customer-combined-question {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--cp-navy);
}

.customer-combined-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-end: 20px;
    margin-bottom: 8px;
    cursor: pointer;
}

.customer-combined-segment-fields {
    padding-top: 4px;
}

.customer-combined-internal-row {
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fafbfd;
}

.customer-combined-internal-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.customer-combined-internal-type-fieldset {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
}

.customer-combined-internal-type-legend {
    margin-bottom: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cp-navy);
}

.customer-combined-internal-repeat-hint {
    margin: 0 0 12px;
    color: #475569;
    font-size: 0.88rem;
}

.customer-combined-repeat-days {
    margin: 0 0 14px;
}

.customer-combined-weekday-checkboxes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-top: 10px;
}

.customer-combined-weekday-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
}

.customer-combined-weekday-checkbox {
    margin: 0;
}

.customer-combined-internal-section-hint {
    margin: 0 0 12px;
    color: #475569;
    font-size: 0.92rem;
}

.customer-combined-internal-add-top,
.customer-combined-internal-add-wrap {
    margin-top: 4px;
}

.customer-combined-internal-add-wrap {
    margin-top: 8px;
    padding-top: 4px;
}

.customer-combined-add-internal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 700;
}

.customer-btn-secondary {
    color: var(--cp-navy);
    background: #eef2ff;
    border: 2px solid #c7d2fe;
}

.customer-btn-secondary:hover,
.customer-btn-secondary:focus {
    color: var(--cp-navy);
    background: #e0e7ff;
    border-color: #a5b4fc;
}

.customer-combined-internal-add-hint {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 0.88rem;
}

.customer-combined-review-internal-entry {
    padding-bottom: 8px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.customer-combined-review-internal-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.customer-combined-review-internal-count {
    margin: 4px 0 6px;
    color: #1b5e20;
    font-weight: 600;
    font-size: 0.92rem;
}

.customer-combined-review-internal-occurrence {
    margin: 0 0 4px;
    padding-inline-start: 12px;
    color: #475569;
    font-size: 0.88rem;
}

.customer-combined-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding-top: 8px;
}

.customer-combined-wizard [hidden],
.customer-combined-nav .is-wizard-hidden {
    display: none !important;
}

.customer-combined-step:not(.is-active) {
    display: none;
}

.customer-combined-step.is-active {
    display: block;
}

.customer-combined-review {
    display: grid;
    gap: 16px;
}

.customer-combined-review-block {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
}

.customer-combined-review-title {
    margin: 0 0 8px;
    font-size: 1rem;
    color: var(--cp-navy);
}

.customer-combined-review-body p {
    margin: 0 0 6px;
}

.customer-combined-review-body p:last-child {
    margin-bottom: 0;
}

.customer-combined-hotel-only-hint {
    margin-top: -8px;
    margin-bottom: 16px;
}

.customer-combined-step-hint {
    margin: 0 0 16px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.customer-combined-add-passenger-wrap {
    margin: -4px 0 12px;
}

.customer-combined-text-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--cp-navy);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.customer-combined-text-btn:hover,
.customer-combined-text-btn:focus {
    color: var(--cp-navy-mid);
}

.customer-combined-sync-notice {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #edf7ed;
    color: #1b5e20;
    font-size: 0.88rem;
}

.customer-combined-previous-night-hint {
    margin: 6px 0 0;
    color: #475569;
    font-size: 0.86rem;
}

.customer-combined-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.customer-combined-modal.is-wizard-hidden {
    display: none !important;
}

.customer-combined-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.customer-combined-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
}

.customer-combined-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.customer-combined-modal-title {
    margin: 0;
    font-size: 1.15rem;
    color: var(--cp-navy);
}

.customer-combined-modal-close {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.customer-combined-modal-close:hover,
.customer-combined-modal-close:focus {
    background: #f1f5f9;
    color: var(--cp-navy);
}

.customer-combined-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.customer-combined-modal-error {
    margin-top: 4px;
}

body.customer-combined-modal-open {
    overflow: hidden;
}

.customer-combined-wizard .combined-input-error,
.customer-combined-wizard select.combined-input-error,
.customer-combined-wizard input.combined-input-error,
.customer-combined-wizard textarea.combined-input-error {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 1px rgba(198, 40, 40, 0.18);
}

.customer-combined-wizard .combined-field-error {
    margin: 6px 0 0;
    color: #c62828;
    font-size: 0.82rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .customer-combined-progress-label {
        display: none;
    }

    .customer-combined-nav {
        flex-direction: column-reverse;
    }
}
