/**
 * Booking Popup Styles
 */

/* Modern centered booking popup overlay */
.booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
}

/* Smaller Popup Content Container */
.booking-popup-content {
    background: transparent;
    border-radius: 0;
    border: none !important;
    max-width: 550px;
    /* Much smaller popup */
    width: 90%;
    max-height: 85vh;
    overflow-y: visible;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    /* Center the popup */
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: #000;
    background-color: #f0f0f0;
}

/* Point 13: Convert popup header to sea pickle green */
.popup-header {
    background: #00a884; /* Sea pickle green solid color */
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0; /* Remove rounded corners */
}

/* Point 11: Remove rainbow from popup header */
.popup-header::after {
    display: none !important; /* Remove rainbow completely */
}

.popup-header h2 {
    color: white !important;
    /* Ensure booking text is white */
    font-size: 28px !important;
    /* Make typography bigger */
    font-weight: 700;
    margin-bottom: 0;
    /* Remove margin to eliminate gap */
}

.popup-header h2 {
    margin: 0 0 5px 0;
    font-size: 24px;
    font-weight: 600;
}

.popup-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}



/* Popup Form Container */
.booking-popup .tt-booking-form {
    padding: 0;
    margin: 0;
}

/* Remove extra spacing */
.booking-popup #booking-step-1 {
    margin-bottom: 0;
}

/* Override form styles for popup */

/* Hide step 4 until user is on step 4 */
.booking-popup #booking-step-4 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.booking-popup #booking-step-4.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Force hide step 4 when payment is complete */
.booking-popup .payment-success~#booking-step-4,
.booking-popup .bank-transfer-instructions~#booking-step-4 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Also hide step 4 content specifically */
.booking-popup #booking-step-4 .payment-section,
.booking-popup #booking-step-4 .payment-methods,
.booking-popup #booking-step-4 .payment-method-option {
    display: none !important;
    visibility: hidden !important;
}

.booking-popup #booking-step-4.active .payment-section,
.booking-popup #booking-step-4.active .payment-methods,
.booking-popup #booking-step-4.active .payment-method-option {
    display: block !important;
    visibility: visible !important;
}

/* Point 13: Convert step headings to sea pickle green */
.booking-popup .booking-step h3 {
    color: #00a884; /* Sea pickle green */
    border: none;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Calendar and Time Picker Layout */
.booking-popup .date-time-container {
    display: flex;
    gap: 5px;
    padding: 0;
}

.booking-popup .calendar-section {
    flex: 1;
    transform-origin: top left;
    min-width: 75%;
    scale: .7;
}

.booking-popup .time-section {
    flex: 1;
    scale: .9;
}

/* Position next button under calendar */
.booking-popup #booking-step-1 .booking-navigation {
    margin: 10px 8px 0 8px;
    padding: 0;
}

.booking-popup #booking-step-1 .booking-navigation .button {
    width: 100%;
    padding: 8px;
    font-size: 11px;
    background: var(--tt-green-500);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.booking-popup #booking-step-1 .booking-navigation .button:hover {
    background: #600000;
}

.booking-popup #booking-step-1 .booking-navigation .button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Hide the h4 titles */
.booking-popup .calendar-section h4,
.booking-popup .time-section h4 {
    display: none;
}

.booking-popup .time-slots-container {
    background: #f8f9fa;
    border: none !important;
    border-radius: 0;
    padding: 5px;
    /* Much smaller padding */
    max-height: none;
    /* Remove max height */
    overflow-y: visible;
    font-size: 10px;
    /* Much smaller font */
    transform: scale(0.9);
    /* Scale down time slots too */
}

/* Calendar in popup - much smaller */
/* Simple Compact Calendar */
.booking-popup .booking-calendar-container {
    background: #fafafa;
    border: none !important;
    border-radius: 0;
    padding: 3px;
    margin: 0;
    width: 100%;
}

.booking-popup .calendar-table {
    font-size: 13px;
    /* Smaller text */
}

/* Minimal Day Headers */
.booking-popup .calendar-table th {
    background: #f0f0f0;
    padding: 1px;
    text-align: center;
    font-size: 6px;
    font-weight: 500;
    color: #777;
    height: 10px;
    border-bottom: 1px solid #e0e0e0;
}

