.analytics-dashboard {
    font-family: 'Verlag', sans-serif;
}

.insights-block {
    background-color: #ffffff;
}

.analytics-header {
    margin-bottom: 3rem;
}

.section-title {
    color: #11476b;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-description {
    color: #666;
    font-size: 1.1rem;
}
.mapboxgl-marker{position: absolute !important;}
.analytics-tabs {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    max-height: 600px;
}

.insights-block .nav-tabs {
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}

.insights-block .nav-tabs .nav-link {
    color: #666;
    border: none;
    padding: 0.75rem 1rem;
    margin-right: 1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.insights-block .nav-tabs .nav-link.active {
    color: #11476b;
    background: transparent;
    /* background: none;
    border: none; */
    font-weight: 600;
}

.insights-block .nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    /* background: #11476b; */
}

.mineral-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.mineral-stat {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.mineral-stat:hover {
    transform: translateY(-5px);
    /* border-color: #11476b; */
}

.stat-label {
    display: block;
    font-size: 1.2rem;
    color: #82591f;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #11476b;
}

.sample-content {
    padding: 1rem 0;
}

.total-samples {
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #eee;
}

.sample-count {
    font-size: 2.5rem;
    font-weight: bold;
    color: #11476b;
    display: block;
}

.sample-label {
    color: #82591f;
    font-size: 1.1rem;
    font-weight: 500;
}

.sample-distribution {
    margin-top: 2rem;
}

.sample-bar {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #eee;
}

.bar-fill {
    height: 8px;
    background: #11476b;
    border-radius: 4px;
    margin: 0.5rem 0;
}

.bar-label {
    color: #82591f;
    font-weight: 500;
}

.bar-value {
    float: right;
    color: #11476b;
    font-weight: 600;
}

.prospect-details {
    padding: 1rem 0;
}

.prospect-item.active {
    border: 2px solid #11476b;
}

/* .prospect-item.active h5 {
    color: #fff;
}

.prospect-item.active .stat-label {
    color: #fff;
}

.prospect-item.active .data-item .value, .prospect-item.active .data-item .label {
    color: #fff;
} */

.prospect-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    transition: border-color 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prospect-item:hover {
    border-color: #11476b;
}

.prospect-item h5 {
    color: #11476b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.data-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.data-item .label {
    color: #82591f;
    font-weight: 500;
}

.data-item .value {
    color: #11476b;
    font-weight: 600;
}

.insights-block .map-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-height: 600px;
}

.insights-block .mapboxgl-map {
    height: 100%;
    width: 100%;
    max-height: 470px;
}
 
.insights-block .map-title {
    color: #11476b;
    font-weight: 600;
}

/* .marker {
    cursor: pointer;
    width: 25px;
    height: 25px;
    background-color: #11476b;
    border-radius: 50%;
    position: relative;
} */

.insights-block .location-label {
    position: absolute;
    opacity: 0;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    background-color: rgba(17, 71, 107, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.3s ease;
    margin-bottom: 5px;
}

.insights-block .location-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(17, 71, 107, 0.9) transparent transparent transparent;
}

.insights-block .location-label.visible {
    opacity: 1;
}

.insights-block .marker:hover .location-label {
    opacity: 1;
}

.insights-block .map-popup {
    padding: 10px;
}

.insights-block .map-popup h4 {
    margin: 0 0 10px;
    color: #11476b;
}

.insights-block .location-description {
    background-color: #f5f5f5;
    border-left: 3px solid #11476b;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 0.95em;
    line-height: 1.5;
    color: #333;
    border-radius: 0 4px 4px 0;
}

.insights-block .coordinates-display {
    font-size: 0.9em;
    margin-bottom: 10px;
}

.insights-block .coordinate-label {
    font-weight: bold;
    margin-right: 5px;
}

.insights-block .coordinate-value {
    margin-right: 15px;
}