﻿@media (max-width: 767px) {
    html, body {
        overflow-x: hidden;
    }
}


.radar-actions {
    text-align: center;
}



    .radar-actions #apply {
        border: 1px solid #6868e800;
        border-radius: 15px;
        background-color: #5c89e8;
        color: #ffffff;
        min-width: 100px;
    }

    .radar-actions #cancel {
        border: 1px solid #3131311c;
        border-radius: 15px;
        background-color: #5c89e840;
        color: #9595955c;
        min-width: 100px;
    }

    .job-filter {
        width: 100%;
    }

    /* SMART PANEL */
    .smart-panel {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px;
    }

.filter-chip {
    padding: 8px 12px;
    border-radius: 20px;
    background: #a2a2a261;
    border: 1px solid #dddddd;
    cursor: pointer;
    white-space: nowrap;
}

        .filter-chip.active {
            background: #4c7dff;
            color: #ffffff;
        }

    /* RADAR */

    .radar-modal {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        display: none;
        align-items: center;
        justify-content: center;
        overflow: hidden; /* важно */
        padding: 12px;
    }

        .radar-modal.open {
            display: flex;
            z-index: 999999999999999;
            overflow: hidden;
        }

@media (min-width: 768px) {
    .smart-toolbar {
        display: flex;
        margin-left: 15px;
    }

    .radar-box {
        background: #151821;
        padding: 20px 0px;
        border-radius: 12px;
        width: 450px;
        max-width: 450px;
        height: auto;
    }
    .radar-svg {
        width: 400px;
        height: auto;
        aspect-ratio: 1 / 1;
        display: block;
        margin: 0px 0px 0px 25px;
    }

    .smart-toolbar .radar-btn {
        width: 40px;
        height: 40px;
        margin: 11px 0px -5px 0px;
        padding: 0px;
        color: #ffffff;
        /* background-image: url(/img/radar.png); */
        /* background-repeat: no-repeat; */
        /* background-position: center; */
        /* background-size: contain; */
        border-radius: 100px;
        background-color: #4c7dff;
        border: 1px solid #63636300;
    }
}

@media (max-width: 767px) {
    .smart-toolbar {
        display: flex;
        padding-left: 10px;
    }

    .radar-box {
        background: #151821;
        padding: 20px 0px;
        border-radius: 12px;
        max-width: 99vw;
        max-height: 95vh;
        /* overflow: hidden; */
    }
    
    .radar-svg {
        width: min(400px, 100vw);
        height: auto;
        max-width: 100vw;
        aspect-ratio: 1 / 1;
        display: block;

    }

    .smart-toolbar .radar-btn {
        width: 85px;
        height: 40px;
        margin: 11px 0px -5px 0px;
        padding: 0px;
        color: #ffffff;
        /* background-image: url(/img/radar.png); */
        /* background-repeat: no-repeat; */
        /* background-position: center; */
        /* background-size: contain; */
        border-radius: 100px;
        background-color: #4c7dff;
        border: 1px solid #63636300;
    }
}


    

    button {
        margin-top: 10px;
        padding: 8px 12px;
    }


    .radar-svg,
    .smart-panel,
    .filter-chip,
    .radar-box {
        user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
    }

    .radar-svg {
        touch-action: none;
    }
