@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* ============================================
   PREMIUM POSTBOX HEADER STYLES - PRIORITY
   ============================================ */
.wp-die-message, p {
    font-size: 15px !important;
}
.postbox {
    background-color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    margin-bottom: 20px !important;
}
.postbox.closed .postbox-header {
    background: linear-gradient(135deg, #11315f 0%, #11315f 50%, #11315f 100%) !important;
    height: 45px !important;
}
.postbox .hndle,
.postbox h2.hndle,
.postbox h3.hndle {
    border-radius: 12px 12px 0 0 !important;
    padding: 16px 24px !important;
    color: #ffffff !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    margin: 0 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
    letter-spacing: 0.5px !important;
}

.postbox .hndle::before,
.postbox h2.hndle::before,
.postbox h3.hndle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}
.edit-post-meta-boxes-area .postbox-header,
.postbox:hover .hndle,
.postbox:hover h2.hndle,
.postbox:hover h3.hndle {
    background: linear-gradient(135deg, #11315f 0%, #11315f 50%, #11315f 100%) !important;
}

.postbox .handlediv {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.postbox .handlediv:hover {
    opacity: 1 !important;
}
.edit-post-meta-boxes-area .postbox-header {
    border-top: 0px solid #ddd !important;
}
.wp-core-ui select {
    max-width: stretch !important;
}
.postbox .handle-actions {
    position: relative !important;
    visibility: visible !important;
    display: contents !important;
    top: 50% !important;
    transform: translateY(-64%) !important;
}

.postbox .handle-order-higher,
.postbox .handle-order-lower {
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.postbox .handle-order-higher:hover,
.postbox .handle-order-lower:hover {
    opacity: 1 !important;
}

.postbox .inside {
    padding: 20px 24px !important;
    background: #ffffff !important;
}

/* ============================================
   FRONTEND TOUR DISPLAY STYLES
   ============================================ */
.tour-itinerary {
    font-family: Montserrat, sans-serif;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
    color: #333;
}

.tour-header {
    border-radius: 8px;
    margin-bottom: 20px;
}

.tour-title-section {
    padding: 5px 5px;
    border-radius: 8px;
    background: #ffffff00;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 15px;
}

.tour-title-section h1 {
    color: white;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.tour-duration-badge {
    background: linear-gradient(135deg, #11315f 0%, #11315f 100%) !important;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.tour-type-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
}

.tour-type-badge.tour-type-private {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.tour-type-badge.tour-type-group {
    background: linear-gradient(135deg, #007bff 0%, #6610f2 100%);
}

.tour-meta-section {
    margin-bottom: 25px;
}

.tour-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    gap: 5px;
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    border: 0px solid #dee2e6;
    border-top: none;
}

.tour-highlights-section {
    margin-bottom: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.highlights-header {
    background: linear-gradient(135deg, #11315f 0%, #e66a9a 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
}

.highlights-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.tour-highlights {
    padding: 15px 0px;
}

.tour-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 5px;
}

.tour-highlights li {
    padding: 3px 15px 3px 48px;
    background: #e9ecef;
    border-radius: 7px;
    border: 1px solid #ddd;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    line-height: 1.5;
    color: #374151;
    font-weight: 500;
}

.tour-highlights li:hover {
    border-left-color: #e66a9a;
}

.tour-highlights li:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #11315f 0%, #11315f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.tour-highlights li:after {
    content: '';
    position: absolute;
    left: 19px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tour-highlights li:last-child {
    margin-bottom: 0;
}

.tour-header h1 {
    color: #11315f;
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 25px;
    border-bottom: 1px solid #dedede;
}

/* Tour Days */
.tour-days {
    margin: 10px 0;
}

.tour-days h2 {
    color: #11315f;
    border-bottom: 1px solid #d5d5d5;
    padding-bottom: 4px;
    margin-bottom: 25px;
}

.day {
    margin-bottom: 10px;
    padding: 0px;
    background: #f3f3f300;
    border-radius: 8px;
}

.day h3 {
    color: #11315f;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 15px;
}

.tour-section {
    border-radius: 8px;
    padding: 10px 0px;
    border: 0px solid #e9ecef;
}

.tour-section h3 {
    color: #11315f;
    border-bottom: 0px solid #dbdbdb;
    padding-bottom: 0px;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
}
.tour-section.day-included-activities h4,
.tour-section.day-meals-included h4 {
    margin: 10px 0 !important;
}

.tour-section ul {
    margin: 5px 0;
    padding-left: 0px;
}

.tour-section li {
    margin-bottom: 0px;
    padding-left: 20px;
    color: #555;
    line-height: 20px !important; 
}

.tour-section li:before {
    content: "•";
    color: #5f5f5f;
    font-weight: bold;
    display: inline-block;
    width: 15px;
    margin-left: 0em;
    font-size: 20px;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f5fcff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0px 4px rgb(0 0 0 / 17%);
}

.pricing-table th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #7f7f7f;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border: none;
}

.pricing-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #e9ecef;
    font-size: 15px;
    font-weight: 400;
    color: #495057;
}

.pricing-table tr:nth-child(even) {
    background: #f8f9fa;
}

.pricing-table tr:hover {
    background: #e9ecef;
    transition: background 0.3s;
}

.discounted-price {
    color: #10B981;
    font-weight: 700;
    font-size: 14px;
}

.original-price {
    color: #dc2626;
    text-decoration: line-through;
    font-size: 14px;
}

/* Export Buttons */
.export-buttons {
    margin: 25px 0;
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.export-btn {
    background: #11315f;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    display: inline-block;
    margin: 0 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.export-btn:hover {
    background: #005a87;
}

.export-btn.print-btn {
    background: #28a745;
}

.export-btn.print-btn:hover {
    background: #218838;
}

/* ============================================
   ADMIN FORM STYLES
   ============================================ */
.form-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0%) !important;
}

.form-table th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    text-align: left;
    padding: 18px 15px 18px 20px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    width: 220px;
    font-size: 14px;
}

.form-table td {
    padding: 10px 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.form-table tr:last-child td {
    border-bottom: none;
}

.form-table input[type="text"],
.form-table input[type="number"],
.form-table input[type="email"],
.form-table input[type="url"],
.form-table input[type="date"],
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
    border-color: #11315f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.15);
}

/* ============================================
   BOOKING MODAL STYLES
   ============================================ */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.booking-modal-content {
    margin-top: 70px;
    background: white;
    border-radius: 12px;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

.booking-details-section {
    margin-bottom: 5px;
    padding: 0px 20px;
}

.booking-details-section h4 {
    color: #11315f;
    font-size: 18px;
    margin-bottom: 5px;
    border-bottom: 2px solid #11315f;
    padding-bottom: 8px;
    margin-top: 5px;
}

.booking-btn {
    background: linear-gradient(135deg, #11315f 0%, #e66a9a 100%) !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
    font-size: 14px;
    transition: all 0.3s;
    position: relative;
    z-index: 10000;
}

.booking-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}


/* Input Field Styles */
input[type=date], input[type=datetime-local], input[type=datetime], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=time], input[type=url], input[type=week] {
    padding: 0 12px !important;
    min-height: 40px !important;
    border-radius: 8px !important;
}

.preview-header {
    background: #11315f;
    color: white;
    border-bottom: 0px;
    padding: 9px 10px;
    position: fixed;
    width: 1300px;
    z-index: 9999;
    margin-top: -1px;
}

.custom-admin-footer {
    background: #11315f;
    color: white;
    text-align: center;
    padding: 15px 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0px;
    position: relative;
    z-index: 9997;
    left: 0;
    right: 0;
}

.custom-admin-footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.preview-nav a {
	background: #11315f;
    color: white !important;
    text-decoration: none;
    margin-right: 15px;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.2);
}

.preview-nav a:hover {
    background: rgba(255,255,255,0.1);
}

/* Preview specific styles */
.preview-container {
    max-width: 1300px;
    min-height: 1170px;
    margin: 0 auto;
    background: #ffffff00;
    border-radius: 0px;
    overflow: hidden;
    margin-top: -20px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 0%);
    width: 100%;
    position: relative;
}

/* Shift admin content to left edge for preview mode only */
body.preview-mode #wpbody {
    margin-left: 0 !important;
}

body.preview-mode #wpcontent {
    margin-left: 0 !important;
}