/* Compact Cells */
.booking-popup .calendar-table td {
    padding: 0;
    text-align: center;
    height: 12px;
}

/* Clean Calendar Days */
.booking-popup .calendar-day {
    width: 14px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
    cursor: pointer;
    margin: 1px auto;
    background: transparent;
    color: #555;
    border-radius: 0;
}

/* Day States */
.booking-popup .calendar-day.available {
    background: #e8f5e8;
    color: #2e7d32;
    font-weight: 500;
}

.booking-popup .calendar-day.available:hover {
    background: #c8e6c9;
}

.booking-popup .calendar-day.selected {
    background: #00a884; /* Sea pickle green */
    color: white;
    border: 1px solid #008f72; /* Darker sea pickle green */
    border-radius: 0; /* Remove rounded corners */
}

.booking-popup .calendar-day.unavailable {
    color: #ccc;
    cursor: not-allowed;
}

.booking-popup .calendar-day.today {
    border: 1px solid #2196f3;
    font-weight: 600;
}

/* Form fields in popup */
.booking-popup .form-row {
    margin-bottom: 15px;
}

.booking-popup .form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.booking-popup .form-row input,
.booking-popup .form-row select,
.booking-popup .form-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
}

.booking-popup .form-row input:focus,
.booking-popup .form-row select:focus,
.booking-popup .form-row textarea:focus {
    border-color: var(--tt-blue-500);
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
}

/* Blue buttons in popup */
.booking-popup .button {
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.booking-popup .button:hover {
    background: #1976d2;
}

.booking-popup .button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.booking-popup .button.button-primary {
    background: #2196f3;
}

.booking-popup .button.button-primary:hover {
    background: #1976d2;
}

/* Navigation buttons */
.booking-popup .booking-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.booking-popup .prev-step {
    background: #666;
}

.booking-popup .prev-step:hover {
    background: #555;
}

/* Time slots in popup */
.booking-popup .time-slot {
    display: inline-block;
    padding: 6px 12px;
    margin: 3px;
    border: 1px solid #ddd;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    font-size: 9px;
}

.booking-popup .time-slot:hover {
    background-color: var(--tt-skyblue-100);
    border-color: var(--tt-skyblue-500);
}

.booking-popup .time-slot.selected {
    background-color: var(--tt-skyblue-500);
    color: white;
    border-color: var(--tt-skyblue-700);
    border-radius: 0;
}

/* Cubed Calendar in popup */
.booking-popup .calendar-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
    margin: 0;
}

.booking-popup .calendar-table th {
    background: linear-gradient(135deg, #00a884, #008f72);
    color: white;
    padding: 10px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 168, 132, 0.3);
}

.booking-popup .calendar-table td {
    padding: 0;
    text-align: center;
    width: 14.28%;
    height: 45px;
}

.booking-popup .calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 45px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    color: #495057;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.booking-popup .calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #00a884;
}

.booking-popup .calendar-day.available {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-color: #28a745;
    color: #155724;
    font-weight: 700;
}

