:root {
    --bg-color: #020617;
    /* Deepest Navy */
    --panel-bg: rgba(15, 23, 42, 0.7);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #38bdf8;
    --accent-green: #2dd4bf;
    --accent-yellow: #fbbf24;
    --accent-red: #f43f5e;
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

body {
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    background:
        radial-gradient(circle at 50% 0%, #172554 0%, #020617 100%),
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    -webkit-font-smoothing: antialiased;
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Header - Ultra Premium */
.main-header {
    height: 70px;
    min-height: 60px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), transparent);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 3vw, 48px);
    z-index: 100;
    flex-shrink: 0;
}

.header-title h1 {
    font-size: clamp(18px, 2.5vw, 30px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    background: linear-gradient(135deg, #fff 30%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(56, 189, 248, 0.2);
    white-space: nowrap;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 48px;
}

.info-item {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.8;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

#current-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent-blue);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
    transform: translateY(-2px);
}

.user-profile::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-green);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
}

/* Dashboard Grid */
.dashboard-content {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(280px, 320px) 1fr minmax(280px, 340px);
    gap: clamp(12px, 2vw, 24px);
    padding: clamp(12px, 2vw, 24px) clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px) clamp(16px, 3vw, 40px);
    height: calc(100vh - 70px);
    overflow: hidden;
    min-height: 0;
}

.column {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 24px);
    height: 100%;
    min-height: 0;
    min-width: 0;
    overflow: visible;
}

/* Premium Panel Style */
.panel {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    min-height: 0;
    flex: 1;
    overflow: hidden;
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.panel::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 40%, transparent 60%, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.panel:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(56, 189, 248, 0.15);
    transform: translateY(-8px) scale(1.01);
}

.panel-header {
    padding: clamp(10px, 1.5vh, 18px) clamp(14px, 2vw, 24px);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
    flex-shrink: 0;
}

.panel-header h2 {
    font-size: clamp(11px, 1.2vw, 14px);
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.panel-header h2::before {
    content: '';
    width: 3px;
    height: 14px;
    background: linear-gradient(to bottom, var(--accent-blue), transparent);
    border-radius: 2px;
}

.panel-body {
    flex: 1;
    padding: clamp(10px, 1.5vh, 18px);
    position: relative;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Progress Section */
.progress-item {
    margin-bottom: clamp(12px, 2vh, 24px);
}

.progress-item:last-child {
    margin-bottom: 0;
}

.label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(6px, 1vh, 10px);
}

.label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.value {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 14px;
}

.progress-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 100px;
    transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.success-bg {
    background: linear-gradient(90deg, #0d9488, #2dd4bf);
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.2);
}

.warning-bg {
    background: linear-gradient(90deg, #d97706, #fbbf24);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.2);
}

.danger-bg {
    background: linear-gradient(90deg, #be123c, #f43f5e);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.2);
}

/* Charts */
.chart-container {
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1;
}

/* Specific Panel Flex Ratios */
.progress-panel {
    flex: 0 0 auto;
}

.radar-panel,
.pie-panel {
    flex: 1 1 0;
    min-height: 160px;
}

.list-panel {
    flex: 1.2 1 0;
    min-height: 200px;
}

.bar-panel {
    flex: 0.8 1 0;
    min-height: 140px;
}

.radar-panel .panel-body,
.pie-panel .panel-body,
.bar-panel .panel-body {
    padding: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-chart {
    width: 100%;
    height: 100%;
}

/* Map Wrapper */
.map-container-wrapper {
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 0.8) 100%);
    border-radius: 28px;
    height: 100%;
    width: 100%;
    position: relative;
    border: 1px solid rgba(56, 189, 248, 0.2);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        inset 0 0 60px rgba(56, 189, 248, 0.1),
        0 20px 80px -20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(56, 189, 248, 0.05);
}

.map-container-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
    z-index: 1;
}

.map-container-wrapper.detailed-view {
    background: #f8fafc url('../detailed_map.png') no-repeat center center;
    background-size: cover;
}

.map-header-overlay {
    position: absolute;
    top: 32px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Changed to center for KPI alignment */
    z-index: 10;
    pointer-events: none;
}

/* KPI Cards in Bottom Right Map */
.map-bottom-kpi-row {
    position: absolute;
    bottom: 32px;
    right: 40px;
    display: flex;
    gap: 20px;
    pointer-events: auto;
    z-index: 10;
}

.kpi-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 18px 24px 18px 36px;
    border-radius: 20px;
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    display: flex;
    flex-direction: column;
    min-width: 190px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 30px;
    background: var(--kpi-accent, var(--accent-blue));
    box-shadow: 0 0 15px var(--kpi-accent, var(--accent-blue));
    border-radius: 10px;
    transition: all 0.4s ease;
}

