@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Toast Notification Styles */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 400px;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
    border-left: 4px solid #e74c3c;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.toast.error .toast-icon {
    color: #e74c3c;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Loading Spinner Animation */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   PREMIUM PRICING DISPLAY STYLES
   ============================================ */
.premium-pricing-display {
    border-radius: 16px;
    padding: 0px;
    margin-bottom: 15px;
}

.pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pricing-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-item:hover {
    transform: translateY(-2px);
}

.pricing-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.pricing-adult .pricing-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.pricing-child .pricing-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.pricing-content {
    flex: 1;
}

.pricing-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.pricing-price {
    display: block;
    font-size: 25px;
    font-weight: 600;
    color: #0e8d00;
    line-height: 1.2;
}

.pricing-price-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-original {
    font-size: 16px;
    font-weight: 500;
    color: #d63638;
    text-decoration: line-through;
}

.pricing-discounted {
    font-size: 22px;
    font-weight: 700;
    color: #059669;
    line-height: 1.2;
}

.pricing-divider {
    width: 2px;
    height: 65px;
    background: linear-gradient(180deg, transparent 0%, #e0e6ed 50%, transparent 100%);
    flex-shrink: 0;
}

/* ============================================
   DISCOUNT BADGE STYLES
   ============================================ */
.discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    }
    50% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
    }
}

/* ============================================
   TRAVELER REVIEWS SECTION STYLES
   ============================================ */
.traveler-reviews-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 1300px;
    margin: 0 auto;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e6ed;
}

.reviews-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.reviews-overall-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.overall-score {
    font-size: 32px;
    font-weight: 800;
    color: #059669;
    line-height: 1;
}

.overall-stars {
    font-size: 20px;
    color: #fbbf24;
    letter-spacing: 2px;
}

