.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.error-page > div {
    width: 50%;
}

.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.loader > div:first-child {
    margin-bottom: 25px;
    margin-top: -30px;
}

.loader > div:last-child {
    margin-left: -30px;
}

.kt-content.kt-subheader--enabled {
    padding-top: 75px;
}

.kt-wizard-v2__nav-item.disabled {
    cursor: not-allowed;
}

.kt-datatable__pager-link--disabled > .kt-datatable__pager-link, .kt-datatable__pager-link--disabled > .kt-datatable__pager-link:hover {
    color: #93a2dd !important;
    background: #f0f3ff !important;
    opacity: 0.3 !important;
    cursor: not-allowed;
}

.kt-portlet__body.kt-portlet__body--fit-y .kt-widget {
    margin-top: 20px;
}

.kt-widget.kt-widget--user-profile-3 .kt-widget__bottom .kt-widget__item {
    display: flex;
    align-items: center;
    flex-grow: 0;
    padding: 2rem 1.5rem 0 0;
}

.kt-widget11 .table tbody > tr > td {
    vertical-align: middle;
}

.kt-user-card-v2 .kt-user-card-v2__details .kt-user-card-v2__email {
    color: #b5b7bf;
}

.kt-datatable__body .kt-datatable__row.active {
    background: #f7f8fa;
}

.kt-datatable__body .kt-datatable__row.delete {
    background: #fff2f2;
}

.kt-datatable__body .kt-datatable__row.add {
    background: #f1f5ff;
}

.kt-todo .kt-todo__header .kt-todo__title {
    margin: 0;
    font-size: 1rem;
    padding-right: 2rem;
    font-weight: 600;
    color: #595d6e;
}

.swal-title {
    font-weight: 400;
}

  .swal-button {
    font-weight: 400;
  }

  .customTextArea {
    width: 100%;
    padding: 15px 25px;
    min-height: 300px;
    border-top: 1px solid rgb(236, 237, 242);
    border-right: none;
    border-bottom: none;
    border-left: none;
    border-image: initial;
  }

  .customTextArea:focus {
    outline: none;
  }

  .kt-inbox .kt-inbox__list .kt-inbox__items .kt-inbox__item {
    align-items: center;
    border-bottom: 1px solid #ecedf2;
}

.kt-notification .kt-notification__item:after {
    content: '';
}

.deleteIcon {
    margin-left: 25px;
}

.deleteIcon > i {
    font-size: 18px;
    line-height: 25px;
}

.deleteIcon:hover i {
    color: red;
}

.filterBlocks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.filterBlocks > div {
    margin-right: 10px;
    margin-bottom: 10px;
}

.filterBlocks > div:last-child {
    margin-right: 0;
}

.dateBlock {
    display: flex;
    align-items: center;
}

