/* Chart Container Styles */

.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 2rem;
}

/* Stat Card Styles */
.stat-card {
    border-left: 4px solid #00acba;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #174070;
}

.stat-label {
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
}

/* Table hover effect */
.table-hover tbody tr:hover {
    background-color: rgba(0, 172, 186, 0.1);
}

/* Country flag styles */
.country-flag {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Badge customization */
.badge-primary {
    background-color: #00acba;
}

.badge-secondary {
    background-color: #174070;
}

.badge-success {
    background-color: #1e9c8a;
}

.badge-danger {
    background-color: #a0272d;
}

/* Color palette indicator circles */
.color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Chart description text */
.chart-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* Legend customization */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-container {
        height: 250px;
    }

    .chart-wrapper {
        height: 300px;
    }

    #blackhole {
        width: 100%;
        padding: 10px;
    }
}