.total-reviews {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.review-category {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea 0%, #11315f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0px 15px 0px 0px;
}

.category-icon svg {
    width: 28px;
    height: 28px;
}

.category-name {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.category-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.rating-score {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.rating-stars {
    font-size: 14px;
    color: #fbbf24;
    letter-spacing: 1px;
}

/* ============================================
   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: 1440px;
    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: 0px 8px;
}

.tour-title-section h1 {
    color: white;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.tour-duration-badge {
    background: #ffffff !important;
    border: 1px solid #11315f;
    color: #11315f;
    padding: 7px 13px 7px 13px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgb(102 126 234 / 0%);
    white-space: nowrap;
    flex-shrink: 0;
}

.tour-type-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #11315f;
    padding: 10px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    align-items: center;
    box-shadow: 0 4px 12px rgb(40 167 69 / 0%);
    white-space: nowrap;
    flex-shrink: 0;
}

.tour-type-badge.tour-type-private {
    background: linear-gradient(135deg, #f8fafc 0%, #f8f9fc 100%);
    border: 1px solid #e0e6ed;
}

.tour-type-badge.tour-type-group {
    box-shadow: 0 4px 12px rgb(40 167 69 / 0%);
    color: #11315f;
    background: linear-gradient(135deg, #f8fafc 0%, #f8f9fc 100%);
    border: 1px solid #e0e6ed;
}

.tour-meta-section {
    margin-bottom: 25px;
}

.tour-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30%, 1fr));
    gap: 5px;
    padding: 10px 0px;
}

.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: 5px 15px 5px 40px;
    background: #ffffff;
    border-radius: 7px;
    border: 0px solid #ddd;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 15px;
    line-height: 20px;
    color: #374151;
    font-weight: 500;
}

.tour-highlights li:hover {
    border-left-color: #e66a9a;
}

.tour-highlights li:before {
    content: '';
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    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: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    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: 0px;
    font-weight: 600;
    margin-bottom: 0px;
    padding-bottom: 0px;
    font-size: 25px;
    border-bottom: 0px solid #dedede;
    font-family: Montserrat, sans-serif;
}

/* Tour Images Container - GetYourGuide Style Layout */
.tour-images-container {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    align-items: stretch;
    height: 400px;
}

.tour-featured-image-main {
    flex: 2;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.tour-featured-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.tour-featured-image-main:hover img {
    transform: scale(1.02);
}

.tour-gallery-thumbnails {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 8px;
    height: 100%;
}

.thumbnail-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumbnail-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.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;
    color: white;
    font-size: 18px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.thumbnail-item:hover .see-more-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.tour-section.day-optional-activities h4,
.tour-section.day-accommodation-type h4,
.tour-section.day-meals-type h4 {
    font-size: 17px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.day-accommodation-meals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.day-accommodation-type .accommodation-type-list {
    margin-top: 10px;
}

.day-accommodation-type .accommodation-tag {
    display: inline-block;
    background: #f0f9ff;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #bae6fd;
}

.day-meals-type .meals-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.day-meals-type .meal-tag {
    display: inline-block;
    background: #f0f9ff;
    color: #0369a1;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #bae6fd;
}

@media (max-width: 768px) {
    .day-accommodation-meals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .tour-images-container {
        flex-direction: column;
        height: auto;
    }
    .tour-header h1 {
        font-size: 18px;
        font-weight: 600;
    }
    .tour-featured-image-main {
        height: 300px;
        flex: none;
    }
    
    .tour-gallery-thumbnails {
        flex: none;
        height: auto;
    }
    
    .thumbnails-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        height: auto;
        display: flex;
    }
    
    .thumbnail-item {
        aspect-ratio: 1;
    }
    .tour-duration-badge {
        border-radius: 8px;
        display: flex;
        font-size: 12px;
        padding: 7px 3px 7px 3px;
    }
    .breadcrumbs {
        display: none;
    }
    .tour-preview-section {
        margin-top: 35px;
    }
    .traveler-input-controls {
        gap: 2px !important;
    }
    .mobile-menu-header {
        margin-top: 55px;
    }
}

/* Tour Days */
.tour-days {
    margin: 10px 0px 30px 0px;
}

.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-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.day h3 {
    color: #11315f;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 15px;
}

.day-number-badge {
    color: #11315f;
    padding: 4px 2px 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.day-title {
    color: #11315f;
    font-weight: 600;
}

.tour-section {
    border-radius: 8px;
    padding: 10px 0px;
    border: 0px solid #ddd;
}

.tour-section h3 {
    color: #11315f;
    border-bottom: 0px solid #dbdbdb;
    padding-bottom: 0px;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 16px;
    font-family: Montserrat, sans-serif;
}
.tour-section.day-included-activities h4,
.tour-section.day-meals-included h4 {
    margin: 10px 0 !important;
    font-family: Montserrat, sans-serif;
    font-size: 17px;
    font-weight: 500;
}

.day-activities-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.day-activities-services-grid .tour-section {
    background: #ffffff;
    padding: 15px 0px;
    border-radius: 8px;
    border: 0px solid #e0e6ed;
}

@media (max-width: 768px) {
    .day-activities-services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .more-information-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .more-info-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .day-number-badge {
        padding: 4px 2px 4px 0px !important;
    }
}

.view-trip-info-btn:hover {
    background: #0d2452;
}

.more-info-content .info-item {
    height: 100%;
}

.trip-info-content {
    font-size: 15px;
    line-height: 1.8;
}

.trip-info-content p {
    margin-bottom: 16px;
}

.trip-info-content p:last-child {
    margin-bottom: 0;
}

.trip-info-content ul,
.trip-info-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.trip-info-content li {
    margin-bottom: 8px;
}

.trip-info-content h1,
.trip-info-content h2,
.trip-info-content h3,
.trip-info-content h4,
.trip-info-content h5,
.trip-info-content h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #11315f;
}

.trip-info-content h1 {
    font-size: 28px;
}

.trip-info-content h2 {
    font-size: 24px;
}

.trip-info-content h3 {
    font-size: 20px;
}

.trip-info-content h4 {
    font-size: 18px;
}

.trip-info-content a {
    color: #11315f;
    text-decoration: underline;
}

.trip-info-content a:hover {
    color: #0d2452;
}

.trip-info-content strong {
    font-weight: 700;
    color: #11315f;
}

.trip-info-content blockquote {
    border-left: 4px solid #11315f;
    padding-left: 16px;
    margin: 16px 0;
    color: #6b7280;
    font-style: italic;
}

.day-included-activities ul,
.day-meals-included ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 5px 10px !important;
}

.day-included-activities ul li,
.day-meals-included ul li {
    padding-left: 0 !important;
}

.day-included-activities ul li::marker,
.day-meals-included ul li::marker {
    content: none !important;
}

.tour-section ul {
    margin: 5px 0;
    padding-left: 10px;
}

.cancellation-section li {
    display: block;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.cancellation-section li:before {
    content: "•";
    color: #5f5f5f;
    font-weight: bold;
    display: inline-block;
    width: 15px;
    margin-left: 0em;
    font-size: 20px;
    position: absolute;
    left: 0;
}

.notes-list li {
    display: block;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.notes-list li:before {
    content: "•";
    color: #5f5f5f;
    font-weight: bold;
    display: inline-block;
    width: 15px;
    margin-left: 0em;
    font-size: 20px;
    position: absolute;
    left: 0;
}

.what-to-bring li {
    display: block;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.what-to-bring li:before {
    content: "•";
    color: #5f5f5f;
    font-weight: bold;
    display: inline-block;
    width: 15px;
    margin-left: 0em;
    font-size: 20px;
    position: absolute;
    left: 0;
}

.tour-section li {
    margin-bottom: 0px;
    color: #4a4a6a;
    font-size: 15px;
    line-height: 25px !important;
    padding: 2px 15px !important;
    border-bottom: 0px solid #e5e7eb !important;
}

.tour-section li:before {
    content: "•";
    color: #777777;
    font-weight: bold;
    display: inline-block;
    margin-left: 0px;
    font-size: 20px;
    padding-right: 5px;
}

.tips-section .tour-section li:before {
    content: none;
}

/* Pricing Table */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px #00000000;
    border: 0px solid #adadad;
}

.pricing-table th {
    background: linear-gradient(135deg, #e5e7eb 0%, #f8f9fa 100%);
    color: #11315f;
    padding: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid #e9ecef;
}

.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;
}

.calendar-original-price {
    color: #dc2626;
    text-decoration: line-through;
    font-size: 10px;
    display: block;
}

.calendar-discounted-price {
    color: #008f19;
    font-weight: 700;
    font-size: 12px;
    display: block;
}

.regular-price {
    color: #008f19;
    font-weight: 700;
    font-size: 20px;
}

.currency-symbol {
    font-size: 0.75em;
    color: #666;
    margin-right: 2px;
}

.price-number {
    font-weight: 700;
    font-size: 20px;
}

.per-person-text {
    color: #666;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.accommodation-item {
    display: inline-block;
    margin-right: 15px;
    color: #495057;
    font-size: 14px;
}

.star-rating {
    color: #FFD700;
    font-size: 16px;
    margin-left: 4px;
    letter-spacing: 2px;
}

.star-rating-display .star-filled {
    color: #ffb400;
}

.star-rating-display .star-empty {
    color: #e0e0e0;
}

.star-rating-3star {
    color: #FFD700;
    font-size: 16px;
    margin-left: 4px;
    letter-spacing: 2px;
    font-weight: 600;
}

.star-rating-4star {
    color: #FFD700;
    font-size: 17px;
    margin-left: 4px;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.3);
}

.star-rating-5star {
    color: #FFD700;
    font-size: 18px;
    margin-left: 4px;
    letter-spacing: 2px;
    font-weight: 800;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

.child-pricing-section {
    background: linear-gradient(135deg, #dee2e600 0%, #e0e6ed00 100%);
    padding: 0px 0px;
    border-radius: 10px;
    margin-top: 20px;
    border: 0px solid #dedede;
    box-shadow: 0 4px 15px #00000000;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.child-pricing-section::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;
}

.child-pricing-section p {
    color: #11315f;
    margin: 0;
    position: relative;
    z-index: 1;
}

.child-pricing-section strong {
    color: #11315f;
    text-shadow: 0 2px 4px rgb(0 0 0 / 0%);
    font-size: 14px;
}

.child-pricing-section .currency-symbol {
    color: #e66a9a;
    font-weight: 500;
}

.child-pricing-section .price-number {
    color: #11315f;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.child-pricing-section .original-price {
    color: #ffcccc;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.child-pricing-section .discounted-price {
    color: #ffd700;
    text-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
    font-weight: 700;
}

.discount-notice {
    background: linear-gradient(135deg, #11315f 0%, #1d2327 100%);
    padding: 12px 18px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-left: 4px solid #ffd700;
}

.discount-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgb(255 215 0 / 0%) 0%, transparent 50%);
    pointer-events: none;
}

.discount-notice p {
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 1;
    font-size: 14px;
}

.discount-notice strong {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 5px;
    margin-top: 10px;
}

.accommodation-grid-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 15px;
    color: #495057;
}

.accommodation-grid-item svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.accommodation-grid-item .star-rating-3star svg {
    color: #FFD700;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

.accommodation-grid-item .star-rating-4star svg {
    color: #FFD700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.4));
}

.accommodation-grid-item .star-rating-5star svg {
    color: #FFD700;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.5));
}

/* Individual color styles for star icons in tour-section */
.tour-section .star-rating-3star {
    color: #FFA500 !important;
    text-shadow: 0 0 2px rgba(255, 165, 0, 0.3) !important;
}

.tour-section .star-rating-4star {
    color: #FFD700 !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.4) !important;
}

.tour-section .star-rating-5star {
    color: #FFEC8B !important;
    text-shadow: 0 0 4px rgba(255, 236, 139, 0.5) !important;
}

/* Discount badge on pricing tab button */
.tab-button {
    position: relative;
}

.tab-button .discount-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
    animation: pulse 2s infinite;
}

.tab-button .discount-badge.visible {
    display: flex;
}

.tab-button .discount-badge svg {
    width: 12px;
    height: 12px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Lowest Price Guarantee */
.lowest-price-guarantee {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 15px;
    background: #e0e6ed;
    color: #11315f;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px 8px 0px 0px;
    margin-top: 0px;
    text-decoration: underline;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    display: flex;
}
.lowest-price-guarantee:hover {
    color: #e66a9a;
}

.lowest-price-guarantee svg {
    color: #11315f;
}

/* Share Button */
.share-btn {
    background: transparent;
    border: none;
    color: #ffd700;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: #e66a9a00;
    transform: scale(1.3);
}

/* Share Popup */
.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popup-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px 10px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.share-popup-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #11315f;
}

.share-popup-close {
    background: transparent;
    border: none;
    font-size: 35px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.share-popup-close:hover {
    background: #f0f0f0;
    color: #333;
}

.share-popup-body {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 8px;
}

.share-option:hover {
    background: #f0f4ff;
    border-color: #11315f;
    transform: translateY(-2px);
}

.share-option svg {
    width: 24px;
    height: 24px;
}

.share-option span {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
}

.share-option[data-type="facebook"] svg {
    color: #1877f2;
}

.share-option[data-type="whatsapp"] svg {
    color: #25d366;
}

.share-option[data-type="twitter"] svg {
    color: #1da1f2;
}

.share-option[data-type="linkedin"] svg {
    color: #0077b5;
}

/* Promotion Code Toggle */
.promotion-code-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.promotion-code-toggle:hover {
    background: #e9ecef;
}

.promotion-code-toggle label {
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    color: #11315f;
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.promotion-code-content {
    margin-top: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Detail Info Toggle */
.detail-info-section {
    margin-bottom: 10px;
}

.detail-info-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.detail-info-toggle:hover {
    background: #e9ecef;
}

.detail-info-toggle label {
    margin: 0;
    cursor: pointer;
    font-weight: 600;
    color: #11315f;
}

.detail-toggle-icon {
    transition: transform 0.3s ease;
}

.detail-info-content {
    margin-top: 10px;
}

.accommodation-text {
    color: #495057;
    font-weight: 500;
    margin-right: 6px;
}

/* 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, #f8f9fa00, #e9ecef00);
    text-align: left;
    padding: 5px 10px 5px 10px;
    vertical-align: middle !important;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    width: 220px;
    font-size: 14px;
}

.form-table td {
    padding: 5px 10px;
    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: 1px 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 0px 0 5px  !important;
    min-height: 47px !important;
    border-radius: 8px !important;
    color: #495057;
}

.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;
}
.wp-admin #wpbody-content {
    background-color: #ffffff00 !important;
}
.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;
}

/* Itinerary Header Actions */
.itinerary-header-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
    padding: 0px;
}

.show-all-days-btn {
    background: radial-gradient(100% 100% at 100% 0, #fff 0, #ececec 100%) !important;
    color: #11315f;
    border: 1px solid #c3c3c3;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.show-all-days-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.show-all-days-btn.active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 12px #ddd;
}

.show-all-days-btn.active:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


/* ============================================
   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: 0px;
        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 5px;
    }
    
    .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;
    }
    .tour-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(42%, 1fr));
    }
}

/* 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;
    }
}

/* Discount Row Animation */
.price-row.discount-row {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-row.discount-row.animate-in {
    animation: discountSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes discountSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        opacity: 1;
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.price-row.discount-row .discount-label {
    display: inline-block;
    animation: discountPulse 0.6s ease-out 0.3s forwards;
    opacity: 1;
}

@keyframes discountPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Discount Tag Badge */
.discount-tag-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Promo Tag Badge */
.promo-tag-badge {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white !important;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Date Value Animation */
.date-value {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.7s ease;
}

.date-value.animate-in {
    animation: dateSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dateSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-15px) scale(0.95);
    }
    60% {
        opacity: 1;
        transform: translateX(3px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.date-value.animate-update {
    animation: dateUpdate 0.3s ease-out forwards;
}

@keyframes dateUpdate {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(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: center;
    align-items: center;
    margin-bottom: 2px;
}

.calendar-header h4 {
    margin: 0;
    color: #11315f;
    font-size: 20px;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

.calendar-nav {
    background: #f8f9fc00;
    border: 0px solid #e0e6ed;
    border-radius: 38px;
    padding: 6px 11px 6px 11px;
    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: 500;
    color: #11315f;
    font-size: 15px;
    padding: 8px 4px;
}

.calendar-day {
    text-align: center;
    padding: 0px 4px 5px 4px;
    border-radius: 6px;
    border: 1px solid #dedede;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 55px;
}

.calendar-day-number {
    font-size: 18px;
    font-weight: 500;
    color: #11315f;
}

.calendar-day-price {
    font-size: 11px;
    color: #008f0c;
    font-weight: 500;
    margin-top: 0px;
    line-height: 8px;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: #059669;
    color: #fff;
}

.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: #cfcfcf;
    cursor: not-allowed;
    background: #ffffff;
    border: 1px solid #f0f0f1;
    font-weight: 500;
}

.calendar-day.selected {
    background: #059669;
    color: white;
    position: relative;
}

.calendar-day.selected .calendar-day-number,
.calendar-day.selected .calendar-day-price {
    color: white;
}

.calendar-day.selected::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.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: -8px;
    right: -5px;
    font-weight: bold;
    width: 17px;
    height: 17px;
    background: #10b981;
    border-radius: 15px;
    font-size: 11px;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
}

.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;
    padding: 0px;
    background: #f8fafc00;
    border-radius: 8px;
    border: 0px solid #e5e7eb;
    animation: slideDown 0.7s ease-out;
}

.traveler-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.traveler-input-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: radial-gradient(100% 100% at 100% 0, #fff 0, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.traveler-input-controls button {
    width: 47px;
    height: 47px;
    border: 0px solid #c3c4c7;
    background: #ffffff00;
    color: #11315f;
    border-radius: 5px;
    font-size: 25px;
    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: 57px;
    height: 40px;
    border: 0px solid #e9ecef !important;
    border-radius: 8px;
    font-size: 20px;
    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: #f8fafc;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
    animation: slideDown 0.7s ease-out;
}

.date-display-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.date-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.date-value {
    font-size: 15px;
    font-weight: 600;
    color: #11315f;
    animation: slideDown 0.7s ease-out;
}

/* 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;
    animation: slideDown 0.7s ease-out;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #11315f;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 15px 24px 15px 0px !important;
    font-family: Montserrat, sans-serif;
}

.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;
}
.head-discount-badge {
    background: #e74c3c !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    vertical-align: middle;
    align-items: center;
    display: inline-flex;
    animation: pulse-badge 0s infinite;
}

.discount-badge {
    display: inline-block !important;
    background: #e74c3c !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 4px 5px !important;
    border-radius: 0px 6px 0px 3px !important;
    margin-left: 8px !important;
    vertical-align: middle;
}

.price-per {
    font-size: 12px;
    color: #666;
    font-weight: 400;
}

.booking-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

.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 {
    margin: 0px 0 10px 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 0px solid #e5e7eb;
    animation: slideDown 0.7s ease-out;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 0px solid #667eea33;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row.total {
    border-top: 1px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 5px;
    font-weight: 700;
    font-size: 18px;
    color: #11315f;
}

.price-row span:first-child {
    color: #11315f;
    font-weight: 500;
    padding-right: 15px;
}

.price-row span:last-child {
    font-weight: 500;
    color: #11315f;
    font-size: 14px;
    line-height: 19px;
}

.price-row.total span:last-child {
    color: #11315f;
    font-size: 20px;
    background: linear-gradient(135deg, #11315f 0%, #eb64d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

.price-row.discount-row {
    padding: 5px 0;
    border-bottom: 0px;
    animation: slideDown 0.7s ease-out;
}

.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: 0px;
    margin: 0px 0;
    animation: slideDown 0.7s ease-out;
}

.price-row.calculation-row span:last-child {
    color: #11315f;
    font-weight: 500;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.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;
}

/* Payment Type Radio Button Styling */
.payment-type-row {
    margin: 0px 0;
    padding: 7px 0;
    border-top: 0px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.payment-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 0px;
}

.payment-type-option {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.payment-type-option:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.payment-type-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-type-option input[type="radio"]:checked {
    background: #12b76a;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgb(102 126 234 / 39%);
}

.payment-type-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.payment-type-option input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.payment-type-option span {
    font-size: 14px;
    font-weight: 500;
    color: #11315f;
    transition: color 0.3s ease;
}

.payment-type-option:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #0297002e, #12b76a00);
    border-color: #12b76a;
}

.payment-type-option:has(input[type="radio"]:checked) span {
    color: #667eea;
    font-weight: 600;
    line-height: 16px
}

.promotion-code-section {
    margin-top: 10px;
}

.promotion-code-section label {
    display: block;
    margin-bottom: 0px;
    font-weight: 500;
    color: #056300;
    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: 100%;
    background: linear-gradient(135deg, #11315f 0%, #11315f 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin: 5px 0px 0px 0px;
}
.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: 15px;
    display: flex;
    gap: 5px;
}

.wishlist-btn {
    display: flex;
    font-family: Montserrat, sans-serif;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #f8f9fc 100%);
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #11315f;
    cursor: pointer;
    transition: all 1.7s;
}

.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: 30px;
    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: 5px 0px 40px !important;
    }
    .dates-prices-table td {
        padding: 8px 8px !important;
    }
    .departure-detail-content {
        padding: 10px 10px !important;
    }
}

/* Rest of your existing tour styles remain the same */
.tour-itinerary {
    font-family: Montserrat, sans-serif;
    max-width: 1440px;
    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;
    }
}


/* ============================================
   ROUTE LINE SCROLL STYLES
   ============================================ */
.tour-route-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.route-header h2 {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #11315f;
}

.route-line-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.route-scroll-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #11315f 0%, #e66a9a 100%);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
    z-index: 10;
}

.route-scroll-arrow:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.route-scroll-arrow:active {
    transform: scale(0.95);
}

.route-scroll-arrow svg {
    width: 20px;
    height: 20px;
}

.route-line-container {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.route-line-container::-webkit-scrollbar {
    display: none;
}

.route-line {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 20px 0;
    white-space: nowrap;
}

.route-point {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5px;
}

.route-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 2;
}

.route-marker svg {
    width: 16px;
    height: 16px;
}

.route-location {
    margin-left: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #11315f;
    white-space: nowrap;
}

.route-connector {
    display: flex;
    align-items: center;
    margin: 0 5px;
    color: #11315f;
    flex-shrink: 0;
}

.route-connector svg {
    width: 24px;
    height: 16px;
}

.custom-tooltip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #11315f;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.route-point:hover .custom-tooltip {
    opacity: 1;
}

.tooltip-start {
    background: #10b981;
}

.tooltip-finish {
    background: #e66a9a;
}

.tooltip-individual {
    background: #11315f;
}

/* 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 carousel */
@media print {
    body.wp-admin .tour-itinerary {
        margin: 0px;
        padding: 0px;
    }
    .day-images-carousel {
        page-break-inside: avoid;
    }
    .day-images-container {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        overflow: visible !important;
    }
    .day-image-slide {
        display: block !important;
        margin-bottom: 10px;
    }
    .day-image-slide img {
        height: 120px !important;
    }
    .day-carousel-prev,
    .day-carousel-next,
    .day-carousel-indicators {
        display: none !important;
    }
}

/* Responsive carousel for mobile */
@media (max-width: 768px) {
    .day-images-carousel {
        margin-top: 15px;
    }
    
    /* Ensure carousel mode on mobile */
    .day-images-container {
        display: block !important;
        overflow: hidden;
    }
    
    .day-image-slide {
        display: none !important;
    }
    
    .day-image-slide.active {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .day-images-carousel {
        margin-top: 10px;
    }
}

/* 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 (Legacy - kept for backward compatibility) */
.day-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

/* Day Images Carousel - New Layout (Primary) */

/* Day Images Carousel - New Layout */
.day-images-carousel {
    position: relative;
    margin-top: 20px;
}

.day-images-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.day-image-slide {
    display: none;
    width: 100%;
}

.day-image-slide.active {
    display: block;
}

.day-image-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Grid layout for PC devices (default) */
@media (min-width: 769px) {
    .day-images-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
        overflow: visible;
    }
    
    .day-image-slide {
        display: block !important;
    }
    
    .day-image-slide img {
        height: 250px;
    }
    
    .day-carousel-prev,
    .day-carousel-next,
    .day-carousel-indicators {
        display: none !important;
    }
    
    .day-image-slide:hover img {
        transform: scale(1.0);
        transition: transform 0.3s ease;
    }
}

.day-carousel-prev,
.day-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.day-carousel-prev:hover,
.day-carousel-next:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.day-carousel-prev {
    left: 10px;
}

.day-carousel-next {
    right: 10px;
}

.day-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.day-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-carousel-indicator.active {
    background: #667eea;
    width: 12px;
    height: 12px;
}

.day-carousel-indicator:hover {
    background: #999;
}

/* Responsive styles for day images carousel */
@media (max-width: 768px) {
    .day-images-container {
        display: block !important;
        overflow: hidden;
    }
    
    .day-image-slide {
        display: none !important;
    }
    
    .day-image-slide.active {
        display: block !important;
    }
    
    .day-image-slide img {
        height: 300px;
    }
    
    .day-carousel-prev,
    .day-carousel-next {
        display: flex !important;
        width: 35px;
        height: 35px;
    }
    
    .day-carousel-prev {
        left: 5px;
    }
    
    .day-carousel-next {
        right: 5px;
    }
    
    .day-carousel-indicators {
        display: flex !important;
    }
}

@media (max-width: 480px) {
    .day-image-slide img {
        height: 250px;
    }
    
    .day-carousel-prev,
    .day-carousel-next {
        width: 30px;
        height: 30px;
    }
    
    .day-carousel-indicator {
        width: 8px;
        height: 8px;
    }
    
    .day-carousel-indicator.active {
        width: 10px;
        height: 10px;
    }
}

.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: 0px;
    padding: 5px 0px;
    border-radius: 8px;
}

.section-header h2 {
    margin: 0;
    color: #11315f;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d5d5d5;
    font-family: Montserrat, sans-serif;
}

.section-header h2:before {
    content: "";
    display: inline-block;
    margin-right: 0px;
}

.section-header h2 svg {
    color: #c9a84c;
}

/* 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;
    background: linear-gradient(135deg, #11315f00 0%, #005a8700 100%);
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    gap: 5px;
    max-height: 70px;
    height: 60px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e6ed;
    padding-bottom: 0px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Tab buttons wrapper for desktop */
.tab-buttons-wrapper {
    display: flex;
    gap: 5px;
    flex: 1;
}

/* Hide scroll arrows on desktop */
.tab-scroll-arrow {
    display: none !important;
}

/* Adjust tab-navigation position when WordPress admin bar is present */
body.admin-bar .tab-navigation {
    top: 32px;
}

/* Make tab-navigation visible on mobile devices */
@media (max-width: 768px) {
    .tab-navigation {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        padding: 12px 0px;
        display: flex;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 99999;
    }
    
    /* Adjust tab-navigation position when WordPress admin bar is present on mobile */
    body.admin-bar .tab-navigation {
        top: 46px;
    }
    
    .tab-buttons-wrapper {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex: 1;
    }
    
    .tab-buttons-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    /* Tab scroll arrows styling */
    .tab-scroll-arrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 25px;
        height: 25px;
        background: #f8f9fa00;
        border: 0px solid #e9ecef;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgb(0 0 0 / 0%);
    }
    
    .tab-scroll-arrow:hover {
        background: #e9ecef00;
        box-shadow: 0 4px 8px rgb(0 0 0 / 0%);
    }
    
    .tab-scroll-arrow:active {
        transform: scale(0.95);
    }
    
    .tab-scroll-arrow svg {
        stroke: #11315f;
    }
    
    /* Hide 'Book this Tour' tab on mobile */
    .tab-button[data-tab="book-tour"] {
        display: none !important;
    }
}

.tab-navigation.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 49%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 9px solid #ffc6dc;
}
.dates-prices-fullwidth {
    padding: 10px !important;
}
.tab-button {
    flex: 1;
    padding: 12px 20px 15px 20px;
    border: none;
    background: transparent;
    color: #11315f;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0px;
    transition: background 0.15s ease, color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px;
    font-family: Montserrat, sans-serif;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.tab-button:hover {
    background: radial-gradient(100% 100% at 100% 0, #fff 0, #e66a9a52 100%) !important;
    color: #11315f;
}

.tab-button:first-child {
    margin-left: 20px;
}

.tab-button:last-child {
    margin-right: 20px;
    background: linear-gradient(135deg, #c9a84c 0%, #f5d78e 100%);
}
.tab-button:last-child.active {
    background: linear-gradient(135deg, #c9a84c 0%, #f5d78e 100%) !important;
    color: #e66a9a;
}

.tab-button.active {
    background: radial-gradient(100% 100% at 100% 0, #fff 0, #e66a9a52 100%) !important;
    color: #11315f;
    box-shadow: 0 2px 8px rgb(0 115 170 / 0%);
}

.tab-button svg {
    transition: stroke 0.3s ease;
}

/* Book Tour Badge Styling */
.book-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 10px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(238, 90, 90, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.book-badge svg {
    width: 10px;
    height: 10px;
    stroke: white;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(238, 90, 90, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 2px 8px rgba(238, 90, 90, 0.6);
    }
}

/* Tab Content Container */
.tab-content-container {
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

/* Always visible tab panes - Tour Itinerary, Inclusions & Exclusions, Pricing */
.tab-pane.always-visible {
    display: block !important;
}

@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-carousel {
        margin-top: 10px;
    }

    .day-image-slide img {
        height: 250px !important;
    }

    .day-carousel-prev,
    .day-carousel-next {
        width: 35px;
        height: 35px;
    }
    
    .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-image-slide img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .day-article {
        margin: 10px 0;
        padding: 0px 0px !important;
        background: #f8f9fa00 !important;
        border: 0px solid #dee2e6 !important;
    }
    .day-header {
        padding: 3px 6px !important;
    }
    
    .day-content {
        padding: 0px;
    }
    
    .day-images-section {
        padding: 5px;
    }
    
    .day-image-slide img {
        height: 300px;
    }
    
    .day-images-section h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .tour-header {
        margin-top: 90px;
    }
}

@media (max-width: 480px) {
    .day-content {
        padding: 5px;
    }
    
    .day-images-section {
        padding: 5px;
    }
    
    .day-image-slide img {
        height: 250px;
    }
}

/* Day header styling */
.day h3 {
    font-size: 15px;
    padding: 8px 10px 8px 5px;
    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;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0px 10px 0px 0px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 0px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 9px;
    user-select: none;
    line-height: 40px;
}

.day-header:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-color: #ced4da;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0%);
}

.day-header-icon {
    flex-shrink: 0;
    color: #11315f;
    margin-bottom: -2px;
}

.day-header-content {
    flex: 1;
    min-width: 0;
    display: flex;
}

.day-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #495057 !important;
}

.day-pickup-time {
    font-size: 14px;
    color: #c9a84c !important;
    margin-top: 0px;
    font-weight: 500;
}

.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: #c9a84c;
    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(180deg, #e0e6ed 0%, #e9ecef00 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: #c9a84c;
}

.day-article {
    display: none;
    padding: 15px 10px;
    background: #f8fafc00;
    border-radius: 8px;
    border-left: 0px solid #dee2e6;
    border-top: none;
    margin-top: 0px;
    margin-bottom: 20px;
    animation: discountSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.day.expanded .day-article {
    display: block;
}
.tour-section.day-meals-included h4 {
    font-size: 17px;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

/* Responsive design for day header */
@media (max-width: 768px) {
    .day-header {
        flex-direction: inherit;
        align-items: flex-start;
    }
    .day-header-icon {
        margin-top: 7px;
    }
    .day-header h3 {
        min-width: auto;
        width: 100%;
        font-size: 15px;
    }
    
    .day-pickup-time {
        align-self: flex-start;
    }
    .wp-die-message, p {
        font-size: 13px !important;
    }
    .calendar-day-number {
    font-size: 17px !important;
    }
}

/* 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;
}

/* Remove markers from optional activities */
.day-optional-activities ul {
    list-style: none;
    padding-left: 0;
}

.day-optional-activities ul li {
    padding-left: 0;
}

.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  {
        font-family: Montserrat, sans-serif;
        margin: 2px 0;
        color: #11315f;
        font-size: 16px;
        padding: 6px 0px 3px 0px;
    }
        
        .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 rgb(0 0 0 / 0%);
            overflow: hidden;
            border: 1px solid #dedede;
        }
        
        .column-header {
            padding: 20px;
            color: white;
            text-align: center;
        }
        
        .included-header {
            background: linear-gradient(135deg, #e0e6ed, #e0e6ed);
            border-bottom: 1px solid #dcdcde;
            margin-bottom: 15px;
            text-align: left;
            padding: 4px 25px !important;
        }
        
        .excluded-header {
            background: linear-gradient(135deg, #e0e6ed, #e0e6ed);
            border-bottom: 1px 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: 5px 0 6px 0;
            border-bottom: 1px solid #eee;
            position: relative;
            padding-left: 20px;
            font-size: 14px;
        }
        
        .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: #11315f;
    }
}
        
    @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 rgb(0 0 0 / 0%);
    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;
}

/* Deposit Info Styles */
.deposit-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid #e0e7ff;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 10px;
}

.deposit-info .deposit-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.deposit-info .original-total {
    display: block;
    color: #11315f;
    font-weight: 500;
    font-size: 13px;
    margin-bottom: 4px;
}

.deposit-info .deposit-amount {
    display: block;
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.deposit-info .remaining-balance {
    display: block;
    color: #f59e0b;
    font-weight: 600;
    font-size: 14px;
}

.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 {
    border: 1px solid #0b9f0000;
}

.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: 0px 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;
    }
    .section-header {
        margin-bottom: 5px;
    }
}

/* 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: 9px !important;
        padding: 3px 5px !important;
        margin: 4px 1px 4px 1px;
        text-align: center;
        margin-left: 0px !important;
    }
}

/* 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: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgb(0 0 0 / 0%);
    border: 1px solid #e9ecef;
}

.route-header h2 {
    margin: 0 0 5px 0;
    font-size: 20px;
    color: #11315f;
    display: flex;
    align-items: center;
}

.route-header h2 svg {
    color: #c9a84c;
}

.route-line-container {
    padding: 10px 0;
    overflow: hidden;
    flex: 1;
}

.route-line-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0px 0 10px 0;
    background: #ffffff00;
    border-radius: 11px;
}

.route-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 45px 0 10px 0;
    min-width: max-content;
    width: 100%;
}

.route-line::-webkit-scrollbar {
    display: none;
}

/* Route scroll arrows styling */
.route-scroll-arrow {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 30px;
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.route-scroll-arrow:hover {
    background: #e9ecef;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.route-scroll-arrow:active {
    transform: scale(0.95);
}

.route-scroll-arrow svg {
    stroke: #0073aa;
}

/* Mobile responsive styles for Trip Routes - same style as tab-navigation */
@media (max-width: 768px) {
        .route-line-wrapper {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0px 6px;
        background: #efefef;
        border-radius: 11px;
    }
    
    .tour-route-section .route-line-container {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex: 1;
        padding: 35px 0;
        width: 100%;
        margin: 0 10px;
    }
    
    .tour-route-section .route-line-container::-webkit-scrollbar {
        display: none;
    }
    
    .tour-route-section .route-line {
        display: contents;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        min-width: max-content;
    }
    
    .tour-route-section .route-point {
        flex-shrink: 0;
    }
    
    .tour-route-section .route-location {
        font-size: 13px;
    }
    
    .tour-route-section .route-connector {
        flex-shrink: 0;
    }
    .tour-route-section {
        margin: 15px 0;
        padding: 10px 0px 20px 0px;
        background: #f8fafc00;
        border: 0px solid #e9ecef;
    }

    .custom-tooltip {
        padding: 5px 8px !important;
        font-size: 11px !important;
        
    }
    .tooltip-start{
        top: -22px !important;
        left: 50% !important;
    }
    .tooltip-individual {
        top: -24px !important;
        left: 50% !important;
    }
    .tooltip-finish {
        top: -24px !important;
        left: 50% !important;
    }
    
    /* Route scroll arrows styling */
    .route-scroll-arrow {
        display: flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 5px;
        width: 25px;
        height: 25px;
        background: #f8f9fa;
        border: 0px solid #e9ecef;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .route-scroll-arrow:hover {
        background: #e9ecef;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    .route-scroll-arrow:active {
        transform: scale(0.95);
    }
}

.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: 0;
    flex-shrink: 0;
}

.route-marker svg {
    stroke: #0073aa;
    fill: none;
}

.route-location {
    margin: 0 0px 0 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.route-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    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: 10px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    z-index: 0;
    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: 43%;
    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;
}

.tour-card.tour-card-special:hover {
    border: 2px solid #c9a84c;
}

.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: unset;
        align-items: center;
    }
    
    .route-location {
        margin: 5px 0 0 10px;
    }
    .nav-arrow {
        font-size: 50px;
        width: 5px;
        background: rgb(0 0 0 / 0%);
    }
    .nav-arrow:hover {
    background: rgb(0 0 0 / 0%);
}
}

.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;
    }
}

