@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body, html {
    height: 100%;
}
body {
    user-select: none;
    font-family: "Inter", sans-serif;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
}
p {
    margin: 0;
}
.main-container {
    height: 100%;
}
.sidebar {
    width: 310px;
    height: 100%;
    float: left;
    transition: 0.2s;
}
.page-content {
    width: calc(100% - 380px);
    float: right;
    height: calc(100% - 40px);
    overflow-y: scroll;
    padding: 20px;
    transition: 0.2s;
}
.inpage-content {
    transition: 0.2s;
}

.buttons {
    margin-top: 10px;
    margin-bottom: 30px;
}
.buttons div {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 14px;
    padding-bottom: 10px;
    font-size: 16px;
    border-radius: 8px;
    transition: 0.2s;
}
.buttons div:hover {
    background: #f5f5f5;
}
.buttons div .right {
    float: right;
    width: calc(100% - 30px);
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.buttons div p[green] {
    color: rgb(22, 161, 115);
}
/*.buttons div[green] p[green] {
    color: white;
}
.buttons div[green] {
    background-color: #16A173;
    color: white;
}
.buttons div[green] svg path {
    fill: white;
}
.buttons div[green]:hover {
    background-color: #198360;
}*/

.buttons div[green] {
    background-color: #FFFFDE;
    color: black;
}
.buttons div[green]:hover {
    background-color: #f1f1d3;
}

.button-info {
    margin-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 14px;
    padding-bottom: 10px;
    font-size: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.button-info .right {
    width: calc(100% - 30px);
    margin-left: 10px;
}
.button-info .right p {
    text-overflow: ellipsis;
    white-space: nowrap;
}
.button-info .right .desc {
    color: #00000085;
}

.bars {
    display: flex;
    margin-top: 40px;
    border-bottom: 1px solid #e6e6e675;
}
.page-content p.title {
    font-size: 48px;
    font-weight: 600;
}
.bars div {
    padding: 12px 0px;
    margin-right: 30px;
    font-weight: 500;
    color: #00000073;
    transition: 0.2s;
    border-bottom: 2px solid white;
}
.bars div:hover {
    color: #000000a3;
}
.bars div[selected] {
    border-bottom: 2px solid #b0d2c7;
    color: black;
}

.table-container {
    padding: 20px;
    margin-top: 20px;
    background: #FEFEF6;
}

table {
    background: white;
    padding: 20px;
    font-size: 14px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    table-layout: fixed;
    padding-bottom: 20px;
}
tbody th {
    text-align: left;
}
tbody tr:first-child {
    border-top: none;
}
tbody tr {
    border-top: 1px solid #e6e6e675;
}
tbody td, tbody th {
    padding: 15px 30px;
}
tbody td:first-child, tbody th:first-child {
    padding-left: 0px;
}

::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}
::-webkit-scrollbar-corner {
    background-color: #ffffff;
}
::-webkit-scrollbar-thumb {
    background-color: #cfd1d1;
    border-radius: 20px;
    border: 4px solid white;
}
::-webkit-scrollbar-track {
    background-color: #ffffff;
}

.title-block p.title {
    display: inline-block;
}
.title-block .right {
    display: flex;
    float: right;
}
.title-block .title-btn {
    display: flex;
    align-items: center;
    margin-right: 30px;
}
.tumbler {
    background: #0000001c;
    width: 42px;
    height: 24px;
    border-radius: 17px;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
}
.tumbler div {
    height: 18px;
    border-radius: 50%;
    width: 18px;
    background: white;
    position: absolute;
    margin-top: 3px;
    margin-left: 3px;
    transition: 0.2s;
}
.tumbler[enabled] {
    background: #16A173;
}
.tumbler[enabled] div {
    margin-left: 21px;
}
.title-btn p {
    font-size: 15px;
    float: right;
    margin-left: 8px;
}
.title-btn-save {
    display: flex;
    align-items: center;
    background: #16A173;
    color: white;
    padding: 11px 22px;
    border-radius: 6px;
    transition: 0.2s;
}
.title-btn-save p {
    margin-left: 8px;
    font-size: 15px;
    font-weight: 600;
}
.title-btn-save[inactive] {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.3);
}
.title-btn-save[inactive] svg path {
    fill: rgba(0, 0, 0, 0.3);
}
.title-btn-save:hover {
    background-color: #1a8763;
}
.title-btn-save[inactive]:hover {
    background: rgba(0, 0, 0, 0.05);
}
.title-btn-save[onclick] {
    cursor: pointer;
}

