.po-black {
    color: rgba(31, 33, 49) !important;
}

.po-black50 {
    color: rgba(31, 33, 49, 0.5) !important;
}

.po-black20 {
    color: rgba(31, 33, 49, 0.2) !important;
}

.po-bgblack20 {
    background-color: rgba(31, 33, 49, 0.2) !important;
}

.po-red {
    color: #ff1441 !important;
}

.po-red50 {
    color: rgba(255, 20, 65, 0.5) !important;
}

.po-white {
    color: #fff !important;
}

.po-white50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

p,
h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5,
.p1,
.p2,
.p3,
.p4,
.p5,
.p4b {
    font-family: "Raleway";
    line-height: 120%;
    font-feature-settings: "lnum";
    font-variant-numeric: tabular-nums;
}

.p4b,
h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
    font-weight: 700 !important;
}

.p1,
.p2,
.p3,
.p4,
.p5 {
    font-weight: 400;
}

.p1 {
    font-size: 1.25rem;
}

.p2 {
    font-size: 1.125rem;
}

.p3 {
    font-size: 1rem;
}

.p4,
p,
.p4b {
    font-size: 0.875rem;
}

.p5 {
    font-size: 0.75rem;
}

.po-bg-success {
    background-color: #1f2131 !important;
}

.mt-01 {
    margin-top: 0.062rem !important;
}

.mb-01 {
    margin-bottom: 0.062rem !important;
}

.ml-01 {
    margin-left: 0.062rem !important;
}

.mr-01 {
    margin-right: 0.062rem !important;
}

.mt-02 {
    margin-top: 0.125rem !important;
}

.mb-02 {
    margin-bottom: 0.125rem !important;
}

.ml-02 {
    margin-left: 0.125rem !important;
}

.mr-02 {
    margin-right: 0.125rem !important;
}

.mt-12 {
    margin-top: 0.75rem !important;
}

.mb-12 {
    margin-bottom: 0.75rem !important;
}

.ml-12 {
    margin-left: 0.75rem !important;
}

.mr-12 {
    margin-right: 0.75rem !important;
}

.mt-20 {
    margin-top: 1.25rem !important;
}

.mb-20 {
    margin-bottom: 1.25rem !important;
}

.ml-20 {
    margin-left: 1.25rem !important;
}

.mr-20 {
    margin-right: 1.25rem !important;
}

.mt-36 {
    margin-top: 2.25rem !important;
}

.mb-36 {
    margin-bottom: 2.25rem !important;
}

.ml-36 {
    margin-left: 2.25rem !important;
}

.mr-36 {
    margin-right: 2.25rem !important;
}

.pt-03 {
    padding-top: 0.1875rem !important;
}

.pb-03 {
    padding-bottom: 0.1875rem !important;
}

.pl-03 {
    padding-left: 0.1875rem !important;
}

.pr-03 {
    padding-right: 0.1875rem !important;
}

.pl-05 {
    padding-left: 0.315rem !important;
}

.pr-05 {
    padding-right: 0.315rem !important;
}

.pb-11 {
    padding-bottom: 0.7rem !important;
}

.pt-11 {
    padding-top: 0.7rem !important;
}

.pl-11 {
    padding-left: 0.7rem !important;
}

.pr-11 {
    padding-right: 0.7rem !important;
}

.pt-20 {
    padding-top: 1.25rem !important;
}

.pb-20 {
    padding-bottom: 1.25rem !important;
}

.pl-20 {
    padding-left: 1.25rem !important;
}

.pr-20 {
    padding-right: 1.25rem !important;
}

/* <--------------------------------------> */

.po-btn-demo {
    min-width: 191px;
}

.po-popup-form__item {
    margin-bottom: 24px;
}

/* <--------------------------------------> */

.password-field {
    position: relative;
}

.po-input-icon,
.toggle-password {
    position: absolute;
    top: 20px;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    color: #999;
}

/* <--------------------------------------> */

/* родитель — label */
.po-coolcheck-wrap {
    display: inline-flex; /* строго по центру всей строки */
    align-items: center;
    gap: 8px;
    cursor: pointer;
    /* не нужно position:relative здесь (можно оставить, но не нужно полагаться на него) */
}

/* скрываем нативный чекбокс (оставляем его в DOM для доступности) */
.po-coolcheck-wrap input.coolcheck {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* сам текст + место под квадратик */
.po-coolcheck-wrap input.coolcheck + span {
    display: inline-block;
    position: relative; /* псевдо-элементы ::before/::after позиционируем относительно span */
    padding-left: 29px; /* резервируем место под квадратик */
    line-height: 1; /* можно задать единый line-height, опционально */
    vertical-align: middle;
}

/* внешний квадратик — абсолютный, но центрируем вертикально */
.po-coolcheck-wrap input.coolcheck + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%); /* ВАЖНО — гарантирует центрирование */
    width: 16px;
    height: 16px;
    border: 1px solid rgba(31, 33, 49, 0.2);
    border-radius: 4px;
    background: #fafafa;
    box-sizing: border-box;
}

