/* Кастомный комбобокс */
.custom-form-select {
    padding: 0;
    height: 38px;
}

.custom-form-select .ts-control {
    border: none;
    background: none !important;
}

.custom-form-select .ts-control::after {
    display: none !important;
}

.custom-form-select .ts-control .item {
    white-space: nowrap;
}

.custom-form-select .ts-control .item + input[type='text'] {
    display: none !important;
}
/**/

/* Иконки действий 16×16 */
.icon-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    text-decoration: none;
    color: #0d6efd;
}

.icon-button:hover {
    color: #0a58ca;
}

.icon-button svg,
.icon-button .icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.icon-button.text-danger {
    color: #dc3545;
}

.icon-button.text-danger:hover {
    color: #bb2d3b;
}

.icon-button.restore {
    color: green;
}

.icon-button.restore:hover {
    color: darkgreen;
}

.d-inline-flex > form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
}

.icon-button-excel {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #107C41;
}

.icon-button-excel:hover {
    color: #0b5c32;
}

.icon-button-excel a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    text-decoration: none;
    color: inherit;
}

.icon-button-excel .excel-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.btn.add-button {
    display: inline-flex;
    align-items: center;
}

.add-button__plus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    height: 1.125rem;
    margin-right: 0.45rem;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

.edit-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.edit-link-button svg,
.edit-link-button .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Pile specification */
.pile-specification-create_wrapper {
    max-width: 800px;
}

.pile-specification-list_wrapper {
    max-width: 1200px;
}

.object-setting-wrapper {
    max-width: 400px;
}

/* PileField */
.pile-field_wrapper {
    max-width: 1200px;
}

#loading-indicator {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 5px;
    z-index: 9999;
}
#loading-indicator img,
#loading-indicator span {
    width: 100px;
    height: auto;
}
