/*#e9ebee*/
/* /production/LiveMonitors Style sheet */
/*#spinner::after {
    content: "";
    width: 30px;
    height: 30px;
    border: 3px dotted var(--grey-border-color);
    border-top: 3px dotted #FFF;
    border-radius: 100%;
    will-change: transform;
    animation: spin 1s infinite linear
}*/

:root {
    /*
    --portal-bg-color-start: #144466;
    --portal-bg-color-end: #1a496b;
    */
    --portal-bg-color-start: #e6e6e0;
    --portal-bg-color-end: #f3f3f3;
    --shadow-color: #00000014;
    --portal-bg-color-light: #f3f1d56b;
    --red-pdf-color: #ff0000;
}

.text-red {
    color: var(--red-pdf-color);
}

body {
    overflow: hidden;
}

#main {
    /*    width: calc(100% - 28px);
        height: calc(100% - 28px);*/
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*padding: 14px;*/
    background-color: var(--portal-bg-color-start);
    /*background-color: var(--cream-bg-color);*/
}

.float-center {
    margin: 0 auto;
}

.row {
    display: flex;
    flex-direction: row;
}

.column {
    display: flex;
    flex-direction: column;
}

.p-7 {
    padding: 7px;
}

.p-14 {
    padding: 14px;
}

.p-28 {
    padding: 14px;
}

.m-7 {
    margin: 7px;
}

.m-14 {
    margin: 14px;
}

.gap-2 {
    gap: 2px;
}

.gap-3 {
    gap: 3px;
}

.gap-5 {
    gap: 5px;
}

.gap-7 {
    gap: 7px;
}

.gap-14 {
    gap: 14px;
}

.gap-28 {
    gap: 28px;
}

.gap-56 {
    gap: 56px;
}

.border-warning {
    border: 1px dashed var(--warning-color);
    border-radius: 3px;
}

.border-danger {
    border: 1px dashed var(--danger-color);
    border-radius: 3px;
}

.border-success {
    border: 1px dashed var(--success-color);
    border-radius: 3px;
}

.border-info {
    border: 1px dashed var(--info-color);
    border-radius: 3px;
}

.border-grey {
    border: 1px dashed var(--grey-border-color);
    border-radius: 3px;
}


.border-top {
    border-top: 1px dashed var(--grey-border-color);
}

.border-bottom {
    border-bottom: 1px dashed var(--grey-border-color);
}

.btn {
    border-radius: 3px;
    padding: 14px;
    cursor: pointer;
}