.dateBlock input {
    width: auto;
    min-width: 10ch;
    max-width: 15ch;
    display: flex;
    align-items: center;
    padding: 2px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dateBlock > div {
    margin-right: 5px;
}

.dateBlock > div:last-child {
    margin-right: 0;
}

.hrLine {
    margin: 0 0 30px;
    border-top: 1px solid #eeeef4;
}

.alItC {
    align-items: center;
}

.yaconstructor {
    border: 1px solid #e2e5ec;
    padding: 15px;
    border-radius: 5px;
}

.yaconstructor_title {
    margin-bottom: 20px;
}

.yaconstructor_info {
    margin-top: 10px;
}

.yaconstructor_info > div:first-child {
    color: #187fb1;
    margin-bottom: 10px;
}

.yaconstructor_info > div:first-child span {
    color: #74788d;
}

.yaconstructor_zone {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
}

.yaconstructor_zone > div {
    border: 1px solid #e2e5ec;
    padding: 10px 20px;
    border-radius: 3px;
    background-color: #fff;
    margin-right: 10px;
    cursor: pointer;
    margin-bottom: 5px;
}

.yaconstructor_zone > div:hover {
    background-color: #dfeef4;
}

.yaconstructor_zone > div.active_zone {
    background-color: #dfeef4;
}

.blockPush {
    display: flex;
    padding: 20px;
    flex-direction: column;
    width: 50%;
}

.blockPush > div {
    margin-bottom: 1rem;
}

.baseline-row > td {
    vertical-align: baseline !important;
}

.inner-cat > span {
    background-color: #faf1f1 !important;
}

.online-pay_block {
    padding: 20px 20px 0;
    border: 1px solid #c4e0f3;
    border-radius: 5px;
    background-color: #f7fcff;
    margin-bottom: 20px;
}

.point_status_circle{
    opacity: 0.7;
    background-color: #c4e0f3;
    width: 15px;
    height: 15px;
    border-radius: 50% !important;

    &.disabledOwn{
        background-color: #ffb822;
    }

    &.disabledDelivery{
        background-color: #ffb822;
    }

    &.disabledAll{
        background-color: #ff0000;
    }

    &.active{
        background-color: #28a745;
    }
}

.kt-menu__nav{
    &.scrolled{
        overflow-y: auto;
        overflow-x: hidden;
        height: calc(100vh - 65px);
        padding: 0px;
        &::-webkit-scrollbar {
            width: 5px;
            height: 5px;
        }
        &::-webkit-scrollbar-track {
            background: #1a1a27; 
        }
        &::-webkit-scrollbar-thumb {
            background-color: #494b74;
        }
    }
}   

.kt-menu__item{ 
    &.username{
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        padding-left: 25px !important;
        padding-right: 25px !important;
        color: #a2a3b7;
        font-weight: 400;
        font-size: 1rem;
        text-transform: initial;
    }
}

.kt-subheader {
    &.not-mt{
         margin-top: 0px !important;
         height: 55px;
    }
}

.point_add_user_checkbox-div{
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 10px;
    outline: 1px solid #c4e0f3;
    border-radius: 4px !important;
    transition: all 0.2s ease-in-out;

    &:hover{
        background-color: #c4e0f33f;
    }

    &:active{
        background-color: #c4e0f36e;
    }
}

.point_add_user_search-input{
    width: 100%;
    border: none;
    outline: none;
    padding: 0;
    background: #00000000;

    &:hover{
        border: none;
        outline: none;

        background: #00000000;
    }

    &:focus{
        border: none;
        outline: none;
        background: #00000000;
    }
}

.adduser-button{    
    height: calc(1.5em + 1.3rem + 2px);
    padding: 0.65rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 2rem;
    border: none;
    border-radius: 4px !important;
    color: #fff;
    background-color: #5867dd;
    transition: all 0.15s ease-in-out;

    &:hover{
        color: #fff;
        background-color: #384ad7;
    }

    &.showpassword{
        background-color: #5867dd;
        padding: 0.65rem 1rem !important;
        transition: all 0.3s ease-in-out;

        &.shown{
            background-color: #384ad770;
            color: #000000;
        }

        &:hover{
            background-color: #384ad7;
        }
        &:active{
            background-color: #384ad7;
        }
    }
}

.adduser-detail-button{
    cursor: pointer;
    margin-left: 5px;
    padding: 2px;
    border: none;
    color: #646c9a;    
    border-radius: 4px !important;
    transition: all 0.15s ease-in-out;
    background-color: #00000000;
    font-size: 0.9rem;

    &.showpassword{
        padding: 0px !important;
        margin: 0px !important;    
        font-size: 1rem;
    }

    &:hover{
        color: #5d78ff;
        background-color: #c4e0f33f;
    }

    &:active{
        background-color: #c4e0f36e;
    }
}
.kt-aside__brand-aside-toggler{
    transition: all 0.3s ease;
    &.closed{
        transform: rotate(180deg);
        transition: all 0.3s ease;
    }
}

.main-wrapper{
    padding-left: 65px;
}

.modal-body{
    &::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }
    &::-webkit-scrollbar-track {
        background: #f1f1f1; 
    }
    &::-webkit-scrollbar-thumb {
        background-color: #a8a8a8;
    }
}

.kt-widget17__items{
    &.grid{
        display: grid !important;
        grid-template-columns: 50% 50%;
    }
} 

.client_table-info{
    width: 140px;

    &.action{
        width: 80px;
    }

    &.status{
        width: 110px;
    }
}

