.top-box {
        display: grid;
        grid-template-columns: 10fr 1fr 1fr;
        align-items: center;
        padding: 4px 0;
        gap: 3px;
}

/* ---- icon groups ---- */

.top-box>.icon-group-left,
.top-box>.icon-group-center,
.top-box>.icon-group-right {
        display: flex;
        height: 100%;
        background: var(--color-dark-gray);
        border-radius: 5px;
        justify-content: center;
        align-items: center;
        gap: 6px;
        padding: 3px 4px !important;
}

.top-box>.icon-group-center,
.top-box>.icon-group-right {
        padding: 0 6px;
}

/* ---- search input ---- */

.top-box .search-input {
        width: 100%;
        min-width: 10px;
        height: 100%;
        background: var(--color-dark-gray);
        border: none;
        padding: 5px 10px;
        color: #cccccc;
        font-size: 1em;
        outline: none;
}

.top-box .search-input::placeholder {
        color: #ffffff90;
        opacity: 1;
}

.top-box .search-input:focus {
        box-shadow: 0 0 6px #00bbff89;
}

/* ---- search states (ui-messages) ---- */

.top-box .search-input.search-hint::placeholder {
        color: #9ea2ad;
}

.top-box .search-input.search-warning::placeholder {
        color: #ff9f9f;
}

.top-box .search-input.search-warning {
        box-shadow: 0 0 6px rgba(255, 120, 120, 0.35);
}

.top-box .search-input.search-norm::placeholder {
        color: #9fffc7;
}

.top-box .search-input.search-norm {
        box-shadow: 0 0 6px rgba(120, 255, 194, 0.35);
}

/* ---- buttons base ---- */

.top-box button {
        background-color: var(--color-dark-gray);
        border: 1px solid var(--color-dark-gray);
        padding: 6px 12px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 14px;
        transition: all 400ms;
        background-position: center;
        background-repeat: no-repeat;
        background-size: var(--ico-size);
}

.top-box button:hover {
        border: 1px solid var(--color-gray-hover);
}

/* ---- icon buttons ---- */

.top-box .icon-btn {
        aspect-ratio: 1 / 1;
        height: var(--btn-size);
        display: flex;
        align-items: center;
        justify-content: center;
}

/* ---- button icons ---- */

.top-box .new-btn {
        background-image: url("../img/new.svg");
}

.top-box .top-btn {
        background-image: url("../img/top.svg");
}

.top-box .down-btn {
        background-image: url("../img/down.svg");
}

.top-box .copy-btn {
        background-image: url("../img/copy.svg");
}

.top-box .download-btn {
        background-image: url("../img/download.svg");
}

.top-box .del-btn {
        background-image: url("../img/del.svg");
}

.top-box .del-warning {
        background-image: url("../img/warning.svg");
}

.top-box .btn-show {
        background-image: url("../img/max.svg");
}

.top-box .btn-show-min {
        background-image: url("../img/min.svg");
}

.top-box .settings-button {
        background-image: url("../img/settings.svg");
}