/* Стили дашборда FRG100. */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    color: #202933;
    font-family: Arial, sans-serif;
}

.frg100-page {
    width: 100%;
    padding: 18px 20px 14px;
}

.frg100-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    border-bottom: 1px dotted #dce2ea;
}

.frg100-filter-label {
    flex: 0 0 82px;
    font-size: 13px;
    text-align: right;
}

.frg100-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.frg100-pill-label {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    cursor: pointer;
}

.frg100-pill-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.frg100-pill-text {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid #c7ced8;
    border-radius: 15px;
    background: #ffffff;
    color: #28313d;
    font-size: 13px;
    line-height: 18px;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.frg100-pill-label--selected .frg100-pill-text {
    border-color: #143f76;
    background: #143f76;
    color: #ffffff;
    box-shadow: 0 1px 3px rgb(20 63 118 / 35%);
}

.frg100-chart {
    height: 480px;
    margin-top: 22px;
}

.frg100-footer-filters {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 6px;
}

.frg100-pill-label--selected:focus-within .frg100-pill-text {
    outline: 2px solid #8eabd0;
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .frg100-page {
        padding: 12px;
    }

    .frg100-filter-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
        padding: 7px 0;
    }

    .frg100-filter-label {
        flex-basis: auto;
        text-align: left;
    }

    .frg100-footer-filters {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .frg100-chart {
        height: 390px;
    }
}