.user_list-info{
    width: 450px;

    &.point{
        width: 350px;    
    }

    &.role{
        width: 250px;
    }

    &.status{
        width: 110px;
    }

    &.action{
        width: 80px !important;
    }
}
 
.kt-aside{
    &.active{
        left: 0px;        
    }
}

.kt-aside_blackout {
    position: fixed;
    right: -100vw;
    top: 0;
    width: calc(100% - 275px);
    background-color: #000000;
    opacity: 0;
    height: 100vh;
    z-index: 10001;
    transition: left 0.3s ease, right 0.3s ease;

    &.open{
        right: 0;
        opacity: 0.3;
    }
}

.dropdown-menu{
    &.dark{
        background-color: #1e1e2d;
        color: #a2a3b7;
        box-shadow: 0px 0px 10px 0px rgba(82, 63, 105, 0.15);
        padding: 5px 0px;
    }
}

.kt-nav__link-text{
    &.dark{
        color: #a2a3b7 !important;
    }
}

.kt-nav .kt-nav__item.dark.active > .kt-nav__link, .kt-nav .kt-nav__item.dark:hover:not(.kt-nav__item--disabled):not(.kt-nav__item--sub) > .kt-nav__link{
    background-color: #29293a;
}

.kt-app__aside{
    min-width: 260px;
}

.kt-datatable__cell{
    &.good_id{
        width: 95px;
    }

    &.good_preview{
        display: table-cell;
        width: 95px;
    }


    &.good_name{
        width: auto;
        min-width: 110px;
    }

    &.good_info{
        display: table-cell;
        width: 95px;
    }

    &.table_action{
        width: 155px;
    }

    &.promocodes_name{
        width: 200px;
        min-width: 200px;
    }

    &.promotions_name{
        width: 300px;
    }

    &.promocodes_status{
        width: 80px;
        min-width: 80px;
    }

    &.promocodes_status2{
        width: 120px;
    }

    &.promocodes_city{
        width: auto;
        min-width: 150px;
    }

    &.promocodes_type{
        width: 100px;
        min-width: 100px;
    }

    &.promocodes_type2{
        width: 120px;
    }

    &.promocodes_sum{
        width: 125px;
    }

    &.promocodes_action{
        width: 100px;
    }

    &.table_citites_city{
        width: 10%;
        min-width: 150px;        
        max-width: 230px;
    }

    &.table_citites_points{
        width: 30%;
        min-width: 170px;
        max-width: 470px;
    }

    &.table_citites_time{
        min-width: 120px;
    }

    &.table_citites_delivery_time{
        min-width: 120px;
    }

    &.table_citites_delivery_price{
        min-width: 150px;
    }

    &.table_citites_action{
        width: 115px;
    }

    &.table_filials_point{
        width: 30%;
        min-width: 200px;        
        max-width: 600px;
    }

    &.table_filials_delivery_time{
        min-width: 100px;
        width: 10%;
        max-width: 150px;
    }

    &.table_filials_point_status{
        width: auto;
        min-width: 185px;
    }

    &.table_filials_stop_list{
        width: 200px;
        min-width: 200px;
    }

    &.table_filials_buttons{
        min-width: 95px;
    }

    &.table_filials_action{
        width: 115px;
        min-width: 115px;
    }

    &.news{
        width: 300px;
    }

    &.news_image{
        display: table-cell;
        width: 100px;
    }

    &.slider_title{
        width: 300px;
    }

    &.yookassa_table_name{
        width: 220px;
    }

    &.yookassa_date{
        display: table-cell;
        width: 150px;
        min-width: 140px;
    }

    &.blockedphones_name{
        min-width: 100px;
        width: 10%;
        max-width: 150px;
    }

    &.blockedphones_comment{
        min-width: 100px;
        width: 80%;
        max-width: 1150px;
    }
}

.kt-nav.category{
    justify-content: space-between;
    margin-right: 10px;
    height: 100%;
}

.kt-widget__subhead.detail_good{
    display: flex;
    gap: 20px;
}

.sub_widget.detail_good{
    display: flex;
    gap: 20px;
}

.kt-inbox .kt-inbox__list .kt-inbox__items[data-type="inbox"] .kt-inbox__item[data-type="inbox"]{
    gap: 5px;
}