body.preview-mode #adminmenumain {
    display: none !important;
}

body.preview-mode #wpadminbar {
    display: none !important;
}
.widefat td, .widefat th {
    vertical-align: middle !important;
}
/* Header Section with Company Name and Page Numbers */
.tour-header-section {
    background: #4CAF50;
    color: white;
    padding: 15px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-family: Montserrat, sans-serif;
    position: relative;
    border-radius: 10px;
    display:none;
}


/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .no-print {
        display: none !important;
    }
    
    .preview-header {
        display: none !important;
        background: #23282d00;
    }
    
    .preview-container {
        margin-top: 0px !important;
    }
    
    .preview-content {
        padding: 0px !important;
        border: 0px !important;
        margin-top: 0px !important;
    }
    
    body {
        font-family: Montserrat, sans-serif !important;
        color: #555 !important;
        margin: 0px;
        line-height: 1.4;
        font-size: 13px;
    }
    
    .tour-itinerary {
        max-width: none !important;
        margin: 0 !important;
    }
    
    .tour-header h1 {
        border-bottom: 1px solid #dedede;
        padding-bottom: 5px;
        margin-top: 1px;
        font-size: 20px;
    }
    
    .tour-section h3 {
        font-size: 16px;
    }
    
    .tour-days h2 {
        margin-bottom: 0px;
        padding-bottom: 5px;
    }
    
    .tour-section {
        border: 0px solid #dee2e6 !important;
        padding: 5px 0px 0px 0px !important;
        margin: 10px 0 0px 0 !important;
    }
    
    .tour-section ul {
        padding-left: 0px;
    }
    
    .day {
        margin: 10px 0px !important;
        padding: 0px !important;
        background: #f3f3f300 !important;
    }
    
    .day h3 {
        font-size: 15px;
        padding: 6px 10px 6px 10px;
        background: linear-gradient(135deg, #11315f, #008dad);
        color: #fff !important;
        border-radius: 7px 7px;
        font-family: Montserrat, sans-serif;
        font-weight: 500;
    }
    
    .pricing-table td {
        font-size: 13px !important;
    }
    
    .pricing-table th {
        background-color: #bdbdbd !important;
        color: #fff !important;
    }
    
    h1, h2, h3 {
        color: #000 !important;
    }
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .tour-itinerary {
        padding: 0 15px;
    }
    
    .form-table th,
    .form-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    
    .form-table th {
        background: #f8f9fa;
        border-bottom: none;
        padding-bottom: 5px;
    }
    
    .form-table td {
        padding-top: 5px;
        padding-bottom: 15px;
    }
    
    .pricing-table {
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 8px;
    }
    
    .export-buttons {
        text-align: left;
    }
    
    .export-btn {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
}

/* Booking Success Modal Styles */
.booking-success-content {
    max-width: 550px;
    text-align: center;
}

.success-icon {
    margin: 15px auto 5px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title {
    color: #10B981;
    font-size: 28px;
    font-weight: 700;
    margin: 5px auto 5px auto;
    text-align: center;
}

.success-message {
    color: #495057;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 30px auto;
    text-align: center;
}

.success-details-section {
    text-align: left;
    margin-bottom: 30px;
    padding: 0px 25px;
}

.success-details-section h4 {
    color: #11315f;
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #11315f;
    padding-bottom: 8px;
}

.success-btn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: none;
}

.success-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #11315f 0%, #e66a9a 100%);
    border-radius: 12px 12px 0 0;
}

.booking-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.booking-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    line-height: 1;
}

.booking-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
}

.booking-modal-body {
    padding: 0;
    max-height: 80vh;
    overflow-y: auto;
}

/* Modern Scrollbar Styling */
.booking-modal-body::-webkit-scrollbar {
    width: 8px;
}

