﻿.rating-box {
    font-weight: 700;
    font-size: 14px;
    min-width: 40px;
    text-align: center;
}

.star-filled {
    color: #fbbf24;
}

.star-empty {
    color: #d1d5db;
}

.accordion-button:not(.collapsed) {
    background-color: var(--brand-light);
    color: var(--brand);
}

.review-item:last-child {
    border-bottom: none !important;
}

.bg-purple {
    background-color: #6f42c1 !important;
}



/* ============================================
   TOUR DETAIL PAGE - MINIMAL & CLEAN
   ============================================ */

/* Variables */
:root {
    --primary: #0A58CA;
    --primary-dark: #0947A8;
    --primary-light: #E8F0FE;
    --gray-50: #F8F9FC;
    --gray-100: #F1F3F7;
    --gray-200: #E9ECF0;
    --gray-400: #9AA4B2;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #212529;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.03);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 35px -12px rgba(0,0,0,0.08);
    --radius: 16px;
    --radius-sm: 12px;
}

/* ========== BREADCRUMB ========== */
.breadcrumb-section {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
}
.breadcrumb {
    --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6' viewBox='0 0 24 24' fill='none' stroke='%239AA4B2' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E");
}
.breadcrumb-item a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 0.8rem;
}
.breadcrumb-item a:hover { color: var(--primary); }
.breadcrumb-item.active {
    color: var(--gray-700);
    font-weight: 500;
}

/* ========== HEADER ========== */
.tour-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}
.rating-box {
    background: var(--primary);
    font-weight: 700;
    min-width: 44px;
    text-align: center;
    border-radius: 8px;
}
.star-filled { color: #FBBF24; }
.star-empty { color: var(--gray-300); }
.badge-international {
    background: var(--primary-light);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
}
.btn-outline-brand {
    border: 1px solid var(--gray-200);
    background: white;
    border-radius: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.btn-outline-brand:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

/* ========== GALLERY ========== */
.gallery-item {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.2s;
}
.gallery-item:hover { transform: scale(1.01); }

/* ========== CARDS ========== */
.card-premium {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.card-premium .card-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.25rem;
}
.card-premium .card-header h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-premium .card-body { padding: 1.25rem; }

/* ========== PRICE MATRIX CARDS ========== */
.matrix-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    height: 100%;
}
.matrix-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}
.matrix-card-header {
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.matrix-card-body { padding: 1rem; }
.matrix-hotel-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.matrix-room-type {
    font-size: 0.7rem;
    color: var(--gray-500);
}
.matrix-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}
.matrix-price small {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--gray-500);
}
.matrix-meal {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
}
.airline-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.7rem;
}
.airline-logo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}
.badge-available {
    background: #D1FAE5;
    color: #065F46;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}
.badge-limited {
    background: #FEF3C7;
    color: #92400E;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}
.badge-soldout {
    background: #FEE2E2;
    color: #991B1B;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}
.btn-brand {
    background: var(--primary);
    border: none;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}
.btn-brand:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ========== SIDEBAR ========== */
.sticky-sidebar { position: sticky; top: 100px; }
.booking-summary-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.booking-summary-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.booking-departure-select {
    border-radius: 40px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-200);
    font-size: 0.85rem;
}

/* ========== MAP ========== */
.map-container {
    height: 320px;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.map-placeholder {
    height: 320px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: var(--radius-sm);
}

/* ========== INCLUSIONS ========== */
.bg-success-opacity-10 { background: rgba(16, 185, 129, 0.08); }
.bg-danger-opacity-10 { background: rgba(220, 53, 69, 0.08); }

/* ========== ITINERARY ACCORDION ========== */
.accordion-custom .accordion-item {
    border: none;
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
}
.accordion-custom .accordion-button {
    background: transparent;
    padding: 1rem 0;
    font-weight: 500;
    box-shadow: none;
}
.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: transparent;
}
.accordion-custom .accordion-body {
    padding: 0 0 1rem 0;
    color: var(--gray-500);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* ========== REVIEWS ========== */
.review-item {
    padding: 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
}
.review-item:hover {
    background: var(--gray-50);
    transform: translateX(4px);
}
.review-filter .input-group {
    border-radius: 40px;
    overflow: hidden;
}
.review-filter .form-control {
    border: 1px solid var(--gray-200);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
}
.review-filter .btn {
    border-radius: 0 40px 40px 0;
    padding: 0.6rem 1.2rem;
}

/* ========== MODAL ========== */
.modal-content {
    border-radius: var(--radius);
    border: none;
}
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}
.rating-input .star-label {
    font-size: 1.5rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: color 0.2s;
}
.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label,
.rating-input input:checked ~ .star-label {
    color: #FBBF24;
}

/* ========== PAGINATION ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}
.pagination .page-item .page-link {
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.pagination .page-item .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

/* ========== TOAST ========== */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    font-size: 0.85rem;
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .tour-header h1 { font-size: 1.4rem; }
    .card-premium .card-header { padding: 0.8rem 1rem; }
    .card-premium .card-body { padding: 1rem; }
    .matrix-card-header { flex-direction: column; align-items: flex-start; }
    .sticky-sidebar { position: relative; top: 0; }
    .map-container, .map-placeholder { height: 250px; }
}

@media (max-width: 576px) {
    .breadcrumb-section { display: none; }
    .tour-header .btn-outline-brand { padding: 0.4rem 0.8rem; font-size: 0.7rem; }
    .rating-box { min-width: 36px; font-size: 0.8rem; }
    .matrix-price { font-size: 1rem; }
    .matrix-hotel-name { font-size: 0.85rem; }
}

/* ========== UTILITIES ========== */
.text-brand { color: var(--primary); }
.bg-brand-light { background: var(--primary-light); }
.rounded-pill { border-radius: 40px !important; }
.cursor-pointer { cursor: pointer; }



/* Reviews Section Styles */
.reviews-section {
    background: white;
}

/* Review Summary */
.reviews-summary {
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #eef2f6;
}

.rating-circle {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 800;
    color: #0A58CA;
    line-height: 1;
}

.rating-stars i {
    color: #FBBF24;
    font-size: 1rem;
}

.rating-total {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 4px;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
}

.rating-bar-label {
    width: 45px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6c757d;
}

.rating-bar-progress {
    flex: 1;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: #FBBF24;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.rating-bar-percent {
    width: 45px;
    text-align: right;
    color: #6c757d;
    font-size: 0.75rem;
}

/* Write Review Form */
.write-review-form {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 1.25rem;
    border: 1px solid #eef2f6;
}

.write-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.write-review-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0A58CA, #0947A8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.write-review-info strong {
    display: block;
    font-size: 0.9rem;
}

