* {
    box-sizing:                         border-box;
    margin: 						    0;
    padding: 						    0;
    -ms-touch-action:                   manipulation;
    touch-action:                       manipulation;
}

html, body {
    font-family:                        'Suisse Intl', sans-serif;
    font-weight:                        400;
    font-size:                          12px;
    line-height:                        12px;
    color:                              #07212F;
    -webkit-font-smoothing:             antialiased;
}




/* Fonts */

@font-face {
    font-family:                        'Suisse Intl';
    src:                                url('/fonts/SuisseIntl-Light.woff2') format("woff2");
    font-weight:                        300;
}

@font-face {
    font-family:                        'Suisse Intl';
    src:                                url('/fonts/SuisseIntl-Regular.woff2') format("woff2");
    font-weight:                        400;
}

@font-face {
    font-family:                        'Suisse Intl';
    src:                                url('/fonts/SuisseIntl-Book.woff2') format("woff2");
    font-weight:                        450;
}

@font-face {
    font-family:                        'Suisse Intl';
    src:                                url('/fonts/SuisseIntl-Medium.woff2') format("woff2");
    font-weight:                        500;
}

@font-face {
    font-family:                        'LCDDot TR';
    src:                                url('/fonts/LCDDot-TR.woff2') format("woff2");
    font-weight:                        400;
}



/* Components */

button {
    outline: none;
    border: none;
    background: transparent;
}

.button {
    height: 37px;
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: #07212F12;
    background: #F7F9FC;
    white-space:                        nowrap;
    cursor:                             pointer;
    text-decoration:                    none;
}

.button:hover {
    border-color: #07212F12;
    background: #E6E8EB;
}

.button.active {
    border-color: #FF5100;
    background: #FF51001A;
    color: #FF5100;
}

.button.primary {
    border-color: #F7F9FC;
    background: #FF5100;
    color: #FFFFFF;
}

.button:has(svg) {
    display: flex;
    align-items: center;
    padding: 10px 13.5px 10px 10px;
}

.button img,
.button svg {
    width: 17px;
    height: 17px;
    margin-right: 6px;
}

.button.disabled {
    opacity: .5;
    pointer-events: none;
    cursor: progress;
}

.button.back {
    width: 33px;
    height: 33px;
    border-radius: 16.5px;
    padding: 0 !important;
    margin-left: 14px;
}

.button.back svg {
    width: unset;
    height: unset;
    margin: 0 0 0 10px;
}



.label {
    padding: 6px 6.5px;
    border-radius: 2px;
    font-weight: 450;
    font-size: 11px;
    line-height: 11px;
    background: #FF5100;
    color: #F7F9FC;
}



input,
textarea,
select {
    width: 100%;
    padding: 0 14px;
    font-family: 'Suisse Intl', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    border-radius: 6px;
    border: none;
    outline: none;
    background: transparent;
    color: #07212F;
}

input {
    height: 100%;
}

select {
    height: 37px;
    padding: 0 10px;
    margin-right: 10px;
}

textarea {
    padding: 20px;
    resize: none;
    min-height: 111px;
}

input[type="date"] {
    padding-right: 14px !important;
}

.input-box {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 6px;
    border-width: 1px;
    border-style: solid;
    border-color: #07212F12;
}

.input-box:has(input) {
    height: 37px;
}

.input-box img {
    width: 17px;
    height: 17px;
    color: #07212F;
    margin-right: 6px;
}

.input-top {
    width: 100%;
}

.input-tag {
    font-size: 11px;
    line-height: 11px;
    margin-bottom: 10px;
}

.input-box.invalid {
    border-color: #FF4444;
}

.input-box:has(input:not(:placeholder-shown)) {
    outline: none;
}

.input-box:focus-within {
    outline: none;
    background: #F7F9FC;
}

.input-box.disabled,
.input-box.disabled:has(input:not(:placeholder-shown)) {
    background: #B3B6B926;
    border-color: #07212F12;
    cursor: not-allowed;
}

.input-box.disabled input,
.input-box.disabled select {
    color: #07212F73;
}

.input-box.autocomplete {
    background: #FF51001A;
}

.input-error-message {
    position:                           absolute;
    color:                              #FF4444;
    font-size:                          11px;
    top:                                110%;
}

input:-webkit-autofill {
    -webkit-box-shadow:                 none;
}

input:-webkit-autofill::first-line {
    font-family:                        'Suisse Intl', sans-serif;
    font-weight:                        400;
    font-size:                          12px;
}

::placeholder {
    color:                              #B3B6B9;
    opacity:                            1;
}

::-ms-input-placeholder {
    color:                              #B3B6B9;
}

:-ms-input-placeholder {
    color:                              #B3B6B9;
}



.inputs {
    display: grid;
    column-gap: 17px;
    row-gap: 24px;
}



