
html,
body {
    font-family: "Nunito", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

:root:has(.rz-layout) body {
    font-family: "Nunito", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.custom-steps .rz-message-popup {
    z-index: 9999 !important;
}

.rz-p-5-cus {
    padding: 1.25rem;
}

.rz-text-body1 {
    font-family: "Nunito", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}


.rz-text-h6 {
    font-family: "Nunito", sans-serif !important;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

.rz-form-field.rz-state-focused .rz-form-field-content {
    box-shadow: 0px 0px 0px 1px var(--rz-white), 0px 0px 0px 3px rgb(0 0 0 / 5%) !important;
    border: 1px solid var(--rz-base-500) !important;
}

.rz-state-focused .rz-form-field-label,
.rz-form-field.rz-state-focused .rz-form-field-label,
.rz-autocomplete:focus-within ~ .rz-form-field-label {
    color: var(--rz-base-900) !important;
}

.rz-form-field:hover .rz-form-field-content {
    border-color: var(--rz-base-500) !important;
}

.rz-textbox:not(:disabled):not(.rz-state-disabled):hover {
    border: 1px solid var(--rz-base-500) !important;
}

.rz-grid-table .rz-data-row td .rz-cell-data, .rz-grid-table thead th .rz-column-title-content {
    font-size: 12px !important;
}

.CancelledOrder {
    background: #ffaeaa80 !important;
}

.CompletedOrder {
    background: #c6ffaa80 !important;
}

.for-margin-remove .rz-form-field-content {
    margin-top: 0px;
}

.filter-css-parent-use-only .rz-group-header {
    justify-content: space-between;
    padding-bottom: 15px;
    flex-direction: row-reverse;
}

.filter-css-parent-use-only .rz-form-field-end {
    padding: 0px !important;
    padding-inline: 0px !important;
}

.rz-state-highlight.rz-menuitem,
.rz-state-highlight.rz-autocomplete-list-item,
.rz-state-highlight.rz-multiselect-item,
.rz-autocomplete-items li.rz-state-highlight,
.rz-dropdown-items li.rz-state-highlight,
.rz-multiselect-items li.rz-state-highlight,
.rz-dropdown-item.rz-state-highlight {
    background-color: var(--rz-base-200) !important;
    color: var(--rz-base-900) !important;
}

.rz-menuitem:hover,
.rz-autocomplete-list-item:hover,
.rz-multiselect-item:hover,
.rz-autocomplete-items li:hover,
.rz-dropdown-items li:hover,
.rz-multiselect-items li:hover,
.rz-dropdown-item:hover {
    background-color: var(--rz-base-200) !important;
    color: var(--rz-base-900) !important;
}


.rz-tabview-top > .rz-tabview-nav li:hover:not(.rz-tabview-selected):not(.rz-state-disabled) {
    border-top-color: var(--rz-base-900) !important;
    color: var(--rz-base-900) !important;
}

.rz-tabview-top > .rz-tabview-nav .rz-tabview-selected {
    border-top-color: var(--rz-base-900) !important;
}

.rz-tabview-nav li:hover:not(.rz-tabview-selected):not(.rz-state-disabled) {
    color: var(--rz-base-900) !important;
}

.rz-link {
    color: var(--rz-base-900) !important;
}

.rz-panel-menu .rz-navigation-item-active:before,
.rz-panel-menu .rz-navigation-item-wrapper-active:before {
    background-color: var(--rz-base-50) !important;
    content: none !important;
    display: none !important;
}

.menu-parent-class-only ul.rz-profile-menu .rz-navigation-menu .rz-navigation-item-wrapper:hover {
    background-color: var(--rz-base-300) !important;
    color: var(--rz-base-900) !important;
}

    .menu-parent-class-only ul.rz-profile-menu .rz-navigation-menu .rz-navigation-item-wrapper:hover .rz-navigation-item-link {
        color: var(--rz-base-900) !important;
    }

    .menu-parent-class-only ul.rz-profile-menu .rz-navigation-menu .rz-navigation-item-wrapper:hover .rz-navigation-item-text {
        color: var(--rz-base-900) !important;
    }

.rz-switch.rz-switch-checked .rz-switch-circle {
    background: var(--rz-base-900) !important;
}

#passwordcode {
    height: 50px;
}

.vh-75 {
    height: 72vh !important;
}

.custom-button-form-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 85vh !important;
    position: relative !important;
}

    .custom-button-form-wrapper .rz-form-field-content {
        margin-top: 18px;
    }

    .custom-button-form-wrapper .form-content {
        flex: 1;
        overflow-y: auto !important;
    }


    .custom-button-form-wrapper .form-footer {
        position: sticky !important;
        bottom: 0 !important;
        background: #fff !important;
        padding: 15px !important;
        border-top: 1px solid #e5e5e5 !important;
    }

        .custom-button-form-wrapper .form-footer > * {
            width: 100% !important;
        }

@media (max-width: 768px) {
    .custom-button-form-wrapper .form-footer {
        flex-direction: column !important;
    }

        .custom-button-form-wrapper .form-footer > * {
            width: 100% !important;
        }
}

.edit-user-page-cus-form-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 85vh;
    position: relative;
}

    .edit-user-page-cus-form-wrapper .form-content {
        flex: 1;
        overflow-y: auto;
        padding-bottom: 120px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

        .edit-user-page-cus-form-wrapper .form-content::-webkit-scrollbar {
            display: none;
        }

    .edit-user-page-cus-form-wrapper .form-footer {
        position: sticky !important;
        bottom: 0 !important;
        background: #fff !important;
        padding: 15px !important;
        border-top: 1px solid #e5e5e5 !important;
    }

        .edit-user-page-cus-form-wrapper .form-footer > * {
            width: 100% !important;
        }

@media (max-width: 768px) {
    .edit-user-page-cus-form-wrapper .form-footer {
        flex-direction: column;
    }

        .edit-user-page-cus-form-wrapper .form-footer > * {
            width: 100%;
        }
}


.rz-dialog-confirm .rz-button.rz-primary.rz-shade-default {
    background: #000 !important;
    color: #fff !important;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

RadzenBody, .rz-body {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.body-content {
    flex: 1 0 auto;
}

.sticky-footer {
    margin-top: auto;
    text-align: center;
    padding: 12px 0 !important;
    font-size: 14px;
}


h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.header-logo {
    width: 5%;
    padding: 5px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    box-shadow: var(--rz-card-shadow);
    border-radius: var(--rz-border-radius);
}


.wasm-loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
}

.wasm-loader-logo {
    width: 80%;
    height: auto;
    margin-bottom: 20px;
    animation: pulse 2s infinite ease-in-out;
}

.wasm-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

.wasm-loader-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.rz-dialog-wrapper {
    box-sizing: border-box;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: var(--rz-dialog-zindex);
    align-items: center;
    justify-content: center;
}

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

@keyframes pulse {
    50% {
        opacity: 0.6;
    }
}

.rz-datatable th,
.rz-datatable td {
    border-bottom: 1px solid #e5e7eb;
}

.rz-steps .rz-state-highlight .rz-steps-number {
    background-color: #000 !important;
    border-color: #000 !important;
}

.rz-steps-title {
    color: #000 !important;
}

.rz-steps .rz-state-highlight .rz-steps-title {
    color: #000 !important;
}

.rz-steps .rz-step.rz-step-completed .rz-step-marker {
    background-color: #4caf50;
    border-color: #4caf50;
}

.rz-steps .rz-step .rz-step-title {
    color: #ffffff;
    font-weight: 600;
}

.rz-steps .rz-step:hover .rz-step-title {
    color: #ff9800;
}

.rz-steps .rz-step .rz-step-line {
    background-color: #757575;
}


.rz-steps-buttons {
    justify-content: center;
    margin-top: 1rem;
}

    .rz-steps-buttons .rz-steps-prev {
        border-radius: 6px;
        padding: 6px 16px;
        background-color: #000 !important;
        color: #fff !important;
    }

    .rz-steps-buttons .rz-steps-next {
        border-radius: 6px;
        padding: 6px 16px;
        background-color: #000 !important;
        color: #fff !important;
    }

        .rz-steps-buttons .rz-steps-next:hover {
            color: #fff !important;
        }

.rz-steps {
    display: flex;
    justify-content: center;
}

    .rz-steps ul {
        display: flex;
        padding: 0;
        margin: 0 auto;
        list-style: none;
    }

        .rz-steps ul .rz-steps-item {
            margin: 10px 0 30px 0;
            justify-content: center;
            display: flex !important;
        }

.rz-dialog-titlebar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
}


.smart-counter-sell-pages .rz-tabview-panel {
    padding: 0px !important;
}

.responsive-width {
    width: 50% !important;
}

.for-padding-remove .rz-form-field-end {
    padding: 0px !important;
}


@media (max-width: 768px) {
    .responsive-width {
        width: 100% !important;
    }
}

.required .rz-form-field-label:after {
    content: "*";
    color: red;
    margin-left: 2px;
}

.rz-dialog {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .rz-dialog .rz-dialog-content {
        width: 100% !important;
        height: auto !important;
        max-width: 90vw;
        max-height: 90vh;
        border-radius: 10px;
        padding: 1rem;
    }

.rz-dialog-confirm-buttons {
    flex-direction: row;
}

.no-close-dialog .rz-dialog-titlebar {
    display: none !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


@media (max-width: 768px) {

    .radzen-mobile-full {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .rz-p-4.mobile-p-0 {
        padding: 0 !important;
    }

    .smart-counter-sell-pages .rz-tabview-nav li a, .rz-tabview-nav li a:not([href]):not([class]) {
        padding: 5px !important;
        font-size: 11px !important;
    }

    .rz-p-5-cus {
        padding: 0.35rem;
    }
}

.custom-steps ul[role="tablist"] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
}

    .custom-steps ul[role="tablist"] li.rz-steps-item {
        flex: 1;
        text-align: center;
        position: relative;
    }

    .custom-steps ul[role="tablist"] .rz-steps-number {
        width: 38px;
        height: 38px;
        line-height: 27px;
        border-radius: 50%;
        background-color: #e0e0e0;
        color: #333;
        font-weight: 600;
        font-size: 15px;
        display: inline-block;
        transition: all 0.3s ease;
        z-index: 2;
    }

    .custom-steps ul[role="tablist"] .rz-steps-title {
        display: block;
        color: #555;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .custom-steps ul[role="tablist"] li.rz-state-highlight .rz-steps-number {
        background-color: #000;
        border-color: #000;
        color: #fff;
    }

    .custom-steps ul[role="tablist"] li.rz-state-highlight .rz-steps-title {
        color: #000;
        font-weight: 600;
    }

    .custom-steps ul[role="tablist"] li.rz-steps-item::after {
        content: "";
        position: absolute;
        top: 19px;
        right: -20%;
        width: 45%;
        height: 2px;
        background-color: #ccc;
        z-index: 1;
        transition: background-color 0.3s ease;
    }

    .custom-steps ul[role="tablist"] li.rz-steps-item:last-child::after {
        display: none;
    }

.rz-pager-page.rz-state-active {
    background-color: rgb(0 0 0 / 31%) !important;
    color: var(--rz-base-900) !important;
}

.custom-steps ul[role="tablist"] li.rz-state-highlight::after {
    background-color: #000;
}

.custom-w-25 {
    width: 25%;
}


@media (max-width: 768px) {
    .custom-steps ul[role="tablist"] li.rz-steps-item::after {
        display: none !important;
    }

    .custom-steps ul[role="tablist"] .rz-steps-title {
        margin: 0 6px !important;
        font-size: 10px;
    }

    .custom-steps ul[role="tablist"] .rz-steps-number {
        font-size: 11px;
    }

    .rz-steps ul .rz-steps-item {
        margin: 0px 0 10px 0 !important;
    }

    .custom-steps ul[role="tablist"] .rz-steps-number {
        width: 22px;
        height: 22px;
        line-height: 12px;
    }

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

    .padding-8px-onlymobile {
        padding: 0.5rem !important;
    }

    .custom-paddin-remove .rz-fieldset-content {
        padding: 0.5rem !important;
    }

    .custom-w-25 {
        width: 50%;
    }

    .use-parent-only .rz-fieldset-content {
        padding: 0.5rem !important;
    }

    .custom-mobile-css {
        margin-bottom: 0px;
    }

        .custom-mobile-css h2 {
            font-size: 18px;
        }

        .custom-mobile-css .rz-breadcrumb-item {
            font-size: 11px;
            display: none;
        }

    .force-center {
        display: flex !important;
        justify-content: center !important;
    }

    .filter-css-parent-use-only .rz-column-picker {
        display: none;
    }

    .filter-css-parent-use-only .rz-stack {
        flex-wrap: wrap !important;
    }

    .for-width-100-only-mobile {
        width: 100% !important;
    }

    .custom-button-for-mobile .rz-button {
        font-size: 10px !important;
        padding: 0px 8px !important;
        min-height: 30px !important;
    }
}