.inputs-block, .section-block {
    margin-top: 50px;
}
.inputs-block p, .section-block p {
    font-size: 24px;
    font-weight: 700;
}
.inputs-block .inputs-container {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
}
.inputs-block .inputs-container input {
    padding: 12px;
    font-family: 'Inter';
    border-radius: 10px;
    outline: none !important;
    border: 1px solid #e6e6e6b5;
    font-size: 15px;
    transition: 0.2s;
}
.inputs-block .inputs-container input:focus {
    border: 1px solid #c3c3c3b5;
}

.placeholder-inputs-block {
    margin-top: 50px;
}
.placeholder-inputs-block .inputs-container {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(3, 3fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 12px;
    grid-row-gap: 12px;
}
.placeholder-inputs-block .inputs-container div.input {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6b5;
    transition: 0.2s;
}
.placeholder-inputs-block .inputs-container div.input {
    border: 1px solid #c3c3c3b5;
}
.placeholder-inputs-block .inputs-container div.input input {
    border: none;
    font-family: 'Inter';
    font-size: 15px;
    outline: none;
}
.placeholder-inputs-block .inputs-container div.input .placeholder {
    font-size: 11px;
    margin-left: auto;
}

.sidebar .buttons div, .page-content .bars div {
    cursor: pointer;
}

.main-container[smallbar] .sidebar {
    width: 50px;
}
.main-container[smallbar] .sidebar .buttons div .right {
    display: none;
}
.main-container[smallbar] .sidebar .button-info .right {
    display: none;
}
.main-container[smallbar] .page-content {
    width: calc(100% - 100px);
}

table {
    display: none;
}
table[showed] {
    display: block;
}

.main-container.readonly {
    display: flex;
    justify-content: center;
}
.main-container.readonly .page-content {
    float: none;
    width: 900px;
}
.main-container.readonly .page-content .inputs-block .inputs-container {
    grid-template-columns: repeat(2, 2fr);
}
.main-container.readonly .page-content .inputs-block input {
    border: 1px solid #c3c3c3b5 !important;
}
.main-container.readonly .page-content .placeholder-inputs-block .inputs-container {
    grid-template-columns: repeat(2, 2fr);
}
.main-container.readonly .page-content .placeholder-inputs-block div.input {
    border: 1px solid #c3c3c3b5 !important;
}
.main-container.readonly input.fullsized {
    font-family: Inter;
    font-size: 15px;
    padding: 12px;
    border-radius: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(230, 230, 230, 0.71);
    border-image: initial;
    transition: 0.2s;
    outline: none !important;
    width: calc(100% - 26px);
    margin-top: 12px;
}
.main-container.readonly .title-block {
    display: flex;
}
.main-container.readonly .title-block div.right {
    margin-left: auto;
}

[cursor] {
    cursor: pointer;
}

.centred-block {
    display: flex;
    justify-content: center;
}
.paginator {
    margin-top: 80px;
    display: flex;
    gap: 8px;
}
.paginator .unmarked {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: 0.2s;
}
.paginator .pag-colored {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f2f2f2a8;
    color: #AAAAAA;
    transition: 0.2s;
}
.paginator .pag-colored:hover, .paginator .unmarked:hover {
    background-color: #ebebeb;
}
.paginator .pag-colored[active] {
    background-color: #16A173 !important;
    color: white;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}
.auth-block {
    width: 400px;
}
.auth-block p.title {
    font-size: 48px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
}
.auth-block input.auth-input {
    width: 100%;
    padding: 12px;
    font-family: 'Inter';
    border-radius: 10px;
    outline: none !important;
    border: 1px solid #e6e6e6b5;
    font-size: 15px;
    transition: 0.2s;
    margin-bottom: 8px;
    max-width: 374px;
}
.auth-block input.auth-input:focus {
    border: 1px solid #c3c3c3b5;
}
.auth-block div.auth-button {
    width: 100%;
    display: flex;
    align-items: center;
    background: #16A173;
    color: white;
    padding: 13px 13px;
    border-radius: 10px;
    transition: 0.2s;
    margin-top: 20px;
    max-width: 374px;
}
.auth-block div.auth-button p {
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    text-align: center;
}


table .tumbler {
    width: 36px;
    height: 20px;
}
table .tumbler div {
    width: 14px;
    height: 14px;
}
table .tumbler[enabled] div {
    margin-left: 19px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}

.sidebar .buttons #reports img {
    margin-left: 2px;
}

