:root {
    --main-color: var(--theme-bus);
    --button-color: var(--theme-bus);
    --font-color: #ffffff;
}

/* Container */
.container-search {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;

    label {
        display: block;
        margin-bottom: 5px;
        font-size: 12px;
        font-weight: 600;
        text-align: left !important;
        color: #777;
    }

    input[type="text"] {
        outline: none;
        border: none;
        width: 100%;
        height: 25px;
        font-size: 16px;
        font-weight: bold;
        color: #495057;
        padding-left: 0;

        &::placeholder {
            font-weight: 400;
            color: #dddddd;
        }
    }

    input:focus {
        outline: none !important;
        box-shadow: none !important;
    }

    ::-webkit-scrollbar {
        width: 5px;
    }

    ::-webkit-scrollbar-button {
        background-color: rgba(255, 255, 255, 0) !important;
    }

    ::-webkit-scrollbar-thumb {
        background-color: #ddd !important;
    }

    ::-webkit-scrollbar-track-piece {
        background-color: rgba(255, 255, 255, 0) !important;
    }

    .form-control:disabled,
    .form-control[readonly] {
        background-color: unset;
    }

    .warpper {
        .box-content {
            width: 100%;
            padding: 0;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
            background-color: #fff;

            .group-items-default {
                display: grid;
                grid-template-columns: repeat(8, 1fr);
                grid-template-rows: repeat(2, 1fr);
                grid-column-gap: 10px;
                grid-row-gap: 10px;
                padding: 20px;

                .group-item-1 {
                    grid-area: 1 / 1 / 2 / 5;
                }

                .group-item-2 {
                    grid-area: 1 / 5 / 2 / 9;
                }

                .group-item-3 {
                    grid-area: 2 / 1 / 3 / 3;
                }

                .group-item-4 {
                    grid-area: 2 / 3 / 3 / 5;
                }

                .group-item-5 {
                    grid-area: 2 / 5 / 3 / 7;
                }

                .group-item-6 {
                    grid-area: 2 / 7 / 3 / 9;
                }

                @media (max-width: 1000px) {
                    & {
                        grid-template-columns: repeat(4, 1fr);
                        grid-template-rows: repeat(3, 1fr);

                        .group-item-1 {
                            grid-area: 1 / 1 / 2 / 3;
                        }

                        .group-item-2 {
                            grid-area: 1 / 3 / 2 / 5;
                        }

                        .group-item-3 {
                            grid-area: 2 / 1 / 3 / 3;
                        }

                        .group-item-4 {
                            grid-area: 2 / 3 / 3 / 5;
                        }

                        .group-item-5 {
                            grid-area: 3 / 1 / 4 / 3;
                        }

                        .group-item-6 {
                            grid-area: 3 / 3 / 4 / 5;
                        }
                    }
                }

                @media (max-width: 600px) {
                    & {
                        grid-template-columns: 1fr;
                        grid-template-rows: repeat(6, 1fr);
                        grid-column-gap: 0px;
                        grid-row-gap: 10px;
                        padding: 20px;

                        .group-item-1 {
                            grid-area: 1 / 1 / 2 / 2;
                        }

                        .group-item-2 {
                            grid-area: 2 / 1 / 3 / 2;
                        }

                        .group-item-3 {
                            grid-area: 3 / 1 / 4 / 2;
                        }

                        .group-item-4 {
                            grid-area: 4 / 1 / 5 / 2;
                        }

                        .group-item-5 {
                            grid-area: 5 / 1 / 6 / 2;
                        }

                        .group-item-6 {
                            grid-area: 6 / 1 / 7 / 2;
                        }
                    }
                }
            }

            .group-items-long {
                display: grid;
                grid-template-columns: repeat(8, 1fr);
                grid-template-rows: repeat(1, 1fr);
                grid-column-gap: 0px;
                grid-row-gap: 10px;
                padding: 10px;

                .group-item-1 {
                    grid-area: 1 / 1 / 2 / 3;
                }

                .group-item-2 {
                    grid-area: 1 / 3 / 2 / 5;
                }

                .group-item-3 {
                    grid-area: 1 / 5 / 2 / 6;
                }

                .group-item-4 {
                    grid-area: 1 / 6 / 2 / 7;
                }

                .group-item-5 {
                    grid-area: 1 / 7 / 2 / 8;
                }

                .group-item-6 {
                    grid-area: 1 / 8 / 2 / 9;
                }

                @media (max-width: 1000px) {
                    & {
                        grid-template-columns: repeat(8, 1fr);
                        grid-template-rows: repeat(2, 1fr);

                        .group-item-1 {
                            grid-area: 1 / 1 / 2 / 5;
                        }

                        .group-item-2 {
                            grid-area: 1 / 5 / 2 / 9;
                        }

                        .group-item-3 {
                            grid-area: 2 / 1 / 3 / 3;
                        }

                        .group-item-4 {
                            grid-area: 2 / 3 / 3 / 5;
                        }

                        .group-item-5 {
                            grid-area: 2 / 5 / 3 / 7;
                        }

                        .group-item-6 {
                            grid-area: 2 / 7 / 3 / 9;
                        }
                    }
                }

                @media (max-width: 840px) {
                    & {
                        grid-template-columns: repeat(4, 1fr);
                        grid-template-rows: repeat(3, 1fr);

                        .group-item-1 {
                            grid-area: 1 / 1 / 2 / 3;
                        }

                        .group-item-2 {
                            grid-area: 1 / 3 / 2 / 5;
                        }

                        .group-item-3 {
                            grid-area: 2 / 1 / 3 / 3;
                        }

                        .group-item-4 {
                            grid-area: 2 / 3 / 3 / 5;
                        }

                        .group-item-5 {
                            grid-area: 3 / 1 / 4 / 3;
                        }

                        .group-item-6 {
                            grid-area: 3 / 3 / 4 / 5;
                        }
                    }
                }

                @media (max-width: 500px) {
                    & {
                        grid-template-columns: 1fr;
                        grid-template-rows: repeat(6, 1fr);
                        grid-column-gap: 0px;
                        grid-row-gap: 10px;
                        padding: 20px;

                        .group-item-1 {
                            grid-area: 1 / 1 / 2 / 2;
                        }

                        .group-item-2 {
                            grid-area: 2 / 1 / 3 / 2;
                        }

                        .group-item-3 {
                            grid-area: 3 / 1 / 4 / 2;
                        }

                        .group-item-4 {
                            grid-area: 4 / 1 / 5 / 2;
                        }

                        .group-item-5 {
                            grid-area: 5 / 1 / 6 / 2;
                        }

                        .group-item-6 {
                            grid-area: 6 / 1 / 7 / 2;
                        }
                    }
                }
            }

            .form-search {

                .card-origin,
                .card-destination,
                .card-departure .card-date,
                .card-return .card-date,
                .card-passenger,
                .card-button {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    padding: 0px;
                    margin: 5px;

                    .card-wrap {
                        width: 100%;
                        border: 1px solid #ddd;
                        border-radius: 5px;
                        padding: 5px;
                        background-color: #fff;
                    }
                }

                .card-origin {
                    .box-switch {
                        position: absolute;
                        right: 0;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        height: 100%;
                        padding: 0px;
                        margin: 0px;

                        .switch-position {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            width: 100%;
                            height: 80%;
                            padding: 0px 15px;
                            margin: 0px 1px;
                            cursor: pointer;
                            background-color: #ffffff;
                            transition: all 0.3s ease-out;

                            img {
                                width: 20px;
                                height: 20px;
                            }
                        }
                    }
                }

                .card-origin,
                .card-destination {
                    position: relative;

                    .box-detail {
                        position: absolute;
                        top: 132%;
                        left: 0%;
                        z-index: 10;
                        background-color: #fff;
                        width: 100%;
                        border: 1px solid rgb(0 0 0 / .15);
                        border-radius: 5px;
                        box-shadow: 0 8px 16px 0 rgb(0 0 0 / .2);
                        transform: translate(0, 60px);
                        transition: all 0.3s ease-out;
                        visibility: hidden;
                        opacity: 0;

                        &.show {
                            visibility: visible;
                            opacity: 1;
                            transform: translate(0, 0);
                        }

                        &:before {
                            content: "";
                            position: absolute;
                            top: -20px;
                            left: 5%;
                            transform: translate(-50%, 0);
                            border-width: 10px;
                            border-style: solid;
                            border-color: #fff0 #fff0 #d9d9d9 #fff0;
                        }

                        &:after {
                            content: "";
                            position: absolute;
                            top: -18px;
                            left: 5%;
                            transform: translate(-50%, 0);
                            border-width: 10px;
                            border-style: solid;
                            border-color: #fff0 #fff0 #fff #fff0;
                        }

                        .box-body {
                            border-bottom: 1px solid #ccc;
                            cursor: pointer;
                            transition: all 0.3s ease-out;
                            padding: 10px 0 0 0;

                            ul.list-stop {
                                overflow-y: auto;
                                max-height: 400px;
                                list-style: none;
                                padding: 0;
                                margin: 0;

                                li.list-stop-name {
                                    border-bottom: 1px solid #cccccc50;
                                    cursor: pointer;
                                    transition: all 0.3s ease-out;

                                    .stop-action {
                                        text-decoration: none !important;
                                        display: grid !important;
                                        gap: 5px;
                                        padding: 15px 0 15px 20px;
                                        background-color: #ffffff;

                                        span {
                                            font-size: 16px !important;
                                            text-align: left !important;
                                            color: #495057 !important;
                                        }

                                        small {
                                            font-size: 12.8px !important;
                                            color: #777 !important;
                                            text-align: left !important;
                                        }

                                        &:hover {
                                            background-color: #f5f5f5;

                                            span {
                                                color: var(--main-color) !important;
                                            }

                                            small {
                                                color: var(--main-color) !important;
                                            }
                                        }

                                        &.act {
                                            background-color: #f5f5f5;

                                            span {
                                                color: var(--main-color) !important;
                                            }

                                            small {
                                                color: var(--main-color) !important;
                                            }
                                        }
                                    }
                                }

                                li.list-not-found {
                                    display: flex;
                                    justify-content: start;
                                    align-items: center;
                                    padding: 20px 0 20px 20px;
                                    background-color: #ffffff;

                                    span {
                                        font-size: 16px !important;
                                        text-align: left !important;
                                        color: #495057 !important;
                                    }

                                }
                            }

                        }
                    }
                }

                .card-departure .card-date,
                .card-return .card-date,
                .card-passenger {
                    input {
                        cursor: pointer;
                    }
                }

                .card-return {
                    .card-wrap {
                        position: relative;

                        .clear-return {
                            display: none;
                            position: absolute;
                            right: 15px;
                            top: 40%;
                            cursor: pointer;

                            img {
                                width: 20px;
                                height: 20px;
                            }

                            &.show {
                                display: block;
                            }

                        }
                    }
                }

                .card-passenger {
                    position: relative;

                    .box-detail {
                        position: absolute;
                        top: 132%;
                        left: 0%;
                        z-index: 10;
                        background-color: #fff;
                        width: 100%;
                        border: 1px solid rgb(0 0 0 / .15);
                        border-radius: 5px;
                        box-shadow: 0 8px 16px 0 rgb(0 0 0 / .2);
                        transform: translate(0, 60px);
                        transition: all 0.3s ease-out;
                        visibility: hidden;
                        opacity: 0;

                        &.show {
                            visibility: visible;
                            opacity: 1;
                            transform: translate(0, 0);
                        }

                        &:before {
                            content: "";
                            position: absolute;
                            top: -20px;
                            left: 5%;
                            transform: translate(-50%, 0);
                            border-width: 10px;
                            border-style: solid;
                            border-color: #fff0 #fff0 #d9d9d9 #fff0;
                        }

                        &:after {
                            content: "";
                            position: absolute;
                            top: -18px;
                            left: 5%;
                            transform: translate(-50%, 0);
                            border-width: 10px;
                            border-style: solid;
                            border-color: #fff0 #fff0 #fff #fff0;
                        }

                        .box-body {
                            border-bottom: 1px solid #ccc;
                            cursor: pointer;
                            transition: all 0.3s ease-out;
                            padding: 10px 0 0 0;

                            ul.list-passenger {
                                list-style: none;
                                padding: 0;
                                margin: 0;

                                li.list-item {
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    cursor: pointer;
                                    background-color: #ffffff;
                                    border-bottom: 1px solid #cccccc50;
                                    padding: 15px 30px 15px 45px;
                                    transition: all 0.3s ease-out;

                                    &:hover {
                                        background-color: #f5f5f5;

                                        span {
                                            color: var(--main-color) !important;
                                        }
                                    }

                                    .item-action {
                                        text-decoration: none !important;
                                        display: grid !important;
                                        gap: 5px;

                                        span {
                                            font-size: 16px !important;
                                            text-align: left !important;
                                            color: #495057 !important;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }

                .card-button {
                    .card-wrap {
                        border: 0 !important;
                        padding: 0 !important;
                        margin: 0 !important;

                        button {
                            background-color: var(--button-color);
                            width: 100%;
                            height: 58px;
                            border: none;
                            border-radius: 5px;
                            cursor: pointer;
                            transition: all 0.3s ease-out;

                            &:hover {
                                background-color: var(--button-color);
                            }

                            span {
                                color: var(--font-color);
                                font-size: 16px;
                                font-weight: 600;
                            }

                            .loader {
                                display: none;
                            }
                        }
                    }
                }

                /* Responsive Tablet */
                @media (max-width: 840px) {

                    .card-origin,
                    .card-destination,
                    .card-departure,
                    .card-return,
                    .card-button {
                        .card-wrap {
                            width: 100%;
                        }
                    }
                }
            }
        }
    }
}

/* ---- Modal ---- */
.modal-warpper {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    transform: translate(0, 100vh);
    transition: all 0.3s ease-out;

    &.show {
        visibility: visible;
        transform: translate(0, 0);

        body {
            overflow: hidden;
        }
    }

    .modal-box {
        display: flex;
        justify-content: center;
        align-items: center;

        .modal-box-content {
            max-width: 100%;
            width: 100%;
            height: 100vh;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-color: #fff;

            .modal-box-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid #ccc;
                padding: 15px 25px;

                .modal-box-back {
                    visibility: hidden;
                    font-size: 20px;
                    background-color: unset;
                    min-width: auto;
                    color: #070707;

                    img {
                        width: 20px !important;
                        height: 20px !important;
                    }
                }

                .modal-box-back.show {
                    visibility: visible;
                }

                .modal-box-title {
                    span {
                        font-size: 20px !important;
                        font-weight: 500 !important;
                        text-align: left !important;
                        color: #212529 !important;
                    }
                }

                .modal-box-close {
                    img {
                        width: 30px !important;
                        height: 30px !important;
                    }
                }
            }

            .modal-body-search {
                padding: 15px 15px 5px 15px;

                .modal-box-search {
                    position: relative;
                    border: 1px solid #ccc;
                    border-radius: 5px;
                    padding: 10px 40px 10px 10px;
                    margin-bottom: 0;
                    margin-top: 5px;

                    input[type="text"] {
                        outline: none;
                        border: none;
                        width: 100%;
                        height: 25px;
                        font-size: 16px;
                        font-weight: bold;
                        color: #495057;
                        padding-left: 0;

                        &::placeholder {
                            font-weight: 400;
                            color: #dddddd;
                        }
                    }

                    .icon-search {
                        display: none;
                        visibility: visible;
                        position: absolute;
                        right: 0px;
                        top: 50%;
                        padding: 10px;
                        transform: translateY(-50%);
                        cursor: pointer;
                        background-color: #fff;
                        border-radius: 5px;
                        opacity: 0.5;
                        transition: all 0.3s ease-out;

                        img {
                            width: 20px !important;
                            height: 20px !important;
                        }
                    }

                    .icon-search.hide {
                        visibility: hidden;
                        opacity: 0;
                        transition: all 0.3s ease-out;
                    }

                    .icon-x {
                        visibility: hidden;
                        position: absolute;
                        right: 0px;
                        top: 50%;
                        padding: 10px;
                        transform: translateY(-50%);
                        cursor: pointer;
                        background-color: #fff;
                        border-radius: 5px;
                        opacity: 0.5;
                        transition: all 0.3s ease-out;

                        img {
                            width: 20px !important;
                            height: 20px !important;
                        }
                    }

                    .icon-x.show {
                        visibility: visible;
                        opacity: 1;
                        transition: all 0.3s ease-out;
                    }
                }
            }

            .modal-box-body {
                padding: 15px;
                overflow-y: auto;
                max-height: 100%;

                .modal-box-item {
                    .modal-box-list {
                        list-style: none;
                        padding: 0;
                        margin: 0;

                        .modal-item {
                            display: grid;
                            grid-template-columns: 90% 10%;
                            grid-gap: 10px;
                            padding: 10px 0px 10px 0px;
                            cursor: pointer;

                            .item-name {
                                display: grid;
                                line-height: 1.7;

                                span {
                                    color: #495057 !important;
                                    font-size: 18px !important;
                                    text-align: left !important;
                                }

                                small {
                                    font-size: 14.4px !important;
                                    color: #a9a9a9 !important;
                                    text-align: left !important;
                                }
                            }

                            .icon-arrow-right {
                                display: flex;
                                justify-content: center;
                                align-items: center;

                                img {
                                    width: 20px !important;
                                    height: 20px !important;
                                }
                            }

                            .icon-geo-location {
                                display: flex;
                                align-items: center;
                                justify-content: center;

                                img {
                                    width: 20px !important;
                                    height: 20px !important;
                                }

                                svg {
                                    width: 20px !important;
                                    height: 20px !important;
                                }
                            }

                            .item-not-found {
                                display: flex;
                                justify-content: start;
                                align-items: center;
                                padding: 0px 0px 0px 0px;
                                background-color: #ffffff;

                                span {
                                    font-size: 18px !important;
                                    font-weight: 500 !important;
                                    text-align: left !important;
                                    color: #495057 !important;
                                }
                            }
                        }

                        .modal-item:last-child {
                            margin-bottom: 250px;
                        }
                    }
                }
            }

        }
    }
}

.modal-date {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    transform: translate(0, 100vh);
    transition: all 0.3s ease-out;

    &.show {
        visibility: visible;
        transform: translate(0, 0);
    }

    .modal-box {
        display: flex;
        justify-content: center;
        align-items: center;

        .modal-box-content {
            max-width: 100%;
            width: 100%;
            height: 100vh;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-color: #fff;

            .modal-box-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                border-bottom: 1px solid #ccc;
                padding: 15px 25px;

                .modal-box-back {
                    font-size: 20px;
                    background-color: unset;
                    min-width: auto;
                    color: #070707;

                    img {
                        display: none;
                        width: 20px;
                        height: 20px;
                    }
                }

                .modal-box-title {
                    span {
                        font-size: 20px;
                        font-weight: 500;
                        text-align: left !important;
                    }
                }

                .modal-box-close {
                    img {
                        width: 30px;
                        height: 30px;
                    }
                }
            }

            .modal-box-body {
                padding: 0px 15px;
                display: flex;
                justify-content: center;

                input[type="text"] {
                    display: none;
                    outline: none;
                    border: none;
                    width: 100%;
                    height: 25px;
                    font-size: 16px;
                    font-weight: bold;
                    color: #495057;
                    padding-left: 0;

                    &::placeholder {
                        font-weight: 400;
                        color: #dddddd;
                    }
                }

                .modal-box-departure {
                    max-width: 400px;

                    .input {
                        display: none;
                    }
                }

                .modal-box-return {
                    max-width: 400px;

                    .input {
                        display: none;
                    }
                }
            }

        }
    }

    .flatpickr-calendar {
        width: 100% !important;
        height: 100vh;
        margin: 0;
        top: 0 !important;
        left: 0 !important;
        font-size: 14px !important;
        box-shadow: none !important;
        border: none !important;

        &.open,
        &.inline {
            opacity: 1;
            max-height: none;
            visibility: visible;
        }

        &:before,
        &:after {
            display: none;
        }

        .flatpickr-months {
            margin-top: 10px;
        }

        .flatpickr-innerContainer {
            padding-top: 14px;
        }

        .flatpickr-rContainer {
            width: 100%;
        }

        .dayContainer {
            width: 100% !important;
            min-width: 100% !important;
            max-width: 100% !important;
        }

        .flatpickr-days {
            width: auto !important;
        }

        .flatpickr-day {
            max-width: 55px !important;
            height: 55px !important;
            line-height: 55px !important;
        }


        /* Mobile Size M [ Flatpickr ] */
        @media screen and (max-width: 375px) {
            & {
                font-size: 12px !important;
            }

            .flatpickr-day {
                max-width: 50px !important;
                height: 50px !important;
                line-height: 50px !important;
            }
        }

        /* Mobile Size S [ Flatpickr ] */
        @media screen and (max-width: 320px) {
            & {
                font-size: 12px !important;
            }

            .flatpickr-day {
                max-width: 45px !important;
                height: 45px !important;
                line-height: 45px !important;
            }
        }

    }
}

.modal-time {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    transform: translate(0, 100vh);
    transition: all 0.3s ease-out;

    &.show {
        visibility: visible;
        transform: translate(0, 0);
    }

    .modal-box {
        display: flex;
        justify-content: center;
        align-items: center;

        .modal-box-content {
            max-width: 100%;
            width: 100%;
            height: 100vh;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            background-color: #fff;

            .modal-box-header {
                display: grid;
                grid-template-columns: 10% 80% 10%;
                grid-gap: 0px;
                padding: 15px 25px;

                .modal-box-back {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 20px;
                    background-color: unset;
                    min-width: auto;
                    color: #070707;
                    cursor: pointer;

                    img {
                        display: none;
                        width: 20px;
                        height: 20px;
                    }
                }

                .modal-box-title {
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    span {
                        font-size: 20px;
                        font-weight: 500;
                    }
                }

                .modal-box-close {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    cursor: pointer;

                    img {
                        width: 30px;
                        height: 30px;
                    }
                }
            }

            .modal-box-body {
                display: flex;
                justify-content: center;
                overflow-y: auto;
                height: 100%;
                padding-bottom: 20px;

                .modal-body-list {
                    display: grid;
                    grid-template-columns: repeat(1, 1fr);
                    grid-gap: 10px;
                    padding: 10px 0px;
                    width: 100%;

                    .item-time-action {
                        cursor: pointer;
                        text-align: center;
                        padding: 10px;

                        span:first-child {
                            font-size: 16px;
                            font-weight: 500;
                            color: #495057;
                        }

                        span:last-child {
                            position: relative;

                            img {
                                position: absolute;
                                top: -2px;
                                left: 10px;

                                width: 20px;
                                height: 20px;
                            }

                            svg {
                                position: absolute;
                                top: -2px;
                                left: 5px;

                                width: 20px;
                                height: 20px;
                            }
                        }

                        &.act {
                            background-color: #f5f5f5;

                            span:first-child {
                                color: var(--main-color);
                            }

                            span:last-child {
                                img {
                                    fill: var(--main-color);
                                }

                                svg {
                                    fill: var(--main-color);
                                }
                            }
                        }

                        &:hover {
                            background-color: #f5f5f5;
                        }

                    }

                }
            }

        }
    }
}

.modal-alert {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);

    &.show {
        visibility: visible;
    }

    .modal-box-body {
        position: absolute;
        top: 19%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 5px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        width: 200px;
        padding: 0;

        .modal-box-content {
            padding: 10px;
            text-align: center;

            .box-text {
                font-size: 14px !important;
                font-weight: 500 !important;
                color: #495057 !important;
                margin-bottom: 20px !important;
            }
        }
    }

}

/* --- Date Flatpickr --- */
.flatpickr-calendar {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-radius: 5px !important;
    margin-top: 20px !important;

    &:before {
        content: "" !important;
        position: absolute !important;
        top: -20px !important;
        left: 8% !important;
        transform: translate(-50%, 0) !important;
        border-width: 10px !important;
        border-style: solid !important;
        border-color: transparent transparent #d9d9d9 transparent !important;
    }

    &:after {
        content: "" !important;
        position: absolute !important;
        top: -20px !important;
        left: 8% !important;
        transform: translate(-55%, 9%) !important;
        border-width: 10px !important;
        border-style: solid !important;
        border-color: transparent transparent #ffffff transparent !important;
    }

    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange,
    .flatpickr-day.selected.inRange,
    .flatpickr-day.startRange.inRange,
    .flatpickr-day.endRange.inRange,
    .flatpickr-day.selected:focus,
    .flatpickr-day.startRange:focus,
    .flatpickr-day.endRange:focus,
    .flatpickr-day.selected:hover,
    .flatpickr-day.startRange:hover,
    .flatpickr-day.endRange:hover,
    .flatpickr-day.selected.prevMonthDay,
    .flatpickr-day.startRange.prevMonthDay,
    .flatpickr-day.endRange.prevMonthDay,
    .flatpickr-day.selected.nextMonthDay,
    .flatpickr-day.startRange.nextMonthDay,
    .flatpickr-day.endRange.nextMonthDay {
        background: var(--main-color) !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        color: #fff !important;
        border-color: var(--main-color) !important;
    }
}

/* --- Loader Box --- */
.loading {

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    span {
        padding-right: 5px !important;
    }

    .loader {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        animation: loader 2s infinite !important;

        img {
            color: #fff !important;
            width: 24px !important;
            height: 24px !important;
        }
    }
}

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

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