.booking-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.booking-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #11315f 0%, #e66a9a 100%);
    border-radius: 10px;
}

.booking-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e66a9a 0%, #11315f 100%);
}

/* Calendar Styles */
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h4 {
    margin: 0;
    color: #11315f;
    font-size: 16px;
    font-weight: 600;
}

.calendar-nav {
    background: #f8f9fc;
    border: 1px solid #e0e6ed;
    border-radius: 4px;
    padding: 4px 18px 4px 18px;
    cursor: pointer;
    font-size: 25px;
    transition: all 0.2s;
}

.calendar-nav:hover {
    background: #e0e6ed;
}

.tour-duration-display {
    background: #f8f9fc;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #11315f;
    border-left: 3px solid #11315f;
}

.calendar-sticky-container {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
    padding: 10px 25px;
    border-bottom: 1px solid #e0e6ed;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 0px;
}

.calendar-day-name {
    text-align: center;
    font-weight: 600;
    color: #11315f;
    font-size: 12px;
    padding: 8px 4px;
}

.calendar-day {
    text-align: center;
    padding: 5px 4px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s;
    background: #c7e7ba;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 55px;
}

.calendar-day-number {
    font-size: 16px;
    font-weight: 600;
    color: #11315f;
}

.calendar-day-price {
    font-size: 11px;
    color: #11315f;
    font-weight: 500;
    margin-top: 0px;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #0a5f00;
}

.calendar-day:hover:not(.disabled):not(.empty) .calendar-day-number,
.calendar-day:hover:not(.disabled):not(.empty) .calendar-day-price {
    color: white;
}

.calendar-day.disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f1f1f1;
}

.calendar-day.disabled .calendar-day-price {
    color: #999;
}

.calendar-day.blocked {
    color: #dc2626;
    cursor: not-allowed;
    background: #fee2e2;
}

.calendar-day.blocked .calendar-day-price {
    color: #dc2626;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #11315f 0%, #11315f 100%);
    position: relative;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.calendar-day.selected::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -3px;
    font-weight: bold;
    width: 21px;
    height: 21px;
    background: #008d19;
    border-radius: 15px;
    font-size: 13px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.calendar-day.selected .calendar-day-number,
.calendar-day.selected .calendar-day-price {
    color: #ffffff;
}

/* Booking Form Styles */
.booking-form {
    margin-top: 20px;
    padding: 0px;
    border-top: 0px solid #eee;
}

.booking-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 5px;
}

.traveler-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.traveler-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.traveler-input-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #dee2e6;
    border-radius: 21px;
}
.traveler-input-controls button {
    width: 59px;
    height: 40px;
    border: 0px solid #c3c4c7;
    background: white;
    color: #11315f;
    border-radius: 33px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.traveler-input-controls button:hover {
    background: #11315f00;
    color: #e66a9a;
    border: 0px solid #11315f;
}

.traveler-input {
    width: 60px;
    height: 40px;
    border: 0px solid #e9ecef !important;
    border-radius: 8px;
    font-size: 23px;
    font-weight: 600;
    color: #11315f !important;
    text-align: center;
    background: white;
    background-color: #ffffff00 !important;
}

/* Fixed Departures Traveler Counter */
.fixed-departures-traveler-section {
    margin: 0px 0;
    padding: 5px 10px 15px 10px;
    border-radius: 8px;
}

.fixed-departures-traveler-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #11315f;
}

.fixed-departures-traveler-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #dee2e6;
    border-radius: 25px;
    padding: 0px;
    width: fit-content;
}

.fixed-departures-minus-btn,
.fixed-departures-plus-btn {
    width: 55px;
    height: 45px;
    border: none;
    background: #11315f00;
    color: #11315f;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fixed-departures-minus-btn:hover,
.fixed-departures-plus-btn:hover {
    background: #0a1f3d00;
    transform: scale(1.1);
    color: #e66a9a;
}

.fixed-departures-traveler-input {
    width: 95px;
    height: 45px;
    font-size: 24px;
    font-weight: 700;
    color: #11315f !important;
    text-align: center;
    background-color: #f0f0f000 !important;
    border: 0px solid #949494 !important;
}

/* Selected Dates Display */
.selected-dates-display {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 11px 15px;
    background: #e9ecef;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 0px solid #f0f0f1;
}

.date-display-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.date-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-value {
    font-size: 15px;
    font-weight: 600;
    color: #11315f;
}

/* Dates and Prices Table */
.dates-prices-fullwidth {
    position: relative;
    max-width: 1300px;
    margin: 0px auto 60px auto;
    background: white;
    border-radius: 0px;
    overflow: hidden;
}

.dates-prices-section {
    margin: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 100%;
    border: 1px solid #e9ecef;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #11315f;
    padding: 20px 24px;
    margin: 0;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
}

.dates-prices-table-wrapper {
    overflow-x: auto;
}

.dates-prices-table {
    width: 100%;
    border-collapse: collapse;
}

.dates-prices-table thead {
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
    color: white;
}

.dates-prices-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dates-prices-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.3s ease;
}

.dates-prices-table tbody tr:hover {
    background: #e9ecef;
}

.dates-prices-table tbody tr.departure-row-active {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.dates-prices-table td {
    padding: 16px 20px;
    font-size: 14px;
    color: #333;
}

.date-cell {
    font-weight: 500;
    color: #11315f;
}

.status-cell {
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: #d4edda;
    color: #155724;
}

.status-full {
    background: #f8d7da;
    color: #721c24;
}

.status-closed {
    background: #e2e3e5;
    color: #383d41;
}

.seat-cell {
    font-weight: 500;
    color: #11315f;
}

.price-cell {
    text-align: justify;
}

.price-tag {
    font-size: 18px;
    font-weight: 700;
    color: #11315f;
}

.price-tag.discounted {
    color: #e74c3c;
}

.price-original {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-left: 0px;
}

.discount-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.price-per {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #11315f;
    font-size: 14px;
}

.booking-input,
.booking-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e6ed;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 0px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    border: 2px solid #e0e6ed;
    border-radius: 49px;
}

