/* ═══════════════════════════════════════════════════════════
   BASE STYLES - Container, Links, Headings
   ═══════════════════════════════════════════════════════════ */

.booking-confirmation-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #000;
    color: #fff;
}

.mzb-heading {
    text-align: center;
    margin: 0 0 10px;
    font-size: 1.6em;
    color: #fff;
}

/* Override sitewide link styles for all manage booking page links */
.booking-confirmation-container a {
    color: #fff !important;
    text-decoration: none;
}

.booking-confirmation-container a:hover {
    color: #fefb1f !important;
    text-decoration: underline;
}

.small-note {
    font-size: 0.9em;
    color: #666;
}

.mzb-loading-screen {
    text-align: center;
    padding: 20px;
}

/* ═══════════════════════════════════════════════════════════
   OVERVIEW & SECTIONS
   ═══════════════════════════════════════════════════════════ */

.overview {
    margin: 15px 0 20px 0;
    padding: 15px;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 1.1em;
    background: #000;
    color: #fff;
    line-height: 1.6;
}

.booking-section {
    border: 1px solid #fff;
    border-radius: 5px;
    margin: 15px 0;
    background: #000;
}

.collapsible-header {
    background: #fefb1f;
    padding: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px 5px 0 0;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    transition: background 0.2s;
}

.collapsible-header:active {
    background: #e5e01c;
}

.collapsible-header h2 {
    margin: 0;
    font-size: 1.2em;
    color: #000;
}

.toggle-icon {
    transition: transform 0.3s;
    color: #000;
}