/* Pickup Time Selection */
.pickup-time-selection {
    margin-top: 15px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pickup-time-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #666;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
}

.pickup-time-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

.pickup-time-option {
    padding: 10px 14px;
    background: radial-gradient(100% 100% at 100% 0, #fff 0, #ececec 100%);
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #374151;
    text-align: center;
    font-weight: 500;
}

.pickup-time-option:hover {
    border-color: #11315f;
    background: #f0f4ff;
}

.pickup-time-option.selected {
    background: linear-gradient(135deg, #11315f 0%, #005a87 100%);
    color: white;
    border-color: #11315f;
    font-weight: 600;
}

/* Mobile Responsive Tour View */
@media (max-width: 768px) {
    .preview-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .preview-main {
        flex: 1;
        min-width: 100%;
    }
    
    .preview-sidebar {
        width: 100%;
        flex-shrink: 0;
        position: static;
    }
    
    .booking-sidebar-content {
        display: none !important;
        border-radius: 0px !important;
        border: 0px solid #e0e6ed !important;
    }
    
    .booking-sidebar-header {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .booking-sidebar-header h3 {
        font-size: 14px;
        margin: 0;
    }
    
    .lowest-price-guarantee {
        font-size: 11px;
        padding: 6px 10px;
        margin-bottom: 8px;
    }
    
    .share-btn {
        padding: 4px 8px;
    }
    
    .share-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .wishlist-btn {
        padding: 4px 8px;
        font-size: 12px;
    }
    
    .wishlist-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .booking-sidebar-body {
        padding: 0px !important;
    }
    
    .booking-sidebar-body h4 {
        font-size: 13px;
        margin-bottom: 8px;
        margin-top: 8px;
    }
    
    .booking-sidebar-body input,
    .booking-sidebar-body select,
    .booking-sidebar-body textarea {
        font-size: 20px;
        padding: 6px 8px !important;
        min-height: 36px !important;
        font-family: Montserrat, sans-serif;
    }
    
    .booking-sidebar-body button {
        font-size: 13px;
        padding: 10px 16px !important;
        font-family: Montserrat, sans-serif;
    }
    
    /* Compact calendar on mobile */
    .calendar-grid {
        gap: 4px;
    }
    
    .calendar-date {
        padding: 6px 4px;
        font-size: 12px;
        min-height: 40px;
    }
    
    .calendar-date .day-number {
        font-size: 14px;
    }
    
    .calendar-date .day-name {
        font-size: 10px;
    }
    
    /* Compact pricing display */
    .premium-pricing-display {
        border-radius: 8px;
        margin-bottom: 8px;
    }
    
    .pricing-item {
        padding: 10px;
        border-radius: 8px;
    }
    
    .pricing-icon {
        width: 36px;
        height: 36px;
    }
    
    .pricing-label {
        font-size: 11px;
    }
    
    .pricing-price {
        font-size: 18px;
    }
    
    /* Compact traveler count */
    .traveler-count-control {
        padding: 8px;
    }
    
    .traveler-count-control button {
        padding: 4px 10px;
        font-size: 16px;
    }
    
    .traveler-count-control input {
        font-size: 14px;
        padding: 4px 8px;
        min-height: 32px !important;
    }
    
    /* Compact total price section */
    .total-price-section {
        padding: 10px;
        margin-top: 10px;
    }
    
    .total-price-section .total-label {
        font-size: 13px;
    }
    
    .total-price-section .total-amount {
        font-size: 20px;
    }
    
    /* Compact promo code section */
    .promo-code-section {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .promo-code-section input {
        padding: 6px 8px !important;
        font-size: 12px;
        min-height: 32px !important;
    }
    
    .promo-code-section button {
        padding: 6px 12px !important;
        font-size: 12px;
    }
    
    /* Mobile Sticky Booking Bar */
    .mobile-sticky-booking-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        border-top: 1px solid #e5e7eb;
    }
    
    .mobile-booking-price {
        display: flex;
        align-items: baseline;
        gap: 4px;
    }
    
    .mobile-price-label {
        font-size: 12px;
        color: #6b7280;
        font-weight: 500;
    }
    
    .mobile-price-value {
        font-size: 20px;
        font-weight: 700;
        color: #0e8d00;
    }
    
    .mobile-price-unit {
        font-size: 12px;
        color: #6b7280;
        font-weight: 500;
    }
    
    .mobile-check-availability-btn {
        background: linear-gradient(135deg, #11315f 0%, #1d2327 100%);
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }
    
    .mobile-check-availability-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }
    
    .mobile-check-availability-btn:active {
        transform: translateY(0);
    }
    
    .preview-container {
        max-width: 100%;
        padding: 0 10px;
        margin-top: 0;
    }
    
    .tab-navigation {
        height: auto;
        max-height: none;
        flex-wrap: nowrap;
        padding: 10px 0px 10px 0px;
        gap: 8px;
        position: relative;
        top: 0;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        box-shadow: 0 5px 12px rgb(0 0 0 / 0%);
    }
    .tab-button:last-child {
        min-width: 195px !important;
    }
    
    .tab-navigation::-webkit-scrollbar {
        display: none;
    }
    
    .tab-button {
        flex: 1 1 auto;
        gap: 0px;
        min-width: 80px;
        font-size: 12px;
        padding: 8px 12px;
        min-width: 110px !important;
    }
    .tab-button:first-child {
        margin-left: 0px;
    }

    .tab-button.active::after {
        display: none;
    }
    
    .booking-sidebar {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
    
    .share-popup-content {
        width: 95%;
        max-width: 350px;
    }
    
    .share-popup-body {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 15px;
    }
    
    .share-option {
        padding: 12px;
    }
    
    .share-option svg {
        width: 20px;
        height: 20px;
    }
    
    .share-option span {
        font-size: 11px;
    }
    .route-header h2 {
        margin: 0 0 10px 0;
    }
}

@media (max-width: 480px) {
    .tab-button {
        font-size: 12px;
        padding: 10px 10px;
        min-width: 60px;
    }
    
    .booking-sidebar-header h3 {
        font-size: 14px;
    }
    
    .lowest-price-guarantee {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .share-popup-body {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .share-option {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 12px;
    }
    
    .pickup-time-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Hide mobile sticky bar on desktop */
@media (min-width: 769px) {
    .mobile-sticky-booking-bar {
        display: none !important;
    }
    
    .mobile-booking-popup {
        display: none !important;
    }
}

/* Mobile Booking Popup Styles */
.mobile-booking-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
}

.mobile-booking-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.mobile-booking-popup-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-booking-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.mobile-booking-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.mobile-booking-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.mobile-booking-popup-close:hover {
    background: #f3f4f6;
}

.mobile-booking-popup-body {
    padding: 0;
}

.mobile-popup-sidebar {
    display: block !important;
    padding: 0 !important;
}

.mobile-popup-sidebar .booking-sidebar-body {
    padding: 16px !important;
}

@media (max-width: 768px) {
    .mobile-booking-popup {
        display: none;
    }
    
    .mobile-booking-popup[style*="display: block"] {
        display: block !important;
    }
    .mobile-booking-popup-content {
        max-height: 80vh;
    }
}