.quantity-input {
    margin-bottom: 0 !important;
    text-align: center;
    font-weight: 600;
    font-size: 20px;
    color: #11315f !important;
    width: 85px !important;
    border: 0px solid #e0e6ed !important;
    background-color: #f0f0f000 !important;
}

.quantity-btn {
    background: #f8f9fc;
    border: 0px solid #e0e6ed;
    border-radius: 41px;
    width: 50px;
    height: 40px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #11315f;
}

.quantity-btn:hover {
    background: #11315f14;
    border-color: #11315f;
    color: #e66a9a;
}

.quantity-btn:active {
    transform: scale(0.95);
}

/* Price Summary Styles */
.price-summary {
    background: linear-gradient(135deg, rgb(102 126 234 / 0%) 0%, rgb(118 75 162 / 0%) 100%);
    border: 0px solid #11315f;
    border-radius: 8px;
    padding: 10px 0px;
    margin: 0px 0 20px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    border-top: 2px solid #11315f;
    margin-top: 10px;
    padding-top: 5px;
    font-weight: 700;
    font-size: 18px;
    color: #11315f;
}

.price-row span:first-child {
    color: #11315f;
    font-weight: 500;
}

.price-row span:last-child {
    font-weight: 600;
    color: #11315f;
}

.price-row.total span:last-child {
    color: #11315f;
    font-size: 20px;
}

.price-row.discount-row {
    padding: 5px 0;
    border-bottom: 0px;
}

.discount-label {
    color: #10B981;
    font-weight: 700;
    font-size: 14px;
    background: #d1fae5;
    padding: 4px 8px;
    border-radius: 4px;
}

.price-row.calculation-row {
    background: rgb(102 126 234 / 0%);
    padding: 5px;
    border-radius: 4px;
    margin: 0px 0;
}

.price-row.calculation-row span:last-child {
    color: #11315f;
    font-weight: 500;
}

.price-row.tier-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.price-row.tier-info span:last-child {
    color: #11315f;
    font-weight: 700;
}

.booking-input:focus,
.booking-textarea:focus {
    border-color: #11315f;
    outline: none;
}

.booking-textarea {
    min-height: 80px;
    resize: vertical;
}

.promotion-code-section {
    margin-top: 15px;
}

.promotion-code-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a2e;
    font-size: 14px;
}

.promotion-code-input-wrapper {
    display: flex;
    gap: 10px;
}

.promotion-code-input-wrapper .booking-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-size: 14px;
}

.apply-promo-btn {
    padding: 10px 20px;
    background: #11315f;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.apply-promo-btn:hover {
    background: #1a4a8a;
}

.promo-message {
    margin-top: 8px;
    font-size: 13px;
    min-height: 20px;
}

.promo-message.success {
    color: #10b981;
}

.promo-message.error {
    color: #ef4444;
}

.booking-submit-btn {
    width: 95%;
    background: linear-gradient(135deg, #11315f 0%, #11315f 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin: 15px;
}
.booking-sidebar-header h3 {
    color: white;
}
.booking-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: #e66a9a;
}

/* Wishlist Button Styles */
.wishlist-section {
    margin-bottom: 20px;
}

.wishlist-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fc;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #11315f;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: #11315f;
    border-color: #11315f;
    color: white;
}

.wishlist-btn.active {
    background: #e66a9a;
    border-color: #e66a9a;
    color: white;
}

.wishlist-btn.active svg {
    fill: white;
}

.wishlist-btn svg {
    transition: all 0.3s;
}

.preview-content {
    margin-top: 60px;
    padding: 20px 0px;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 30px;
}

.preview-main {
    min-width: 0;
}

.preview-sidebar {
    width: 460px;
    position: relative;
    top: 0px;
}

/* Responsive preview header */
@media (max-width: 1024px) {
    .preview-content {
        grid-template-columns: 1fr;
    }

    .preview-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .preview-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .preview-nav, .preview-actions {
        width: 100%;
        justify-content: center;
    }
    
    .preview-nav a {
        display: inline-block;
        margin: 5px;
    }
    
    .preview-actions button {
        margin: 5px;
    }
    
    .preview-content {
        padding: 20px;
    }
}

/* Rest of your existing tour styles remain the same */
.tour-itinerary {
    font-family: Montserrat, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Day Image Styles */
.day-image {
    text-align: center;
    margin: 15px 0;
}

.day-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.day-image img:hover {
    transform: scale(1.02);
}



/* Admin Day Image Upload Styles */
.day-image-upload {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.day-image-upload .image-preview img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
}

.upload-day-image,
.remove-day-image {
    margin-right: 10px !important;
}
.custom-admin-footer {
    background: #11315f;
    color: white;
    text-align: center;
    padding: 15px 20px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0px;
    position: relative;
    z-index: 9997;
}

/* Print styles for day images */
@media print {
    .day-image img {
        max-width: 90% !important;
        margin: 10px auto !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
        border: 1px solid #ddd !important;
    }
}

/* Responsive day images */
@media (max-width: 768px) {
    .day-image img {
        max-width: 100% !important;
    }
}


/* Multiple Images Grid Layout - BELOW CONTENT */

.day-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.day-image-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.day-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.day-image-item:hover img {
    transform: scale(1.05);
}

/* Print styles for image grid */
@media print {
    body.wp-admin .tour-itinerary {
        margin: 0px;
        padding: 0px;
    }
    .day-images-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }
    .day-image-item img {
        height: 120px !important;
    }
}

/* Responsive grid for mobile */
@media (max-width: 768px) {
    .day-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 12px;
        padding: 15px;
    }
    
    .day-image-item img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .day-images-grid {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    
    .day-image-item img {
        height: 200px;
    }
}

/* Admin Styles - Images below content in admin too */
.tour-day-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: 0px !important;
}
.tour-day {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}

.day-images-upload {
    margin: 20px 0 10px 0;
    padding: 15px;
    background: white;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.images-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin: 10px 0;
}

.image-preview-item {
    position: relative;
}