/* красный внутренний квадратик, также центрируем по вертикали */
.po-coolcheck-wrap input.coolcheck + span::after {
    content: "";
    position: absolute;
    left: 4px; /* отступ внутри внешнего квадратика */
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #de0d35;
    transition: transform 0.12s ease;
}

/* checked-states */
.po-coolcheck-wrap input.coolcheck:checked + span::before {
    border-color: #de0d35;
}
.po-coolcheck-wrap input.coolcheck:checked + span::after {
    transform: translateY(-50%) scale(1);
}

.po-coolcheck-wrap.is_invalid {
    border: 1px solid transparent;
    border-color: #ff1441;
    /* background-color: #fff0f3; */
    padding: 3px 5px;
    border-radius: 4px;
}

.po-coolcheck-wrap input.coolcheck:disabled + span {
    opacity: 0.2;
}

.po-coolcheck-wrap input.coolcheck:disabled + span::before {
    background-color: rgba(31, 33, 49, 0.05);
}

/* <--------------------------------------> */

.po-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 24px;
    background-color: white;
}

.po-menu-zone {
    display: flex;
    gap: 20px;
    align-items: center;
}

.po-user-zone {
    display: flex;
    align-items: center;
    gap: 16px;
}

.po-avatar {
    width: 32px;
    height: 32px;
    background-size: cover;
    border-radius: 50%;
}

/* <--------------------------------------> */

.po-custom-list {
    list-style: none;
}

.po-custom-list li {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;

    color: #1f2131;
    line-height: 1.2;
    border-bottom: 1px solid rgba(31, 33, 49, 0.2);
}

.po-custom-list li:first-child {
    height: 1px;
}

/* <--------------------------------------> */

.po-footer {
    min-height: 80px;
    background-color: #1f2131;
    color: #fff;
}

/* <--------------------------------------> */

.po-rectangle-11 {
    width: 100px;
    height: 2px;
    background: rgba(255, 20, 65, 0.5);

    flex: none;
    order: 1;
    flex-grow: 0;
}

.po-main-img-typography {
    margin-top: 86px;
}

.po-right-list {
    margin-top: 40px;
    padding: 24px;
    padding-bottom: 4px;

    background: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

/* <--------------------------------------> */

.po-main-card-container {
    margin-top: 60px;
}

.po-main-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;

    height: 100%;
    width: 100%;
    max-width: 240px;

    padding: 28px 28px 28px 28px;

    background: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.12);
    border-radius: 4px;

    text-align: center;
    /* margin: 0 auto; */
    background-color: #f9f9f9;
}

