﻿.xaf-navmenu a .xaf-nav-link {
    text-decoration: revert !important;
}

.clickable-xaf-nav-item a .xaf-nav-link {
    text-decoration: revert !important;
}

.xaf-nav-link {
    text-decoration: revert !important;
}

.dxbl-grid-command-cell .dxbl-btn-link > span {
    text-decoration: revert !important;
}

.search-editor .xaf-dx-button-image {
    mask: url(IImageService/Action_Search) !important;
    -webkit-mask: url(IImageService/Action_Search) !important;
}

.dx-toast-message {
    white-space: pre-line !important;
}

.xaf-alert-message {
    white-space: pre-line !important;
}

/* Блоки долей в карточке строки продажи (задача 5.2г): обычный текст без рамки и фона. Класс задаёт SaleLineShareBlocksController. */
.rs-plain-text,
.rs-plain-text:hover,
.rs-plain-text:focus-within {
    border-color: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.rs-plain-text input {
    background-color: transparent !important;
    padding-left: 0 !important;
}

/* Блок «Оплата» карточки продажи (задача 5.3): сумма к оплате крупно, причины красным. Классы задаёт SalePaymentDisplayController. */
.rs-payment-total,
.rs-payment-total input {
    font-size: 1.9rem !important;
    font-weight: 600 !important;
}

.rs-payment-state,
.rs-payment-state input {
    font-weight: 600 !important;
}

.rs-payment-notice,
.rs-payment-notice textarea,
.rs-payment-notice input {
    color: #a94442 !important;
}

/* Кнопки блока «Оплата» карточки продажи (задача 5.3): основная кнопка на всю ширину блока. Класс задаёт SalePaymentBlazorController. */
.rs-pay-primary {
    width: 100%;
    justify-content: center;
    padding-top: .6rem;
    padding-bottom: .6rem;
}

.dxbl-toolbar:has(.rs-pay-primary) {
    width: 100%;
    flex-wrap: wrap;
}