.image-preview-item img {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #ddd;
}

.remove-single-image {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3232;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
}

.remove-single-image:hover {
    background: #a00;
}



/* Preview Page Specific Fixes */
body.wp-admin .preview-content .day-image img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Admin Day Image Upload Styles */
.day-image-upload {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.day-image-upload .image-preview img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
    display: block !important;
}

.upload-day-image,
.remove-day-image {
    margin-right: 10px !important;
}

/* Responsive day images */
@media (max-width: 768px) {
    .day-image img {
        max-width: 100% !important;
    }
    
    @media print {
        .day-image img {
            max-width: 90% !important;
        }
    }
}

/* Force image display in all contexts */
.tour-itinerary img,
.day-image img,
.day-content img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Remove Day Button Styles */
.remove-day {
    background: #dc3232 !important;
    color: white !important;
    border-color: #dc3232 !important;
    margin-top: 10px;
}

.remove-day:hover {
    background: #a00 !important;
    border-color: #a00 !important;
}

/* Button danger style for WordPress consistency */
.button-danger {
    background: #dc3232 !important;
    color: white !important;
    border-color: #dc3232 !important;
}

.button-danger:hover {
    background: #a00 !important;
    border-color: #a00 !important;
}

/* Tour day container styling */
.tour-day {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
}


/* Day Article Layout */
.day-article {
    margin: 15px 0;
}

.day-content {
    padding: 0px;
    line-height: 1.7;
    font-size: 15px;
    color: #444;
}

.day-content p {
    margin-bottom: 15px;
    font-family: Montserrat, sans-serif;
}

.day-content p:last-child {
    margin-bottom: 0;
}

/* Images Section - Below Article */
.day-images-section h4 {
    color: #11315f;
    margin: 0 0 20px 0;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px dashed #b9b9b9;
    padding-bottom: 2px;
    margin-top: 15px;
    font-family: Montserrat, sans-serif;
}

/* Multiple Images Grid Layout - Below Article */
.day-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.day-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.day-image-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.day-image-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.day-image-item:hover img {
    transform: scale(1.08);
}

/* Section Header for Inclusions & Exclusions */
.section-header {
    margin-bottom: 25px;
    padding: 5px 0px;
    border-radius: 8px;
}

.section-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d5d5d5;
}

.section-header h2:before {
    content: "";
    display: inline-block;
    margin-right: 10px;
}

.section-header h2 svg {
    color: #e66a9a;
}

/* Itinerary Header - different color scheme */
.itinerary-header {
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.2);
}

/* Pricing Header - green color scheme */
.pricing-header {
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.2);
}

/* Trip Information Header - orange color scheme */
.trip-info-header {
    margin-bottom: 0px;
    padding: 7px 0px;
    border: 0px solid #dee2e6;
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
    box-shadow: 0 4px 15px rgba(0, 115, 170, 0.2);
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 70px;
    z-index: 9998;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tab-button {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: transparent;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: Montserrat, sans-serif;
}

.tab-button:hover {
    background: #e9ecef;
    color: #11315f;
}

.tab-button.active {
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

.tab-button svg {
    transition: stroke 0.3s ease;
}

/* Tab Content Container */
.tab-content-container {
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles for article layout */
@media print {
    .day-article {
        box-shadow: none !important;
        margin: 0px !important;
        padding: 0px !important;
    }
    .day-header {
        margin-bottom: 0px !important;
    }
    .day-content {
        padding: 5px !important;
    }

    .day-images-section {
        padding: 15px !important;
        background: transparent !important;
    }

    .day-images-section h4 {
        color: #000 !important;
        border-bottom: 1px solid #dee2e6 !important;
        font-size: 16px !important;
        margin-bottom: 0px !important;
    }

    .day-images-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        margin-top: 10px;
    }

    .day-image-item {
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
    
    .day-image-item img {
        height: 140px !important;
        border: 1px solid #ddd !important;
    }
    
    .day-image-item:hover {
        transform: none !important;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
    }
    body.wp-admin .day-images-section {
        background: transparent;
    }
}

/* Responsive design for article layout */
@media (max-width: 1024px) {
    .day-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .day-image-item img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .day-article {
        margin: 10px 0;
    }
    
    .day-content {
        padding: 20px;
    }
    
    .day-images-section {
        padding: 20px;
    }
    
    .day-images-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 12px;
    }
    
    .day-image-item img {
        height: 180px;
    }
    
    .day-images-section h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .day-content {
        padding: 15px;
    }
    
    .day-images-section {
        padding: 15px;
    }
    
    .day-images-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .day-image-item img {
        height: 200px;
    }
}

/* Day header styling */
.day h3 {
    font-size: 15px;
    padding: 6px 10px 6px 10px;
    color: white;
    border-radius: 7px 7px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

/* Admin preview specific styles */

body.wp-admin .day-images-section {
    background: transparent;
}

/* Ensure proper spacing between days */
.tour-days .day {
    margin-bottom: 0px;
    border-radius: 8px;
    overflow: hidden;
}

.tour-days .day:last-child {
    margin-bottom: 0;
}


/* Removed emoji pseudo-elements - replaced with SVG icons in HTML */
.tour-section h4[class*="included-activities"]:before { content: ""; }
.tour-section h4[class*="meals-included"]:before { content: ""; }
.tour-section h4[class*="optional-activities"]:before { content: ""; }
h4.meals-included {margin: 5px;}
h4.included-activities {margin: 5px;}
h4.optional-activities {margin: 5px;}

/* Print styles for the new sections */
@media print {
    .tour-section h4[class*="included-activities"]:before { content: ""; }
    .tour-section h4[class*="meals-included"]:before { content: ""; }
    .tour-section h4[class*="optional-activities"]:before { content: ""; }
}

/* Day Header with Pickup Time */
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 7px 12px 7px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 9px;
    user-select: none;
}

.day-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #ced4da;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.day-header-content {
    flex: 1;
    min-width: 0;
}

.day-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057 !important;
}

