/* Interactive Map Styling - SVG Panel Approach */
.interactive-map-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 30px 0;
}

/* Map Column */
.map-column {
    position: relative;
}

#svg-map-wrapper {
    width: 100%;
    height: auto;
    min-height: 400px;
    background: #fdfdfd; 
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

#svg-map-wrapper svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
}

/* Map Loading State */
.map-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    color: #ff7c5b;
}

/* PATH STYLING for Dynamic Map */
path {
    fill: #e9ecef; /* Neutral grey for all countries */
    stroke: #ffffff;
    stroke-width: 0.5px;
    transition: all 0.3s ease;
    cursor: default;
}

/* Countries with tours */
/* Countries with tours - Default State */
path.has-tours {
    cursor: pointer;
    fill: #ff7c5b; /* Theme Orange for all offered destinations */
    stroke: #ffffff;
    opacity: 0.9;
}

/* Hover State */
path.has-tours:hover {
    fill: #e66b4d; /* Slightly darker/richer orange on hover */
    stroke: #ffffff;
    opacity: 1;
    stroke-width: 1px;
}

/* Active Selected Country */
path.active-country {
    fill: #d14d2e !important; /* Distinct dark orange/red-orange for selection */
    stroke: #fff !important;
    stroke-width: 1.5px;
    filter: drop-shadow(0 0 6px rgba(255, 124, 91, 0.7));
}

/* Optional: Water/Background if SVG allows, but here we just style paths */


/* List Panel */
.destination-list-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.panel-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.panel-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #061a3a;
    margin-bottom: 5px;
}

.panel-header p {
    color: #808080;
    font-size: 14px;
}

.panel-content {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 500px;
    scrollbar-width: thin;
    padding-right: 5px;
}

/* Custom Scrollbar */
.panel-content::-webkit-scrollbar {
    width: 6px;
}
.panel-content::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 10px;
}

/* Tour Items */
.tour-item-card {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.tour-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #ff7c5b;
}

.tour-item-card .icon {
    width: 40px;
    height: 40px;
    min-width: 40px; /* Prevent check shrinking */
    background: #fff0ec;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7c5b;
    margin-right: 15px;
    font-size: 18px;
}

.tour-item-content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #061a3a;
    margin-bottom: 2px;
}

.tour-item-content span {
    font-size: 13px;
    color: #888;
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #888;
    text-align: center;
    padding: 20px;
}

.empty-state i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ccc;
}

.empty-state .theme-btn {
    margin-top: 20px;
}

/* Responsive */
@media only screen and (max-width: 991px) {
    .map-column {
        margin-bottom: 40px;
    }
}
