/**=====================
    Modal scss
==========================**/
.modal {
    margin: 0;

    &.fade {
        .modal-dialog {
            transform: scale(0.9);
        }
    }

    &.show {
        .modal-dialog {
            transform: none;
        }
    }

    &.modal-static {
        .modal-dialog {
            transform: scale(1.02);
        }
    }

    .modal-dialog {
        .modal-content {
            border-radius: calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));
            border: none;

            body.dark & {
                background-color: #252934;

                .modal-body {
                    .add-money {
                        label {
                            color: $white;
                        }
                    }

                    h3 {
                        color: $white;
                    }

                    p {
                        color: rgba($white, 0.6);
                    }
                }

            }

            .modal-header {
                padding: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320))) calc(15px + (24 - 15) * ((100vw - 320px) / (1920 - 320))) calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));
                border-bottom: 1px solid $border-color;
                margin-bottom: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));

                body.dark & {
                    border-color: #454851;

                    .modal-title {
                        color: $white;
                    }
                }

                .modal-title {
                    font-size: calc(20px + (22 - 20) * ((100vw - 320px) / (1920 - 320)));
                    font-weight: 500;
                    line-height: 1.3;
                    text-transform: capitalize;

                }

                .btn-close {
                    opacity: 1;
                    padding: 0;
                    @include pseudowh($width: auto, $height: auto);
                    margin: 0 0 0 auto;
                    background: none;

                    [dir="rtl"] & {
                        margin: 0 auto 0 0;
                    }

                    .iconsax {
                        --Iconsax-Color: #222;
                        transform: rotate(45deg);
                        --Iconsax-Size: calc(27px + (31 - 27) * ((100vw - 320px) / (1920 - 320)));
                    }

                    .feather {
                        color: rgba($title-color, 0.8);
                        stroke-width: 2.3px;
                        @include pseudowh($width: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320))), $height: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320))));

                        body.dark & {
                            color: $white;
                        }
                    }

                    &:focus {
                        border: none;
                        box-shadow: none;
                    }
                }
            }

            .modal-body {
                padding: 0 calc(15px + (24 - 15) * ((100vw - 320px) / (1920 - 320))) calc(15px + (24 - 15) * ((100vw - 320px) / (1920 - 320)));

                &.custom-scroll {
                    overflow: auto;
                    height: 630px;
                }

                .card {
                    margin: 0;
                }

                .modal-body-content {
                    background-color: $section-bg;
                    border-radius: 10px;
                    @include pseudowh($width: 100%, $height: calc(200px + (250 - 200) * ((100vw - 320px) / (1920 - 320))));
                    @include flex_common;
                    margin-bottom: 16px;
                    padding: 20px 0;

                    img {
                        height: 100%;
                    }
                }

                .cancel-content {
                    background-color: $section-bg;
                    border-radius: 10px;
                    width: 100%;

                    label {
                        font-size: 18px;
                        font-weight: 500;
                        list-style: 23px;
                        color: $title-color;
                        margin-bottom: 6px;
                    }
                }

                p {
                    font-size: 16px;
                    line-height: 1.5;
                    color: $light-color;
                }

                .btn {
                    &.btn-solid {
                        width: 100%;
                        justify-content: center;
                        border-radius: 12px;
                    }
                }
            }

            .modal-footer {
                border: none;
                padding: 0 calc(15px + (24 - 15) * ((100vw - 320px) / (1920 - 320))) calc(15px + (25 - 15) * ((100vw - 320px) / (1920 - 320)));
                flex-wrap: nowrap;
                gap: 12px;

                .status-note {
                    width: 100%;
                    border-radius: 0;
                    margin: 0;
                }

                >* {
                    margin: 0;
                }
            }
        }
    }

    &.location-detected-modal {
        .modal-dialog {
            max-width: 650px;
        }

        .modal-header {
            border: none;
        }

        .modal-body {
            .location-search {
                background-color: $section-bg;
                color: $title-color;

                body.dark & {
                    background-color: #171b27;
                    color: $white;
                }
            }

            .location-loader {

                &[style="display: block;"],
                &[style=""] {
                    position: absolute;
                    top: 0;
                    left: 0;
                    @include pseudowh;
                    background-color: rgba($section-bg, 0.651);
                    backdrop-filter: blur(1px);
                    display: flex !important;
                    align-items: center;
                    justify-content: center;
                    border-radius: 6px;

                    body.dark & {
                        background-color: rgba(37, 41, 52, 0.651);
                    }
                }
            }

            .spinner-border {
                display: block;
                margin: 0 auto;
                @include pseudowh($width: 26px !important, $height: 26px !important);
            }

            .location-list {
                margin-top: calc(16px + (20 - 16) * ((100vw - 320px) / (1920 - 320)));

                .location {
                    cursor: pointer;
                    transition: all 0.3s;
                    display: flex;
                    align-items: start;
                    justify-content: start;
                    color: rgba($white, 0.6);
                    background-color: transparent;
                    gap: 8px;
                    font-size: 16px;

                    +li {
                        border-top: 1px solid $border-color;
                        padding-top: calc(9px + (16 - 9) * ((100vw - 320px) / (1920 - 320)));
                        margin-top: calc(9px + (16 - 9) * ((100vw - 320px) / (1920 - 320)));

                        body.dark & {
                            border-color: #454851;
                        }
                    }

                    span {
                        &.no-address {
                            @include pseudowh($width: 100%, $height: 127px);
                            display: grid;
                            place-content: center;
                            background-color: $section-bg;
                            font-size: 18px;
                            font-weight: 500;
                            color: $title-color;
                            border-radius: 10px;

                            body.dark & {
                                background-color: #323640;
                                color: rgba($white, 0.8);
                            }
                        }
                    }

                    >div {
                        h5 {
                            color: $title-color;
                            font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));

                            body.dark & {
                                color: $white;
                            }
                        }

                        h6 {
                            color: rgba($title-color, 0.5);
                            font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                            margin-top: calc(2px + (4 - 2) * ((100vw - 320px) / (1920 - 320)));

                            body.dark & {
                                color: rgba($white, 0.5);
                            }
                        }

                        img {
                            border-radius: 0 !important;
                            @include pseudowh($width: auto !important, $height: auto !important);
                        }
                    }

                    i {
                        margin-top: 3px;
                        --Iconsax-Color: #222222 !important;
                    }

                    &:hover {
                        color: $white;

                        i {
                            --Iconsax-Color: #222;
                        }
                    }
                }
            }
        }
    }

    &.reset-modal {
        .modal-dialog {
            .modal-content {
                .modal-body {
                    text-align: center;
                }
            }
        }
    }

    &.book-now {
        .modal-dialog {
            .modal-content {
                .modal-body {
                    .service-item {
                        padding: 20px;
                        border-radius: 8px;
                        align-items: start;
                        margin-bottom: 20px;

                        &:last-child {
                            margin-bottom: 0;
                        }

                        .serviceman {
                            display: flex;
                            align-items: center;
                            gap: 16px;

                            .serviceman-detail {
                                width: max-content;
                                display: flex;
                                align-items: center;
                                gap: 12px;
                                background-color: $section-bg;
                                border-radius: 12px;
                                padding: 12px 16px;

                                h6 {
                                    color: $light-color;
                                }

                                p {
                                    margin: 0;
                                    font-size: 14px;
                                    font-weight: 500;
                                }

                                .rate {
                                    .star {
                                        @include pseudowh($width: 15px !important, $height: 15px !important);
                                    }
                                }
                            }
                        }

                        .btn-outline {
                            width: max-content;
                            border-radius: 8px;
                            margin-top: 4px;
                            font-size: 16px;
                            padding: 9px 18px;
                        }
                    }
                }
            }
        }
    }

    &.book-service {
        .modal-dialog {
            .modal-content {
                .modal-body {
                    .service {
                        padding: 14px;
                        border-radius: 8px;
                        background-color: $section-bg;
                        margin-bottom: 25px;
                        display: flex;
                        align-items: center;
                        gap: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));

                        body.dark & {
                            background-color: #171B27;

                            .book-service-title {
                                h3 {
                                    color: $white;
                                }
                            }
                        }

                        @media (max-width: 575.98px) {
                            flex-direction: column;
                            align-items: unset;
                        }

                        img {
                            object-fit: cover;
                            border-radius: 8px;
                            object-position: top;
                            @include pseudowh($width: 110px, $height: 110px);

                            @media (max-width: 575.98px) {
                                @include pseudowh($width: 100%, $height: calc(183px + (280 - 183) * ((100vw - 320px) / (576 - 320))));
                            }
                        }
                    }

                    .services {
                        label {
                            color: $title-color;
                            margin-bottom: 8px;
                            font-weight: 500;
                        }

                        .service {
                            display: flex;
                            align-items: center;
                            gap: 10px;
                            background-color: $section-bg;
                            padding: 20px;
                            border-radius: 10px;

                            img {
                                @include pseudowh($width: 80px, $height: 80px);
                            }

                            span {
                                font-size: 22px;
                                font-weight: 700;
                                color: var(--theme-color);
                            }
                        }
                    }

                    .service-title {
                        color: $title-color;
                        font-size: 16px;
                        margin-top: 16px;
                        line-height: 1.4;
                        margin-bottom: 10px;
                        font-weight: 500;

                        body.dark & {
                            color: $white;
                        }
                    }

                    .book-service-title {
                        display: block;
                        margin: 0;
                        width: calc(100% - 16px - 110px);

                        @media (max-width: 575.98px) {
                            width: 100%;
                        }

                        h3 {
                            font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                            font-weight: 400;
                            line-height: 1.4;
                            color: $title-color;
                            width: 100%;
                        }

                        span {
                            font-size: 20px;
                            font-weight: 700;
                            margin-top: calc(2px + (4 - 2) * ((100vw - 320px) / (1920 - 320)));
                            line-height: 1.4;
                            color: var(--theme-color);
                        }
                    }
                }
            }
        }
    }

    &.location-modal {
        .modal-content {
            .modal-body {
                padding-bottom: calc(15px + (25 - 15) * ((100vw - 320px) / (1920 - 320)));
            }
        }

        .location-map {
            border-radius: 12px;
            background-color: $section-bg;
            padding: 0;
            margin: 0;
            gap: 0;
            overflow: hidden;

            .map {
                height: 100%;
                overflow: hidden;

                iframe {
                    height: 100%;
                }
            }

            label {
                color: $title-color;
                font-size: 18px;
            }

            .location-detail {
                padding: 20px;
            }

            .category {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: calc(11px + (40 - 11) * ((100vw - 320px) / (1920 - 320)));

                .form-check {
                    @media (max-width: 575.98px) {
                        gap: 8px;
                    }

                    label {
                        color: $light-color;
                        font-size: 16px;
                    }

                    .form-radio-input {
                        &:checked {
                            ~label {
                                color: $title-color;
                            }
                        }
                    }
                }
            }

            i {
                --Iconsax-Size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                --Iconsax-Color: #808B97;
            }

            .input-icon {
                position: absolute;
                top: calc(9px + (12 - 9) * ((100vw - 320px) / (1920 - 320)));
                left: 16px;

                [dir="rtl"] & {
                    left: unset;
                    right: 16px;
                }
            }
        }
    }

    &.servicemen-list-modal {
        .search {
            margin-bottom: 16px;

            input {
                border-radius: 30px !important;
            }
        }

        .select-dropdown {
            border: none;
            margin: 0;
            padding-bottom: 16px;

            @media (max-width: 991.98px) {
                align-items: flex-start;
                gap: 12px;

                .form-group {
                    width: 100%;
                }
            }
        }
    }

    &.servicemen-detail-modal {
        .modal-dialog {
            .modal-content {
                .modal-header {
                    position: relative;

                    .btn {
                        width: max-content;
                        padding: 0;
                        border: none;

                        body.dark & {
                            i {
                                --Iconsax-Color: #fff;
                            }
                        }

                        i {
                            [dir="rtl"] & {
                                transform: scaleX(-1);
                            }
                        }
                    }

                    .modal-title {
                        padding-left: 10px;
                        line-height: 1;
                        text-transform: capitalize;

                        [dir="rtl"] & {
                            padding-left: 0;
                            padding-right: 10px;
                        }
                    }

                    >a {
                        i {
                            body.dark & {
                                --Iconsax-Color: rgba(255, 255, 255, 0.8)
                            }

                            [dir="rtl"] & {
                                transform: scaleX(-1);
                            }
                        }
                    }
                }

                .modal-body {
                    .provider-content {
                        padding: 0;
                        box-shadow: none;
                        border: none;

                        p {
                            text-align: start;
                            font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                        }
                    }

                    i {
                        --Iconsax-Size: 18px;
                        --Iconsax-Color: #808B97;

                        body.dark & {
                            --Iconsax-Color: rgba(255, 255, 255, 0.8)
                        }
                    }

                    .location-box {
                        gap: 3px;
                        flex-direction: column;
                        display: flex;

                        .location {
                            justify-content: unset;
                            margin-top: calc(4px + (6 - 4) * ((100vw - 320px) / (1920 - 320)));
                        }
                    }

                    .view {
                        background-color: $section-bg;
                        padding: calc(12px + (15 - 12) * ((100vw - 320px) / (1920 - 320)));
                        margin-top: calc(12px + (15 - 12) * ((100vw - 320px) / (1920 - 320)));
                        border-radius: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                        border: 1px solid $border-color;
                        gap: 4px;
                        align-items: center;
                        justify-content: space-between;
                        display: flex;

                        body.dark & {
                            background-color: #171b27;
                            border-color: #454851;
                        }

                        span {
                            color: $title-color;
                            font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                            line-height: 1.3;
                            font-weight: 500;

                            body.dark & {
                                color: $white !important;
                            }
                        }

                        .value {
                            font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                            font-weight: 500;
                            line-height: 1.3;
                        }
                    }

                    .profile {
                        flex-direction: unset;
                        gap: calc(8px + (15 - 8) * ((100vw - 320px) / (1920 - 320)));
                        margin-top: 0;
                        padding-bottom: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
                        margin-bottom: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));

                        h3 {
                            font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
                        }

                        .img {
                            border: none;
                            border-radius: calc(4px + (6 - 4) * ((100vw - 320px) / (1920 - 320)));
                            @include pseudowh($width: calc(68px + (75 - 68) * ((100vw - 320px) / (1920 - 320))), $height: calc(68px + (75 - 68) * ((100vw - 320px) / (1920 - 320))));
                        }

                        .rate {
                            position: relative;
                            margin: 0;
                            padding-left: 8px;

                            [dir="rtl"] & {
                                padding-left: 0;
                                padding-right: 8px;
                            }

                            &:before {
                                @include pos;
                                @include center(vertical);
                                left: 0;
                                background-color: $border-color;
                                @include pseudowh($width: 1px, $height: 12px);

                                body.dark & {
                                    background-color: #454851;
                                }

                                [dir="rtl"] & {
                                    left: unset;
                                    right: 0;
                                }
                            }

                            .star {
                                @include pseudowh($width: 13px, $height: 13px);
                            }
                        }

                        .name-rating-box {
                            gap: 0.5rem;
                            align-items: center;
                            display: flex;
                        }

                        .location-box {
                            .location {
                                h5 {
                                    color: $light-color;

                                    body.dark & {
                                        color: rgba($white, 0.761);
                                    }
                                }
                            }
                        }
                    }

                    .profile-info {
                        background-color: $section-bg;
                        border-radius: 8px;
                        border: 1px solid $border-color;
                        padding: 16px 20px;
                        display: grid;
                        gap: 14px;

                        body.dark & {
                            background-color: #171b27;
                            border-color: #454851;
                        }

                        label {
                            display: flex;
                            align-items: center;
                            gap: 6px;
                            line-height: 1;
                            letter-spacing: 0.5px;

                            body.dark & {
                                color: rgba($white, 0.8);

                                i {
                                    --Iconsax-Color: rgba(255, 255, 255, 0.8)
                                }
                            }
                        }

                        p {
                            color: $title-color;
                            margin-left: 24px;
                            margin-top: 5px;



                            [dir="rtl"] & {
                                margin-left: unset;
                                margin-right: 24px;
                            }
                        }
                    }

                    .information {
                        p {
                            font-size: 16px;
                            font-weight: 400;
                            color: $title-color;

                            body.dark & {
                                color: $white;
                            }
                        }

                        .btn {
                            font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                            width: max-content;
                            border-radius: 6px;
                            padding: 6px 12px;

                            body.dark & {
                                background-color: #323640;
                                color: $white;
                            }

                            &:hover {
                                background-color: var(--theme-color);
                                color: $white;

                                body.dark & {
                                    background-color: var(--theme-color);
                                    color: $white;
                                }
                            }
                        }

                        .language-list {
                            gap: calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320)));
                            margin-top: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                            align-items: center;
                            display: flex;
                            flex-wrap: wrap;
                        }
                    }

                    .note {
                        font-weight: 400;
                        color: $light-color;
                        margin-top: 8px;
                    }

                    .expert {
                        display: flex;
                        align-items: center;
                        gap: 30px;
                        margin-top: 0.5rem;
                        list-style: disc;
                        padding-left: 30px;

                        [dir="rtl"] & {
                            padding-left: 0;
                            padding-right: 30px;
                        }

                        li {
                            display: list-item;
                        }
                    }
                }
            }
        }
    }

    &.service-charge-modal {
        .modal-dialog {
            .modal-content {
                .modal-body {
                    padding-bottom: calc(15px + (25 - 15) * ((100vw - 320px) / (1920 - 320))) !important;

                    .bill-summary {

                        .charge,
                        .total {
                            background-color: $section-bg;
                        }

                        .total {

                            &:before,
                            &:after {
                                background-color: $white;
                            }
                        }
                    }
                }
            }
        }
    }

    &.coupon-modal {
        .modal-dialog {
            @media (min-width: 992px) {
                max-width: 1304px;
            }
        }

        .modal-content {
            .modal-body {
                padding-bottom: calc(15px + (25 - 15) * ((100vw - 320px) / (1920 - 320))) !important;
            }
        }
    }

    &.confirm-modal,
    &.fail-modal {
        .modal-body {
            p {
                color: $light-color !important;
                line-height: 25px;
                text-align: center;
                margin: 0 calc(5px + (25 - 5) * ((100vw - 320px) / (1920 - 320)));
            }
        }
    }

    &.wallet-modal {
        .modal-dialog {
            .modal-content {
                .modal-body {
                    .phone-detail {
                        display: grid;

                        .error {
                            order: 1;
                        }

                        .select2-container {
                            width: 100% !important;
                        }

                        .select2-container--default {
                            .selection {
                                min-width: unset;
                                width: 100%;
                            }

                            .select2-selection--single {
                                padding: 12px 16px;
                                height: unset;
                            }

                            .select2-selection__rendered {
                                padding: 0;
                                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                            }

                            .select2-selection__placeholder {
                                color: $title-color;
                            }
                        }
                    }

                    .add-money {
                        label {
                            color: $title-color;
                        }

                        .input-group {
                            input {
                                border-radius: 8px;
                                border: none;
                            }
                        }
                    }
                }

                .amount-form-box {
                    .form-control {
                        padding: 10px 16px 10px 46px;

                        [dir="rtl"] & {
                            padding: 10px 46px 10px 16px;
                        }
                    }
                }
            }
        }
    }

    &.accepted-modal {
        .modal-dialog {
            @media (min-width: 991.98px) {
                max-width: calc(824px + (1014 - 824) * ((100vw - 991px) / (1920 - 991)));
            }

            .modal-body {
                &.booking-sec {
                    .data {
                        gap: 8px;

                        li {
                            gap: calc(3px + (10 - 3) * ((100vw - 320px) / (1920 - 320)));
                            justify-content: unset;

                            span {
                                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                            }
                        }
                    }
                }

                p.m-0 {
                    font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));
                }

                .table-responsive {
                    border-radius: 6px;

                    body.dark & {
                        border-color: #454851;
                    }

                    .table {
                        thead {
                            body.dark & {
                                background-color: #171b27;
                            }

                            tr {
                                th {
                                    font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                                    font-weight: 600;
                                    color: $title-color;
                                    text-align: center;
                                    padding: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320))) calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));

                                    body.dark & {
                                        color: $white;
                                    }

                                    &:first-child {
                                        text-align: left;
                                        min-width: 180px;

                                        [dir="rtl"] & {
                                            text-align: right;
                                        }
                                    }

                                    &:nth-child(2),
                                    &:nth-child(3),
                                    &:nth-child(4) {
                                        min-width: unset;
                                    }
                                }
                            }
                        }

                        tbody {
                            tr {
                                td {
                                    text-align: center;
                                    font-size: 15px;

                                    body.dark & {
                                        color: $white;
                                    }

                                    &:first-child {
                                        text-align: left;

                                        [dir="rtl"] & {
                                            text-align: right;
                                        }
                                    }

                                    .rate {
                                        justify-content: center;
                                        font-size: 15px;

                                        .star {
                                            @include pseudowh($width: 16px, $height: 16px);
                                        }
                                    }

                                    .user-box {
                                        display: flex;
                                        align-items: center;
                                        gap: 8px;

                                        img {
                                            @include pseudowh($width: 45px, $height: 45px);
                                            border-radius: 6px;
                                        }

                                        h5 {
                                            letter-spacing: 0.4px;

                                            body.dark & {
                                                color: $white;
                                            }
                                        }

                                        span {
                                            line-height: 1.3;
                                            text-transform: capitalize;
                                            font-size: 15px;
                                            margin-top: 3px;
                                            color: $light-color;

                                            body.dark & {
                                                color: rgba($white, 0.6);
                                            }
                                        }
                                    }
                                }

                                &:nth-child(even) {
                                    background-color: $section-bg;
                                }
                            }
                        }
                    }
                }

                .card {
                    body.dark & {
                        background-color: transparent;
                    }
                }

                .top-booking {
                    border: 1px solid $border-color;
                    border-radius: 10px;
                    padding: 14px;
                    background-color: $section-bg;
                    margin-bottom: 18px;

                    body.dark & {
                        background-color: #171b27;
                        border-color: #454851;
                    }

                    @media (max-width: 991.98px) {
                        border: 0;
                        border-radius: 0;
                        padding: 0;
                        background-color: transparent;
                    }

                    .top-left-image {
                        border-radius: 5px;
                        overflow: hidden;
                        position: relative;

                        img {
                            aspect-ratio: 29/20;
                            object-fit: cover;

                            @media (max-width:991px) {
                                aspect-ratio: 73/50;
                            }
                        }
                    }
                }

                .card {
                    border: none;
                    border-radius: unset;
                }

                .primary-badge {
                    position: absolute;
                    top: 10px;
                    left: 10px;

                    [dir="rtl"] & {
                        left: unset;
                        right: 20px;
                    }

                    @media (max-width: 991.98px) {
                        top: 10px;
                        left: 10px;

                        [dir="rtl"] & {
                            left: unset;
                            right: 10px;
                        }
                    }
                }

                .status {
                    margin-bottom: 4px;

                    @media (max-width: 991.98px) {
                        flex-direction: column;
                        align-items: start;
                        justify-content: start;

                        [dir="rtl"] & {
                            align-items: end;
                        }
                    }

                    h5 {
                        font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                        color: $title-color;

                        &:hover {
                            text-decoration: unset;
                        }
                    }

                    .status-btn {
                        font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));

                        &:hover {
                            text-decoration: unset;
                        }
                    }
                }

                .view-status {
                    align-items: start;
                    margin-bottom: 10px;

                    button {
                        display: flex;
                        align-items: center;
                        gap: 4px;
                        border-radius: 4px;
                        border: none;

                        i {
                            --Iconsax-Size: 18px;
                            --Iconsax-Color: var(--theme-color);
                        }
                    }
                }

                .status-note {
                    color: #FF4B4B;
                    padding: 0;
                    border-radius: unset;
                    background-color: transparent;
                    font-size: 14px;
                    margin-top: 14px;
                    text-align: unset;
                    padding-top: 10px;
                    border-top: 1px solid $border-color;

                    body.dark & {
                        border-color: #454851;
                    }

                    span {
                        font-weight: 500;
                    }
                }

                .view-status-box {
                    margin-top: 12px;

                    .badge {
                        border: none;
                        border-radius: 6px;
                        padding: 10px 17px;

                        @media (max-width: 991.98px) {
                            background-color: transparent;
                        }

                        i {
                            --Iconsax-Color: var(--theme-color);
                            --Iconsax-Size: 20px;
                        }
                    }
                }

                .data {
                    li {
                        h4 {
                            font-size: 16px;
                            line-height: 1.3;
                            font-weight: 400;
                            color: $light-color;

                            body.dark & {
                                color: rgba($white, 0.8);
                            }
                        }

                        .rate {
                            margin: 0;

                            small {
                                font-size: 16px;
                                color: $title-color;

                                body.dark & {
                                    color: $white;
                                }
                            }
                        }

                        span {
                            color: $title-color;
                            font-weight: 500;
                            font-size: 16px;

                            body.dark & {
                                color: $white;
                            }
                        }

                        .badge {
                            padding: 0;
                            background-color: transparent !important;
                        }
                    }
                }

                .bill-summary {
                    margin-top: 7px;

                    label {
                        color: $title-color;
                        font-size: calc(17px + (18 - 17) * ((100vw - 320px) / (1920 - 320)));
                        font-weight: 600;
                        margin-bottom: calc(3px + (8 - 3) * ((100vw - 320px) / (1920 - 320)));

                        body.dark & {
                            color: $white;
                        }
                    }

                    .charge {
                        padding: calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320)));
                        background-color: $section-bg;
                        border: none;
                        border-radius: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));
                        gap: 0;

                        body.dark & {
                            background-color: #171b27;
                        }

                        li {
                            +li {
                                margin-top: calc(9px + (11 - 9) * ((100vw - 320px) / (1920 - 320)));
                            }

                            @media (max-width: 575.98px) {
                                flex-direction: unset;
                                flex-wrap: wrap;
                            }

                            p {
                                color: rgba($title-color, 0.761);
                                flex-wrap: wrap;
                                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                                gap: calc(0px + (6 - 0) * ((100vw - 320px) / (1920 - 320)));

                                body.dark & {
                                    color: rgba($white, 0.761);
                                }

                                span {
                                    color: var(--theme-color);
                                    font-size: 15px;
                                    font-weight: 500;
                                }
                            }

                            &.total {
                                background-color: transparent;
                                border: none;
                                border-top: 1px solid $border-color;
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                flex-direction: unset;
                                padding: calc(9px + (11 - 9) * ((100vw - 320px) / (1920 - 320))) 0 0;

                                body.dark & {
                                    border-color: #454851;
                                }

                                p {
                                    font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
                                    color: $title-color;
                                    font-weight: 600;
                                }

                                span {
                                    font-size: calc(18px + (20 - 18) * ((100vw - 320px) / (1920 - 320)));
                                    font-weight: 600;
                                }
                            }
                        }
                    }

                    .total {

                        &:before,
                        &:after {
                            content: none;
                        }
                    }

                    .total-amount {
                        background-color: $section-bg;
                        padding: 20px;
                        border: 1px solid $border-color;
                        border-bottom: none;

                        li {
                            @include flex_common ($dis: flex, $align: center, $justify: space-between);
                            gap: 4px;
                            font-size: 16px;

                            &.total-amount-data {
                                font-weight: 700;
                            }
                        }
                    }

                    .circle {
                        height: 16px;
                        margin: 0;
                        margin-top: -8px;
                        margin-bottom: -8px;
                    }
                }

                .payment-summary {
                    margin-top: 7px;

                    label {
                        color: $title-color;
                        font-size: calc(17px + (18 - 17) * ((100vw - 320px) / (1920 - 320)));
                        font-weight: 600;
                        margin-bottom: calc(3px + (8 - 3) * ((100vw - 320px) / (1920 - 320)));

                        body.dark & {
                            color: $white;
                        }
                    }

                    .charge {
                        background-color: $section-bg;
                        border: none;
                        padding: calc(12px + (16 - 12) * ((100vw - 320px) / (1920 - 320)));
                        display: flex;
                        flex-direction: column;
                        gap: calc(8px + (14 - 8) * ((100vw - 320px) / (1920 - 320)));
                        position: relative;
                        border-radius: calc(6px + (8 - 6) * ((100vw - 320px) / (1920 - 320)));

                        body.dark & {
                            background-color: #171b27;
                        }

                        li {
                            flex-wrap: wrap;

                            @media (max-width: 575.98px) {
                                flex-direction: unset;
                            }
                        }

                        p {
                            color: rgba($title-color, 0.761);
                            flex-wrap: wrap;
                            font-size: calc(14px + (16 - 14) * ((100vw - 320px) / (1920 - 320)));

                            body.dark & {
                                color: rgba($white, 0.761);
                            }
                        }

                        .badge {
                            padding: 0;
                            background-color: transparent !important;
                            font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                        }
                    }

                    .circle {
                        height: 18px;
                        margin: -11px 0;
                    }
                }

                .extra-service {
                    label {
                        color: $title-color;
                        font-weight: 500;
                        margin-bottom: 8px;
                    }

                    .total-amount {
                        @include flex_common ($dis: flex, $align: center, $justify: space-between);
                        gap: 4px;
                        border: 1px solid $border-color;
                        border-radius: 12px;
                        padding: 16px;

                        h4 {
                            font-weight: 500;
                            line-height: 23px;
                            margin-bottom: 6px;
                        }

                        p {
                            margin: 0;
                            color: var(--theme-color);
                            line-height: 18px;
                        }

                        .receipt {
                            background-color: rgba($primary-color, 0.10);
                            border-radius: 4px;
                            @include pseudowh($width: 50px, $height: 50px);
                            @include flex_common;

                            .receipt-img {
                                @include pseudowh($width: 25px, $height: 25px);
                            }
                        }
                    }
                }

                .profile-view {
                    background-color: transparent;
                    border-radius: 5px;
                    @include flex_common;
                    @include pseudowh($width: 30px, $height: 30px);
                    border: none;
                    margin-inline: auto;
                    position: relative;
                    z-index: 0;
                    overflow: hidden;

                    &::before {
                        @include pos;
                        top: 0;
                        left: 0;
                        @include pseudowh;
                        background-color: var(--theme-color);
                        opacity: 0.1;
                        z-index: -1;
                    }

                    i {
                        --Iconsax-Size: 18px;
                        --Iconsax-Color: var(--theme-color);
                    }
                }

                .chat {
                    background-color: $section-bg;
                    border-radius: 5px;
                    @include flex_common;
                    @include pseudowh($width: 30px, $height: 30px);
                    border: none;

                    i {
                        --Iconsax-Size: 18px;
                        --Iconsax-Color: #808B97;
                    }
                }
            }

            .modal-footer {
                .status-note {
                    border-radius: 6px;
                }
            }
        }
    }

    &.status-modal {
        .modal-content {
            .modal-header {
                position: relative;

                .modal-back {
                    position: absolute;
                    left: 24px;
                    background-color: unset;
                    padding: 0;
                    border: none;

                    [dir="rtl"] & {
                        left: unset;
                        right: 24px;
                    }
                }

                i {
                    --Iconsax-Size: 22px;
                    --Iconsax-Color: #222;
                }
            }

            .modal-body {
                .pattern-btn-1 {
                    padding: calc(12px + (20 - 12) * ((100vw - 320px) / (1920 - 320))) calc(15px + (20 - 15) * ((100vw - 320px) / (1920 - 320)));

                    &:before,
                    &:after {
                        background-color: $white;

                        body.dark & {
                            background-color: #252934;
                        }
                    }
                }

                .input-group {
                    position: relative;
                    overflow: hidden;
                    border-radius: calc(4px + (8 - 4) * ((100vw - 320px) / (1920 - 320)));
                }

                .form-control.pattern-input {
                    position: unset;
                    padding: calc(12px + (20 - 12) * ((100vw - 320px) / (1920 - 320))) calc(15px + (20 - 15) * ((100vw - 320px) / (1920 - 320)));
                    vertical-align: middle;

                    &:after,
                    &:before {
                        @include pos;
                        pointer-events: none;
                        border: dashed transparent;
                        display: block;
                        border-width: 1px;
                        @include pseudowh($width: 12px, $height: 12px);
                        border-radius: 100%;
                        background-color: $white;
                        z-index: 1;

                        body.dark & {
                            background-color: #252934;
                        }
                    }

                    &:after {
                        border-top-color: var(--theme-color);
                        border-left-color: var(--theme-color);
                        border-bottom-color: var(--theme-color);
                        right: -6px;
                        @include center(vertical);

                        [dir="rtl"] & {
                            right: unset;
                            left: -6px;
                            transform: rotate(180deg);
                        }
                    }

                    &:before {
                        border-top-color: var(--theme-color);
                        border-right-color: var(--theme-color);
                        border-bottom-color: var(--theme-color);
                        left: -6px;
                        @include center(vertical);

                        [dir="rtl"] & {
                            left: unset;
                            right: -6px;
                            transform: translateY(-50%) rotate(170deg);
                        }
                    }
                }

                .status-history {
                    margin-top: 15px;

                    ul {
                        display: flex;
                        flex-direction: column;
                        gap: 0;
                        padding: 0;

                        li {
                            position: relative;
                            display: flex;
                            align-items: center;
                            gap: 16px;

                            +li {
                                padding-top: 15px;
                                border-top: 1px dashed $border-color;
                                margin-top: 15px;
                            }

                            @media (max-width: 480px) {
                                flex-wrap: wrap;
                                gap: 8px;
                            }

                            i {
                                --Iconsax-Size: 24px;
                                --Iconsax-Color: #E5E8EA;
                            }

                            p {
                                margin: 0;
                            }

                            .status-time {
                                line-height: 1.3;
                                color: $light-color;
                                white-space: nowrap;

                                body.dark & {
                                    color: rgba($white, 0.8);
                                }
                            }

                            .status-title {
                                font-size: 15px;
                                line-height: 20px;

                                body.dark & {
                                    color: $white;
                                }
                            }

                            .status-des {
                                font-size: 15px;
                                line-height: 20px;
                                color: $light-color;

                                body.dark & {
                                    color: rgba($white, 0.8);
                                }
                            }

                            .status-main {
                                padding-left: 16px;
                                position: relative;
                                width: 100%;

                                [dir="rtl"] & {
                                    padding-left: 0;
                                    padding-right: 16px;
                                }

                                @media (max-width: 480px) {
                                    padding-left: 42px;

                                    [dir="rtl"] & {
                                        padding-left: 0;
                                        padding-right: 42px;
                                    }
                                }

                                &:before {
                                    @include pos;
                                    left: 0;
                                    @include center(vertical);
                                    background-color: $border-color;
                                    @include pseudowh($width: 1px, $height: 26px);

                                    body.dark & {
                                        background-color: #454851;
                                    }

                                    [dir="rtl"] & {
                                        left: unset;
                                        right: 0;
                                    }

                                    @media (max-width: 480px) {
                                        display: none;
                                    }
                                }
                            }

                            .dashed-border {
                                @include pos;
                                @include pseudowh($width: 100%, $height: 1px);
                                left: 0;
                                bottom: 0;
                                margin: 0;
                                display: none;

                                [dir="rtl"] & {
                                    left: unset;
                                    right: 0;
                                }
                            }

                            &.recent {
                                .activity-dot {
                                    background-color: var(--theme-color);
                                    outline-color: var(--theme-color);

                                    &:after {
                                        background-color: $white;
                                        border: 1px dashed var(--theme-color);
                                    }
                                }

                                i {
                                    --Iconsax-Size: 24px;
                                    --Iconsax-Color: var(--theme-color);

                                    [dir="rtl"] & {
                                        transform: scaleX(-1);
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }

    &.terms-modal {
        --bs-modal-width: 650px !important;
        height: 800px !important;

        .modal-content {
            .modal-body {
                .accordion {
                    width: 100%;

                    .accordion-item {
                        background-color: $white;
                        border-radius: 12px;

                        body.dark & {
                            background-color: #323640;

                            .accordion-header {
                                .accordion-button {
                                    color: $white;

                                    svg {
                                        --Iconsax-Color: #ffffff;
                                    }
                                }
                            }

                            .accordion-body {
                                ul {
                                    li {
                                        color: rgba($white, 0.6);
                                    }
                                }
                            }

                        }

                        +.accordion-item {
                            margin-top: 20px;
                        }

                        .accordion-header {
                            .accordion-button {
                                padding: 15px;
                                display: flex;
                                align-items: center;
                                justify-content: space-between;
                                width: 100%;
                                line-height: 1.2;
                                font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
                                font-weight: 500;
                                gap: 4px;
                                color: $title-color;
                                cursor: pointer;

                                i {
                                    --Iconsax-Size: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320)));
                                    --Iconsax-Color: #222;
                                }

                                &:after {
                                    display: none;
                                }

                                .add {
                                    display: none;
                                }

                                .minus {
                                    display: flex;
                                }

                                &.collapsed {
                                    color: rgba($title-color, 0.7);

                                    .add {
                                        display: flex;
                                    }

                                    .minus {
                                        display: none;
                                    }
                                }
                            }
                        }

                        .accordion-body {
                            padding: 20px;

                            p {
                                font-size: 18px;
                                line-height: 1.5;
                            }
                        }
                    }
                }

                ul,
                ol {
                    list-style-type: disc;
                    padding-left: 1.25rem;

                    [dir="rtl"] & {
                        padding-right: 1.25rem;
                        padding-left: unset;
                    }


                    li {
                        display: list-item;
                        font-size: 17px;
                        color: rgba($title-color, 0.7);
                        line-height: 1.3 !important;
                        margin-bottom: 12px;
                    }
                }
            }
        }
    }

    &.delete-modal {
        .modal-content {

            .modal-body {
                position: relative;
                padding-top: calc(15px + (24 - 15) * ((100vw - 320px) / (1920 - 320)));

                .modal-icon {
                    --Iconsax-Color: var(--theme-color);
                    --Iconsax-Size: 50px;
                    margin-bottom: 10px;
                }

                h3 {
                    font-weight: 600;
                    margin-bottom: 8px;
                }

                p {
                    width: 80%;
                }
            }
        }
    }

    &.start-service-modal,
    &.restart-service-modal {
        .modal-body {
            text-align: center;

            .modal-body-content {
                flex-direction: column;

                .ellipse {
                    width: 220px;
                    padding-bottom: 20px;
                }
            }
        }
    }

    &.pause-service-modal {
        .modal-body {
            text-align: center;

            .modal-body-content {
                position: relative;
                flex-direction: column;

                .ellipse {
                    @include pseudowh($width: 100px, $height: auto !important);
                }

                .hold {
                    position: absolute;
                    top: 40px;
                    right: 70px;
                    height: auto !important;

                    [dir="rtl"] & {
                        right: unset;
                        left: 70px;
                    }

                    @media (max-width: 575.98px) {
                        height: 40px !important;
                    }

                    @media (max-width: 480px) {
                        right: 10px;

                        [dir="rtl"] & {
                            right: unset;
                            left: 10px;
                        }
                    }
                }
            }
        }
    }

    &.completed-service-modal {
        .modal-content {
            .modal-body {
                text-align: center;

                .modal-body-content {
                    position: relative;

                    .success-tick {
                        top: 50px;
                        left: 35%;
                        transform: translateX(-35%);
                        position: absolute;
                        height: 40px;

                        [dir="rtl"] & {
                            left: unset;
                            right: 35%;
                            transform: translateX(35%);
                        }
                    }

                    .girl-on-chair {
                        position: absolute;
                        top: 20px;
                        @include center(horizontal);
                        height: 210px;
                    }
                }
            }
        }
    }

    &.review-modal {
        .modal-content {
            .modal-body {
                .rate-content {
                    p {
                        margin: 0 0 14px;
                        color: $title-color;
                        font-size: 18px;
                        line-height: 1.4;

                        body.dark & {
                            color: $white;
                        }
                    }
                }
            }
        }
    }

    &.profile-update-modal {
        .update-img {
            display: flex;
            margin: 0 auto;
            width: max-content;
            position: relative;

            img {
                @include pseudowh($width: 120px, $height: 120px);
                border-radius: 100%;
                border: 2px solid $white;
            }

            .update-profile {
                --Iconsax-Size: 20px;
                --Iconsax-Color: var(--theme-color);
                background-color: $section-bg;
                border: 2px solid $white;
                @include pseudowh($width: 40px, $height: 40px);
                border-radius: 100%;
                position: absolute;
                bottom: -10px;
                right: -10px;
                cursor: pointer;
                @include flex_common;

                body.dark & {
                    background-color: #323640;
                    border: none;
                }

                [dir="rtl"] & {
                    right: unset;
                    left: -10px;
                }
            }


            .initial-letter {
                @include pseudowh($width: 80px, $height: 80px);
                background-color: $white;
                @include flex_common;
                font-size: 40px;
                font-weight: 500;
                border-radius: 100%;
                color: var(--theme-color);
                text-transform: uppercase;
                position: relative;
                z-index: 0;
                overflow: hidden;

                body.dark & {
                    background-color: #171B27;

                    &::before {
                        border-color: #454851;
                    }
                }

                &::before {
                    @include pos;
                    top: 0;
                    left: 0;
                    @include pseudowh;
                    border: 2px solid var(--theme-color);
                    opacity: 0.1;
                    border-radius: 100%;
                    z-index: -1;
                }
            }
        }

        input[type="file"] {
            display: none;
        }
    }

    &.change-password-modal {
        .modal-body {
            .form-group {
                margin-bottom: 15px;

                &:last-child {
                    margin-bottom: 0;
                }

                .form-control {
                    background-color: $section-bg;
                    border-radius: 6px;
                }
            }
        }
    }

    &.address-modal {
        .modal-body {
            .select2-container--default {
                .selection {
                    .select2-selection--single {
                        padding: 12px 16px;
                        height: unset;

                        .select2-selection__rendered {
                            padding: 0;
                        }
                    }

                    .select2-selection__arrow {
                        position: relative;
                        inset: unset;
                        transform: unset;
                        @include pseudowh($width: auto, $height: unset);

                        b {
                            position: relative;
                            inset: unset;
                            transform: unset;
                            margin: 0;
                            display: block;
                        }
                    }
                }
            }

            .category-list-box {
                +.category-list-box {
                    margin-top: calc(12px + (20 - 12) * ((100vw - 320px) / (1920 - 320)));
                }

                .error-div {
                    .select2-container--default {
                        .selection {
                            min-width: unset;
                            display: block;
                        }
                    }
                }

                .label-title {
                    font-size: 16px;
                    font-weight: 500;
                    line-height: 1.3;
                    margin-bottom: 6px;
                    position: relative;
                    color: rgba($title-color, 0.78);

                    body.dark & {
                        color: $white;
                    }
                }

                .input-group {
                    .form-control {
                        padding: 10px 16px;

                        [dir="rtl"] & {
                            text-align: right;
                        }

                        body.dark & {
                            background-color: #171B27;
                        }
                    }
                }

                .category-list {
                    display: grid;
                    grid-template-columns: 1fr 1fr 1fr;
                    gap: 12px;

                    @media (max-width: 575.98px) {
                        grid-template-columns: 1fr 1fr;
                    }

                    @media (max-width: 360px) {
                        grid-template-columns: 1fr;
                    }

                    .form-check {
                        position: relative;

                        body.dark & {
                            background-color: #171B27;

                            label {
                                color: $white;
                                border-color: #454851;
                            }

                            .check-box {
                                &::after {
                                    background-color: #252934;
                                    border-color: #454851;
                                }
                            }
                        }

                        &:has(.form-check-input:checked) {
                            label {
                                border-color: var(--theme-color);
                                color: var(--theme-color);
                                font-weight: 500;
                                z-index: 0;
                                position: relative;
                                overflow: hidden;

                                &:before {
                                    @include pos;
                                    top: 0;
                                    left: 0;
                                    @include pseudowh;
                                    background-color: var(--theme-color);
                                    opacity: 0.12;
                                }
                            }
                        }

                        .form-check-input {
                            position: absolute;
                            top: 0;
                            left: 0;
                            @include pseudowh;
                            z-index: 2;
                            opacity: 0;

                            &:before,
                            &::after {
                                content: none;
                            }

                            &:checked {
                                ~.form-check-label {
                                    .check-box {
                                        &::before {
                                            transform: rotate(-45deg) scale(1, 1);
                                        }

                                        &::after {
                                            background-color: var(--theme-color);
                                            border-color: var(--theme-color);
                                        }
                                    }
                                }
                            }
                        }

                        .form-check-label {
                            font-size: 17px;
                            font-weight: 400;
                            color: $title-color;
                            width: 100%;
                            border: 1px solid $border-color;
                            border-radius: 6px;
                            padding: 11px 15px;
                            justify-content: space-between;
                            cursor: pointer;
                            margin: 0;
                            display: flex;
                            align-items: center;

                            .check-box {
                                cursor: pointer;
                                position: relative;
                                border: none;
                                @include pseudowh($width: 20px, $height: 20px);
                                box-shadow: none;
                                background-color: transparent;
                                display: flex;
                                align-items: center;
                                margin-top: 0;
                                filter: none;
                                float: unset;
                                margin: 0;

                                &::before {
                                    transition: transform 0.4scubic-bezier(0.45, 1.8, 0.5, 0.75);
                                    transform: rotate(-45deg) scale(0, 0);
                                    @include pos;
                                    left: 4px;
                                    top: 5px;
                                    z-index: 1;
                                    @include pseudowh($width: 0.75rem, $height: 0.3rem);
                                    border: 2px solid $white;
                                    border-top-style: none;
                                    border-right-style: none;
                                }

                                &::after {
                                    @include pos;
                                    top: -1px;
                                    left: -1px;
                                    @include pseudowh($width: 20px, $height: 20px);
                                    background: $white;
                                    border: 2px solid $border-color;
                                    border-radius: 4px;
                                    cursor: pointer;
                                }
                            }
                        }
                    }
                }
            }

            .set-address-box {
                border: 1px solid #ddd9d9;
                border-radius: 6px;
                padding: 11px 15px;
                cursor: pointer;
                margin: 0;
                display: flex;
                align-items: center;
                justify-content: space-between;
                position: relative;

                body.dark & {
                    border-color: #454851;

                    label {
                        color: $white;
                    }
                }

                &:has(.form-check-input:checked) {
                    border-color: var(--theme-color);
                    position: relative;
                    z-index: 0;
                    overflow: hidden;

                    &::before {
                        @include pos;
                        top: 0;
                        left: 0;
                        @include pseudowh;
                        background-color: var(--theme-color);
                        opacity: 0.12;
                        z-index: -1;
                    }

                    label {
                        color: var(--theme-color);
                        font-weight: 500;
                    }
                }

                .form-check-input {
                    position: absolute;
                    top: 0;
                    left: 0;
                    cursor: pointer;
                    @include pseudowh;
                    margin: 0;
                    opacity: 0;
                }

                label {
                    cursor: pointer;
                    font-size: 17px;
                    font-weight: 400;
                    color: var(--bs-secondary-color);
                    width: 100%;
                    text-align: center;
                }
            }
        }
    }
}

.update-detail {
    .form-group {
        position: relative;

        body.dark & {
            label {
                color: $white;
            }

            .form-control {
                background-color: #171B27;
                color: rgba($white, 0.6);

                &::placeholder {
                    color: $white;
                }
            }
        }
    }

    &:has(i) {
        .form-control {
            border: none;
            padding-left: 46px;

            [dir="rtl"] & {
                padding-left: unset;
                padding-right: 46px;
            }
        }
    }

    i {
        --Iconsax-Size: 20px;
        --Iconsax-Color: #808B97;
        position: absolute;
        left: 15px;
        top: 12px;

        [dir="rtl"] & {
            left: unset;
            right: 15px;
        }
    }

    .toggle-password {
        position: absolute;
        @include center(vertical);
        right: 15px;
        left: unset;
        cursor: pointer;

        [dir="rtl"] & {
            left: 15px;
            right: unset;
        }

        i {
            position: static;
            transform: unset;
        }

        .eye-slash {
            display: none;
        }

        &.eye {
            i.eye {
                display: block;
            }

            i.eye-slash {
                display: none;
            }
        }

        &.eye-slash {
            i.eye-slash {
                display: block;
            }

            i.eye {
                display: none;
            }
        }
    }
}

.phone-detail {
    .form-control {
        &-white {
            padding-left: 16px;

            [dir="rtl"] & {
                padding-left: unset;
                padding-right: 16px;
            }
        }
    }
}

.select-option {
    border: 1px solid $border-color;
    padding: calc(13px + (16 - 13) * ((100vw - 320px) / (1920 - 320)));
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    color: $light-color;

    body.dark & {
        border-color: #454851;

        .form-check {
            label {
                color: rgba($white, 0.9) !important;
            }
        }
    }

    .form-check {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        border-bottom: 1px solid $border-color;
        padding-bottom: calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));
        margin-bottom: calc(8px + (12 - 8) * ((100vw - 320px) / (1920 - 320)));

        body.dark & {
            border-color: #454851;
        }

        &:last-child {
            border: none;
            padding-bottom: 0;
            margin-bottom: 0;
        }

        Label {
            font-size: 16px;
            color: rgba($title-color, 0.9) !important;
            cursor: pointer;
        }
    }

    .form-radio-input {
        &:checked {
            ~label {
                font-weight: 500;
                color: $title-color !important;
            }
        }
    }
}

.select-servicemen {
    @include flex_common ($dis: flex, $align: center, $justify: space-between);
    border: 1px solid $border-color;
    padding: calc(13px + (16 - 13) * ((100vw - 320px) / (1920 - 320)));
    border-radius: 10px;
    background-color: $white;
    gap: 12px;

    body.dark & {
        background-color: transparent;
        border-color: #454851;

        .plus-minus {
            background-color: #171B27;

            input {
                background-color: transparent;
                color: $white;
            }
        }

        p {}
    }

    p {
        margin: 0;
        font-size: 16px;
    }

    @media (max-width: 575.98px) {
        flex-direction: column;
        align-items: start;

        [dir="rtl"] & {
            align-items: end;
        }
    }
}

.servicemen-list {
    display: flex;
    flex-direction: column;
    overflow: auto;
    height: 450px;
    padding-right: 10px;

    [dir="rtl"] & {
        padding-right: unset;
        padding-left: 10px;
    }

    .servicemen-list-item {
        gap: 12px;
        @include flex_common ($dis: flex, $align: center, $justify: space-between);

        +.servicemen-list-item {
            border-top: 1px solid $border-color;
            margin-top: 12px;
            padding-top: 12px;

            body.dark & {
                border-color: #454851;
            }
        }

        .list {
            display: flex;
            align-items: center;
            gap: 12px;

            @media (max-width: 575.98px) {
                gap: 6px;
            }

            p {
                margin: 0;
                color: $light-color !important;
                font-size: 14px !important;

                body.dark & {
                    color: rgba($white, 0.6) !important;
                }
            }

            ul {
                display: flex;
                align-items: center;
                gap: 12px;
            }

            h5 {
                font-weight: 500;

                @media (max-width: 360px) {
                    font-size: 14px;
                    width: 70px;
                    overflow: hidden;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                    white-space: nowrap;
                    text-align: left;
                    text-overflow: ellipsis;

                    [dir="rtl"] & {
                        text-align: right;
                    }
                }
            }

            .rate {
                margin: 0;
                position: relative;
                padding-left: 12px;

                body.dark & {
                    color: rgba($white, 0.6);

                }

                [dir="rtl"] & {
                    padding-left: unset;
                    padding-right: 12px;
                }

                .star {
                    @include pseudowh($width: 13px, $height: 13px);
                }

                &:before {
                    @include pos;
                    top: 2px;
                    left: 0;
                    background-color: $border-color;
                    @include pseudowh($width: 1px, $height: 12px);

                    [dir="rtl"] & {
                        left: unset;
                        right: 0;
                    }
                }
            }

            .detail {
                font-size: 16px;
                font-weight: 500;
                border: none;
                background: none;
                padding: 0;
                line-height: 1;

                body.dark & {
                    color: $white;
                }

                @media (max-width: 360px) {
                    font-size: 14px;
                    width: 100px;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-line-clamp: 1;
                    -webkit-box-orient: vertical;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    text-align: left;

                    [dir="rtl"] & {
                        text-align: right;
                    }
                }

                &:hover {
                    color: var(--theme-color);
                }
            }

            .img-45 {
                @media (max-width: 575.98px) {
                    @include pseudowh($width: 35px !important, $height: 35px !important);
                }
            }
        }
    }
}

.status-note {
    color: $danger-color;
    padding: 16px;
    border-radius: 8px;
    background-color: rgba($danger-color, 0.10);
    font-size: 14px;
    text-align: center;

    span {
        font-weight: 500;
    }
}

.emoji-tab {
    @include flex_common;
    gap: 10px;

    body.dark & {
        .emojis {
            background-color: #171B27;
            border-color: #454851;
        }

        .emoji {
            color: rgba($white, 0.6);
        }

        h4 {
            color: rgba($white, 0.6);
        }
    }

    .emoji-icon {
        text-align: center;
        width: 100%;

        h4 {
            font-size: 16px;
            margin-top: 8px;
            color: $light-color;

            @media (max-width: 480px) {
                display: none;
            }
        }

        .emojis {
            padding: 10px;
            width: 100%;
            background-color: $white;
            border-radius: 8px;
            border: 1px solid $border-color;
            @include flex_common;
            cursor: pointer;


            @media (max-width: 480px) {
                padding: 8px;
            }

            @media (max-width: 360px) {
                padding: 6px;
            }

            .emoji {
                @include pseudowh($width: 40px, $height: 40px);

                @media (max-width: 480px) {
                    @include pseudowh($width: 30px, $height: 30px);
                }

                @media (max-width: 360px) {
                    @include pseudowh($width: 25px, $height: 25px);
                }
            }

            .emoji {
                color: $light-color;
                fill: transparent;
            }
        }

        &.active {
            .emojis {
                border: 1px solid var(--theme-color);
            }

            .emoji {
                filter: none;
            }

            .emoji {
                color: var(--theme-color);
            }

            h4 {
                color: var(--theme-color);
            }
        }
    }
}

.search-modal {
    .modal-dialog {
        .modal-content {
            body.dark & {
                background-color: #252934;

                .modal-title {
                    color: $white;
                }

                .modal-body {
                    .input-group {
                        .form-control {
                            background-color: #323640;
                            border-color: #454851;

                            &::placeholder {
                                color: rgba($white, 0.6);
                            }
                        }

                        .feather {
                            color: rgba($white, 0.6);
                        }
                    }

                    .search-content-box {
                        .search-box {
                            .search-title {
                                h4 {
                                    color: $white;
                                }
                            }

                            .search-list {
                                li {
                                    a {
                                        color: $white;

                                        small {
                                            color: rgba($white, 0.6);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            .modal-body {
                .home-form-group {
                    .input-group {
                        display: flex;
                        gap: 10px;
                        flex-wrap: nowrap;
                        position: relative;

                        .feather {
                            @include pseudowh($width: calc(19px + (22 - 19) * ((100vw - 320px) / (1920 - 320))), $height: calc(19px + (22 - 19) * ((100vw - 320px) / (1920 - 320))));
                            color: $light-color;
                            position: absolute;
                            @include center(vertical);
                            left: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));

                            [dir="rtl"] & {
                                left: unset;
                                right: calc(12px + (14 - 12) * ((100vw - 320px) / (1920 - 320)));
                            }
                        }

                        .form-control {
                            background-color: $section-bg;
                            padding: calc(10px + (13 - 10) * ((100vw - 320px) / (1920 - 320))) calc(10px + (13 - 10) * ((100vw - 320px) / (1920 - 320))) calc(10px + (13 - 10) * ((100vw - 320px) / (1920 - 320))) calc(38px + (44 - 38) * ((100vw - 320px) / (1920 - 320)));
                            color: $title-color;
                            border: 1px solid $border-color;

                            [dir="rtl"] & {
                                padding: 13px 44px 13px 13px;
                            }

                            &::placeholder {
                                color: $light-color;
                            }

                            body.dark & {
                                color: #fff;
                            }
                        }

                        .btn {
                            border-radius: 8px;
                            padding-inline: 18px;
                        }
                    }
                }

                .search-content-box {
                    margin-top: calc(16px + (26 - 16) * ((100vw - 320px) / (1920 - 320)));

                    .search-box {
                        +.search-box {
                            margin-top: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
                            padding-top: calc(10px + (15 - 10) * ((100vw - 320px) / (1920 - 320)));
                            border-top: 1px solid $border-color;

                            body.dark & {
                                border-color: #454851;
                            }
                        }
                    }

                    .search-title {
                        margin-bottom: 9px;

                        h4 {
                            font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
                            line-height: 1.3;
                        }
                    }

                    .search-list {
                        display: grid;
                        gap: 10px;

                        li {
                            a {
                                font-size: calc(15px + (16 - 15) * ((100vw - 320px) / (1920 - 320)));
                                color: rgba($title-color, 0.9);
                                display: flex;
                                align-items: center;
                                gap: calc(6px + (10 - 6) * ((100vw - 320px) / (1920 - 320)));
                                ;
                                transition: all 0.2s ease-in-out;

                                &:has(>span) {
                                    align-items: unset;

                                    .feather {
                                        margin-top: 4px;
                                    }
                                }

                                &:hover {
                                    color: var(--theme-color);

                                    body.dark & {
                                        color: var(--theme-color);
                                    }
                                }

                                span {
                                    display: grid;

                                    small {
                                        font-size: 14px;
                                        color: rgba($title-color, 0.6);
                                    }
                                }

                                .feather {
                                    @include pseudowh($width: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320))), $height: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320))));
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}