.kt-nav.statistic{
    justify-content: space-between;
    margin-right: 10px;
    height: 100%;
    padding: 0px !important;
}

.kt-svg-icon.kt-nav__link-icon.statistic{
    display: block;
}

.kt-grid__item.kt-grid__item--fluid.kt-grid.kt-grid--hor.padding-sidebar {
    transition: all 0.3s ease;
    @media (min-width: 1025px) {
        padding-left: 55px;
    }
}

.mobile-info-item {
    display: inline-flex;
    flex-direction: column;
    flex-shrink: 0;
    padding: 0.5rem 0.75rem;
    background: #FFFFFF;
    border: 1px solid #EBEDF3;
    border-radius: 6px;
    text-align: left;
    box-sizing: border-box;
    max-width: min(150px, 25vw);
    min-width: fit-content;
}

.mobile-info-item__label {
    font-size: calc(0.5rem + 0.5vw);
    color: #A1A5B7;
    margin-bottom: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-info-item__value {
    font-size: calc(0.7rem + 0.5vw);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.mobile-info-item__value--danger {
    color: #F64E60;
}

.mobile-info-item__value--normal {
    color: #181C32;
}

.invoice-tbody {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    table-layout: fixed;
    margin: 1.5rem 0;
    overflow: visible !important;
}

.invoice-row {
    height: 65px;
    border-bottom: 1px solid #eee;
    vertical-align: bottom;
}

.invoice-cell {
    vertical-align: bottom  !important;
    padding: 18px 4px 8px !important;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: ellipsis;
}

.invoice-select {
    position: relative;
    width: 110px;
}

.invoice-select .react-select__control {
    min-height: 110px !important;
    font-size: 13px !important;
    border-radius: 4px;
}

.invoice-select .react-select__value-container {
    padding: 0 8px !important;
}

.invoice-input {
    height: 26px;
    padding: 1px 5px;
    font-size: 11px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 95%;
    max-width: 100%;
    transition: border-color 0.15s ease-in-out;
}

.invoice-input:focus {
    border: 1px solid transparent !important;
    outline: none !important;
    box-shadow: 0 0 0 2px #9aabff;
    background-color: #fff;
}

.invoice-cell--unit {
    min-width: 40px;
    text-align: center;
}

.invoice__footer-container {
    margin-top: 1px;
    padding-top: 1rem;
}

.input-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
}

.input-caption {
    font-size: 10px;
    color: #6c757d;
    line-height: 1.2;
    white-space: nowrap;
    margin-bottom: 2px;
}


@media (min-width: 768px) {
    .invoice-cell--material { width: 28%; }
    .invoice-cell--unit { width: 7%; }
    .invoice-cell--quantity { width: 13%; }
    .invoice-cell--price { width: 13%; }
    .invoice-cell--total { width: 23%; }
    .invoice-cell--action { width: 6%; }
}

.custom-textarea {
    border: 1px solid #e2e5ec;
    box-shadow: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    padding: 10px;
    font-size: 14px;
    width: 163px;
    height: 38px;
    resize: horizontal;
    overflow: auto;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


.custom-textarea::placeholder {
    color: #808080 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: 'Roboto', sans-serif !important;
    letter-spacing: 0.05rem !important;
    opacity: 1 !important;
    font-style: normal !important;
}

.custom-textarea:focus {
    border: 1px solid #3a7bd5;
    box-shadow: 0 0 5px rgba(58, 123, 213, 0.5);
}

.custom-textarea:focus::placeholder {
    opacity: 0.6 !important;
    transition: opacity 0.3s ease;
}

.invoice-item-container {
    margin-bottom: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invoice-container-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.invoice-field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.invoice-field-label {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.invoice-input {
    width: 80px;
}

.invoice-delete-btn {
    flex-shrink: 0;
}

.info_statistic-label{
    cursor: default;
    margin-left: 5px;
    padding:    0.25rem;
    color: rgb(148, 166, 250);
    transition: all 0.15s ease-in-out;

    &:hover{
        color: #5d78ff;
    }
}

.no-number-spinner::-webkit-inner-spin-button,
.no-number-spinner::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.no-number-spinner {
  -moz-appearance: textfield;
  appearance: textfield;
}