#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.scrollbar {
    overflow: auto;
}

    .scrollbar::-webkit-scrollbar {
        width: 8px;
    }

    .scrollbar::-webkit-scrollbar-track {
        border-radius: 8px;
        background-color: var(--light-primary);
        border: 0;
    }

    .scrollbar::-webkit-scrollbar-thumb {
        border-radius: 8px;
        background-color: var(--primary);
    }

.scrollbar-hor {
    overflow-x: auto;
    white-space: nowrap;
}

    .scrollbar-hor::-webkit-scrollbar {
        height: 2px;
    }


    .scrollbar-hor::-webkit-scrollbar-track {
        border-radius: 1px;
        background-color: var(--light-primary);
        border: 0;
    }

    .scrollbar-hor::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background-color: var(--primary-clr);
    }

.loader-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(0,0,0,.15);
    backdrop-filter: blur(1px);
    z-index:1001;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 3px;
    background: radial-gradient(farthest-side,var(--primary) 95%,#0000) 50% 0/12px 12px no-repeat, radial-gradient(farthest-side,#0000 calc(100% - 5px),var(--primary) calc(100% - 4px)) content-box;
    animation: l6 2s infinite;
}

@keyframes l6 {
    to {
        transform: rotate(1turn)
    }
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    src: url("../fonts/Inter/Inter-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Inter/Inter-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/Inter/Inter-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Inter/Inter-Bold.ttf") format("truetype");
}
#app {
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    border: 0;
    box-sizing: border-box;
    font-family: Inter;
}


html, body {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: var(--background) !important;
}

.page {
    width:100%;
    height:100%;
    overflow:auto;
    display:flex;
}

main {
    width: calc(100vw - 60px);
}

.wrap {
    background: var(--background-secondary);
    height: 100%;
    width: 100%;
    overflow: auto;
}

.p-0 {
    padding:0px;
}

.p-1 {
    padding: 4px;
}

.p-2 {
    padding: 8px;
}

.p-3 {
    padding: 16px;
}

.p-4 {
    padding: 32px;
}

.p-5 {
    padding: 64px;
}

.pt-0 {
    padding-top: 0px;
}

.pt-1 {
    padding-top: 4px;
}

.pt-2 {
    padding-top: 8px;
}

.pt-3 {
    padding-top: 16px;
}

.pt-4 {
    padding-top: 32px;
}

.pt-5 {
    padding-top: 64px;
}

.pb-0 {
    padding-bottom: 0px;
}

.pb-1 {
    padding-bottom: 4px;
}

.pb-2 {
    padding-bottom: 8px;
}

.pb-3 {
    padding-bottom: 16px;
}

.pb-4 {
    padding-bottom: 32px;
}

.pb-5 {
    padding-bottom: 64px;
}

.pl-0 {
    padding-left: 0px;
}

.pl-1 {
    padding-left: 4px;
}

.pl-2 {
    padding-left: 8px;
}

.pl-3 {
    padding-left: 16px;
}

.pl-4 {
    padding-left: 32px;
}

.pl-5 {
    padding-left: 64px;
}

.pr-0 {
    padding-right: 0px;
}

.pr-1 {
    padding-right: 4px;
}

.pr-2 {
    padding-right: 8px;
}

.pr-3 {
    padding-right: 16px;
}

.pr-4 {
    padding-right: 32px;
}

.pr-5 {
    padding-right: 64px;
}

.px-0 {
    padding: 0;
}

.px-1 {
    padding: 0 4px;
}

.px-2 {
    padding: 0 8px;
}

.px-3 {
    padding: 0 16px;
}

.px-4 {
    padding:0 32px;
}

.px-5 {
    padding: 0 64px;
}

.py-0 {
    padding: 0;
}

.py-1 {
    padding: 4px 0;
}

.py-2 {
    padding: 8px 0 ;
}

.py-3 {
    padding: 16px 0;
}

.py-4 {
    padding: 32px 0;
}

.py-5 {
    padding: 64px 0;
}

.m-0 {
    margin: 0px;
}

.m-1 {
    margin: 4px;
}

.m-2 {
    margin: 8px;
}

.m-3 {
    margin: 16px;
}

.m-4 {
    margin: 32px;
}

.m-5 {
    margin: 64px;
}