.autocomplete-items {
    position: absolute;
    top: 100%;
    border: 1px solid #07212F12;
    background: #F7F9FC;
    z-index: 10;
    max-height: 342px;
    overflow-y: scroll;
    left: -1px;
    width: calc(100% + 2px);
    border-radius: 0 0 6px 6px;
}

.autocomplete-items::-webkit-scrollbar {
    display: none;
}

.autocomplete-item {
    background: transparent;
    border-radius: 0;
    height: 36px;
    padding-left: 13px;
    align-content: center;
    cursor: pointer;
}

.autocomplete-item:hover,
.autocomplete-item.autocomplete-active {
    background: #E6E8EB;
}

.input-box:has(.autocomplete-items) {
    border-radius: 6px 6px 0 0;
    border-bottom-color: transparent;
}

.input-box.select-mode input {
    cursor: pointer;
}

.input-box .select-chevron {
    position: absolute;
    right: 8px;
    width: 10px;
    height: 10px;
    pointer-events: none;
    transform: rotate(180deg);
}

.input-box.autocomplete-open .select-chevron {
    transform: rotate(0deg);
}



.loader {
    border:                             none; /* 2px solid #EEEFF040 */
    border-top:                         2px solid #07212F60;
    border-radius:                      50%;
    width:                              28px;
    height:                             28px;
    animation:                          spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.sections {
    height: fit-content;
}

.section {
    width: 100%;
    height: fit-content;
    border: 1px solid #F3F4F6;
    border-bottom: none;
    border-radius: 7px;
    background: white;
    box-shadow: 0px 1px 3px 0px #0000001A;
    margin-bottom: 17px;
}

.section .top {
    display: flex;
    align-items: center;
    padding: 0 16px;
    height: 42px;
    border-bottom: 1px solid #B3B6B933;
    letter-spacing: -0.02em;
    font-weight: 450;
}

.section .content {
    display: grid;
    padding: 28px 27px;
}

.section.title .content {
    font-weight: 500;
    font-size: 17.5px;
    letter-spacing: -0.02em;
    padding: 14px 16px 17px;
}



.multiselect {
    margin-bottom: 28px;
}

.multiselect-top {
    display: flex;
    align-items: center;
    border: 1px solid #EEEFF0;
    border-radius: 6px;
    cursor: pointer;
    padding: 10px 8.5px 10px 14px;
    min-height: 41px;
}

.multiselect-top img {
    width: 10px;
    margin-left: auto;
}

.multiselect.open .multiselect-top {
    border-radius: 6px 6px 0 0;
    border-bottom: none;
    min-height: 40px;
}

.multiselect:not(.open) .multiselect-top img {
    transform: rotate(180deg);
}

.multiselect-overview {
    display: flex;
    align-items: center;
    column-gap: 7px;
    row-gap: 7px;
    flex-wrap: wrap;
}

.multiselect-overview-item {
    border-radius: 2px;
    padding: 4px 3.5px 3px;
    background: #FF5100;
    color: white;
    font-weight: 450;
    font-size: 11px;
    line-height: 11px;
    white-space: nowrap;
}

.multiselect-list {
    display: none;
}

.multiselect.open .multiselect-list {
    display: block;
}

.multiselect-list .item {
    display: grid;
    grid-template-columns: auto 1fr 35px;
    grid-template-rows: auto;
    border-bottom: 1px solid #B3B6B933;
}

.multiselect-list .item:first-child {
    border-top: 1px solid #B3B6B933;
}

.multiselect-list .item:not(.selected):has(+ .selected) {
    border-bottom: none;
 }

.multiselect-list .item.selected {
    background: #FFB49340;
}

.multiselect-list .item.selected:not(.selected + .item.selected) {
    border-top: 1px solid #B3B6B933;
}

.multiselect-list .item input {
    padding: 0 11px;
    height: 34px;
    border-right: 1px solid #B3B6B933;
    color: #07212F;
    border-radius: 0;
}

.multiselect-list .item input.input-label {
    pointer-events: none;
    color: #707D84;
}

.multiselect-list .item.custom input.input-label {
    pointer-events: unset;
}

.multiselect-list .item:not(.custom) .input-price,
.multiselect-list .item:not(.custom):not(:has(.input-price)) .input-label {
    border-right: none;
}

.multiselect-list .item.selected input.input-label {
    color: #07212F;
}

.multiselect-list .item .checkbox {
    width: 35px;
    height: 34px;
    border: 1px solid #B3B6B933;
    border-top: none;
    border-bottom: none;
    cursor: pointer;
}

.multiselect-list .item .checkbox img {
    width: 12px;
    height: 12px;
    margin: 11px;
    content: url('/icons/checkbox-unchecked.svg');
}

.multiselect-list .item.selected .checkbox img {
    content: url('/icons/checkbox-checked.svg');
}

.multiselect-list .item .delete {
    width: 34px;
    height: 34px;
    padding: 8px;
    cursor: pointer;
    border-right: 1px solid #B3B6B933;
}

.multiselect-list .item .delete:hover {
    opacity: .5;
}

.multiselect-list .item .no-delete {
    border-right: 1px solid #B3B6B933;
    height: 100%;
}

.multiselect:has(.input-price) .multiselect-list .item {
    grid-template-columns: auto 1fr 1fr 35px;
}

.multiselect-list-add-item {
    border: 1px solid #EEEFF0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    height: 35px;
    display: none;
    align-items: center;
}

.multiselect-list-add-item input {
    height: 34px;
    padding: 0 15px;
}

.multiselect-list-add-item .loader {
    display: none;
    margin-left: auto;
    margin-right: 15px;
    width: 18px;
    height: 18px;
}

.multiselect-list-add-item.loading input {
    opacity: .5;
    pointer-events: none;]
    disable: true;
}

