.sdg-dashboard-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-sizing: border-box;
}

.sdg-dashboard-row {
    margin-bottom: 40px;
}

.sdg-chart-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px 20px 16px;
    position: relative;
}

.sdg-chart-container canvas {
    max-height: 380px;
    width: 100% !important;
}

.sdg-dashboard-row-globe .sdg-globe-table-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.sdg-top-countries-wrapper {
    flex: 0 0 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px 20px;
    min-width: 240px;
}

.sdg-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 16px;
    color: #1a1a2e;
}

.sdg-top-countries-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.sdg-top-countries-table thead th {
    text-align: left;
    padding: 8px 4px 10px;
    border-bottom: 2px solid #eef0f4;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.sdg-top-countries-table tbody td {
    padding: 10px 4px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.sdg-top-countries-table tbody tr:last-child td {
    border-bottom: none;
}

.sdg-top-countries-table .sdg-country-name {
    font-weight: 500;
}

.sdg-top-countries-table .sdg-country-count {
    font-weight: 600;
    color: #2563eb;
}

.sdg-top-countries-table .sdg-country-trend {
    font-size: 13px;
}

.sdg-top-countries-table .sdg-country-trend .trend-up {
    color: #10b981;
}

.sdg-top-countries-table .sdg-country-trend .trend-down {
    color: #ef4444;
}

.sdg-globe-container {
    flex: 1;
    min-width: 300px;
    min-height: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.sdg-globe-container > div,
.sdg-globe-container canvas {
    display: block;
}

@media (max-width: 768px) {
    .sdg-dashboard-row-globe .sdg-globe-table-container {
        flex-direction: column;
    }

    .sdg-top-countries-wrapper {
        flex: 1 1 auto;
        width: 100%;
    }

    .sdg-globe-container {
        min-height: 320px;
    }
}