.kpi-card.blue-accent {
    --kpi-accent: var(--accent-blue);
    border-left: 1px solid rgba(56, 189, 248, 0.2);
}

.kpi-card.green-accent {
    --kpi-accent: var(--accent-green);
    border-left: 1px solid rgba(45, 212, 191, 0.2);
}

.kpi-card:hover::before {
    height: 45px;
    box-shadow: 0 0 20px var(--kpi-accent, var(--accent-blue));
}

.kpi-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(56, 189, 248, 0.15);
}

.kpi-label {
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.kpi-label::after {
    content: '';
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
}

.kpi-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.kpi-value small {
    font-size: 14px;
    font-weight: 500;
    margin-left: 4px;
    color: var(--text-secondary);
}

.kpi-mini-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
    margin-top: auto;
}

.bar-fill {
    height: 100%;
    border-radius: 100px;
}

.blue-glow {
    background: var(--accent-blue);
    box-shadow: 0 0 15px var(--accent-blue);
    position: relative;
}

.blue-glow::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

.green-glow {
    background: var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green);
    position: relative;
}

.green-glow::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

/* Detailed View Overrides */
.detailed-view .map-header-left h2 {
    color: #0f172a !important;
    text-shadow: none !important;
    letter-spacing: -0.01em;
}

.detailed-view .map-header-left p {
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    font-weight: 600;
    opacity: 1 !important;
}

.detailed-view .map-header-left p::before {
    background: #0284c7;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
    animation: status-pulse-blue 2s infinite;
}

@keyframes status-pulse-blue {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
    }
}

.detailed-view .kpi-card {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: #0f172a !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.detailed-view .kpi-label {
    color: #94a3b8 !important;
}

.detailed-view .kpi-value {
    color: #fff !important;
}

.map-header-overlay h2 {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.map-header-overlay p {
    font-size: 13px;
    color: #f1f5f9;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.6);
    padding: 8px 20px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.map-header-overlay p::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--accent-green);
    flex-shrink: 0;
    animation: status-pulse-green 2s infinite;
}

@keyframes status-pulse-green {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 12px var(--accent-green);
    }

    50% {
        transform: scale(1.4);
        opacity: 0.6;
        box-shadow: 0 0 20px var(--accent-green);
    }
}

.view-toggle-btn {
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.view-toggle-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: scale(1.05);
}

/* Ranking List */
.ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.rank-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    margin-right: 20px;
    color: #020617;
}

.rank-badge.green {
    background: var(--accent-green);
}

.rank-badge.yellow {
    background: var(--accent-yellow);
}

.rank-badge.red {
    background: var(--accent-red);
}

.city-name {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #cbd5e1;
}

.score {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 16px;
    color: #fff;
}

.scrollable-list {
    overflow-y: auto;
    padding-right: 8px;
}