.table-container {
    height: calc(100% - 210px);
}
table {
    height: 100%;
}
tbody th {
    position: sticky;
    top: -20px;
    z-index: 1;
    background: white;
}

.sections {
    margin-top: 50px;
}
.section-block {
    margin-top: 30px;
    display: flex;
}
.section-block p, .section-block .arrow {
    cursor: pointer;
}
.section-block .content .table-view {
    margin-top: 15px;
    display: none;
}
.section-block .content .table-view[selected] {
    display: block;
}
.section-block .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    transition: 0.2s;
}
.section-block .content {
    width: calc(100% - 20px);
    margin-left: 8px;
}
.section-block .table-view .bars {
    margin-top: 0px;
}

.btn-delete {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    padding: 11px 22px;
    border-radius: 6px;
    transition: 0.2s;

    background-color: red;
    color: white;
}
.btn-delete svg {
    fill: white;
}
.btn-delete p {
    margin-left: 8px;
    font-size: 15px;
    font-weight: 600;
}

.btn-delete[inactive] svg {
    fill: #BD2F2F;
}
.btn-delete[inactive] {
    background: rgba(189, 47, 47, 0.2);
    color: #BD2F2F;
}

.inputs-container div.status-component {
    font-family: 'Inter';
    border-radius: 10px;
    outline: none !important;
    border: 1px solid #e6e6e6b5;
    font-size: 15px;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.inputs-container div.status-component p {
    width: calc(100% - 40px);
    font-size: 15px;
    padding: 2px 10px;
    font-weight: 600;
    border-radius: 3px;
}
div.status-component[type="0"] p#statusText, .input-popup .status-component[type="0"] p {
    color: #556575;
    background-color: #E9EDF0;
}
div.status-component[type="1"] p#statusText, .input-popup .status-component[type="1"] p {
    color: #5064C7;
    background-color: #DAE8F4;
}
div.status-component[type="5"] p#statusText, .input-popup .status-component[type="5"] p {
    color: #5064C7;
    background-color: #DAE8F4;
}
div.status-component[type="2"] p#statusText, .input-popup .status-component[type="2"] p {
    color: #5064C7;
    background-color: #DAE8F4;
}
div.status-component[type="3"] p#statusText, .input-popup .status-component[type="3"] p {
    color: #5064C7;
    background-color: #DAE8F4;
}
div.status-component[type="4"] p#statusText, .input-popup .status-component[type="4"] p {
    color: #16A173;
    background-color: #DCF1EA;
}

.input-popup {
    position: absolute;
    left: 0;
    width: 100%;
    top: 50px;
    background: white;
    padding-top: 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6b5;
    box-shadow: 0px 0px 8px -2px rgba(34, 60, 80, 0.17);
    display: none;
    z-index: 3;
}
.input-popup[show] {
    display: block;
}
.input-popup div.status-component {
    border: none;
    margin-bottom: 12px;
}

.input-autocomplete {
    z-index: 2;
    position: relative;
}
.input-autocomplete input {
    width: calc(100% - 26px);
}
.input-autocomplete svg {
    position: absolute;
    right: 15px;
    top: 15px;
    transition: 0.2s;
}
.input-autocomplete .popup-element {
    position: absolute;
    background: #ffffff;
    width: calc(100% - 2px);
    border-radius: 12px;
    margin-top: 6px;
    border: 1px solid #c3c3c3b5;
    min-height: 138px;
    max-height: 138px;
    overflow-y: auto;
    display: none;
}
.input-autocomplete .popup-element::-webkit-scrollbar {
    display: none;
}
.input-autocomplete .popup-element div {
    padding: 12px;
    transition: 0.2s;
}
.input-autocomplete .popup-element div:hover {
    background: #F2F2F2;
}
.input-autocomplete .popup-element[show] {
    display: block;
}


