html,
body {
    height: 100%;
    margin: 0;
    padding: 0;

    font-family: 'Inter', sans-serif;
    background-color: black;
    max-height: 100vh;
}


* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#root>div {
    height: 100%;
}

#main {

    overflow: hidden;
}

.bg-main {
    background-color: #000000;
}

.col {

    background-color: #121c31;
    padding: 15px;
}


.header {

    background: #111827;
    color: white;
    flex-shrink: 0;
}

.bg-component {
    background-color: #111827;
    border-radius: 8px;
    border: 1px solid #2a2f3a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    flex: 1;
    transition: all .1s ease;
}



.scroll-bar {
    flex: 1;
    min-height: 0;
    height: 100%;
}


.legend-direction {
    display: flex;

    flex-direction: row;
}

.segmented-responsive {
    display: flex;
    direction: row;
}

.card-file-lidar {

    display: flex;
    flex-wrap: nowrap;
    width: auto;

}

.action-component-lidar-file {
    display: flex;
    flex-direction: column;
}

.show-button {
    display: flex;
}

.hidden-button {
    display: none;
}

.container-cards-metrics {

    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 4px;
    padding: 12px;

}

.cards-legend-charts {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 12px;

    background: #111c2d;

}

.clear-all-text {

    font-size: 10pt;
    color: #868e96;
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid #868e96;

}

.clear-all-text:hover {
    color: #fa5252;
    border-bottom: 1px solid #fa5252;
}

@media (max-width: 1520px) {

    .btn-text {
        display: none;
    }

    .btn-icon {

        display: flex;
    }
}

@media (max-width: 1400px) {

    .container-cards-metrics {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 4px;
        gap: 2px;
    }


}



@media (max-width: 860px) {

    #home {
        flex-direction: column;
        height: auto !important;
        max-height: none !important;
        overflow-y: auto;
    }


    #map-col {
        height: 400px !important;
        max-height: 400px !important;
        width: 100% !important;
        flex: none !important;
    }

    #filters-col,
    #analyses-col {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }

    #analyses-col>*,
    #map-col>* {
        flex: none !important;
    }
}


@media (max-width: 1250px) {

    .legend-direction {
        display: flex;
        flex-direction: row;
    }


}

@media (max-width: 1460px) {

    .segmented-responsive {
        display: flex;
        flex-direction: column;
    }

    .card-file-lidar {

        display: flex;
        flex-wrap: wrap;

    }

    .action-component-lidar-file {

        display: flex;
        flex-direction: row;

    }

}

/* Notebook menor */
@media (max-width: 1600px) {
    .segmented-responsive .mantine-SegmentedControl-label {
        font-size: 7.5pt !important;
    }

    .segmented-responsive .mantine-SegmentedControl-control {
        min-height: 24px !important;
    }

    .segmented-responsive .mantine-SegmentedControl-innerLabel {
        font-size: 8pt !important;
    }
}

/* Tablets / notebooks pequenos */
@media (max-width: 1366px) {
    .segmented-responsive .mantine-SegmentedControl-label {
        font-size: 7pt !important;
    }

    .segmented-responsive .mantine-SegmentedControl-control {
        min-height: 22px !important;
    }

    .segmented-responsive .mantine-SegmentedControl-innerLabel {
        font-size: 7.5pt !important;
    }
}

/* Telas pequenas */
@media (max-width: 1024px) {
    .segmented-responsive .mantine-SegmentedControl-label {
        font-size: 6.5pt !important;
    }

    .segmented-responsive .mantine-SegmentedControl-control {
        min-height: 20px !important;
    }

    .segmented-responsive .mantine-SegmentedControl-innerLabel {
        font-size: 7pt !important;
    }
}


@media (max-width: 1200px) {
    .checkbox-responsive .mantine-Checkbox-label {
        font-size: 12px !important;
    }

    .checkbox-responsive .mantine-Checkbox-input {
        width: 16px !important;
        height: 16px !important;
    }
}

@media (max-width: 768px) {
    .checkbox-responsive .mantine-Checkbox-label {
        font-size: 10px !important;
    }

    .checkbox-responsive .mantine-Checkbox-input {
        width: 12px !important;
        height: 12px !important;
    }
}

.lidar-tooltip {
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    backdrop-filter: blur(4px) !important;
}

.lidar-tooltip>div:first-child {
    color: #2b85da !important;
    /* Verde claro */
    border-bottom: 1px solid #2b85da !important;
}