/*body {*/
/*    margin: 0;*/
/*    padding: 20px;*/
/*    font-family: Arial, sans-serif;*/
/*    background: #f7f9fc;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*}*/

/*h1 {*/
/*    margin-bottom: 15px;*/
/*    color: #222;*/
/*    text-align: center;*/
/*}*/

#map {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

#map-container {
    width: 100%;
    max-width: 900px;
    height: auto;
}

svg {
    width: 100%;
    height: auto;
    display: block;
}

path, polygon {
    fill: rgba(52, 191, 173, 0.5);
    transition: fill 0.2s ease;
}

#map-container path,
#map-container use {
    stroke: #fff;
    stroke-width: 40;
    stroke-linejoin: round;
    stroke-linecap: round;
}

/*#map-container path.main-section {*/
/*    stroke-width: 96;*/
/*}*/

.province-path:hover path,
.province-path:hover use {
    fill: #37b9a8;
    cursor: pointer;
}

.province-path:focus {
    outline: none;
}

.active path {
    fill: #37b9a8 !important;
}

/*#NU:hover path,*/
/*#NU:hover use {*/
/*    fill: #ff9900;
/*    cursor: pointer;*/
/*}*/

#info-box {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

@media (max-width: 600px) {
    h1 {
        font-size: 20px;
    }

    #info-box {
        font-size: 16px;
    }
}

.province-tabs-wrapper {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.province-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.province-tabs button {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    background: #34bfad22;
    border-radius: 8.5px;
    border: 1px solid #ddd;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    font-size: 0.8rem;
    color: #333;
}

.province-tabs button[aria-selected="true"] {
    background: #37b9a8;
    color: white;
    border: 1px solid #247999;
}

.province-tabs button:hover {
    background: #37b9a8;
}

.province-dropdown {
    display: none;
    width: 100%;
    padding: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.tab-panel {
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
}

@media (max-width: 768px) {
    .province-tabs {
        display: none;
    }

    .province-dropdown {
        display: block;
    }
}