.mt-0 {
    margin-top: 0px;
}

.mt-1 {
    margin-top: 4px;
}

.mt-2 {
    margin-top: 8px;
}

.mt-3 {
    margin-top: 16px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 64px;
}

.mb-0 {
    margin-bottom: 0px;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 64px;
}

.ml-0 {
    margin-left: 0px;
}

.ml-1 {
    margin-left: 4px;
}

.ml-2 {
    margin-left: 8px;
}

.ml-3 {
    margin-left: 16px;
}

.ml-4 {
    margin-left: 32px;
}

.ml-5 {
    margin-left: 64px;
}

.mr-0 {
    margin-right: 0px;
}

.mr-1 {
    margin-right: 4px;
}

.mr-2 {
    margin-right: 8px;
}

.mr-3 {
    margin-right: 16px;
}

.mr-4 {
    margin-right: 32px;
}

.mr-5 {
    margin-right: 64px;
}

.mx-0 {
    margin: 0;
}

.mx-1 {
    margin: 0 4px;
}

.mx-2 {
    margin: 0 8px;
}

.mx-3 {
    margin: 0 16px;
}

.mx-4 {
    margin: 0 32px;
}

.mx-5 {
    margin: 0 64px;
}

.my-0 {
    margin: 0;
}

.my-1 {
    margin: 4px 0;
}

.my-2 {
    margin: 8px 0;
}

.my-3 {
    margin: 16px 0;
}

.my-4 {
    margin: 32px 0;
}

.my-5 {
    margin: 64px 0;
}

.w-100 {
    width: 100%;
}
.w-50 {
    width: 50%;
}
.w-25 {
    width: 25%;
}
.h-100 {
    height: 100%;
}
.h-50 {
    height: 50%;
}
.h-25 {
    height: 25%;
}
.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content:center;
}

.align-items-center {
    align-items:center;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}
.gap-1 {
    gap: 4px;
}
.gap-2 {
    gap:8px;
}

.gap-3 {
    gap: 16px;
}

.app-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0;
    color: var(--text-secondary);
}

    .app-text.fw-5 {
        font-weight: 500;
    }

    .app-text.fw-7 {
        font-weight: 700;
    }

    .app-text.c-primary {
        color: var(--text-primary);
    }

    .app-text.c-white {
        color: white;
    }

    .app-text.c-app {
        color: var(--primary);
    }

    .app-text.fs-10 {
        font-size: 10px;
    }

    .app-text.fs-12 {
        font-size: 12px;
    }

    .app-text.fs-16 {
        font-size: 12px;
    }

    .app-text.fs-32 {
        font-size: 32px;
        line-height: 32px;
    }

    .app-text.color-white {
        color: white;
    }

    .app-text.color-primary {
        color: var(--text-primary);
    }

    .app-text.lh-100 {
        line-height: 100%;
    }

.input-round-border {
    border: 0.5px solid var(--border);
    height: 40px;
    border-radius: 16px;
    width: 100%;
    background: var(--background-secondary);
    padding: 0 8px;
    margin-top: 8px;
}

.btn-filter {
    height: 22px;
    border-radius: 5px;
    background-color: var(--primary);
    padding: 2px 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: center;
    color: white;
    cursor: pointer;
}

    .btn-filter.w-m {
        height: 28px;
        line-height: 28px;
        padding: 0 32px;
    }

    .btn-filter.return {
        background: var(--cancel);
    }

.user-detail-input,
.product-detail-input,
.user-detail-select {
    border: 1.5px solid var(--background-secondary) !important;
    border-radius: 10px;
    height: 44px;
    font-size: 16px !important;
    padding: 0 17px;
    font-weight: 400 !important;
    color: var(--text-primary) !important;
}

.select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

    .select-wrapper select {
        appearance: none;
        padding-right: 20px;
        padding-left: 10px;
        width: 100%;
        border: 1px solid var(--secondary);
        border-radius: 11px;
        height: 44px;
        font-weight: 500;
        font-size: 10px;
        line-height: 18px;
        letter-spacing: 0px;
        color: var(--text-secondary);
    }

    .select-wrapper.with-padding-left select {
        padding-left: 100px;
    }

    .select-wrapper img {
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none; /* Prevents click interference */
    }

    .select-wrapper .left {
        position: absolute;
        left: 10px;
        top: 1px;
        font-size: 10px;
        pointer-events: none; /* Prevents click interference */
    }

