.flex-align-center {
    align-items: center;
}

.relative {
    position: relative;
}

.pl-30 {
    padding-left: 30px;
}

.circle {
    border-radius: 50%;
    height: 25px;
    width: 25px;
}

.green {
    background-color: #00ae1f;
}

.red {
    background-color: #e50002;
}

.flex {
    display: flex;
    gap: 10px;
}

.card {
    background-color: #fff;
    margin-top: 20px;
    border-radius: 5px;
    padding: 20px;
    gap: 10px;
}

.tag {
    display: inline-block;
    border-radius: 10px;
    padding: 8px;
    color: white;
    min-width: fit-content;
    height: fit-content;
}

.padding-6 {
    padding-block: 6px;
}

.margin-t-6 {
    margin-top: 6px;
}

.max-height-fit {
    max-height: fit-content;
}

.grey {
    background-color: #999999;
}

.blue {
    background-color: #005b93;
}

.service-types {
    max-width: 65%;
    width: fit-content;
}

.service-name {
    max-width: calc(100% - 35px)
}

.justify-self-end {
    justify-self: flex-end;
}

.min-width-70 {
    min-width: 70px;
}

.edit-icon {
    transition: all .25s linear;
}

.edit-icon:hover,
.edit-icon:hover .dash-title__icon svg {
    color: #f8ac30;
    stroke: #f8ac30;
}

.padding-inline-15 {
    padding-inline: 15px;
}

.max-width-40 {
    max-width: 40%;
}


.tile {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
}

.tile:hover {
    color: #f8ac30;
}

.gap-10 {
    gap: 10px;
}

.find-service-searchbox {
    padding: 13px 15px 14px;
    width: 250px;
}

.button.sm {
    padding: 10px 15px;
    font-size: 14px;
    min-width: 116px;
}

.business-line {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.business-line header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border: 1px solid #eee;
    background-color: #fff;
}

.business-line header .business-info {
    display: flex;
    align-items: center;
}

.business-line header .business-info img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    object-fit: cover;
}

.business-line header .business-info h1 {
    margin: 0;
    color: #333;
    margin-right: 10px;
}

.business-line header .business-info .address {
    color: #666;
}

.business-line header .view-all {
    color: #10385b;
    text-decoration: underline;
}

.business-line header .view-all:hover {
    text-decoration: underline;
}

.business-line {
    .services {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        background-color: #eee;
        padding: 20px;
        width: 100%;
        flex-grow: 1;
        box-sizing: border-box;
        margin: 0;
        align-items: flex-start;
    }
}

.service-type,
.business-line,
.business-services-wrapper {
    .service {
        flex: 0 0 calc(50% - 10px);
        padding: 5px 5px 5px 20px;
        background-color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 5px;
        border: 1px solid #ddd;
        box-sizing: border-box;
    }

    .service .service-info {
        max-width: calc(100% - 120px);
    }

    .service .service-info p {
        margin: 0;
    }
}

.business-services-wrapper {
    width: 100%;
}

@media (max-width: 990px) {

    .service-type,
    .business-line {
        .service {
            flex: 0 0 100%;
        }
    }
}

/* ------------------------------------------------ */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    width: 100%;

    h1 {
        font-size: 24px;
        margin: 0 0 10px;
    }

    ul {
        list-style-type: none;
        padding: 0;
        margin: 0 0 20px;

        li {
            margin-bottom: 10px;
            list-style: none;
        }
    }
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    .price {
        font-size: 18rem;
        margin: 10px 0 0;
        display: inline-block;
    }

    .header-right {
        display: flex;
        align-items: flex-start;
        min-width: fit-content;
    }

    img {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }
}

.service-card-title {
    font-size: 18px;
    font-weight: 800;
    margin: 20px 0;
}

.description {
    margin-bottom: 20px;
}

/* ------------------ */
.business-services-header {
    img {
        width: 50px;
        height: 50px;
        object-fit: cover;
    }
}

div.container.business-services-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 40px 30px;
    align-items: center;
    justify-content: flex-start;

    .service-type {
        width: calc(50% - 15px);

        .services {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
    }
}

@media (max-width: 1200px) {
    div.container.business-services-wrapper {
        .service-type {
            width: 100%;
        }
    }
}

/* ---------------------- */
div.container.business-search-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;

    .business-search-result {
        width: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid #eee;
        border-radius: 8px;

        .business-search-header {
            display: flex;
            gap: 10px;
            background-color: #fff;
            padding: 10px;
            align-items: center;

            img {
                height: 50px;
                width: 50px;
                object-fit: cover;
            }

            .business-header-mid {
                flex-grow: 1;
                display: flex;
                flex-direction: column;

                .address {
                    color: #0b569e;
                }
            }

            .button {
                display: flex;
                flex-direction: column;
                padding: 10px 10px 5px 10px;
                width: 25%;
            }

            svg {
                height: 20px;
                width: 40px;
                stroke: #fff;
                color: #fff;

                use {
                    display: inline;
                    fill: #fff !important;
                }
            }
        }

        .business-search-service-types {
            background-color: #eee;
            display: flex;
            flex-wrap: wrap;
            padding: 10px;
            gap: 10px;
        }
    }
}