.write-review-info span {
    font-size: 0.7rem;
    color: #6c757d;
}

.rating-input-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 8px;
}

.rating-star-label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #e5e7eb;
    transition: color 0.2s;
}

.rating-star-label:hover,
.rating-star-label:hover ~ .rating-star-label,
.rating-input-stars input:checked ~ .rating-star-label {
    color: #FBBF24;
}

.review-textarea {
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    resize: none;
}

.review-textarea:focus {
    border-color: #0A58CA;
    box-shadow: 0 0 0 3px rgba(10,88,202,0.1);
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: 2rem;
    background: #f8f9fc;
    border-radius: 20px;
}

.login-prompt i {
    font-size: 3rem;
    color: #cbd5e1;
}

.login-prompt p {
    margin: 0.5rem 0 1rem;
    color: #6c757d;
}

/* Reviews Search */
.reviews-search .input-group {
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.reviews-search .input-group-text,
.reviews-search .form-control {
    border: none;
    background: white;
}

.reviews-search .form-control:focus {
    box-shadow: none;
}

.reviews-search .btn-primary {
    border-radius: 0;
    padding: 0 1.25rem;
}

/* Review Cards */
.review-card {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #e0e7ef;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    color: #0A58CA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-name {
    font-size: 0.95rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.review-date {
    font-size: 0.7rem;
    color: #9ca3af;
}

.verified-badge {
    font-size: 0.65rem;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.verified-badge i {
    font-size: 0.7rem;
}

.review-rating i {
    font-size: 0.85rem;
    color: #FBBF24;
}

.review-text {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #eef2f6;
}

.helpful-btn {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 0.75rem;
    color: #6c757d;
    transition: all 0.2s;
}

.helpful-btn:hover {
    background: #f0f5ff;
    color: #0A58CA;
}

.helpful-btn i {
    font-size: 0.85rem;
}

.helpful-btn.active {
    background: #0A58CA;
    color: white;
}

.report-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    border-radius: 40px;
    font-size: 0.7rem;
    color: #9ca3af;
    transition: all 0.2s;
}

.report-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

/* Empty Reviews */
.empty-reviews {
    text-align: center;
    padding: 3rem;
}

.empty-reviews i {
    font-size: 3rem;
    color: #cbd5e1;
}

.empty-reviews h6 {
    margin-top: 1rem;
    font-weight: 600;
}

.empty-reviews p {
    color: #9ca3af;
    font-size: 0.85rem;
}

/* Reviews Count Badge */
.reviews-count-badge {
    background: #e8f0fe;
    color: #0A58CA;
    padding: 2px 8px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-summary {
        padding: 1rem;
    }
    
    .rating-circle {
        margin-bottom: 1rem;
    }
    
    .rating-number {
        font-size: 2rem;
    }
    
    .review-header {
        flex-direction: column;
    }
    
    .review-rating {
        align-self: flex-start;
    }
    
    .write-review-form {
        padding: 1rem;
    }
    
    .empty-reviews {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .rating-bar-item {
        gap: 6px;
        font-size: 0.7rem;
    }
    
    .rating-bar-label {
        width: 38px;
    }
    
    .rating-bar-percent {
        width: 35px;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
}


/* Cancellation Policy Styles */
.cancellation-policy-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.cancellation-policy-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: white;
    border-bottom: 1px solid #eef2f6;
    padding: 1.25rem 1.5rem;
}

.policy-icon-wrapper svg {
    color: #dc2626;
}

.policy-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0f5ff;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.7rem;
    color: #0A58CA;
}

.policy-badge i {
    font-size: 0.8rem;
}

/* Policy Warning */
.policy-warning {
    background: #fffbeb !important;
    border: 1px solid #fef3c7;
    border-radius: 16px;
}

.policy-warning i {
    color: #f59e0b;
}

.policy-warning-text strong {
    color: #92400e;
}

.policy-warning-text {
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.5;
}

/* Timeline Styles */
.policy-timeline {
    position: relative;
    padding: 0.5rem 0;
}

.timeline-line {
    position: absolute;
    right: 28px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, #e5e7eb, #0A58CA, #e5e7eb);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: relative;
    flex-shrink: 0;
    width: 56px;
}

.marker-dot {
    width: 14px;
    height: 14px;
    background: white;
    border: 2px solid #0A58CA;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 8px;
    z-index: 2;
    background: white;
}

.timeline-marker.first .marker-dot {
    background: #10b981;
    border-color: #10b981;
    width: 16px;
    height: 16px;
}

.timeline-marker.last .marker-dot {
    background: #dc2626;
    border-color: #dc2626;
}

.marker-line {
    position: absolute;
    left: 50%;
    top: 22px;
    width: 2px;
    height: calc(100% + 32px);
    background: #e5e7eb;
    transform: translateX(-50%);
}

.timeline-content {
    flex: 1;
    background: #f8f9fc;
    border-radius: 16px;
    padding: 12px 20px;
    transition: all 0.2s;
}

.timeline-content:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.timeline-timeframe {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 8px;
}

.timeline-timeframe i {
    color: #0A58CA;
    font-size: 0.8rem;
}

.timeline-penalty {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.penalty-percent {
    font-size: 1.4rem;
    font-weight: 800;
}

.penalty-percent.free {
    color: #10b981;
}

.penalty-percent.low {
    color: #f59e0b;
}

.penalty-percent.medium {
    color: #f97316;
}

.penalty-percent.high {
    color: #dc2626;
}

.penalty-label {
    font-size: 0.7rem;
    color: #6c757d;
}

.timeline-refund {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: #10b981;
    background: #d1fae5;
    padding: 2px 10px;
    border-radius: 40px;
}

.timeline-refund i {
    font-size: 0.7rem;
}

/* Policy Info Grid */
.policy-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: #f8f9fc;
    border-radius: 16px;
    transition: all 0.2s;
}

.info-card:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e8f0fe, #d4e4fc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 1.2rem;
    color: #0A58CA;
}

.info-content h6 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-content p {
    font-size: 0.7rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
}

/* Policy Note */
.policy-note {
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .cancellation-policy-card .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .timeline-item {
        gap: 12px;
    }
    
    .timeline-marker {
        width: 40px;
    }
    
    .timeline-content {
        padding: 10px 14px;
    }
    
    .penalty-percent {
        font-size: 1.1rem;
    }
    
    .policy-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info-card {
        padding: 10px;
    }
}

@media (max-width: 576px) {
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-marker {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .marker-dot {
        left: 20px;
    }
    
    .marker-line {
        display: none;
    }
    
    .timeline-line {
        display: none;
    }
    
    .policy-warning {
        flex-direction: column;
    }
    
    .policy-warning i {
        margin-bottom: 8px;
    }
}




/* Itinerary Card Styles */
.itinerary-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
}

.itinerary-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: white;
    border-bottom: 1px solid #eef2f6;
    padding: 1.25rem 1.5rem;
}