.day-pickup-time {
    font-size: 14px;
    color: #11315f !important;
    margin-top: -30px;
    float:right;
}

.day-pickup-time strong {
    color: #11315f !important;
}

.day-toggle-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e66a9a00;
    color: #e66a9a;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.day-toggle-icon svg {
    transition: transform 0.3s ease;
}

.day.expanded .day-toggle-icon svg {
    transform: rotate(180deg);
}

.day.expanded .day-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.day.expanded .day-header h3,
.day.expanded .day-pickup-time,
.day.expanded .day-pickup-time strong {
    color: white;
}

.day.expanded .day-toggle-icon {
    background: #ffffff00;
    color: #e66a9a;
}

.day-article {
    display: none;
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    border-top: none;
    margin-top: 0px;
    margin-bottom: 20px;
}

.day.expanded .day-article {
    display: block;
}

/* Responsive design for day header */
@media (max-width: 768px) {
    .day-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 18px;
    }
    
    .day-header h3 {
        min-width: auto;
        width: 100%;
    }
    
    .day-pickup-time {
        align-self: flex-start;
    }
}

/* Print styles for pickup time */
@media print {
    .day-pickup-time {
        font-size: 14px;
    	color: #FFC107 !important;
    	float: right;
    }
}

/* Rich Text Editor Styles */
.tour-day-editor {
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 200px;
}

.wp-editor-tools {
    background: #f5f5f5;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.mce-toolbar-grp {
    background: #f9f9f9 !important;
}

/* Fix WordPress editor display issues */
.postbox .wp-editor-wrap {
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

/* Frontend content styles for formatted text */
.day-content ul, 
.day-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.day-content ul {
    list-style-type: disc;
}

.day-content ol {
    list-style-type: decimal;
}

.day-content li {
    margin-bottom: 0px;
    line-height: 1.6;
}

.day-content strong {
    font-weight: 600;
    color: #11315f;
}

.day-content em {
    font-style: italic;
    color: #555;
}

.day-content u {
    text-decoration: underline;
}

.day-content a {
    color: #11315f;
    text-decoration: none;
}

.day-content a:hover {
    text-decoration: underline;
    color: #005a87;
}

/* Print styles for formatted content */
@media print {
    .day-content ul, 
    .day-content ol {
        margin: 10px 0;
        padding-left: 25px;
    }
    .day-content li {
        margin-bottom: 0px;
}
    .day-content strong {
        font-weight: 500;
        color: #2c3e50;
    }
    
    .day-content em {
        font-style: italic;
    }
    
    .day-content u {
        text-decoration: underline;
    }
    
    .day-content a {
        color: #000;
        text-decoration: underline;
    }
}

/* Exclude include Columns */
    div.column-header.included-header, div.column-header.excluded-header {
        padding: 2px;
    }
    div.column-header.included-header h3, div.column-header.excluded-header h3  {
        margin: 2px 0;
        color: #656565;
        font-size: 16px;
    }
        
        .page-title {
            text-align: left;
            margin-bottom: 40px;
            color: #2c3e50;
            font-weight: 600;
        }
        
        .columns-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin: 30px 0 40px 0;
            width: 100%;
        }
        
        .tour-column {
             flex: 1;
            min-width: 300px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            border: 1px solid #dedede;
        }
        
        .column-header {
            padding: 20px;
            color: white;
            text-align: center;
        }
        
        .included-header {
            background: linear-gradient(135deg, #ffffff, #ffffff);
            border-bottom: 2px solid #dcdcde;
            margin-bottom: 15px;
            text-align: left;
            padding: 4px 25px !important;
        }
        
        .excluded-header {
            background: linear-gradient(135deg, #ffffff, #ffffff);
            border-bottom: 2px solid #dcdcde;
            margin-bottom: 15px;
            text-align: left;
            padding: 4px 25px !important;
        }
        
        .tour-section-inex {
            padding: 5px 25px;
        }
        
        .tour-section-inex h3 {
            margin-bottom: 20px;
            font-size: 1.5rem;
            font-weight: 600;
        }
        
        .tour-section-inex ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        
        .tour-section-inex li {
            padding: 0px 0 8px 0;;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 20px;
            font-size: 13px;
        }
        
        .tour-section-inex li:last-child {
            border-bottom: none;
        }
        
        .included li:before {
            content: "✓";
            color: #27ae60;
            font-weight: bold;
            position: absolute;
            left: 0;
            font-size: 15px;
        }

        .excluded li:before {
            content: "✗";
            color: #e74c3c;
            font-weight: bold;
            position: absolute;
            left: 0;
            font-size: 14px;
        }
        
        .code-container {
            background: #2c3e50;
            border-radius: 8px;
            padding: 25px;
            margin-top: 40px;
            color: white;
            overflow-x: auto;
        }
        
        .code-container h3 {
            margin-bottom: 15px;
            color: #ecf0f1;
        }
        
        pre {
            white-space: pre-wrap;
            line-height: 1.5;
        }
        
        .code-comment {
            color: #7f8c8d;
        }
        
        .php-tag {
            color: #e74c3c;
        }
        
        .php-function {
            color: #3498db;
        }
        
        .html-tag {
            color: #e67e22;
        }
        
        .css-class {
            color: #9b59b6;
        }
        
        
    /* Print styles for formatted content */
    @media print {
    .columns-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(44%, 1fr));
        gap: 10px;
        margin: 10px 0 40px 0;
        width: 100%;
    }
    .tour-column {
        flex: 1;
        min-width: 300px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }
    .tour-section-inex li {
        font-size: 13px;
    }
    div.column-header.included-header h3, div.column-header.excluded-header h3 {
    font-size: 16px;
    color: #656565;
    }
    }
        
    @media (max-width: 768px) {
    .columns-container {
        flex-direction: column;
    }
            
    .tour-column {
        min-width: 100%;
    }
    }
        
        