.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.collapsible-content {
    padding: 15px;
    display: block;
    background: #000;
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   ITEMS & DETAILS
   ═══════════════════════════════════════════════════════════ */

.item {
    display: flex;
    margin-bottom: 15px;
}

.item .label {
    flex: 0 0 25%;
    font-weight: bold;
    color: #fff;
}

.item .value {
    flex: 1;
    word-wrap: break-word;
    color: #fff;
    position: relative;
}

/* ═══════════════════════════════════════════════════════════
   LEGS & ROUTES
   ═══════════════════════════════════════════════════════════ */

.leg {
    border: 1px solid #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #000;
}

.leg-heading {
    margin-top: 0;
    text-align: center;
    color: #fff;
}

.route {
    margin-top: 5px;
}

.route-item {
    display: flex;
    margin-bottom: 5px;
}

.route-item .order {
    flex: 0 0 30px;
    font-weight: bold;
}

.route-item .address {
    flex: 1;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.yellow-button {
    text-align: center;
    margin-top: 20px;
}

.yellow-button button {
    padding: 15px 20px;
    background-color: #fefb1f;
    color: #000;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    width: 100%;
    transition: background 0.2s;
}

.yellow-button button:hover {
    background-color: #e5e01c;
}

.yellow-button button:active {
    background-color: #d4cf1a;
    transform: scale(0.98);
}

/* Multiple payment buttons side by side */
.mzb-payment-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.mzb-payment-buttons .yellow-button {
    flex: 1;
    min-width: 200px;
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════
   PAYMENT VISUALIZATION (v1.4)
   ═══════════════════════════════════════════════════════════ */

.mzb-payment-progress-wrapper {
    margin-bottom: 25px;
    padding: 20px;
    background: #000;
    border-radius: 5px;
}

/* Paid in Full Success Message */
.mzb-paid-in-full {
    text-align: center;
    padding: 8px 20px;
}

.mzb-paid-icon {
    font-size: 4em;
    color: #fefb1f;
    margin-bottom: 15px;
    animation: mzb-check-bounce 0.6s ease;
}

@keyframes mzb-check-bounce {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.mzb-paid-in-full h3 {
    color: #fff;
    font-size: 1.5em;
    margin: 10px 0;
    font-weight: bold;
}

.mzb-paid-in-full p {
    color: #fff;
    font-size: 1em;
    margin: 10px 0 20px;
}

.mzb-paid-amount {
    background: #000;
    border-radius: 5px;
    padding: 15px 20px;
    display: inline-block;
    color: #fefb1f;
    font-size: 1.2em;
    font-weight: bold;
}

.mzb-progress-title {
    margin: 0 0 15px;
    font-size: 1.1em;
    color: #fff;
    text-align: center;
    font-weight: bold;
}

/* Payment Amounts Display */
.mzb-payment-amounts {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    gap: 10px;
}

.mzb-amount-item {
    text-align: center;
    flex: 1;
}

.mzb-amount-label {
    display: block;
    font-size: 0.85em;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.mzb-amount-value {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #fefb1f;
}

.mzb-amount-item.mzb-paid .mzb-amount-label,
.mzb-amount-item.mzb-remaining .mzb-amount-label,
.mzb-amount-item.mzb-refund .mzb-amount-label {
    color: #fff;
}

/* Progress Bar Container */
.mzb-progress-bar-container {
    background: #1a1a1a;
    border-radius: 5px;
    overflow: hidden;
    height: 40px;
    border: 1px solid #fff;
}

.mzb-progress-bar {
    display: flex;
    height: 100%;
    width: 100%;
}

/* Progress Segments */
.mzb-progress-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.6s ease;
    position: relative;
    border-right: 2px solid #000;
}

.mzb-progress-segment:last-child {
    border-right: none;
}

.mzb-segment-paid {
    background: #fefb1f;
    color: #000;
}

.mzb-segment-remaining {
    background: #333;
    color: #fff;
    border: 1px dashed #fff;
    border-top: none;
    border-bottom: none;
}

.mzb-segment-refund {
    background: #fefb1f;
    color: #000;
}

.mzb-segment-label {
    font-size: 0.9em;
    font-weight: bold;
}

/* Payment Detail Rows */
.mzb-payment-detail {
    display: flex;
    margin-top: 20px;
    padding: 15px;
    border-top: 1px solid #333;
}

.mzb-payment-detail:first-of-type {
    border-top: 2px solid #fff;
    margin-top: 25px;
}

.mzb-detail-label {
    flex: 0 0 35%;
    font-weight: bold;
    color: #fff;
    font-size: 1em;
    padding-right: 15px;
}

.mzb-detail-value {
    flex: 1;
    color: #fefb1f;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.6;
}

.mzb-detail-value small {
    display: block;
    color: #fff;
    font-size: 0.85em;
    font-weight: normal;
    margin-top: 8px;
    line-height: 1.5;
}

.mzb-detail-value em {
    color: #fff;
    font-size: 0.9em;
    font-weight: normal;
}

.mzb-payment-detail + .yellow-button {
    margin-top: 20px;
}

/* Payment Notice/Info Boxes */
.mzb-payment-notice {
    background: #1a1a1a;
    border-left: 4px solid #fefb1f;
    padding: 15px 20px;
    margin: 15px 0;
    color: #fff;
    font-size: 0.95em;
    line-height: 1.6;
    border-radius: 3px;
}

.mzb-payment-notice strong {
    color: #fefb1f;
    display: block;
    margin-bottom: 5px;
}

/* Countdown Badges */
.mzb-countdown-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: bold;
    color: #000;
    margin-left: 8px;
    white-space: nowrap;
}

.mzb-countdown-badge.mzb-countdown-normal {
    background-color: #4caf50;
}

.mzb-countdown-badge.mzb-countdown-good {
    background-color: #8bc34a;
}

.mzb-countdown-badge.mzb-countdown-warning {
    background-color: #ffc107;
}

.mzb-countdown-badge.mzb-countdown-urgent {
    background-color: #ff5722;
    color: #fff;
    animation: mzb-pulse 1.5s infinite;
}

.mzb-countdown-badge.mzb-countdown-overdue {
    background-color: #f44336;
    color: #fff;
    animation: mzb-pulse 1s infinite;
}

@keyframes mzb-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Urgent Payment Alert Banner */
.mzb-urgent-alert {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: #fff;
    padding: 15px 20px;
    margin: 25px 0 15px 0;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    font-size: 1em;
    animation: mzb-alert-pulse 2s infinite;
    box-shadow: 0 4px 6px rgba(255,0,0,0.3);
    line-height: 1.5;
}

@keyframes mzb-alert-pulse {
    0%, 100% { box-shadow: 0 4px 6px rgba(255,0,0,0.3); }
    50% { box-shadow: 0 4px 12px rgba(255,0,0,0.6); }
}

/* Payment Row Urgency Styling */
.mzb-payment-due.mzb-urgency-normal {
    border-left: 4px solid #4caf50;
    padding-left: 15px;
}

.mzb-payment-due.mzb-urgency-warning {
    border-left: 4px solid #ffc107;
    padding-left: 15px;
}

.mzb-payment-due.mzb-urgency-urgent {
    border-left: 4px solid #ff5722;
    background: rgba(255, 87, 34, 0.1);
    padding-left: 15px;
}

.mzb-payment-due.mzb-urgency-overdue {
    border-left: 4px solid #f44336;
    background: rgba(244, 67, 54, 0.15);
    animation: mzb-row-pulse 2s infinite;
    padding-left: 15px;
}

@keyframes mzb-row-pulse {
    0%, 100% { background: rgba(244, 67, 54, 0.15); }
    50% { background: rgba(244, 67, 54, 0.25); }
}

/* ═══════════════════════════════════════════════════════════
   DRIVER CONTACT INFORMATION
   ═══════════════════════════════════════════════════════════ */

.mzb-driver-info {
    background: #1a1a1a;
    border-left: 4px solid #fefb1f;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.mzb-driver-info .label {
    color: #fefb1f;
    font-weight: 600;
}

.mzb-driver-info .value {
    color: #fff;
}

.mzb-driver-info .value strong {
    color: #fefb1f;
    font-size: 1.1em;
}

.mzb-driver-info .value a {
    color: #fefb1f !important;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.mzb-driver-info .value a:hover {
    color: #fefb1f !important;
    opacity: 0.8;
    text-decoration: underline;
}

.mzb-driver-pending {
    background: #1a1a1a;
    border-left: 4px solid #666;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.mzb-driver-pending .value {
    color: #999;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════
   TOOLTIPS - Luggage & Trailer
   ═══════════════════════════════════════════════════════════ */

.mzb-luggage-tooltip {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted #fefb1f;
    display: inline-block;
}

.mzb-luggage-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    color: #fff;
    padding: 8px 12px;
    border: 2px solid #fefb1f;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.85em;
    font-weight: normal;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

.mzb-luggage-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.mzb-luggage-tooltip::before {
    content: "";
    position: absolute;
    bottom: calc(125% - 8px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fefb1f;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mzb-luggage-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

.mzb-trailer-info {
    margin-top: 8px;
}

.mzb-trailer-info .value {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ═══════════════════════════════════════════════════════════
   FLIGHT NUMBER SUBMISSION MODAL
   ═══════════════════════════════════════════════════════════ */

.mzb-flight-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    overflow-y: auto;
}

.mzb-flight-modal {
    background: #000;
    border: 3px solid #fefb1f;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(254, 251, 31, 0.4);
    animation: mzb-modal-slide-in 0.3s ease-out;
}

@keyframes mzb-modal-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mzb-flight-modal-header {
    background: linear-gradient(135deg, #fefb1f 0%, #f5ed00 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 7px 7px 0 0;
}

.mzb-flight-modal-header h3 {
    margin: 0;
    color: #000;
    font-size: 1.4em;
    font-weight: 700;
}

.mzb-flight-modal-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #000;
    font-size: 1.8em;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.mzb-flight-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.mzb-flight-modal-body {
    padding: 25px;
}

.mzb-flight-info {
    background: #1a1a1a;
    padding: 18px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid #fefb1f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mzb-flight-info p {
    margin: 8px 0;
    color: #fff;
    font-size: 0.95em;
    line-height: 1.5;
}

.mzb-flight-info strong {
    color: #fefb1f;
    margin-right: 8px;
    font-weight: 600;
}

.mzb-flight-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mzb-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mzb-form-group label {
    color: #fefb1f;
    font-weight: bold;
    font-size: 0.95em;
}

.mzb-flight-input {
    width: 100%;
    padding: 10px 16px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    height: auto;
    transition: all 0.3s;
}

.mzb-flight-input:focus {
    outline: none;
    border-color: #fefb1f;
    background: #000;
    box-shadow: 0 0 0 3px rgba(254, 251, 31, 0.1);
}

.mzb-flight-input::placeholder {
    color: #666;
}

.mzb-form-group small {
    color: #999;
    font-size: 0.85em;
    font-style: italic;
}

.mzb-flight-message {
    padding: 12px 15px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.mzb-flight-message-success {
    background: #1a3d1a;
    border: 2px solid #4CAF50;
    color: #4CAF50;
}

.mzb-flight-message-error {
    background: #3d1a1a;
    border: 2px solid #f44336;
    color: #f44336;
}

.mzb-flight-modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.mzb-flight-cancel,
.mzb-flight-submit {
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    min-height: 50px;
    transition: all 0.2s;
}

.mzb-flight-cancel {
    background: #333;
    color: #fff;
    border: 2px solid #555;
}

.mzb-flight-cancel:hover {
    background: #444;
    border-color: #666;
    transform: translateY(-1px);
}

.mzb-flight-submit {
    background: #fefb1f;
    color: #000;
    font-weight: 700;
}

.mzb-flight-submit:hover {
    background: #f5ed00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 251, 31, 0.4);
}

.mzb-flight-submit:disabled {
    background: #666;
    color: #999;
    cursor: not-allowed;
}

.mzb-flight-submit-btn {
    background: #fefb1f;
    color: #000 !important;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mzb-flight-submit-btn:hover {
    background: #f5ed00;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(254, 251, 31, 0.3);
}

.mzb-flight-submit-btn:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL PAYMENTS - Notifications, History, Slider
   ═══════════════════════════════════════════════════════════ */

.mzb-payment-notification {
    display: flex;
    align-items: flex-start;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mzb-notification-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.mzb-notification-failed {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.mzb-notification-icon {
    font-size: 30px;
    margin-right: 15px;
    line-height: 1;
}

.mzb-notification-content {
    flex: 1;
}

.mzb-notification-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.mzb-notification-content p {
    margin: 5px 0;
}

.mzb-notification-content small {
    display: block;
    margin-top: 8px;
    opacity: 0.8;
    font-size: 12px;
}

/* Payment History Table */
.mzb-payment-history {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid #dee2e6;
}

.mzb-payment-history h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.mzb-payment-history-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.mzb-payment-history-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.mzb-payment-history-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.mzb-payment-history-table tbody tr {
    border-bottom: 1px solid #dee2e6;
    transition: background 0.2s;
}

.mzb-payment-history-table tbody tr:hover {
    background: #f8f9fa;
}

.mzb-payment-history-table tbody tr:hover td,
.mzb-payment-history-table tbody tr:hover a {
    color: #000 !important;
}

.mzb-payment-history-table tbody tr:hover .payment-status {
    color: #fff !important;
}

.mzb-payment-history-table tbody tr:last-child {
    border-bottom: none;
}

.mzb-payment-history-table td {
    padding: 12px;
    color: #495057;
    font-size: 14px;
}

.payment-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
}

.online-badge {
    display: inline-block;
    background: #007bff;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: 600;
}

/* Global Payments UI Styles */
.mzb-globalpayments-ui {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.mzb-test-mode-banner {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.mzb-deposit-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 12px;
    margin-bottom: 20px;
    color: #856404;
}

.mzb-payment-amount-selector label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#payment_slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#payment_slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#payment_slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #28a745;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    border: none;
}

.mzb-payment-summary {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE (@media max-width: 600px)
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 600px) {
    /* Container & Margins */
    .booking-confirmation-container,
    .overview,
    .booking-section {
        margin: 10px;
    }

    .booking-confirmation-container {
        padding: 0;
        max-width: 100%;
        font-size: 15px;
    }

    /* Items - Stacked Layout */
    .item {
        flex-direction: column;
        margin-bottom: 12px;
    }

    .item .label {
        flex: none;
        margin-bottom: 4px;
        font-size: 0.9em;
    }

    .item .value {
        flex: none;
        width: 100%;
        font-size: 1em;
    }

    /* Overview - 2-Column Grid */
    .overview {
        padding: 12px;
        font-size: 1em;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        border-radius: 4px;
    }

    .overview .item {
        margin-bottom: 0;
        grid-column: span 1;
        text-align: center;
    }

    .overview .item:nth-child(1),
    .overview .item:nth-child(2) {
        grid-column: span 1;
    }

    .overview .item .label,
    .overview .item .value {
        text-align: center;
    }

    /* Sections */
    .booking-section {
        border-radius: 4px;
    }

    /* Collapsible Headers */
    .collapsible-header {
        padding: 16px 12px;
        min-height: 50px;
    }

    .collapsible-header h2 {
        font-size: 1.1em;
    }

    .collapsible-content {
        padding: 12px;
    }

    /* Legs & Routes */
    .leg {
        padding: 12px;
        margin-bottom: 12px;
    }

    .leg-heading {
        font-size: 1.1em;
        margin-bottom: 10px;
    }

    .route-item {
        margin-bottom: 8px;
        line-height: 1.4;
    }

    .route-item .order {
        flex: 0 0 25px;
        font-size: 0.9em;
    }

    .route-item .address {
        font-size: 0.95em;
    }

    /* Payment Amounts - Stacked */
    .mzb-payment-amounts {
        flex-direction: column;
        gap: 10px;
    }

    .mzb-amount-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }

    .mzb-amount-label {
        margin-bottom: 0;
        text-align: left;
        font-size: 0.95em;
    }

    .mzb-amount-value {
        text-align: right;
        font-size: 1.1em;
        font-weight: 600;
    }

    /* Progress Bar */
    .mzb-progress-bar-container {
        height: 35px;
    }

    .mzb-segment-label {
        font-size: 0.75em;
    }

    /* Countdown Badges */
    .mzb-countdown-badge {
        font-size: 0.8em;
        padding: 4px 10px;
    }

    /* Buttons */
    .mzb-payment-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .mzb-payment-buttons .yellow-button {
        min-width: 100%;
        margin-top: 0;
    }

    .yellow-button button {
        padding: 16px 20px;
        font-size: 1.05em;
        min-height: 48px;
    }

    /* Headings */
    .mzb-heading {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    /* Payment Notices */
    .mzb-payment-notice {
        padding: 12px !important;
        margin: 15px 10px !important;
        font-size: 0.95em;
    }

    .mzb-payment-notice strong {
        display: block;
        margin-bottom: 4px;
    }

    /* Luggage Tooltips */
    .mzb-luggage-tooltip::after {
        left: auto;
        right: 0;
        transform: none;
        white-space: normal;
        max-width: 200px;
        font-size: 0.8em;
    }

    .mzb-luggage-tooltip::before {
        left: auto;
        right: 20px;
        transform: none;
    }

    /* Flight Modal */
    .mzb-flight-modal-overlay {
        padding: 0;
        align-items: flex-start;
    }

    .mzb-flight-modal {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        max-height: 100vh;
        margin: 0;
        border-left: none;
        border-right: none;
    }

    .mzb-flight-modal-header {
        padding: 15px;
        border-radius: 0;
    }

    .mzb-flight-modal-header h3 {
        font-size: 1.1em;
    }

    .mzb-flight-modal-body {
        padding: 15px;
    }

    .mzb-flight-modal-footer {
        flex-direction: column;
    }

    .mzb-flight-cancel,
    .mzb-flight-submit {
        width: 100%;
    }

    /* Payment Notifications */
    .mzb-payment-notification {
        flex-direction: column;
        padding: 12px 15px;
    }

    .mzb-notification-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* Payment History Table - Card Layout */
    .mzb-payment-history {
        overflow-x: hidden;
    }

    .mzb-payment-history-table {
        border: 0;
        box-shadow: none;
        width: 100%;
    }

    .mzb-payment-history-table thead {
        display: none;
    }

    .mzb-payment-history-table tbody,
    .mzb-payment-history-table tr,
    .mzb-payment-history-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .mzb-payment-history-table tr {
        margin-bottom: 15px;
        border: 1px solid #fff !important;
        border-radius: 6px;
        padding: 10px;
        background: #000 !important;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mzb-payment-history-table tr:hover {
        background: #111 !important;
    }

    .mzb-payment-history-table td {
        padding: 6px 0 !important;
        text-align: left !important;
        border: none;
        position: relative;
        color: #fff !important;
    }

    .mzb-payment-history-table td:nth-child(1):before {
        content: "Date: ";
        font-weight: 600;
        color: #fefb1f;
    }

    .mzb-payment-history-table td:nth-child(2):before {
        content: "Method: ";
        font-weight: 600;
        color: #fefb1f;
    }

    .mzb-payment-history-table td:nth-child(3):before {
        content: "Amount: ";
        font-weight: 600;
        color: #fefb1f;
    }

    .mzb-payment-history-table td:nth-child(4):before {
        content: "Status: ";
        font-weight: 600;
        color: #fefb1f;
    }

    .mzb-payment-history-table td:nth-child(3) {
        font-weight: 600;
        font-size: 14px;
    }

    .payment-status {
        font-size: 11px;
        padding: 4px 10px;
        margin-left: 5px;
    }

    .online-badge {
        display: inline-block;
        margin-left: 5px;
        margin-top: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   TABLET RESPONSIVE (@media max-width: 768px)
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .booking-confirmation-container {
        max-width: 100%;
        padding: 0;
        font-size: 15px;
        line-height: 1.5;
    }
}