.itinerary-icon-wrapper svg {
    color: #0A58CA;
}

.itinerary-days-badge {
    background: #e8f0fe;
    color: #0A58CA;
    padding: 2px 10px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
}

.itinerary-nav {
    display: flex;
    gap: 8px;
}

.itinerary-nav-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 40px;
    padding: 4px 12px;
    font-size: 0.7rem;
    color: #4b5563;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.itinerary-nav-btn:hover {
    background: #f0f5ff;
    border-color: #0A58CA;
    color: #0A58CA;
}

/* Timeline Styles */
.itinerary-timeline {
    padding: 1.5rem;
}

.itinerary-day {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
    position: relative;
}

.itinerary-day-marker {
    position: relative;
    flex-shrink: 0;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marker-circle {
    width: 40px;
    height: 40px;
    background: #f8f9fc;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
    position: relative;
}

.marker-circle.active {
    background: linear-gradient(135deg, #0A58CA, #0947A8);
    border-color: #0A58CA;
    box-shadow: 0 0 0 4px rgba(10, 88, 202, 0.15);
}

.marker-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #6c757d;
}

.marker-circle.active .marker-number {
    color: white;
}

.marker-line {
    position: absolute;
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(to bottom, #e5e7eb, #f0f5ff);
}

.itinerary-day:last-child .marker-line {
    display: none;
}

.itinerary-day-content {
    flex: 1;
    margin-bottom: 24px;
}

.itinerary-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fc;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.itinerary-day-header:hover {
    background: #f0f5ff;
}

.day-info {
    flex: 1;
}

.day-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1f2937;
}

.day-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.day-badge, .day-duration, .day-meal {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #6c757d;
}

.day-badge i, .day-duration i, .day-meal i {
    font-size: 0.7rem;
    color: #0A58CA;
}

.day-toggle i {
    font-size: 1.2rem;
    color: #9ca3af;
    transition: transform 0.3s;
}

.itinerary-day-header[aria-expanded="true"] .day-toggle i {
    transform: rotate(180deg);
}

.itinerary-day-body {
    padding: 16px 0 8px;
}

.day-description {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.day-highlights {
    background: #f0fdf4;
    border-radius: 16px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.day-highlights h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: #166534;
    margin-bottom: 8px;
}

.day-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.day-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #166534;
    margin-bottom: 6px;
}

.day-highlights li i {
    color: #10b981;
    font-size: 0.8rem;
}

.day-image {
    position: relative;
    margin-bottom: 16px;
}

.day-image img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 16px;
}