.alert {
    position: relative;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-custom {
    position: absolute !important;
    top: 0;
    right: 0;
    margin: 16px;
    z-index: 1051;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}
.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}
.md-dialog {
    display: flex;
    justify-content: center;
    justify-items: center;
    background: #00000025;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    backdrop-filter: blur(1px);
}

.md-content {
    margin: auto 0;
    background: var(--background-secondary);
    border-radius: 11px;
    min-width: 320px;
    max-height: 90%;
    display: flex;
    position: relative;
}

    .md-content.modal-sm {
        width: 30%;
    }

    .md-content.modal-m {
        width: 50%;
    }

    .md-content.modal-lg {
        width: 70%;
    }

    .md-content.modal-lg-X {
        width: 90%;
    }

.md-loading {
    background: #00000005;
    backdrop-filter: blur(1px);
    border-radius: 11px;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.md-body {
    height: calc(100% - 100px);
    background:white;
}

.md-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-secondary);
    height: 50px;
    padding: 12px;
    border-radius: 11px 11px 0 0;
}

.md-caption {
    font-weight: 600;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
}

.md-close {
    cursor: pointer;
}

.md-footer {
    display: flex;
    justify-content: end;
    align-items: center;
    background: var(--background);
    height: 50px;
    padding: 10px 15px;
    gap: 16px;
    border-radius: 0 0 11px 11px;
    box-shadow: 0px 0px 10px 0px #0000001A;
}

.md-submit {
    height:100%;
    border-radius: 5px;
    background: var(--primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.md-cancel {
    height: 28px;
    border-radius: 5px;
    background: var(--cancel);
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.full-content {
    border-radius:11px;
    overflow:hidden;
}

    .full-content .md-body {
        height: calc(100% - 50px);
    }

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-switch {
    position: relative;
    display: inline-block;
    width: 33px;
    height: 18px;
}

    .ios-switch .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #C2C4CF;
        border-radius: 34px;
        transition: 0.4s;
    }

        .ios-switch .slider::before {
            position: absolute;
            content: "";
            height: 14px;
            width: 14px;
            left: 2px;
            bottom: 2px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
        }

    .ios-switch input:checked + .slider {
        background-color: #06AD4F;
    }

        .ios-switch input:checked + .slider::before {
            transform: translateX(15px);
        }

    .ios-switch .slider::before {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }


.hover-box {
    position: relative;
    cursor: pointer;
}

.hover-bottom {

}

.tooltip-div {
    visibility: hidden;
    opacity: 0;
    width: 200px;
    background-color: #FFF;
    box-shadow: 0px 0px 10px 0px #00000040;
    text-align: center;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 2;
    font-size: 18px;
    top: -5px;
    right: -15px;
    transform: translateX(100%);
    transition: opacity 0.3s ease;
}

    .tooltip-div > div {
        display: flex;
        align-items: center;
    }

    .tooltip-div img {
        width: 24px;
        margin-right: 8px;
    }

.hover-box:hover .tooltip-div {
    visibility: visible;
    opacity: 1;
}

.hover-box.hover-bottom .tooltip-div {
    right: 0;
    transform: translateY(100%);
    width: 400px;
    height: auto;
    max-width: 400px;
}

:root {
    --primary: #6797FF;
    --secondary: #D3DAE1;
    --light-primary: #E8F0FF;
    --background: #FFFFFF;
    --background-secondary: #F1F5F9;
    --text-primary: #191D31;
    --text-secondary: #717486;
    --badge-online: #12E970;
    --border: #D8D9D8;
    --cancel: #FF6262;
    --status-new: #6797FF;
    --status-process: #F5891D;
    --status-close: #02C256;
    --status-for-close: #771DF5;
    --navbar-color: #2A2B30;
    --border: #ECECEC;
    --order-later: #D4412F;
    --time-waiting: #00bbff;
    --waiting: #F0AA59;
    --ot-delivery: #F1F5F9;
    --ot-tezkor: #CF57FF;
    --ot-yandex: #FFF081;
    --ot-wolt: #D5EEFF;
    --ot-selfpickup: #FF8000;
}