@media only screen and (max-width:767.98px) {
    .request-service-modal {
        .modal-alert {
            padding: 50rem 15rem
        }
    }
}

.request-service-modal {

    .request-service-header {
        display: flex;
        flex-direction: column;

        .requested-service-details {
            .blue-text {
                color: blue
            }
        }
    }

    .request-service-header.with-separator {
        padding-bottom: 10rem;
    }


    .modal-alert {
        width: 100%;
        padding: 20rem 40rem;

        a {
            text-decoration: underline;
        }
    }

    hr.separator {
        height: 4px;
        width: 100%;
    }

    svg.checkmark {
        fill: #3fb651;
        stroke: #3fb651;
        border-radius: 50%;
        background-color: transparent;
        border: solid 8px #3fb651;
        height: 75px;
        width: 75px;
        padding: 10px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

    svg.checkmark path {
        fill: #3fb651;
        stroke: white;
    }

    svg.checkmark circle {
        fill: #3fb651;
        stroke: none;
    }

    .success-text {
        font-size: 20rem;
    }

    .gap-40 {
        gap: 40px;
    }
}

.loading-modal {
    justify-content: center;

    .loading-text {
        text-align: center;
    }

    .loading-spinner {
        width: 40px;
        height: 40px;
        border: 4px solid #f3f3f3;
        /* Light gray background */
        border-top-color: #3498db;
        /* Blue spinner color */
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 30px auto;
    }
}

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

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

.request-service-note {
    display: flex;
    align-items: flex-end;
    color: #6C7A89;
    font-style: italic;
}

.powered-by.left {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}


.errorlist {
    color: red;
    list-style: none;
}


.table-container {
    background: #f5f5f5;
    padding: 8px;
    border-radius: 8px;
}

.customer-requests-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 8px;

    .no-hover:hover {
        background-color: inherit;
    }

    tbody {
        tr {
            background: white;
        }
    }

    tr {
        td:first-child {
            border-radius: 10px 0 0 10px;
            padding: 0 0 0 10px;
        }

        td:last-child {
            border-radius: 0 10px 10px 0;
        }
    }

    th,
    td {
        padding: 12px 0;
        vertical-align: middle;
    }

    th {
        text-align: left;
        color: #10385b;
    }

    .requests-table-link {
        color: #034a98;
        text-decoration: underline;
    }
}

.text-capitalize {
    text-transform: capitalize;
}


@media (min-width: 991.98px) {
    .service-request-details-modal {
        .dash-title {
            font-size: 16px;
        }

        .dash-box {
            font-size: 12px;
            word-break: break-all;
        }
    }
}

.service-request-details-modal {
    .text-success {
        color: #3fb651;
    }

}

.service-request-notes {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
}

.text-underline {
    text-decoration: underline;
}

.dash-right__top {
    .request-status-tab.active {
        background-color: #ffb019;
        border-color: #ffb019;
    }
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    margin-top: 15rem;
    padding: 11px 15px 12px;
    border-radius: 6px;
}

.service-request-warning {
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.dash-form {
    .field__input-wrap {
        position: relative;

        .edit-button-icon {
            position: absolute;
            top: calc(50% - 12px);
            right: 20px;
        }

        .edit-button-icon.top {
            top: 12px;
        }
    }

    .field__input-wrap.price-input input {
        padding-left: 35px;
    }

    .field__input-wrap.price-input::before {
        content: '$';
        height: 24px;
        position: absolute;
        top: calc(50% - 11px);
        left: 20px;
    }
}

.tomselect.single.ts-wrapper .ts-control {
    height: 48px;
    background-image: url(../img/svg/graphic/arrow-down-s_gray.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) 50%;
    border: 1px solid #dedede
}

.tomselect.single.ts-wrapper .ts-control>input {
    font-size: 16px
}

.tomselect.single.ts-wrapper .ts-control>div {
    padding: 8px 6px
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.text-color-blue {
    color: blue;
}

.service-request-row {
    margin: 16px;
}

.service-request-row>div {
    border-radius: 6px;
    padding: 16px;
    background-color: #fff;
}

.service-request-business-details {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.service-request-business-details .business-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.service-request-business-details .business-info {
    display: flex;
    flex-direction: column;
}

.service-request-business-details .business-info .business-name {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 4px;
}

.service-request-business-details .business-info .business-address {
    font-size: 14px;
    color: #666;
}

.left-line {
    border-left: 2px solid #f3f3fb;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.right-line {
    border-right: 2px solid #f3f3fb;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.booking-status-pending,
.payment-status-pending {
    color: #FF9900;
}

.booking-status-confirmed,
.payment-status-made {
    color: #00b01f;
}

.booking-status-completed {
    color: #355ce6;
}

.service-info {
    margin-top: 5px;
}

.text-wrap {
    white-space: normal;
    word-wrap: break-word;
}