.day-image-caption {
    font-size: 0.7rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 6px;
}

.day-location-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #eef2f6;
    margin-top: 8px;
}

.location-item, .hotel-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #4b5563;
}

.location-item i, .hotel-item i {
    color: #0A58CA;
}

/* Responsive */
@media (max-width: 768px) {
    .itinerary-card .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .itinerary-nav {
        width: 100%;
        justify-content: flex-start;
    }
    
    .itinerary-timeline {
        padding: 1rem;
    }
    
    .itinerary-day {
        gap: 12px;
    }
    
    .itinerary-day-marker {
        width: 36px;
    }
    
    .marker-circle {
        width: 32px;
        height: 32px;
    }
    
    .marker-number {
        font-size: 0.75rem;
    }
    
    .day-title {
        font-size: 0.9rem;
    }
    
    .day-meta {
        gap: 8px;
    }
    
    .day-highlights {
        padding: 10px 12px;
    }
}

@media (max-width: 576px) {
    .itinerary-day-header {
        padding: 10px 12px;
    }
    
    .day-title {
        font-size: 0.85rem;
    }
    
    .day-meta {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .day-badge, .day-duration, .day-meal {
        font-size: 0.65rem;
    }
    
    .day-description {
        font-size: 0.8rem;
    }
    
    .itinerary-day-body {
        padding: 12px 0 6px;
    }
}


/* Matrix Card Enhanced Styles */
.matrix-card {
    background: white;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.matrix-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Hotel Image Section */
.matrix-card-image {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: #f8f9fc;
}

.matrix-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.matrix-card:hover .matrix-card-image img {
    transform: scale(1.05);
}

.hotel-image-link {
    display: block;
    height: 100%;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 0.85rem;
}

.hotel-image-link:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 1.2rem;
}

.hotel-stars {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    backdrop-filter: blur(4px);
}

.hotel-stars i {
    color: #FBBF24;
}

/* Card Header */
.matrix-card-header {
    padding: 12px 16px;
    background: #f8f9fc;
    border-bottom: 1px solid #eef2f6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Card Body */
.matrix-card-body {
    padding: 16px;
}

/* Hotel Info */
.matrix-hotel-info {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.matrix-hotel-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.matrix-hotel-name:hover {
    color: #0A58CA;
}

.matrix-hotel-name i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.matrix-hotel-location {
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 2px;
}

.matrix-hotel-location i {
    font-size: 0.65rem;
    margin-left: 2px;
}

.matrix-room-type {
    font-size: 0.75rem;
    color: #4b5563;
    margin-top: 6px;
}

.matrix-meal {
    display: inline-block;
    background: #e8f0fe;
    color: #0A58CA;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
}

.matrix-badge-work {
    display: inline-block;
    background: #f0fdf4;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
}

.matrix-badge-work i {
    font-size: 0.6rem;
}

.matrix-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0A58CA;
}

.matrix-price small {
    font-size: 0.65rem;
    font-weight: 400;
    color: #6c757d;
}

.hotel-rating {
    font-size: 0.7rem;
}

.hotel-rating i {
    color: #FBBF24;
    font-size: 0.7rem;
}

/* Airline Chip */
.airline-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.7rem;
}

.airline-logo {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    object-fit: cover;
}

/* Status Badges */
.badge-available {
    background: #d1fae5;
    color: #065f46;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.badge-limited {
    background: #fed7aa;
    color: #9a3412;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}

.badge-soldout {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
}

/* Buttons */
.btn-brand {
    background: #0A58CA;
    border: none;
    border-radius: 40px;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-brand:hover {
    background: #0947A8;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border-radius: 40px;
    font-size: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .matrix-card-image {
        height: 140px;
    }
    
    .matrix-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .matrix-hotel-info {
        flex-direction: column;
    }
    
    .matrix-price {
        text-align: left;
        margin-top: 8px;
    }
    
    .text-end {
        text-align: left !important;
    }
}

@media (max-width: 576px) {
    .matrix-card-image {
        height: 120px;
    }
    
    .matrix-card-body {
        padding: 12px;
    }
    
    .matrix-hotel-name {
        font-size: 0.9rem;
    }
}