.po-main-card-po-main-card-image-wrap {
    height: 10px;
    /* width: 100%; */

    margin-top: 19px;
    margin-left: 28px;
    margin-right: 28px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.po-main-card-image-wrap img {
    display: block;

    width: 42px;
    height: 42px;
}

.po-main-card-text-wrap {
    margin-top: 25px;

    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

/* <--------------------------------------> */

.po-main-service-cell-wrap {
    margin-bottom: 20px;
}

.po-main-service-cell {
    padding: 16px 0px 16px 22px;

    height: 100%;

    background: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

.po-img-wrapper {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    /* не сжимается */
}

.po-main-service-cell-img {
    max-width: 48px;
}

.po-main-service-cell-text {
    padding-left: 25px;
}

/* <--------------------------------------> */

.po-order-page-wrap {
    width: 100%;
    /* height: 188px; */

    background: #ffffff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

.po-title {
    margin-bottom: 24px;
}

.po-order-step-wrap {
    padding: 20px;
}

.po-order-step-text {
    margin-left: 12px;
}

.ttt {
    background: #ff1441;
}

.po-img-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: #ff1441;
    color: white;
    border-radius: 50%;
    /* font-size: 14px;
                                font-weight: bold; */
}

/* <--------------------------------------> */

.po-customer-selector {
    width: 100%;
}

.service-options-sub1 {
    gap: 20px;
}

/* <--------------------------------------> */

.po-dropzone {
    box-sizing: border-box;
    width: 100%;
    min-height: 120px;

    padding-left: 14px;
    padding-right: 14px;

    background: #fafafa;
    border: 2px dashed rgba(31, 33, 49, 0.2);
    border-radius: 4px;

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

/* .dropzone-disabled { */
/* background-color: rgba(255, 233, 161, 1); */
/* } */

.po-remove-upload-file {
    float: right;
}

/* <--------------------------------------> */

.is-bg-error {
    border: 2px dashed rgba(255, 20, 65, 0.5);
    background-color: rgba(230, 179, 189, 0.5);
}

/* <--------------------------------------> */

.po-remove-file-wrapper {
    min-width: 170px;

    padding: 10px;
    box-sizing: border-box;
    background: #fafafa;
    border: 1px solid rgba(31, 33, 49, 0.1);
    border-radius: 2px;

    padding-bottom: 6px;
    padding-top: 6px;
}

.po-remove-file-wrapper img {
    color: #000;
    fill: #000;
}

/* <--------------------------------------> */

.po-param-label {
    display: inline-block;
    min-width: 150px;
}

.po-param-value {
    display: inline;
}

.po-text-red {
    color: #ff1441;
}

/* <--------------------------------------> */

.po-info-grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    /* левая колонка по самому широкому */
    gap: 12px 10px;
    /* отступы между строками и колонками */
    align-items: start;
}

.po-info-label {
    text-align: left;
}

.po-info-value {
    text-align: left;
}

/* <--------------------------------------> */

.panel-container {
    padding-right: 25px;
    padding-left: 25px;
}

/* <--------------------------------------> */

/* .select-box {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 0 20px 0;
    box-sizing: border-box;
}

.select-box span {
    padding-bottom: 5px;
    box-sizing: border-box;
} */

/* <--------------------------------------> */

.filter-form {
    display: flex;
    gap: 20px;
}

.po-filter-select {
    width: 285px !important;
}

.po-filter-item {
    width: 195px !important;
}

.po-daterange {
    width: 220px;
    cursor: pointer !important;
    background-color: #fafafa !important;
}

.po-daterange-icon {
    position: absolute;
    right: 5px;
    top: 10px;
}

/* <--------------------------------------> */

.ahref {
    color: #ff1441;
    text-decoration: none;
    background-color: transparent;
}

.ahref:hover {
    color: #ff144180 !important;
    text-decoration: none;
}

.ahref:focus,
.ahref:active {
    color: #de0d35 !important;
    text-decoration: none;
}

/* <--------------------------------------> */

.po-order-header-row {
    border-bottom: 1px solid rgba(31, 33, 49, 0.2);
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: -20px;
    margin-right: -20px;
}

/* <--------------------------------------> */

.popup-order-cancel {
    width: 90%;
    max-width: 500px;
    position: fixed;
}

.popup-order-cancel .popup__wrapper {
    width: 100%;
    max-width: 500px;
}

/* <--------------------------------------> */

.po-show-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.po-show-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.po-show-info-label {
    width: 190px;
}

.po-show-info-value {
    flex: 1;
}

.po-show-info-label-shed {
    width: 120px;
}

/* <--------------------------------------> */

.po-block-panel {
    max-width: 365px;
}

.po-edit-profile-logo {
    /* min-width: 365px;
    min-height: 350px; */
    background: #fafafa;
    border-radius: 4px;

    aspect-ratio: 1 / 1;
}

.po-page-edit-content .form-group {
    max-width: 500px;
}

/* <--------------------------------------> */

.po-page-content {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    border-radius: 4px;
    padding: 24px;
}

/* <--------------------------------------> */

.po-uppercase::first-letter {
    text-transform: uppercase;
}

/* <--------------------------------------> */

.order-info-button-block {
    gap: 20px;
}

.system-close-order {
    margin-top: -15px;
}

/* <--------------------------------------> */

/* .po-timework-item {
    margin-left: 0.25rem !important;
} */

/* <--------------------------------------> */

.add-service-form {
    position: relative;
    z-index: 10;

    /* bottom: calc(100% + 24px); */
    bottom: 100%;
    left: 0;
    width: 100%;

    /* position: fixed; */
    /* top: 78px;
    width: 100%; */
}

.po-grid-service input,
.po-add-service-select {
    max-width: 200px;
}

.po-add-service-select .current {
    /* display: block; */
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.po-add-service-select .list {
    max-height: 350px;
    overflow-y: auto !important;
}

.po-grid-service {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.po-page-content-add-service {
    position: relative;
    min-height: 540px;
    max-width: 446px;
}

/* <--------------------------------------> */

.po-button-add-service-wrap {
    position: absolute;
    bottom: 24px;
}

/* <--------------------------------------> */

.po-order-info,
.po-order-info-2 {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-left: -20px;
    margin-right: -20px;

    align-items: center;
    border-bottom: 1px solid rgba(31, 33, 49, 0.2);
}

/* <--------------------------------------> */

.po-table-list .col,
.po-table-list [class*="col-"],
.po-order-header-row .col,
.po-order-header-row [class*="col-"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

/* <--------------------------------------> */

.po-nice-select-wrap {
    min-width: 285px;
}

/* <--------------------------------------> */

.po-custom-underline {
    position: relative;
    text-decoration: none;
    /* color: inherit; */
}

.po-custom-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
}

/* <--------------------------------------> */

.po-hr {
    width: 100px;
    height: 2px;
    background: rgba(255, 20, 65, 0.5);
    flex: none;
    order: 1;
    flex-grow: 0;
}

/* <--------------------------------------> */