.multiselect-list-add-item.loading .loader {
    display: block;
}

.multiselect.open .multiselect-list-add-item {
    display: flex;
}



.timeline {
    padding-left: 33px;
    white-space: nowrap;
}

.timeline-date {
    display: flex;
    align-items: center;
    font-weight: 450;
    border-left: 1px solid #07212F12;
    padding-left: 20px;
    padding-bottom: 21px;
    padding-top: 11px;
}

.timeline-date.first {
    border-left: 1px solid transparent;
    padding-top: 0;
}

.timeline-date span {
    margin-right: 14px;
}

.timeline-date .separator {
    height: 1px;
    width: 100%;
    background: #07212F12;
}

.timeline-item {
    position: relative;
    border-left: 1px solid #07212F12;
    padding-left: 20px;
    padding-bottom: 10px;
}

.timeline-item .dot {
    position: absolute;
    margin-left: -6px;
    width: 11px;
    height: 11px;
    top: 0;
    left: 0;
}

.timeline-item .wrap {
    height: 63px;
    display: grid;
    grid-auto-columns: auto 1fr;
    grid-auto-flow: column;
    align-items: center;
    border: 1px solid #07212F0F;
    border-radius: 0 7px 7px 7px;
    padding: 0 19px 0 14px;
}

.timeline-item .wrap .avatar,
.timeline-item .wrap .no-avatar {
    margin-right: 12px;
    width: 35px;
    height: 35px;
    border-radius: 17.5px;
}

.timeline-item .wrap .no-avatar {
    border: 1px solid #B3B6B959;
    background: #F7F9FC;
    font-size: 19px;
    line-height: 100%;
    text-align: center;
    padding-top: 9px;
}

.timeline-item .wrap-top {
    align-items: center;
    display: flex;
    padding-top: 2px;
    padding-bottom: 7px;
}

.timeline-item .wrap-top .action {
    font-weight: 450;
    color: #080A0B;
}

.timeline-item .wrap-top .time {
    font-size: 11px;
    line-height: 11px;
    margin-left: auto;
}

.timeline-item .wrap-bottom {
    height: 13px;
    display: flex;
    align-items: center;
}

.timeline-item .wrap-bottom .name {
    font-weight: 300;
    font-size: 11px;
    line-height: 100%;
}

.timeline-item .wrap-bottom .label {
    border-radius: 2px;
    padding: 3px 2px 2px;
    margin-left: 5px;
    font-weight: 450;
    font-size: 9px;
    line-height: 9px;
}



.table {
    border-radius: 7px;
    border: 1px solid #F3F4F6;
}

.table .headers,
.table .row {
    display: grid;
    border-bottom: 1px solid #B3B6B933;
}

.table .header,
.table .cell {
    white-space: nowrap;
    text-overflow: ellipsis;
    border-right: 1px solid #B3B6B933;
}

.table .header.last,
.table .cell.last {
    border-right: none;
}

.table .header {
    display: flex;
    align-items: center;
    padding-left: 16px;
    height: 46px;
    font-size: 11px;
    font-weight: 450;
    color: #101828;
}

.table .header svg {
    width: 12px;
    height: 12px;
    margin-right: 7px;
    color: black;
}

.table .cell {
    display: grid;
    align-items: center;
}

.table .row:last-child {
    border-bottom: none;
}

.table .cell:has(.button.icon) {
    padding: 0 10px;
}

.table .cell .button.icon {
    width: 32px;
    height: 32px;
    padding: 0;
}

.table .cell .button.icon svg {
    width: 16px;
    margin: auto;
}

