.save-icon {
    background-image: url(../img/icon-save.png) !important;
}

.close-icon {
    background-image: url(../img/icon-close.png) !important;
}

.add-icon {
    background-image: url(../img/icon-add.gif) !important;
}

.edit-icon {
    background-image: url(../img/icon-edit.png) !important;
}

.del-icon {
    background-image: url(../img/icon-del.gif) !important;
}

.info-icon {
    background-image: url(../img/icon-info.png) !important;
}

.ok-icon {
    background-image: url(../img/icon-ok.png) !important;
}

.cancel-icon {
    background-image: url(../img/icon-cancel.png) !important;
}

.checked-icon {
    background-image: url(../img/icon-checked.gif) !important;
}

.uncheckedchecked-icon {
    background-image: url(../img/icon-unchecked.gif) !important;
}

.refresh-icon {
    background-image: url(../img/icon-refresh.gif) !important;
}

.filter-icon {
    background-image: url(../img/icon-filter.png) !important;
}

.act-icon {
    background-image: url(../img/icon-act.png) !important;
}

.sort-icon {
    background-image: url(../img/icon-sort.png) !important;
}

.docs-icon {
    background-image: url(../img/icon-docs.png) !important;
}

.excel-icon {
    background-image: url(../img/icon-excel.png) !important;
}

.summoney-icon {
    background-image: url(../img/icon-summoney.png) !important;
}

.report-icon {
    background-image: url(../img/icon-report.png) !important;
}

.report-item-icon {
    background-image: url(../img/icon-item_report.png) !important;
}

.file-import-duplicate {
    background-image: url('../img/icon-warning.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 14px 14px;
}

.module-note-ico {
    background-image: url(../img/note_48x.png);
    background-repeat: none;
    border: 0 none;
    height: 48px;
    width: 48px;
}

.k-settings-settings .thumb-wrap {
    cursor: pointer;
    float: left;
    margin: 8px 0 0 8px;
    text-align: center;
}

.k-settings-settings .thumb {
    background-position: center center;
    background-repeat: no-repeat;
    padding: 2px;
}

.k-settings-settings .x-view-over {
    background-color: #f1f1f1;
}

.vertical-center {
    height: 100%;
    display: flex;
    align-items: center;
}

.align-right div.x-form-item-body .x-form-display-field {
    float: right;
}

.rate-cell div.x-form-item-body .x-form-display-field {
    padding: 4px 7px 7px 7px;
}

.rate-cell {
    gap: 10px;
}

.dc-modal-container__title--lg {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dc-modal-container__title--m {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dc-modal-container__title--sm {
    font-size: 12px;
    font-weight: bold;
}

.order-import-grid-cell-with-select .x-grid-cell-inner {
    padding: 2px 0 0 6px !important;
}

.deal-tab-custom-tbar .x-toolbar:first-of-type .x-box-inner {
    min-height: 32px;
    height: auto !important;
}

.settings-lk__form .x-panel-body .x-box-inner .x-form-cb-wrap {
    padding-top: 0 !important;
}

.custom-checkbox-label {
    display: inline-block;
    width: 150px;
    text-align: left;
}

.fi1c-custom-tooltip {
    max-width: 400px;
    min-width: 250px;
    white-space: normal; /* Разрешить перенос строк */
    word-wrap: break-word; /* Разрешить перенос длинных слов */
    overflow-wrap: break-word; /* Гарантирует перенос слов */
    padding: 5px;
}

.custom-tooltip {
    max-width: 400px;
    white-space: normal; /* Разрешить перенос строк */
    word-wrap: break-word; /* Разрешить перенос длинных слов */
    overflow-wrap: break-word; /* Гарантирует перенос слов */
    padding: 5px;
}

.task-grid__custom-tooltip {
    max-width: 400px;
    min-width: 150px;
    white-space: normal;
    word-wrap: break-word;
}

.task-grid-selected-row.task-row-green,
.task-grid-selected-row.task-row-pink .x-grid-cell {
    background-color: #fff !important;
}

.task-row-green .x-grid-cell {
    background-color: #f6fcf6 !important;
}

.task-row-pink .x-grid-cell {
    background-color: #fdf6f6 !important;
}

.header-yellow-bg .x-column-header-inner {
    background: #fbfbbc !important;
}

.header-green-bg .x-column-header-inner {
    background: #dffcdf !important;
}

.handling-grid__custom-tooltip {
    min-width: 300px;
    max-width: 400px;
    white-space: normal;
    word-wrap: break-word;
}

#logPanel-body .x-grid {
    width: 100% !important;
}

#calcPanel-body .x-grid {
    width: 100% !important;
}

#calcPanel__logArea textarea {
    padding: 10px;
}

.transp-filter-panel__body .x-panel-body {
    background-color: #dfe9f6;
}