.btn-success {
    background-color: var(--success-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-success:hover {
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    color: #fff !important;
}

.btn-danger {
    background-color: var(--danger-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    color: #fff !important;
}

.btn-info {
    background-color: var(--info-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-info:hover {
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    color: #fff !important;
}

.btn-warning {
    background-color: var(--warning-color);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    color: #fff !important;
}

.h-align-center {
    justify-content: center;
    margin: 0 auto;
}

.align-center {
    align-items: center;
    justify-content: center;
    /*margin: 0 auto;*/
}

.align-top {
    align-items: flex-start;
    justify-content: flex-start;
}

.align-bottom {
    align-items: flex-end;
    justify-content: flex-end;
}

.cursor-pointer {
    cursor: pointer;
}

.header {
    width: calc(100% - 14px);
    /*width: 100%;*/
    text-align: center;
    text-transform: uppercase;
    border-bottom: 1px dashed white;
    padding-top: 7px;
    padding-bottom: 7px;
}

.scroll-y {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 35px);
}

.scroll-x {
    overflow-x: auto;
    overflow-y: hidden;
    width: calc(100% - 14px);
}

.body {
    /*    width: calc(100% - 14px);
        height: calc(100% - 35px);*/
    /*    overflow-x: hidden;
        overflow-y: auto;*/
    padding: 7px;
}

.item > div {
    padding: 3px;
    text-align: center;
    border-bottom: 1px dashed #fff;
}

.task {
    /*padding: 7px;*/
    /*border: 1px dashed var(--danger-color);*/
    border-radius: 3px;
    /*width: calc(100% - 14px);*/
    width: 100%;
}

.task > .column {
    text-align: center;
    padding: 7px;
}

.task .value {
    font-size: 20px;
    width: 100%;
}

.task .title {
    font-size: 12px;
    color: var(--grey-color);
    /*border-top: 1px dashed var(--grey-border-color);*/
    width: 100%;
}

.panel {
    width: 100%;
    /*height: calc(100% - 14px);*/
    background-color: #fff;
    border-radius: 3px;
    padding: 7px;
    /*overflow-y: auto;*/
    overflow-x: hidden;
    box-shadow: 0 0 5px var(--shadow-color);

}

.portal-header {
    background: radial-gradient(circle, #424242 15%, #2d2826);
    height: 60px;
    width: 100%;
    color: var(--grey-text-color);
}

.portal-header > .logo {
    background-image: url(https://analytics.vstg.com.ua/assets/img/header_logo.svg);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 70% auto;
    width: 350px;
    height: 100%;
    margin-left: 14px;
}

.portal-header > .menu > ul {
    width: 100%;
    list-style: none;
    display: flex;
    flex-direction: row;
    height: 100%;
    margin: 0;
    padding: 0;
    /*gap: 14px;*/
    align-items: center;
    justify-content: left;
}

.portal-header > .menu > ul > li {
    cursor: pointer;
    height: 100%;
    border-left: 1px dashed var(--grey-border-color);
    transition: all 0.5s ease;
}

.portal-header > .menu > ul > li:last-child {
    border-right: 1px dashed var(--grey-border-color);
}

.portal-header > .menu > ul > li > .icon {
    margin-right: 14px;
}

.portal-header > .menu > ul > li:hover {
    background: var(--grey-border-color);
    transition: all 0.5s ease;
    color: #ffffff;
}

.portal-header > .menu > ul > li:hover .icon {
    transition: all 0.3s ease;
    color: var(--success-color);
}

.portal-header > .menu > ul > .active {
    background: var(--grey-border-color);
    transition: all 0.5s ease;
    color: #ffffff;
}

.portal-header > .menu > ul > .active .icon {
    transition: all 0.3s ease;
    color: var(--success-color);
}

.portal-header > .profile {
    align-items: center;
    padding: 14px;
    /*margin-right: 14px;*/
    /*border-left: 1px dashed var(--grey-border-color);*/
    cursor: pointer;
    /*background-color: #424242;*/
    background-color: var(--text-color);
    color: #fff;
}

.portal-header > .profile > .icon {
    margin-right: 14px;
    cursor: pointer;
    float: right;
}

.portal-body {
    /*background: radial-gradient(circle, var(--portal-bg-color-end) 15%, var(--portal-bg-color-start));*/
    background: radial-gradient(circle, var(--portal-bg-color-end) 45%, var(--portal-bg-color-start));
    height: calc(100% - 110px);
    width: calc(100% - 224px);
    overflow-y: hidden;
    margin: 0 auto;
}

.portal-footer {
    background: radial-gradient(circle, #424242 15%, #2d2826);
    height: 50px;
    width: 100%;
}

.portal-body > .content-summary {
    /*height: 20px;*/
    height: fit-content;
}


.portal-body > .content-wrapper {
    height: 100%;
    width: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
}

.portal-body .content-filter {
    padding: 14px;
    height: calc(100% - 28px);
    width: 350px;
    border-right: 1px dashed var(--grey-border-color);
}

.portal-body .content {
    height: calc(100% - 28px);
    width: calc(100% - 350px - 28px);
    padding: 14px;
    color: var(--grey-text-color);
    overflow-y: auto;
}

.portal-body .items-wrapper {
    height: fit-content;
    width: 100%;
}

.portal-body .content-filter .filter {
    width: calc(100% - 28px);
    height: calc(100% - 28px);
    list-style: none;
    /*    display: flex;
        flex-direction: row;*/

    margin: 0;
    padding: 14px;
    /*    gap: 14px;*/
    align-items: flex-start;
    justify-content: left;
    color: var(--text-color);
}

.portal-body .content-filter .filter li {
    cursor: pointer;
    padding: 9px 14px;
    transition: all 0.5s ease;
    width: calc(100% - 28px);
    align-items: center;
    border: 1px solid transparent;
}

.portal-body .content-filter .filter li span:first-child {
    margin-right: 14px;
    float: left;
}

.portal-body .content-filter .filter li span:last-child {
    padding: 3px 7px;
    background-color: var(--info-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    float: right;
}

.portal-body .content-filter .filter li:last-child {
    /*border-right: 1px dashed var(--grey-border-color);*/
}

.portal-body .content-filter .filter .delimiter {
    border-bottom: 1px dashed var(--grey-border-color);
    margin-bottom: 14px
}

.portal-body .content-filter .filter li:hover {
    /* color: #fff;*/
    transition: all 0.3s ease;
    background-color: #fff;
    border: 1px dashed var(--grey-border-color);
}

.portal-body .content-filter .filter li:hover .icon {
    /* color: #fff;*/
    transition: all 0.2s ease;
    color: var(--info-color);
}

.portal-body .content-filter .filter .active {
    background-color: #fff;
    border: 1px dashed var(--grey-border-color);
}

.portal-body .content-filter .filter .active .icon {
    color: var(--info-color);
}

.delimiter {
    pointer-events: none; /* Отключает взаимодействие с элементом */
}

/* СТИЛИ КНОПКИ ДОБАВЛЕНИЯ ПРОСЧЕТА */
.btn {
    padding: 7px 14px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-calc {
    background-color: var(--success-color);
    color: #fff;
}

.btn-add-calc:hover {
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    background-color: var(--success-color) !important;
    color: #fff !important;
}

.btn-add-calc:hover .icon {
    color: #fff !important;
}

/* СТИЛИ КНОПОК ДЕЙСТВИЙ */

.button {
    background-color: var(--info-color);
    color: #fff;
    padding: 4px 10px;
    padding-bottom: 7px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin-right: 5px;
}

.button:hover {
    opacity: 0.8 !important;
    transition: all 0.3s ease;
    color: #fff !important;
}

.button-first {
    /*    border-radius: 5px 0 0 5px;*/
}

.button-last {
    /*    border-radius: 0 5px 5px 0;*/
}

.disabled {
    background-color: var(--grey-border-color) !important;
    cursor: not-allowed !important;
    opacity: 0.5 !important;
    color: #fff !important;
}

/* СТИЛИ ДЛЯ ЭЛЕМЕНТА ПРОСЧЕТА */
.calc-item {
    background-color: #fff;
    color: var(--text-color);
    border: 1px dashed var(--grey-border-color);
    box-shadow: 1px 1px 5px var(--shadow-color);
    border-radius: 5px;
    min-height: 50px;
    padding: 7px;
    width: calc(100% - 14px);
    align-items: flex-start;
}

.calc-item .summary-item {
    border-right: 1px dashed var(--grey-border-color);
    padding: 3px 14px;
    font-size: 14px;
    align-items: center;
    height: 40px;
    cursor: pointer;
    overflow: hidden;
}

.calc-item .summary-item:last-child {
    border-right: none;
}

.calc-item .item-details {
    padding: 7px;
    padding-left: 28px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--grey-color);
    width: calc(100% - 7px - 28px);
    border-top: 1px dashed var(--grey-border-color);
    align-items: flex-start;
    text-align: left;
}

.calc-item .calc-status {
    /*padding: 2px 2px;*/
    width: fit-content;
    margin-left: 5px;
}

/* СТИЛИ ДЛЯ ЭЛЕМЕНТА ЗАКАЗА */
.order-item {
    background-color: var(--portal-bg-color-light);
    color: var(--text-color);
    border: 1px dashed var(--grey-border-color);
    box-shadow: 1px 1px 5px var(--shadow-color);
    border-radius: 5px;
    min-height: 40px;
    padding: 7px;
    width: calc(100% - 14px);
    align-items: flex-start;
}

.order-item .summary-item:last-child {
    border-right: none;
}

.order-item .summary-item {
    border-right: 1px dashed var(--grey-border-color);
    padding: 3px 14px;
    font-size: 14px;
    align-items: center;
    height: 40px;
    cursor: pointer;
    overflow: hidden;
}

.order-item .order-item-details {
    padding: 7px;
    margin-top: 14px;
    font-size: 12px;
    color: var(--grey-color);
    width: calc(100% - 21px);
    border-top: 1px dashed var(--grey-border-color);
    border-radius: 5px;
    align-items: flex-start;
    text-align: left;
    background-color: #fff;
}

/*  timeline horizontal with icons on entries*/
.timeline {
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    box-sizing: border-box;
    min-height: 180px;
}

.timeline ul {
    padding: 0;
    list-style: none;
    position: relative;
    left: -70px;
}

.timeline ul li {
    margin: 0 0 20px 0;
    padding-left: 150px;
    padding-bottom: 20px;
    position: relative;
    display: inline-block;
    border-top: 1px solid var(--info-color);
    border-left: 1px solid var(--info-color);
}

.timeline ul li:last-child {
    border-right: 1px solid var(--info-color);
}

.timeline ul li:first-child {
    border-top: 1px transparent;
    border-left: 1px transparent;
}

.timeline ul li .icon {
    background: #fff;
    border: 1px solid var(--info-color);
    color: #fff;
    display: inline-block;
    position: relative;
    left: 25px;
    top: -20px;
    width: 40px;
    height: 40px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    font-size: 16px;
    z-index: 1;
}

.timeline ul li .badge {
    width: 120px;
    border: 1px solid var(--info-color);
    background-color: #ffff;
    color: var(--grey-text-color);
    display: inline-block;
    position: absolute;
    left: 130px;
    top: 60px;
    /*    padding: 3px 7px;*/
    font-size: 12px;
    z-index: 1;
}

.timeline ul li .badge .badge-title {
    background-color: var(--info-color);
    color: #fff;
    padding: 3px 7px;
    text-align: center;
}

.timeline ul li .badge .badge-content {
    /*background-color: var(--info-color);*/
    color: var(--text-color);
    padding: 3px 7px;
    text-align: center;
}

/* поиск заказов по номеру */
.content-filter .search-orders {
    width: calc(100% - 56px);
    height: fit-content;
    list-style: none;
    margin: 0 14px;
    padding: 14px;
    align-items: flex-start;
    justify-content: left;
    color: var(--text-color);
    border: 1px dashed var(--grey-border-color);
    border-radius: 5px;
    font-size: 18px;
}

.content-filter .search-orders::placeholder {
    color: var(--grey-text-color);
}

.content-filter .search-orders:focus {
    /* background-color: #f0f8ff; !* Цвет фона при фокусе *!*/
    outline: none; /* Убираем стандартный контур */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Тень при фокусе */
    border: 1px solid var(--info-color);
}

.content-filter .clear-search {
    cursor: pointer;
    color: var(--grey-text-color);
    float: right;
    margin-top: -34px;
    margin-right: -8px;
    font-size: 20px;
    transition: all 0.3s
    ease;
    position: relative;
    top: -3px;
    right: -300px;
    width: 24px;
}
.content-filter .clear-search:hover {
    color: var(--danger-color);
    transition: all 0.3s ease;
}

.content-summary .year-selector {
    padding: 7px 28px;
    align-items: center;
    justify-content: right;
    color: var(--text-color);
    font-size: 16px;
    text-transform: uppercase;
    width: calc(350px - 32px);
    border-right: 1px dashed var(--grey-border-color);
}

.content-summary .year-selector select {
    padding: 7px 14px;
    border: 1px solid var(--grey-border-color);
    border-radius: 3px;
    background-color: #fff;
    color: var(--grey-text-color);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.content-summary .year-selector select:hover {
    border: 1px solid var(--info-color);
    transition: all 0.3s ease;
}

.content-summary .year-selector select:focus {
    outline: none; /* Убираем стандартный контур */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Тень при фокусе */
    border: 1px solid var(--info-color);
}

.content-summary .by-month-pagination-wrapper {
    padding: 7px 14px;
    align-items: center;
    justify-content: right;
    color: var(--text-color);
    font-size: 14px;
    width: calc(100% - 350px - 14px - 28px);
    background-color: #ffffff;
    border-bottom: 1px dashed var(--grey-border-color);
    box-shadow: 1px 1px 5px var(--shadow-color);
    z-index: 99;
}

.content-summary .by-month-pagination-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 7px;
    align-items: center;
    justify-content: right;
}

.content-summary .by-month-pagination-wrapper ul li {
    cursor: pointer;
    padding: 7px 14px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    border-radius: 3px;
    border-right: 1px dashed var(--grey-border-color);
}

.content-summary .by-month-pagination-wrapper ul li:last-child {
    border-right: transparent;
}

.content-summary .by-month-pagination-wrapper ul li:hover {
    border: 1px solid var(--info-color);
    background-color: #fff;
    transition: all 0.3s ease;
}

.content-summary .by-month-pagination-wrapper ul .active {
    border: 1px solid var(--info-color);
    background-color: #fff;
    transition: all 0.3s ease;
}

.content-summary .by-month-pagination-wrapper ul .disabled {
    cursor: not-allowed !important;
    /*opacity: 0.5 !important;*/
    color: var(--grey-color) !important;
    background-color: transparent !important;
    border: 1px solid transparent !important;
}

.new-calc-form {
    padding: 14px;
}

.buttons-wrapper {
    padding: 14px 0;
}

.new-calc-form input, .new-calc-form textarea {
    outline: none;
    border: 1px solid var(--grey-text-color);
    padding: 5px 10px;
    color: var(--text-color);
    transition: all 0.3s ease;
}
.new-calc-form input::placeholder, .new-calc-form textarea::placeholder {
    color: var(--grey-text-color);
}

.new-calc-form input:focus, .new-calc-form textarea:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Тень при фокусе */
    border: 1px solid var(--info-color);
    transition: all 0.3s ease;
}

.new-calc-form input:hover, .new-calc-form textarea:hover {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3); /* Тень при фокусе */
    border: 1px solid var(--info-color);
    transition: all 0.3s ease;
}

.new-calc-form input {
    font-size: 18px;
    color: var(--danger-color);
}

.summary-item .disabled {
    background: none !important;
    color: var(--grey-text-color) !important;
}

.summary-item .calc-menu {
    background: #fff;
    cursor: pointer;
    color: var(--grey-text-color);
    float: right;
    margin-top: -10px;
    margin-left: -1px;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    /* top: -3px; */
    right: 140px;
    z-index: 999;
    width: fit-content;
    padding: 7px 14px;
    border-radius: 3px;
    border: 1px dashed var(--grey-border-color);
    box-shadow: 1px 1px 5px var(--shadow-color);
}

.summary-item .calc-menu .calc-menu-item:hover {
    color: var(--info-color) !important;
    transition: all 0.3s ease;
}

.summary-item .calc-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 998;
}

.overflow-visible {
    overflow: visible !important;
}