.booking-popup .calendar-day.available:hover {
    background: linear-gradient(135deg, #c3e6cb, #b8daff);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 168, 132, 0.3);
}

.booking-popup .calendar-day.selected {
    background: linear-gradient(135deg, #00a884, #008f72);
    color: white;
    border-color: #008f72;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 168, 132, 0.4);
    z-index: 10;
}

.booking-popup .calendar-day.unavailable {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #adb5bd;
    cursor: not-allowed;
    border-color: #dee2e6;
    opacity: 0.6;
}

.booking-popup .calendar-day.unavailable:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.booking-popup .calendar-day.today {
    background: var(--tt-yellow-100);
    border-color: var(--tt-yellow-500);
    color: #856404;
    font-weight: 700;
    position: relative;
}

.booking-popup .calendar-day.today::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #ffc107;
    border-radius: 50%;
    box-shadow: 0 0 0 1px white;
}

.booking-popup .calendar-day.disabled {
    background: linear-gradient(135deg, #f1f3f4, #e8eaed);
    color: #9aa0a6;
    cursor: not-allowed;
    border-color: #dadce0;
    opacity: 0.5;
}

.booking-popup .empty-day {
    background: transparent !important;
    border: none !important;
    cursor: default !important;
    box-shadow: none !important;
}

/* Modern total amount display in popup - Point 23: Make flat */
.booking-popup .total-amount-display {
    background: transparent; /* Make flat */
    color: #333; /* Dark text */
    padding: 15px;
    border-radius: 0; /* Remove rounded corners */
    margin-top: 15px;
    text-align: center;
    box-shadow: none; /* Remove shadow */
    border: none; /* Remove border */
}

.booking-popup .total-label {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.9;
}

.booking-popup .total-value {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: #333; /* Dark text */
}

.booking-popup .total-value .currency {
    font-size: 18px;
    opacity: 0.8;
}

.booking-popup .total-value .amount {
    font-family: 'Courier New', monospace;
}

/* Enhanced Payment Summary in Popup */
.booking-popup .payment-summary-detailed {
    background: transparent;
    border: 1px solid #e9ecef;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 12px;
}

.booking-popup .payment-summary-detailed h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.booking-popup .breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 11px;
}

.booking-popup .breakdown-label {
    font-weight: 600;
    color: #495057;
    min-width: 80px;
}

.booking-popup .breakdown-value {
    text-align: right;
    color: #212529;
    flex: 1;
}

.booking-popup .participant-breakdown {
    font-size: 10px;
    line-height: 1.3;
}

.booking-popup .participant-line {
    margin-bottom: 3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-popup .participant-type-badge {
    display: inline-block;
    padding: 1px 4px;
    border-radius: 0;
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 4px;
}

.booking-popup .participant-type-badge.adult {
    background: #e3f2fd;
    color: #1976d2;
}

.booking-popup .participant-type-badge.child {
    background: var(--tt-yellow-100);
    color: var(--tt-yellow-700);
}

.booking-popup .participant-type-badge.student {
    background: #e8f5e8;
    color: #388e3c;
}

.booking-popup .participant-type-badge.infant {
    background: #00a884; /* Sea pickle green */
    color: white;
}

.booking-popup .total-breakdown {
    border-top: 2px solid var(--tt-green-500);
    border-bottom: none;
    padding-top: 8px;
    margin-top: 6px;
}

.booking-popup .total-breakdown .breakdown-label,
.booking-popup .total-breakdown .breakdown-value {
    font-size: 13px;
    font-weight: 700;
    color: #00a884; /* Sea pickle green */
}

.booking-popup .payment-security-info {
    background: linear-gradient(135deg, #e8f5e8 0%, #f1f8e9 100%);
    border: 1px solid #c8e6c9;
    border-radius: 0;
    padding: 10px;
    margin-top: 12px;
}

.booking-popup .security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.booking-popup .security-icon {
    font-size: 16px;
}

.booking-popup .security-text strong {
    color: #2e7d32;
    font-size: 11px;
    margin-bottom: 1px;
}

.booking-popup .security-text span {
    color: #388e3c;
    font-size: 10px;
}

.booking-popup .payment-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.booking-popup .payment-features .feature {
    font-size: 9px;
    color: #28a745;
    font-weight: 500;
    background: rgba(40, 167, 69, 0.1);
    padding: 2px 6px;
    border-radius: 0;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Messages in popup */
.booking-popup .booking-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0;
}

.booking-popup .booking-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0;
}

/* Prevent body scroll when popup is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive popup */
@media (max-width: 768px) {
    .booking-popup {
        padding: 3px;
    }

    .booking-popup-content {
        max-height: 98vh;
        border-radius: 0;
        max-width: 98vw;
    }

    .popup-header {
        padding: 5px 0 0 0;
    }

    .popup-header h2 {
        font-size: 14px !important;
    }

    .booking-popup .tt-booking-form {
        padding: 0;
    }

    .booking-popup .date-time-container {
        flex-direction: column;
        gap: 3px;
    }



    /* Much smaller text throughout */
    .booking-popup h3 {
        font-size: 12px !important;
        margin: 8px 10px 6px 10px;
    }

    .booking-popup h4 {
        font-size: 10px !important;
    }

    .booking-popup .form-row label {
        font-size: 9px !important;
        margin-bottom: 2px !important;
    }

    .booking-popup .form-row input,
    .booking-popup .form-row select,
    .booking-popup .form-row textarea {
        font-size: 10px !important;
        padding: 4px !important;
        border-radius: 0 !important;
    }

    .booking-popup .booking-navigation {
        flex-direction: column;
        gap: 6px;
        margin: 8px 10px;
    }

    .booking-popup .booking-navigation .button {
        width: 100%;
        text-align: center;
        font-size: 10px !important;
        padding: 6px !important;
    }

    /* Smaller participant details on mobile */
    .booking-popup .participant-details h5 {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }

    .booking-popup .participant-fields {
        gap: 6px !important;
    }

    /* Smaller booking summary on mobile */
    .booking-popup .booking-summary h4 {
        font-size: 12px !important;
    }

    .booking-popup .booking-summary-table th,
    .booking-popup .booking-summary-table td {
        font-size: 9px !important;
        padding: 3px 0 !important;
    }

    /* Smaller payment methods on mobile */
    .booking-popup .payment-method-option {
        padding: 8px !important;
        margin-bottom: 6px !important;
    }

    .booking-popup .payment-method-info strong {
        font-size: 10px !important;
    }

    .booking-popup .payment-method-info span {
        font-size: 8px !important;
    }
}

@media (max-width: 480px) {
    .booking-popup {
        padding: 3px;
    }

    .popup-header {
        padding: 10px 12px;
    }

    .popup-header h2 {
        font-size: 16px;
    }

    .booking-popup .tt-booking-form {
        padding: 12px;
    }

    .close-popup {
        top: 8px;
        right: 12px;
        font-size: 20px;
    }
}

/*
 Popup Header */
.popup-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
}

.popup-header h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #111;
}