/* Tour Status Badge Styles */
.tour-status-badge {
    display: inline-block;
    padding: 13px 56px;
    border-radius: 20px;
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0px 0 0px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

/* Status Colors */
.status-pending {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border-color: #e65100;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 128%) rotate(-19deg);
    opacity: 0.5;
    z-index: 1000;
}

.status-confirmed {
    background: linear-gradient(135deg, #4caf50, #388e3c);
    color: white;
    border-color: #1b5e20;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 128%) rotate(-19deg);
    opacity: 0.0;
    z-index: 1000;
}

.status-rejected {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border-color: #b71c1c;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 128%) rotate(-19deg);
    opacity: 0.5;
    z-index: 1000;
}

.status-cancelled {
    background: linear-gradient(135deg, #9e9e9e, #616161);
    color: white;
    border-color: #424242;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 128%) rotate(-19deg);
    opacity: 0.1;
    z-index: 1000;
}

/* Tour Day Accordion Styles */
.tour-day {
    position: relative;
    margin-bottom: 15px;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.tour-day:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    border-color: #11315f;
}

.tour-day-header {
    background: #515151 !important;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #dee2e6;
    transition: all 0.3s ease;
    user-select: none;
}

.tour-day-header:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.tour-day-header .day-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.tour-day-header .drag-handle {
    cursor: move !important;
    color: #ffffff;
    font-size: 17px;
    padding: 5px 5px 2px 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.tour-day-header .drag-handle:hover {
    background: #11315f;
    color: white;
}

.tour-day-header .day-number {
    font-weight: 600;
    color: #ffffff;
    font-size: 16px;
    min-width: 80px;
}

.tour-day-header .day-title {
    font-weight: 500;
    color: #ffffff;
    flex: 1;
}

.tour-day-header .day-pickup {
    color: #28a745;
    font-size: 14px;
    margin-right: 15px;
}

.tour-day-header .toggle-icon {
    width: 24px;
    height: 24px;
    background: #11315f00;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tour-day-header:hover .toggle-icon {
    background: #005a87;
}

.tour-day-content {
    display: none;
    padding: 20px;
    background: #fff;
}

.tour-day.expanded .tour-day-content {
    display: block;
}

.tour-day.expanded .tour-day-header {
    background: linear-gradient(135deg, #11315f, #005a87);
}

.tour-day.expanded .tour-day-header .day-number,
.tour-day.expanded .tour-day-header .day-title,
.tour-day.expanded .tour-day-header .day-pickup {
    color: white;
}

.tour-day.expanded .tour-day-header .drag-handle {
    color: rgba(255,255,255,0.8);
}

.tour-day.expanded .tour-day-header .drag-handle:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.tour-day.expanded .tour-day-header .toggle-icon {
    background: white;
    color: #11315f;
}

/* Sortable placeholder */
.sortable-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    height: 80px;
    margin: 10px 0;
}

/* Drag handle animation */
.tour-day.sortable-helper {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: rotate(2deg);
}
.form-table {
    box-shadow: 0 2px 8px rgb(0 0 0 / 0%) !important;
}
.edit-post-meta-boxes-area .postbox {
    margin-bottom: 5px !important;
    border: 0px solid #ddde !important;
    margin: 5px 20px;
    min-width: 240px;
}

/* Transportation and Accommodation Grid */
.transportation-accommodation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0px 0px 0px 0px;
}

@media (max-width: 768px) {
    .transportation-accommodation-grid {
        grid-template-columns: 1fr;
    }
}

/* Booking List Styles */
.booking-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.booking-list-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #11315f;
}

.booking-list-header h2 {
    margin: 0;
    color: #11315f;
    font-size: 24px;
    font-weight: 600;
}

.booking-filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.filter-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 150px;
}

.booking-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.booking-search-input:focus {
    border-color: #11315f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 49, 95, 0.15);
}

.booking-filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-filter-select:focus {
    border-color: #11315f;
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 49, 95, 0.15);
}

.booking-filter-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #11315f 0%, #11315f 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.booking-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(17, 49, 95, 0.3);
}

.booking-reset-btn {
    background: #6c757d;
}

.booking-reset-btn:hover {
    background: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.booking-list-table {
    overflow-x: auto;
}

.booking-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.booking-table thead {
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
}

.booking-table th {
    padding: 15px;
    text-align: left;
    color: white;
    font-weight: 600;
    font-size: 14px;
    border: none;
}

.booking-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s ease;
}

.booking-table tbody tr:hover {
    background: #f8f9fa;
}

.booking-table td {
    padding: 15px;
    font-size: 14px;
    color: #495057;
}

.booking-table td a {
    color: #11315f;
    text-decoration: none;
    font-weight: 500;
}

.booking-table td a:hover {
    text-decoration: underline;
}

.booking-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.booking-status-pending {
    background: #ffc107;
    color: #856404;
}

.booking-status-confirmed {
    background: #28a745;
    color: white;
}

.booking-status-cancelled {
    background: #dc3545;
    color: white;
}

.booking-status-completed {
    background: #17a2b8;
    color: white;
}

.no-bookings {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.no-bookings p {
    font-size: 16px;
    margin: 0;
}

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
    }

    .filter-item {
        width: 100%;
    }

    .booking-table {
        font-size: 12px;
    }

    .booking-table th,
    .booking-table td {
        padding: 10px 8px;
    }
}