.tasks-panel__body .x-panel-body {
    background-color: #fff;
}

@-moz-document url-prefix() {
    .fixed-width-panel {
        left: 0 !important;
        margin-left: 0 !important;
    }
}

#auth-container .x-border-layout-ct {
    background-color: #e0e0e0;
}

#auth-container .x-panel-header-default {
    border-color: #d0d0d0;
    background-color: #d7d2d2;
    background-image: -webkit-linear-gradient(top, #f0f0f0,#d7d7d7);
}

#auth-container .x-panel-body-default {
    border-color: #d0d0d0;
}

.download-cell a {
    color: #1a0dab !important;
    text-decoration: underline;
}

.download-cell a:visited {
    color: #1a0dab !important;
}

.offer-history-tooltip {
    max-width: 500px;
    min-width: 300px;
    white-space: normal;
    word-wrap: break-word;
}

.coords-window__check {
    padding: 16px;
    min-height: 90px;
    border-radius: 6px;
    background: rgba(28, 92, 94, 0.08);
}

.coords-window__check-title {
    font-size: 13px;
    margin-bottom: 4px;
}

.coords-window__check-title--positive {
    color: #21ba45;
}

.coords-window__check-title--negative {
    color: rgb(250, 75, 75);
}

.coords-window__check-address {
    font-size: 14px;
    margin-top: 2px;
}

.coords-window__check-hint {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

.coords-window__check-text {
    font-size: 11px;
    color: #777;
}
.coords-window__check--found { border-left: 4px solid #21ba45; padding-left: 8px; }
.coords-window__check--notfound { border-left: 4px solid #f9a825; padding-left: 8px; }
.coords-window__check--error { border-left: 4px solid rgb(250, 75, 75); padding-left: 8px; }
.coords-window__check--empty { padding-left: 8px; }

.address-with-coords-wrap {
    position: relative;
}

.address-with-coords-wrap .icon-pin--positive,
.address-with-coords-wrap .icon-pin--negative {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.address-with-coords-wrap .icon-pin--positive {
    background-color: #21ba45;
}

.address-with-coords-wrap .icon-pin--negative {
    background-color: rgb(250, 75, 75);
}

.address-with-coords-wrap .x-form-text {
    padding-left: 18px !important;
}

.fi1c-row-failed td {
    background-color: #f5c8c8 !important;
}

.fi1c-row-failed.x-grid-row-selected td {
    background-color: #e97474 !important;
}

.download-cell-icon {
    cursor: pointer;
    background-position: center;
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'>\
<path d='M12 3v10m0 0l-4-4m4 4l4-4' stroke='%230000EE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\
<path d='M4 17v2a2 2 0 002 2h12a2 2 0 002-2v-2' stroke='%230000EE' stroke-width='2' stroke-linecap='round'/>\
</svg>");
}

.download-cell-icon:hover {
    cursor: pointer;
}

.ui-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    min-width: 280px;
    max-width: 560px;
    padding: 12px 14px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    z-index: 99999;
    color: #fff;
}

.ui-toast--success { background: #2e7d32 }
.ui-toast--danger  { background: #c62828 }
.ui-toast--info    { background: #1976d2 }
.ui-toast--warning { background: #ed6c02 }

.ui-toast__content {
    flex: 1;
}

.ui-toast__text {
    font-size: 14px;
    line-height: 1.4;
}

.ui-toast__actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.ui-toast__action {
    background: rgba(255,255,255,.15);
    border: 0;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.ui-toast__close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.mm-toggle {
    position: absolute;
    right: 5px;
    top: 10px;
    transform: translateY(-50%);

    width: 12px;
    height: 12px;

    cursor: pointer;
    user-select: none;
    pointer-events: auto;

    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.mm-toggle:hover {
    filter: brightness(0.85);
}

.mm-plus {
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='11' fill='white' stroke='%232e7d32' stroke-width='2'/>\
<line x1='12' y1='7' x2='12' y2='17' stroke='%232e7d32' stroke-width='2' stroke-linecap='round'/>\
<line x1='7' y1='12' x2='17' y2='12' stroke='%232e7d32' stroke-width='2' stroke-linecap='round'/>\
</svg>");
}

.mm-minus {
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>\
<circle cx='12' cy='12' r='11' fill='white' stroke='%232e7d32' stroke-width='2'/>\
<line x1='7' y1='12' x2='17' y2='12' stroke='%232e7d32' stroke-width='2' stroke-linecap='round'/>\
</svg>");
}

.x-grid-cell.mm-parent-expanded .x-grid-cell-inner {
    background: #dbeafe;
    font-weight: 600;
    border-radius: 4px;
}

.x-grid-cell.mm-child-of-expanded .x-grid-cell-inner {
    background: #e8f1ff;
    font-weight: normal;
    border-radius: 4px;
}
