@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-ExtraLight.ttf");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-Thin.ttf");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-Light.ttf");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-Regular.ttf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-Medium.ttf");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-SemiBold.ttf");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-Bold.ttf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-ExtraBold.ttf");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/Inter-Black.ttf");
    font-weight: 900;
    font-style: normal;
}

html, body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-family: Inter, sans-serif;
}

#map {
    height: 100%;
    width: 100%;
}


.country-label {
    color: rgba(0, 0, 0, 0.35);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    pointer-events: none;
    white-space: nowrap;
}

#controls {
    border-radius: 24px;
    position: absolute;
    top: 100px;
    left: 10px;
    background-color: white;
    padding: 24px;
    width: 250px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    max-height: 70%;
    overflow: auto;
}
#div-pac {
    max-width: 100%;
}

/* Hide the info panel by default */
.info-panel {
    width: 100%;
    height: 200px;
    position: fixed;
    z-index: 1;
    bottom: 0;
    background-color: white;
    overflow-x: hidden;
    transition: all 0.5s;
    padding: 20px;
    box-sizing:border-box;
    transform: translateY(100%);
    color: black;
}

/* Show the info panel */
.info-panel.open {
    transform: translateY(0);
}

.info-left {
  float: left;
  width: 300px;
}

.info-right {
  float: left;
}

.info {
    display: none;
    flex-direction: row;
    padding: 24px;
    gap: 12px;
}

.info .sidebar {
    min-width: 350px;
    max-width: 400px;
    height: 974px;
    padding: 24px;
    background: white;
    box-shadow: 0px 0px 1px rgba(9, 30, 66, 0.31);
    border-radius: 24px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    display: inline-flex;
}

.info .sidebar div.row {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    display: flex;
}

.info .sidebar div.row {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 4px;
    display: flex;
}

#location .name {
    color: #101828;
    font-size: 42px;
    font-weight: 700;
    line-height: 75px;
    word-wrap: break-word
}

.info .content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#utilization .value {
    width: 336px;
    color: #101828;
    font-size: 42px;
    font-weight: 700;
    line-height: 75px;
    word-wrap: break-word;
}

#utilization .text {
    color: #475467;
    font-size: 18px;
    font-weight: 400;
    line-height: 31.50px;
    word-wrap: break-word;
}

#location .address {
    color: #475467;
    font-size: 18px;
    font-weight: 400;
    line-height: 31.50px;
    word-wrap: break-word;
}

#scroll-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    border: 1px solid #11998e;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    padding: 0;
    transition: none;
    min-width: 100px;
    height: 40px;
    cursor: pointer;
}

#scroll-btn:hover {
    color: #fff;
    background: linear-gradient(134.11deg, #00c07a, #11998e);
}

.kpi-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 24px;
    margin-bottom: 24px;
}
.box1 {
    flex: 2;
    margin: 5px;
}
.box2 {
    flex: 1;
    margin: 5px;
}
#legend img {
    margin-left: 16px;
}
#legend-nevi img {
    margin-left: 16px;
}

@media (max-width: 1024px) {
    .kpi-container {
        flex-direction: column;
    }
}