.inputs-block.admin {
    width: 70%;
}
.inputs-block.admin p {
    font-size: 32px;
    font-weight: 600;
}
.inputs-block.admin .inputs-container {
    grid-template-columns: repeat(2, 3fr);
    grid-template-rows: repeat(2, 1fr);
}
.inputs-block textarea {
    padding: 12px;
    font-family: 'Inter';
    border-radius: 10px;
    outline: none !important;
    border: 1px solid #e6e6e6b5;
    font-size: 15px;
    transition: 0.2s;
    margin-top: 12px;
    width: calc(100% - 26px);
    height: 100px;
    resize: none;
}

.inputs-container .input-block {
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6b5;
    transition: 0.2s;
}
.inputs-container .input-block .placeholder {
    color: #939393;
    font-size: 10px;
    font-weight: 600;
}
.inputs-container .input-block input {
    border: none;
    padding: 0px;
    width: 100%;
    border-radius: 0px;
}
.inputs-container .input-block input:focus {
    border: none;
}
.inputs-container .input-block:focus-within {
    border: 1px solid #c3c3c3b5;
}

/* checkbox */
.custom-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.custom-checkbox+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
}
.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid #adb5bd;
    border-radius: 0.25em;
    margin-right: 0.5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}
.custom-checkbox:checked+label::before {
    border-color: #2ad49c;
    background-color: #16A173;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.files-block {
    padding: 20px;
    margin: 20px;
    margin-left: 0;
    border-radius: 20px;
    width: 24%;
    float: right;
    border: 1px solid #B3B3B3;
    min-height: 270px;
    max-height: 270px;
}
.files-block .load {
    padding: 25px 20px;
    display: flex;
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='20' ry='20' stroke='%23333' stroke-width='1' stroke-dasharray='16' stroke-dashoffset='16' stroke-linecap='round'/%3e%3c/svg%3e");
    border-radius: 20px;
    transition: 0.2s;
}
.files-block .load svg {
    margin-right: 6px;
}
.files-block .load svg path {
    transition: 0.2s;
}
.files-block .load:hover {
    color: #666666;
}
.files-block .load:hover svg path {
    fill: #666666;
}

.files-block .list {
    overflow: scroll;
    margin-top: 20px;
    max-height: 200px;
}
.files-block .list .file {
    padding: 8px 20px;
    display: flex;
    border-radius: 8px;
    transition: 0.2s;
    justify-content: space-between;
    align-items: center;
}
.files-block .list .file span {
    display: inline-block;
    overflow-wrap: break-word;
    margin-right: 15px;
    width: calc(100% - 85px) !important;
    word-break: break-all !important;
}
.files-block .list .file img {
    margin-right: 8px;
}
.files-block .list .file .delete {
    margin-left: auto;
}
.files-block .list .file:hover {
    background: #F2F2F2;
}
.files-block .list .file:active {
    background: #FFFFDE;
}
.files-block .load, .files-block .list .file span {
    font-size: 16px !important;
}