/* Discounted calendar dates */
.calendar-day.discounted {
    background: linear-gradient(135deg, #ffffff 0%, #fff5ce 100%);
    border: 2px solid #ffebc9;
}

.calendar-day.discounted .calendar-day-price {
    color: #0c7b00;
    font-weight: 500;
}

.calendar-day.discounted:hover {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
    border-color: #0b9318;
}

/* Discounted and selected date */
.calendar-day.discounted.selected {
    background: linear-gradient(135deg, #0c7b00 0%, #0a5f00 100%);
    border: 2px solid #0c7b00;
    position: relative;
}

.calendar-day.discounted.selected::after {
    content: '✓';
    position: absolute;
    top: -7px;
    right: -3px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.calendar-day.discounted.selected .calendar-day-number,
.calendar-day.discounted.selected .calendar-day-price {
    color: white;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.legend-color.regular {
    background: #c7e7ba;
}

.legend-color.discount {
    background: #fff5ce;
}

.legend-color.blocked {
    background: #fee2e2;
}

/* Responsive design for accordion */
@media (max-width: 768px) {
    .tour-day-header {
        padding: 12px 15px;
        flex-wrap: wrap;
    }
    
    .tour-day-header .day-info {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tour-day-header .day-number {
        min-width: 60px;
        font-size: 14px;
    }
    
    .tour-day-header .day-title {
        font-size: 14px;
    }
    
    .tour-day-header .day-pickup {
        font-size: 12px;
        margin-right: 10px;
    }
    
    .tour-day-content {
        padding: 15px;
    }
}

/* Animation for accordion */
.tour-day-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print styles for accordion */
@media print {
    .tour-day-header {
        background: #f8f9fa !important;
        border-bottom: 1px solid #ddd !important;
    }
    
    .tour-day-content {
        display: block !important;
    }
    
    .drag-handle,
    .toggle-icon {
        display: none !important;
    }
}

/* Print styles for status badges */
@media print {
    .tour-status-badge {
    display: inline-block;
    padding: 13px 56px !important;
    border-radius: 20px;
    font-size: 32px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0px 0 0px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}
    
    .status-pending { border-left: 4px solid #ff9800; }
    .status-confirmed { border-left: 4px solid #4caf50; }
    .status-rejected { border-left: 4px solid #f44336; }
    .status-cancelled { border-left: 4px solid #ffdaa0; }
}

/* Responsive status badge */
@media (max-width: 768px) {
    .tour-status-badge {
        font-size: 12px;
        padding: 6px 12px;
        margin: 8px 0 12px 0;
    }
}

/* Featured Image Display */
.tour-featured-image {
    width: 100%;
    margin: 20px 0 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.tour-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.tour-featured-image:hover img {
    transform: scale(1.02);
}

/* PNX Gallery Dynamic Layout */
.pnx-gallery.stacked-five {
    margin: 20px 0 30px 0;
    padding: 0;
}

.pnx-gallery.stacked-five .gallery-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto;
    gap: 8px;
    width: 100%;
    height: auto;
}

.pnx-gallery.stacked-five .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.pnx-gallery.stacked-five .gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.pnx-gallery.stacked-five .gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

/* See More Overlay */
.see-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.see-more-overlay:hover {
    background: rgba(0, 0, 0, 0.7);
}

.see-more-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

/* Popup Booking Banner */
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-row.no-flex {
    display: block;
}

.detail-row.no-flex .detail-value {
    max-width: 100%;
    width: 100%;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #495057;
}

.detail-value {
    color: #11315f;
    font-weight: 500;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    max-width: 60%;
}
.price-breakdown-table {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px 15px;
}
.price-breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.price-breakdown-row:last-child {
    border-bottom: none;
}

.price-breakdown-row.subtotal {
    border-top: 0px solid #dee2e6;
    padding-top: 12px;
    margin-top: 0px;
    font-weight: 600;
}

.price-breakdown-row.total {
    font-size: 18px;
    font-weight: 700;
    color: #11315f;
    padding-top: 12px;
}


/* Gallery Popup */
.gallery-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9998;
}

.popup-content {
    position: fixed;
    top: 51%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1400px;
    max-height: 90vh;
    background: #ffffff00;
    border-radius: 12px;
    z-index: 10000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Main Image Viewer */
.popup-main-viewer {
    position: relative;
    width: 100%;
    height: 60vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
    border-radius: 15px;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 85px;
    font-weight: 100;
    cursor: pointer;
    z-index: 10002;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.9);
}

.nav-left {
    left: 20px;
}

.nav-right {
    right: 20px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #646970;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.popup-gallery-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 20px;
    overflow-x: revert-layer;
    max-height: calc(40vh - 40px);
    background: #f8f9fa00;
    justify-content: center;
    align-items: center;
}

.popup-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popup-gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.popup-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tour Route Section */
.tour-route-section {
    margin: 30px 0;
    padding: 10px 20px 20px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.route-header h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.route-header h2 svg {
    color: #e66a9a;
}

.route-line-container {
    padding: 10px 0;
}

.route-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
}

.route-point {
    display: flex;
    align-items: center;
    position: relative;
}

.route-marker {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    flex-shrink: 0;
}

.route-marker svg {
    stroke: #0073aa;
    fill: none;
}

.route-location {
    margin: 0 0px 0 5px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    white-space: nowrap;
}

.route-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 8px;
    flex-shrink: 0;
}

.route-connector svg {
    stroke: #0073aa;
    fill: none;
}

/* Custom Tooltips */
.custom-tooltip {
    position: absolute;
    background: #0073aa;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    z-index: 10;
    pointer-events: none;
}

.tooltip-start {
    top: -34px;
    left: 37%;
    transform: translateX(-50%);
    background: #089d00;
}

.tooltip-start::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #089d00;
}

.tooltip-finish {
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: #d63638;
}

.tooltip-finish::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #d63638;
}

.tooltip-individual {
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #0073aa;
}

.tooltip-individual::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #0073aa;
}

/* Special styling for start and finish markers */
.route-point:first-child .route-marker svg {
    stroke: #28a745;
}

.route-point:last-child .route-marker svg {
    stroke: #dc3545;
}

/* Responsive Route */
@media (max-width: 768px) {
    .route-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .route-connector {
        width: 3px;
        height: 20px;
        margin: 5px 0 5px 8px;
    }
    
    .route-point {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .route-location {
        margin: 5px 0 0 10px;
    }
}

.pnx-gallery.stacked-five .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pnx-gallery.stacked-five .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.pnx-gallery.stacked-five .gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
    .pnx-gallery.stacked-five .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .pnx-gallery.stacked-five .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .pnx-gallery.stacked-five {
        margin: 15px 0 20px 0;
    }
}

@media (max-width: 480px) {
    .pnx-gallery.stacked-five .gallery-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .pnx-gallery.stacked-five .gallery-item {
        aspect-ratio: 16 / 9;
    }
}
