html {
    scrollbar-width: thin;
}

body {
    font-family: Tahoma, Verdana, Segoe, sans-serif;
    scrollbar-width: thin;
    line-height: 1.33;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.08);
}

:root {
    --primary-color: #2B579A;
    --success-color: #98ce00;
    --border-color: #ccc;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.btn {
    display: inline-block;
    background: none;
    color: inherit;
    font: inherit;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    text-decoration: none;
    appearance: none;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: transparent !important;
    color: inherit !important;
}

p {
    margin: 0;
}

header {
    background-color: #fff;
}

main {
    background-color: #fff;
}

header span.title {
    color: #fff;
    font-size: 15px;
    line-height: 1.33;
    font-weight: 700;
    padding: 16px 24px;
    background-color:var(--primary-color);
    display: block;
    font-family: "Tahoma", sans-serif;
}

header label {
    padding: 12px 24px;
    display: block;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

header input[type="text"]:focus,
header input[type="text"]:active {
    outline: none;
    box-shadow: none;
}

header input[type="text"] {
    padding: 12px 16px;
    border: 1px solid #ccc;
    width: 100%;
    font-size: 15px;
    line-height: 1.33;
    font-family: "Tahoma", sans-serif;
}

.item-list {
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.08);
}

.item-list .item-name-btn {
    padding: 12px 16px;
    margin: 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    width: 100%;
    font-size: 15px;
    font-weight: 700;
}

.item-list .item-name-btn::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--success-color);
}

@media (hover: hover) {
    .item-list .item-name-btn:hover {
        background-color: transparent;
        color: #666;
    }

    .item-list .item-name-btn:hover .show-more-text {
        text-decoration: underline;
    }
}

.item-list > li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.item-list .grid-list > li:not(:last-child) {
    border-right: 1px solid #ccc;
}

.item-list .show-more-text {
    color:var(--primary-color);
    font-size: 13px;
    font-weight: 400;
    margin-left: auto;
}
.item-list .description {
    font-size: 13px;
    padding: 12px 16px;
}

.functions-list .func-name-btn {
    padding: 12px 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
    width: 100%;
    font-size: 15px;
}
.functions-list .func-name-btn svg {
    margin-left: auto;
}

.functions-list > li:not(:first-of-type) .func-name-btn {
    border-top: 1px solid var(--border-color);
}

.functions-list .function-content {
    padding: 0 16px;
}

.grid-list > li {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0 16px;
}
.grid-list > li:last-child {
    border-bottom: none;
}

@media (min-width: 1024px) {
    .grid-list {
        display: flex;
        gap: 16px;
    }
    .grid-list > li {
        flex: 1 1 33%;
        border-right: 1px solid var(--border-color);
        border-bottom: none;
        padding: 0 0 16px;
    }
    .grid-list > li:last-child {
        border-right: none;
    }
}

.tree-list {
    font-size: 15px;
}
.tree-list {
    font-size: 15px;
}
.tree-list .triangle-arrow {
    margin-left: auto;
}
.tree-list .name {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
    padding-right: 16px;
}
.tree-list ul {
    padding-left: 20px;
    margin-top: 12px;
}
.tree-list li {
    margin-top: 6px;
}

/* HTML: <div class="loader"></div> */
.loader {
    z-index: 999;
}

.loader::before {
    content: "";
    width: 50px;
    aspect-ratio: 1;
    --_c: no-repeat radial-gradient(farthest-side,var(--primary-color) 100%, #0000);
    background: var(--_c) top, var(--_c) left, var(--_c) right, var(--_c) bottom;
    background-size: 12px 12px;
    animation: l7 1s infinite;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    margin: -25px 0 0 -25px;
}

.loader::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .15);
}

@keyframes l7 {
    to {
        transform: rotate(.5turn)
    }
}