.image-view {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #0000004d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}
.image-view .container {
    display: flex;
}
.image-view .container .image {
    display: flex;
    align-items: center;
    position: relative;
}
.image-view .container .image img {
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
}
.image-view .container .circle-button {
    background: white;
    padding: 12px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: 0.2s;
}
.image-view .container .circle-button:hover {
    background: #C2BEC5;
}
.image-view .container .circle-button[hidden] {
    display: none;
}
.image-view .container .circle-button.close {
    height: 20px;
    margin-left: 8px;
}
.image-view .container .circle-button.prev {
    position: absolute;
    left: 20px;
}
.image-view .container .circle-button.next {
    position: absolute;
    right: 20px;
}

.popup {
    width: 100%;
    height: 100%;
    position: absolute;
    background: #0000004d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.popup .container {
    display: flex;
}
.popup .container .elem {
    padding: 32px 64px;
    background: white;
    border-radius: 24px;
    width: 640px;
}
.popup .container .closebtn {
    background: white;
    padding: 12px;
    display: flex;
    align-items: center;
    border-radius: 50%;
    transition: 0.2s;
    height: 20px;
    margin-left: 8px;
    cursor: pointer;
}
.popup .container .closebtn:hover {
    background: #C2BEC5;
}
.popup .container .elem input.title {
    border: none;
    font-family: 'Inter';
    font-size: 24px;
    font-weight: 700;
    outline: none !important;
    width: 100%;
}
.popup .container .elem .inputs-block {
    margin-top: 32px;
}
.popup .container .elem .inputs-block .inputs-container {
    grid-template-columns: repeat(2, 3fr);
    grid-template-rows: repeat(1, 1fr);
}
.popup .container .elem .inputs-block .inputs-container .input-block input {
    width: calc(100% - 40px);
}
.popup .container .elem .inputs-block .inputs-container .input-block .copybtn {
    float: right;
    margin-top: -4px;
    cursor: pointer;
}
.popup .container .elem .inputs-block .inputs-container .input-block .copybtn path {
    transition: 0.2s;
}
.popup .container .elem .inputs-block .inputs-container .input-block .copybtn:hover path {
    fill: #676565;
}
.textarea-block {
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6b5;
    transition: 0.2s;
    margin-top: 16px;
}
.textarea-block p.placeholder {
    color: #939393;
    font-size: 10px;
    font-weight: 600;
}
.textarea-block textarea {
    border: none;
    padding: 0px;
    width: 100%;
    border-radius: 0px;
    resize: none;
    color: black;
    font-family: 'Inter';
    min-height: 60px;
    font-size: 15px;
    line-height: 18px;
    outline: none !important;
    margin-top: 5px;
}
.textarea-block:focus-within {
    border: 1px solid #c3c3c3b5;
}

.sidebar-mobile {
    position: fixed;
    bottom: 0;
    height: 60px;
    padding-bottom: 5px;
    border-top: 1px solid #d5d5d5;
    width: 100%;
    display: none;
    grid-template-columns: repeat(3, 3fr);
    background: white;
}
.sidebar-mobile .elem {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sidebar-mobile .elem div {
    text-align: center;
}
.sidebar-mobile .elem div p {
    color: #BEBEBE;
    font-weight: 500;
}
.sidebar-mobile .elem div svg path {
    fill: #bebebe;
}
.sidebar-mobile .elem[green] div p {
    color: #647A8D;
}
.sidebar-mobile .elem[green] div svg path {
    fill: #647A8D;
}

.table-view.movizor {
    width: 650px;
    max-width: 100%;
}
.movizor-title {
    display: flex;
    width: 100%;
}
.movizor-title .header {
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
}
.movizor-title .header svg {
    margin-left: 8px;
}
.movizor-title .header a {
    color: black;
    text-decoration: none !important;
}
.movizor-title .updatebtn {
    margin-left: auto;
    padding: 8px 16px;
    border-radius: 8px;
    background: #B0D2C7;
    font-size: 14px;
    transition: 0.2s;
    cursor: pointer;
}
.movizor-title .updatebtn:hover {
    background: #90ada4;
}
.movizor-title .updatebtn svg {
    margin-right: 4px;
}
.movizor-frame {
    width: 100%;
    height: 400px !important;
    border: none;
    margin-top: 6px;
    border-radius: 20px;
    height: 350px;
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
}
.movizor-frame iframe {
    border: none;
    position: absolute;
    top: -50px;
    width: calc(100% + 115px) !important;
    height: calc(100% + 50px);
}

.search-input {
    background: #e8f2ef;
    width: 100%;
    padding: 4px;
    display: flex;
    align-items: center;
    border-radius: 12px;
}
.search-input input {
    padding: 12px;
    border-radius: 10px;
    border: none;
    outline: none !important;
    font-family: 'Inter';
    width: calc(100% - 124px);
    font-size: 15px;
}
.search-input input::placeholder {
    color: #cdbebe;
    transition: 0.2s;
}
.search-input input:focus::placeholder {
    color: #9e9696;
}
.search-input .search-button {
    width: 100px;
    margin-left: auto;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.sort-elements {
    margin-top: 32px;
    display: flex;
}
.sort-elements div {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    margin-right: 16px;
    background: #F2F2F2;
    border-radius: 4px;
    font-size: 15px;
    transition: 0.2s;
}
.sort-elements div.transparent div {
    background-color: white !important;
}
.sort-elements div:hover {
    background: #e7e6e6;
}
.sort-elements div svg {
    margin-left: 8px;
    cursor: pointer;
}
.sort-elements div.transparent {
    background: white;
}

.search-results {
    margin-top: 45px;
}
.search-results .filters {
    float: right;
    width: calc(33% - 44px);
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    padding: 16px;
}
.search-results .filters .title, .search-results .result-cards .card .title {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.search-results .filters .title p.header, .search-results .result-cards .card .title p.header {
    font-size: 24px;
    font-weight: 700;
    margin-right: 16px;
    word-break: break-word;
}
.search-results .filters .title .title-btn {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.search-results .filters .title .title-btn .tumbler {
    width: 36px;
    height: 20px;
}
.search-results .filters .title .title-btn .tumbler div {
    width: 14px;
    height: 14px;
}
.search-results .filters .title .title-btn .tumbler[enabled] div {
    margin-left: 19px;
}
.search-results .filters .name {
    font-weight: 700;
}
.search-results .filters .selects {
    margin-top: 10px;
    padding-left: 1px;
}
.search-results .filters .selects .title-btn {
    margin-bottom: 3px;
}

.search-results .result-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    column-count: 2;
}
.search-results .result-cards .card {
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    padding: 16px;
    display: inline-block;
    cursor: pointer;
    max-width: 450px;
}
.search-results .result-cards .card .status {
    font-size: 15px;
    padding: 2px 10px;
    font-weight: 600;
    border-radius: 3px;
}
.search-results .result-cards .card .title .status[type="0"] {
    color: #556575;
    background-color: #E9EDF0;
}
.search-results .result-cards .card .title .status[type="1"] {
    color: #5064C7;
    background-color: #DAE8F4;
}
.search-results .result-cards .card .title .status[type="2"] {
    color: #5064C7;
    background-color: #DAE8F4;
}
.search-results .result-cards .card .title .status[type="3"] {
    color: #5064C7;
    background-color: #DAE8F4;
}
.search-results .result-cards .card .title .status[type="4"] {
    color: #16A173;
    background-color: #DCF1EA;
}
.search-results .result-cards .card .title .status[type="5"] {
    color: #5064C7;
    background-color: #DAE8F4;
}
.search-results .result-cards .card .values {
    display: flex;
    margin-bottom: 16px;
}
.search-results .result-cards .card .values p {
    max-width: 120px;

    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.search-results .result-cards .card .values div p.header {
    font-size: 14px;
    color: #999999;
    font-weight: 600;
    margin-bottom: 2px;
}
.search-results .result-cards .card .values div.right {
    margin-left: auto;
}
.search-results .result-cards .card .values div.right p {
    text-align: right;
}
.search-results .result-cards .card .line {
    margin-top: 32px;
    margin-bottom: 8px;
    height: 1px;
    width: 100%;
    background: #cfcfcf;
}
.search-results .result-cards .card .values.nomargin {
    margin-bottom: 0px;
}

.search-results .result-cards {
    grid-template-columns: repeat(1, 1fr);
}

.input-autocomplete[var="order.client_name"] {
    z-index: 20;
}

.input-block {
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6b5;
    transition: 0.2s;
}
.input-block .placeholder {
    color: #939393;
    font-size: 10px;
    font-weight: 600;
    padding-right: 16px;
}
.input-block input {
    border: none;
    padding: 0;
    width: 100%;
    border-radius: 0;
    font-family: 'Inter';
    outline: none !important;
    font-size: 15px;
    transition: .2s;
}


@media screen and (min-width: 985px) {
    .search-results .result-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media screen and (min-width: 1310px) {
    .search-results .result-cards {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}
@media screen and (min-width: 1620px) {
    .search-results .result-cards {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}
@media screen and (min-width: 1850px) {
    .search-results .result-cards {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media screen and (max-width: 800px) {
    body {
        font-size: 12px;
    }
    .inputs-block p {
        font-size: 22px;
    }

    .sidebar {
        display: none;
    }
    .sidebar-mobile {
        display: grid;
    }
    
    .page-content {
        width: calc(100% - 40px);
        height: calc(100% - 116px);
        float: none;
    }
    .page-content p.title {
        font-size: 36px;
        font-weight: 600;
    }
    p#orderid {
        margin-bottom: 10px;
    }
    .inputs-block, .sections {
        margin-top: 40px;
    }
    .section-block .table-view .bars {
        max-width: 100%;
        overflow-x: auto;
    }

    .title-block .right {
        float: none;
        max-width: 100%;
        overflow-x: auto;
    }
    .title-block .title-btn:first-child {
        margin-left: 4px;
    }
    .title-block .title-btn {
        margin-right: 25px;
        font-size: 14px;
    }
    .title-btn-save p {
        width: max-content;
    }
    .files-block {
        width: auto;
        display: block;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .btn-delete {
        width: 96px;
    }
    .inputs-block .inputs-container {
        grid-template-columns: repeat(1, 3fr);
    }
    .custom-checkbox+label {
        width: max-content;
    }
    .inputs-block p, .section-block p {
        font-weight: 600;
    }

    .textarea-block {
        width: calc(100% - 25px) !important;
    }

    .search-input input {
        width: calc(100% - 72px);
    }
    .search-input .search-button {
        width: 46px;
    }
    .sort-elements .sort-button {
        cursor: pointer;
        margin-bottom: 10px;
        display: inline-block;
        padding: 6px 10px;
    }
    .sort-elements .transparent {
        width: 100%;
        overflow-x: auto;
        padding-left: 2px;
    }
    .sort-elements .transparent div:first-child {
        padding-left: 0px;
    }
    .search-results .result-cards {
        width: 100%;
        gap: 16px;
    }
    .search-results .result-cards .card {
        max-width: 450px;
        width: calc(100% - 20px);
        max-width: 100%;
    }
    .sort-elements {
        display: block;
    }
}



p.activecreate {
    margin-left: 0px;
}
.title-block.flexed {
    display: flex;
    align-items: center;
}
.title-block .centred {
    margin: auto;
    display: flex;
    gap: 8px;
}
.title-block .centred .input-block, .input-component {
    background: white;
    padding: 4px 12px;
    border-radius: 10px;
    border: 1px solid #e6e6e6b5;
    transition: 0.2s;
    width: 180px;
}
.title-block .centred .input-block .placeholder, .input-component .placeholder {
    color: #939393;
    font-size: 10px;
    font-weight: 600;
}
.title-block .centred .input-block input, .input-component input {
    border: none;
    padding: 0px;
    width: 100%;
    border-radius: 0px;
    font-family: 'Inter';
    outline: none !important;
    font-size: 15px;
    transition: 0.2s;
}
.title-block .centred .input-block:focus-within, .input-component:focus-within {
    border: 1px solid #c3c3c3b5;
}

.leads-categories {
    margin-top: 36px;
    display: flex;
    gap: 20px;
    height: calc(100% - 100px);
    overflow-x: auto;
}

.leads-categories .category.highlight .cards {
    background: #f5f5f5;
    border-radius: 16px;
    border: 2px solid #e1e1e1;
}
.leads-categories .category {
    min-width: 350px;
    width: 350px;
}
.leads-categories .category .cat-title {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
}
.leads-categories .category .cat-title svg {
    cursor: pointer;
    margin-left: auto;
}

.leads-categories .category .cards {
    margin-top: 36px;
    overflow-y: auto;
    height: calc(100% - 70px);
    transition: 0.2s;
}
.card[type="lead"] {
    border-radius: 16px;
    background: white;
    border: 1px solid #e6e6e6;
    padding: 16px;
    padding-bottom: 12px;
    display: inline-block;
    width: calc(100% - 34px);
    transition: 0.2s;
    margin-bottom: 20px;
    cursor: pointer;
}
.card[type="lead"]:last-child {
    margin-bottom: 4px;
}

.card[type="lead"] .star {
    margin-left: auto;
    cursor: pointer;
}
.card[type="lead"] .star .active {
    display: none;
}

.card[type="lead"].starred {
    background: #FFE96C4D;
    border: 1px solid #FFE96C;
}
.card[type="lead"].starred path {
    fill: #F8E056;
}
.card[type="lead"].starred .title .status {
    background: white;
    color: black;
}
.card[type="lead"].starred .star .unactive {
    display: none;
}
.card[type="lead"].starred .star .active {
    display: block;
}

.card[type="lead"].delayed-card {
    background: #FFD2D2;
    border: 1px solid #F64444;
}
.card[type="lead"].delayed-card path {
    fill: #F64444;
}
.card[type="lead"].delayed-card .title .status {
    background: white;
    color: black;
}
.card[type="lead"].delayed-card .star .unactive {
    display: none;
}
.card[type="lead"].delayed-card .star .active {
    display: block;
}

.card[type="lead"].delayed {
    background: #EBEBEB;
    border: 1px solid #c7c7c7;
}
.card[type="lead"].delayed .title .status {
    background: white;
    color: #556575;
}

.card[type="lead"] .title {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}
.card[type="lead"] .title svg.star {
    margin-left: auto;
}
.card[type="lead"] .title p.header {
    font-size: 24px;
    font-weight: 700;
    margin-right: 16px;
}
.card[type="lead"] .status {
    font-size: 13px;
    padding: 2px 10px;
    font-weight: 500;
    border-radius: 3px;
    transition: 0.2s;
}
.card[type="lead"] .title .status {
    color: #556575;
    background-color: #E9EDF0;
}
.card[type="lead"] .values {
    display: flex;
    margin-bottom: 16px;
}
.card[type="lead"] .values div .header {
    font-size: 14px;
    color: #999999;
    font-weight: 600;
    margin-bottom: 2px;
}
.card[type="lead"].starred .values div .header {
    color: #A8A48B;
}
.card[type="lead"].delayed .values div .header {
    color: #9B9B9B;
}
.card[type="lead"] .values div.right {
    margin-left: auto;
}
.card[type="lead"] .values div.right p {
    text-align: right;
}
.card[type="lead"] .line {
    margin-top: 32px;
    margin-bottom: 8px;
    height: 1px;
    width: 100%;
    background: #cfcfcf;
}
.card[type="lead"] .values.nomargin {
    margin-bottom: 0px;
}
.card[type="lead"] .values.dopmargin {
    margin-top: 32px;
}

.card[type="lead"] .values div .header.stopwatch {
    display: flex;
    align-items: center;
}
.card[type="lead"] .values div .header.stopwatch svg {
    margin-right: 4px;
}
.card[type="lead"] .tumbler {
    width: 36px;
    height: 20px;
    margin-left: 10px;
}
.card[type="lead"] .tumbler div {
    width: 14px;
    height: 14px;
}
.card[type="lead"] .tumbler[enabled] div {
    margin-left: 19px;
}
.card[type="lead"] .dragging {
    opacity: 1;
}

.card[type="lead"] .stopwatch {
    margin-top: 6px;
}
.card[type="lead"] .stopwatch #inputs {
    display: flex;
    gap: 4px;
}
.card[type="lead"] .stopwatch #inputs .input-component {
    width: auto;
}
.card[type="lead"] .stopwatch[state="off"] {
    display: none;
}

.card[type="lead"] .stopwatch[state="saved"] #stamp { display: block; }
.card[type="lead"] .stopwatch[state="saved"] #inputs { display: none; }

.card[type="lead"] .stopwatch[state="edit"] #stamp { display: none; }
.card[type="lead"] .stopwatch[state="edit"] #inputs { display: flex; }

.card[type="lead"].dragging {
    position: fixed;
    pointer-events: none;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    transition: none;
    width: 317px;
}
.leads-categories .drop-preview.active:first-child {
    margin-top: 0px;
    margin-bottom: 20px;
}
.leads-categories .drop-preview {
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='gray' stroke-width='3' stroke-dasharray='14' stroke-dashoffset='15' stroke-linecap='butt'/%3e%3c/svg%3e");
    border-radius: 16px;
    height: 125px;
    margin-top: 0px;
    margin-bottom: 20px;
}
.leads-categories .drop-preview.active {
    opacity: 1;
}
.card[type="lead"] {
    position: relative;
    z-index: 1;
}
.no-drag, [data-no-drag] {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.inputs-block.leads {
    width: 100%;
    max-width: 800px;
}
.inputs-container.leads {
    grid-template-columns: repeat(2, 2fr);
}
.inputs-container.leads-solo {
    grid-template-columns: repeat(1, 3fr);
    grid-template-rows: none;
    margin-top: 42px;
}
.title-btn.duplicate {
    cursor: pointer;
}
.inputs-container.leads .status-component p {
    color: #556575 !important;
    background-color: #E9EDF0 !important;
}