.popup-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Booking Steps Instructions */
.booking-steps-instructions {
    margin: 24px;
    padding: 20px 24px;
    background: #f7f7f7;
    border-radius: 0;
    border: 1px solid #e0e0e0;
}

.booking-steps-instructions h4 {
    margin: 0 0 12px 0;
    color: #0073aa;
    font-size: 16px;
    font-weight: 600;
}

.booking-steps-instructions ol {
    margin: 0 0 0 20px;
    padding: 0;
}

.booking-steps-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 14px;
}

/* Booking Form */
.tt-booking-form {
    padding: 0 24px 24px;
}

/* Booking Steps */
.booking-step {
    margin-bottom: 24px;
}

.booking-step h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

/* Form Elements */
.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #c10000;
    box-shadow: 0 0 0 2px rgba(193, 0, 0, 0.1);
    border-radius: 0;
}

/* Calendar Container */
.booking-calendar-container {
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 16px;
    margin-bottom: 20px;
}

/* Minimal Navigation */
.booking-popup .calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    padding: 2px 0;
}

/* Hide legend for minimal design */
.booking-popup .calendar-legend {
    display: none;
}

/* Minimal Calendar Grid */
.booking-popup .calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 8px;
}

/* Minimal Arrow Buttons */
.booking-popup .calendar-navigation button {
    background: none;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    font-size: 14px;
    color: #888;
    border-radius: 0;
}

.booking-popup .calendar-navigation button:hover {
    background: #f0f0f0;
    color: #333;
}

.calendar-navigation button:hover {
    background: #e9ecef;
    border-radius: 0;
}

/* Replace text with arrow icons */
.calendar-navigation .prev-month::before {
    content: '‹';
    font-size: 18px;
    font-weight: bold;
}

.calendar-navigation .next-month::before {
    content: '›';
    font-size: 18px;
    font-weight: bold;
}

/* Clean Month Display */
.booking-popup .current-month-display {
    font-size: 11px;
    font-weight: 600;
    color: #444;
    text-align: center;
}