.table .input-box {
    height: 100%;
    width: 100%;
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.table .input-box input {
    height: 52px;
    width: 100%;
    border: none;
    outline: none;
    padding: 0 0 0 16px;
}

.table + .add-item {
    margin-top: 21px;
    width: fit-content;
}

.table + .add-item .loader {
    display: none;
    width: 17px;
    height: 17px;
    margin-right: 6px;
}

.table .autocomplete-item {
    height: 52px;
    padding: 0 16px;
}



#message-popup {
    position:                               fixed;
    z-index:                                100;
    margin-top:                             21px;
    width:                                  fit-content;
    place-self:                             start center;
    border-radius:                          10px;
    padding:                                21px 35px;
    border:                                 2px solid #FFFFFF88;
}

#message-popup.success {
    opacity:                                0;
    background:                             linear-gradient(45deg, #B1FFC3, #DAFF8C, #B1FFC3, #DAFF8C);
    background-size:                        400% 400%;
    animation:                              gradient 6s ease infinite, fade-in-and-out 10s ease;
}

@keyframes gradient {
    0% {
        background-position: 0% 25%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 75%;
    }
}

@keyframes fade-in-and-out {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    60% {
        opacity: 0;
    }
}



.no-select{
    -webkit-tap-highlight-color:        transparent;
    -webkit-touch-callout:              none;
    -webkit-user-select:                none;
    -khtml-user-select:                 none;
    -moz-user-select:                   none;
    -ms-user-select:                    none;
    user-select:                        none;
}





/* Frame */

#frame {
    position:                           absolute;
    height:                             100%;
    width:                              100%;
    top:                                0;
    bottom:                             0;
    overflow-y:                         hidden;
}

#app {
    display: grid;
    grid-area: app;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas: "menu top" "menu content";
    height:                             100%;
    width:                              100%;
    overflow:                           hidden;
    background: #F7F9FC;
}

#app:has(#tabs) {
    grid-template-areas: "menu top" "menu tabs" "menu content";
    grid-template-rows: auto auto 1fr;
}

#app::-webkit-scrollbar {

}



#top {
    grid-area: top;
    display: flex;
    align-items: center;
    width: 100%;
    height: 61px;
    box-shadow: 0px 1px 3px 0px #0000001A;
    background: #FFFFFF;
}

#top .page-title {
    font-weight: 450;
    font-size: 21px;
    line-height: 110%;
    letter-spacing: -0.02em;
    margin-left: 21px;
}

#top:has(.button.back) .page-title {
    margin-left: 14px;
}

#top .label {
    margin-left: 10px;
    padding: 5.5px 5.5px 4.5px 5.5px;
    color: white;
}

#top #actions {
    margin-left: auto;
    margin-right: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#top:has(+ #tabs) {
    box-shadow: none;
}



#tabs {
    display: flex;
    align-items: center;
    height: 36px;
    border-top: 1px solid #B3B6B933;
    padding: 0 16px;
    box-shadow: 0px 1px 3px 0px #0000001A;
    background: #FFFFFF;
    z-index: 10;
}

#tabs .tab {
    display: flex;
    align-items: center;
    height: 27px;
    padding: 0px 8.5px 0 5px;
    font-weight: 450;
    cursor: pointer;
    margin: 0 4px 0 0;
}

#tabs .separator {
    width: 1px;
    height: 25px;
    background: #07212F12;
    margin: 0 4px 0 0;
}

#tabs .tab:hover,
#tabs .tab.active {
    background: #FF51001A;
    color: #FF5100;
}

#tabs .tab span {
    padding-top: 1px;
}

#tabs svg {
    height: 17px;
    width: 17px;
    margin-right: 6px;
}



#menu {
    grid-area: menu;
    height: 100%;
    box-shadow: 0px 1px 3px 0px #0000001A;
    background: #07212F;
}

#menu #logo {
    width: 37px;
    height: 37px;
    margin: 14px;
    padding: 9px;
    background: #FF5100;
    border-radius: 7px;
    cursor: pointer;
}

#menu .item,
#menu .logout {
    width: 41px;
    height: 41px;
    border-radius: 20.5px;
    background: transparent;
    cursor: pointer;
}

#menu .item {
    margin: 0 12px 7px;
}

#menu .item svg {
    fill: white;
}

#menu .item.active,
#menu .item:hover,
#menu .logout:hover {
    background: #F7F9FC40
}

#menu .logout {
    color: white;
    position: absolute;
    bottom: 0;
    margin: 12px;
}



#content {
    grid-area: content;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
}

#content::-webkit-scrollbar {
    display: none;
}



#no-mobile {
    display:                            none;
    grid-template-columns:              1fr;
    grid-template-rows:                 1fr;
    height:                             100%;
    width:                              100%;
    place-items:                        center;
    background:                         #07212F;
    padding:                            28px;
}

#no-mobile span {
    color: white;
    font-size: 24px;
    line-height: 125%;
}



@media only screen and (max-width: 720px) {

    #app {
        display: none;
    }

    #no-mobile {
        display: grid;
        align-items: center;
    }
}