.scrollable-list::-webkit-scrollbar {
    width: 4px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Detailed View Specifics */
.detailed-view .map-header-left h2 {
    color: #1e293b !important;
    text-shadow: none;
}


.detailed-view .view-toggle-btn {
    background: #1e293b;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

/* Large screens (1600px and above) - Default styling applies */

/* Medium-Large screens (1200px - 1599px) */
@media screen and (max-width: 1599px) {
    .dashboard-content {
        grid-template-columns: minmax(250px, 300px) 1fr minmax(250px, 300px);
        gap: 16px;
        padding: 16px 24px 24px 24px;
    }

    .panel-header {
        padding: 16px 20px;
    }

    .panel-body {
        padding: 16px;
    }

    .kpi-card {
        min-width: 160px;
        padding: 14px 20px 14px 30px;
    }

    .kpi-value {
        font-size: 22px;
    }
}

/* Medium screens (992px - 1199px) */
@media screen and (max-width: 1199px) {
    .main-header {
        height: 60px;
        padding: 0 16px;
    }

    .header-info {
        gap: 24px;
    }

    .info-item {
        display: none;
    }

    .dashboard-content {
        grid-template-columns: minmax(220px, 260px) 1fr minmax(220px, 260px);
        gap: 12px;
        padding: 12px 16px 16px 16px;
        height: calc(100vh - 60px);
    }

    .column {
        gap: 12px;
    }

    .panel {
        border-radius: 16px;
    }

    .panel-header h2 {
        font-size: 12px;
    }

    .map-container-wrapper {
        border-radius: 20px;
    }

    .map-header-overlay {
        top: 20px;
        left: 24px;
        right: 24px;
    }

    .map-header-overlay h2 {
        font-size: 24px;
    }

    .map-header-overlay p {
        font-size: 11px;
        padding: 6px 14px;
    }

    .map-bottom-kpi-row {
        bottom: 20px;
        right: 24px;
        gap: 12px;
    }

    .kpi-card {
        min-width: 140px;
        padding: 12px 16px 12px 26px;
        border-radius: 14px;
    }

    .kpi-label {
        font-size: 10px;
    }

    .kpi-value {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .rank-item {
        padding: 12px 16px;
    }

    .rank-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-right: 14px;
    }

    .city-name {
        font-size: 13px;
    }

    .score {
        font-size: 14px;
    }
}

/* Tablet / Small screens (768px - 991px) */
@media screen and (max-width: 991px) {
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .app-container {
        height: auto;
        min-height: 100vh;
    }

    .main-header {
        height: 56px;
        padding: 0 12px;
    }

    .header-title h1 {
        font-size: 18px;
    }

    .header-right {
        gap: 16px;
    }

    #current-time {
        font-size: 11px;
    }

    .user-profile {
        padding: 8px 16px;
        font-size: 12px;
    }

    .dashboard-content {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: calc(100vh - 56px);
        padding: 12px;
        gap: 16px;
        overflow-y: auto;
    }

    .column {
        width: 100%;
        height: auto;
        flex: none;
    }

    .left-column,
    .right-column {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .center-column {
        order: -1;
        min-height: 60vh;
    }

    .panel {
        min-height: 200px;
    }

    .map-container-wrapper {
        min-height: 50vh;
    }

    .map-bottom-kpi-row {
        bottom: 12px;
        right: 12px;
        left: 12px;
        justify-content: center;
    }

    .kpi-card {
        flex: 1;
        max-width: 200px;
    }
}

/* Mobile screens (below 768px) */
@media screen and (max-width: 767px) {
    .main-header {
        height: 50px;
        flex-wrap: wrap;
    }

    .header-title h1 {
        font-size: 16px;
    }

    .header-right {
        gap: 12px;
    }

    #current-time {
        font-size: 10px;
    }

    .user-profile {
        padding: 6px 12px;
        font-size: 11px;
        gap: 8px;
    }

    .dashboard-content {
        padding: 8px;
        gap: 12px;
    }

    .left-column,
    .right-column {
        grid-template-columns: 1fr;
    }

    .panel {
        min-height: 180px;
        border-radius: 12px;
    }

    .panel-header {
        padding: 12px 16px;
    }

    .panel-header h2 {
        font-size: 11px;
    }

    .panel-body {
        padding: 12px;
    }

    .map-container-wrapper {
        min-height: 45vh;
        border-radius: 16px;
    }

    .map-header-overlay {
        top: 12px;
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .map-header-overlay h2 {
        font-size: 18px;
    }

    .map-header-overlay p {
        font-size: 10px;
        padding: 5px 12px;
    }

    .view-toggle-btn {
        padding: 8px 14px;
        font-size: 11px;
        border-radius: 8px;
    }

    .map-bottom-kpi-row {
        flex-direction: column;
        bottom: 10px;
        right: 10px;
        left: auto;
        gap: 8px;
    }

    .kpi-card {
        min-width: 130px;
        padding: 10px 14px 10px 22px;
        border-radius: 10px;
    }

    .kpi-label {
        font-size: 9px;
        margin-bottom: 4px;
    }

    .kpi-value {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .kpi-value small {
        font-size: 12px;
    }

    .kpi-mini-bar {
        height: 3px;
    }

    .progress-item {
        margin-bottom: 20px;
    }

    .label {
        font-size: 12px;
    }

    .value {
        font-size: 12px;
    }

    .progress-bar-bg {
        height: 5px;
    }

    .rank-item {
        padding: 10px 12px;
        border-radius: 12px;
        margin-bottom: 8px;
    }

    .rank-badge {
        width: 24px;
        height: 24px;
        font-size: 11px;
        margin-right: 12px;
        border-radius: 8px;
    }

    .city-name {
        font-size: 12px;
    }

    .score {
        font-size: 13px;
    }
}

/* Very small screens (below 480px) */
@media screen and (max-width: 479px) {
    .main-header {
        height: 45px;
    }

    .header-title h1 {
        font-size: 14px;
    }

    .user-profile::before {
        display: none;
    }

    .user-profile {
        padding: 5px 10px;
        font-size: 10px;
    }

    .map-header-overlay h2 {
        font-size: 16px;
    }

    .map-header-overlay p {
        display: none;
    }

    .kpi-card {
        min-width: 110px;
        padding: 8px 12px 8px 18px;
    }

    .kpi-value {
        font-size: 16px;
    }
}