/* Calendar Table */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.calendar-table th,
.calendar-table td {
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.calendar-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-day {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.calendar-day.available {
    background: rgba(0, 168, 132, 0.1); /* Sea pickle green background */
    color: #00a884; /* Sea pickle green text */
    border: 1px solid #00a884; /* Sea pickle green border */
    border-radius: 0; /* Remove rounded corners */
}

.calendar-day.available:hover {
    background: rgba(0, 168, 132, 0.2); /* Darker sea pickle green */
    color: #00a884; /* Sea pickle green text */
    transform: none; /* Remove animations */
}

.calendar-day.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.calendar-day.selected {
    background: #00a884; /* Sea pickle green */
    color: white;
    border: 1px solid #008f72; /* Darker sea pickle green */
}

.calendar-day.today {
    border: 1px solid #00a884; /* Sea pickle green border */
    border-radius: 0; /* Remove rounded corners */
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 0;
    border: 1px solid #ddd;
}

.legend-color.available {
    background: #e8f5e8;
    border-color: #4caf50;
}

.legend-color.unavailable {
    background: #f5f5f5;
    border-color: #ccc;
}

.legend-color.selected {
    background: #00a884; /* Sea pickle green */
    border-color: #008f72; /* Darker sea pickle green */
}

/* Time Slots */
.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.time-slot {
    padding: 12px 16px;
    background: rgba(0, 168, 132, 0.1); /* Sea pickle green background */
    border: 1px solid #00a884; /* Sea pickle green border */
    border-radius: 0; /* Remove rounded corners */
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: none; /* Remove animations */
}

.time-slot:hover {
    background: rgba(0, 168, 132, 0.2); /* Darker sea pickle green */
    border-color: #008f72; /* Darker sea pickle green */
    transform: none; /* Remove animations */
}

.time-slot.selected {
    background: #00a884; /* Sea pickle green */
    color: white;
    border-color: #008f72; /* Darker sea pickle green */
    border-radius: 0; /* Remove rounded corners */
}

.time-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 0;
    border: 1px solid #e0e0e0;
    margin-bottom: 24px;
}

.booking-summary h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.booking-summary-table {
    width: 100%;
    border-collapse: collapse;
}

.booking-summary-table th,
.booking-summary-table td {
    padding: 8px 0;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.booking-summary-table th {
    font-weight: 500;
    color: #666;
    width: 40%;
}

.booking-summary-table td {
    font-weight: 500;
    color: #333;
}

.booking-summary-table .total-row th,
.booking-summary-table .total-row td {
    font-weight: 700;
    font-size: 16px;
    color: #c10000;
    border-top: 2px solid #c10000;
    padding-top: 12px;
}

/* Payment Methods */
.payment-methods {
    margin-bottom: 24px;
}

.payment-method-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    margin-bottom: 12px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-option:hover {
    border-color: #c10000;
    background: #fef7f7;
}

.payment-method-option input[type="radio"] {
    margin-right: 16px;
    width: 18px;
    height: 18px;
}

.payment-method-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.payment-method-info strong {
    display: block;
    color: #333;
    font-size: 16px;
    margin-bottom: 4px;
}

.payment-method-info span {
    display: block;
    color: #666;
    font-size: 14px;
}

.payment-method-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

/* Navigation Buttons */
.booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.booking-navigation .button {
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 0;
    background: #f8f9fa;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.booking-navigation .button:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.booking-navigation .button.button-primary {
    background: #00a884; /* Sea pickle green */
    color: white;
    border-color: #008f72; /* Darker sea pickle green */
    border-radius: 0; /* Remove rounded corners */
    transition: none; /* Remove animations */
}

.booking-navigation .button.button-primary:hover {
    background: #008f72; /* Darker sea pickle green */
    border-color: #007a63; /* Even darker sea pickle green */
    transform: none; /* Remove animations */
}

.booking-navigation .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-popup {
        padding: 16px;
    }

    .popup-header,
    .tt-booking-form {
        padding-left: 16px;
        padding-right: 16px;
    }



    .time-slots-container {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 8px;
    }

    .booking-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .booking-navigation .button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .booking-popup-content {
        max-height: 95vh;
    }

    .popup-header h2 {
        font-size: 20px;
    }

    .booking-step h3 {
        font-size: 18px;
    }

    .calendar-table th,
    .calendar-table td {
        padding: 4px;
    }

    .calendar-day {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}