.scroll-bar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f1f1f1;
}

.scroll-bar::-webkit-scrollbar {
    width: 10px;
    background-color: #f1f1f1;
}

.scroll-bar::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
}

.crop_modal .img-container {
    width: 450px;
    overflow: hidden;
    min-height: 310px;
}

.image-workspace {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-crop {
    width: 100%;
    height: 100%;
    display: block;
}

@media screen and (max-width: 576px) {
    .crop_modal .img-container {
        width: 360px;
        overflow: hidden;
        max-height: 500px;
    }
}

.form-control {
    background-color: #ffffff;
    border: 1px solid #c5c5c5;
}

.form-select {
    background-color: #ffffff;
    border: 1px solid #c5c5c5;
}

.form-control:focus {
    background-color: #ffffff;
    border-color: #c5c5c5;
}

.eye-counter {
    background-image: url("../image/eye.svg");
    padding-left: 22px;
    background-position: -2px;
    background-repeat: no-repeat;
    background-size: 23px;
}

.icon-mini-success {
    background: url("../image/icon-mini-success.svg") no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    color: #ffffff;
    padding: 0 2px 0;
    line-height: 18px;
}

.icon-mini-error {
    background: url("../image/icon-mini-error.svg") no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    line-height: 18px;
}

.icon-mini-red {
    background: url("../image/icon-mini-red.svg") no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    color: #ffffff;
    line-height: 18px;
    padding: 0 4px 0;
}

.icon-mini-red-bell {
    background: url("../image/icon-mini-red-bell.svg") no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    line-height: 18px;
}


/* Image Show Modal START */
.image-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 99999;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

.show-modal {
    cursor: pointer;
}

/* Modal Content (image) */
.image-modal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 40px #000;
}

/* Caption of Modal Image */
.image-modal #caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Add Animation */
.image-modal .modal-content,
.image-modal #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: translate(-50%, -50%) scale(0);
    }

    to {
        -webkit-transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes zoom {
    from {
        transform: translate(-50%, -50%) scale(0);
    }

    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* The Close Button */
.image-modal .image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.image-modal .image-modal-close:hover,
.image-modal .image-modal-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Navigation Arrows */
.image-modal .image-modal-prev,
.image-modal .image-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #f1f1f1;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
    padding: 16px;
    text-decoration: none;
    z-index: 99999;
    /*text-shadow: 0 0 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);*/
    text-shadow: 0 0 10px rgb(108 122 216 / 80%), 0 0 20px rgb(108 122 216 / 60%)
}

.image-modal .image-modal-prev {
    left: 20px;
    border-radius: 0 3px 3px 0;
}

.image-modal .image-modal-next {
    right: 20px;
    border-radius: 3px 0 0 3px;
}

.image-modal .image-modal-prev:hover,
.image-modal .image-modal-next:hover {
    /*background-color: rgba(0, 0, 0, 0.8);*/
    color: #fff;
}

/* Hide navigation arrows on mobile */
@media only screen and (max-width: 700px) {
    .image-modal .image-modal-prev {
        left: 10px;
        font-size: 40px;
    }

    .image-modal .image-modal-next {
        right: 10px;
        font-size: 40px;
    }

    .image-modal .modal-content {
        max-width: 95vw;
        max-height: 80vh;
    }
}

/* Image Show Modal END*/

/* Seacrh Location input */
.location-search-input{
    background-color: #ffffff;
}
.location-search-wrapper {
    position: relative;
}

.location-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.location-search-loading-spinner {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #939393;
}

.location-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 1.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.location-search-dropdown.show {
    display: block;
}

.location-search-dropdown:not(.show) {
    display: none;
}

.dropdown-content {
    min-height: 50px;
    padding-right: 6px;
}

.search-results {
    min-width: 100%;
    padding-right: 24px;
    box-sizing: content-box;
}

.location-item {
    padding: 8px 18px 8px 8px;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
    border-radius: 4px;
    margin: 2px 0;
    display: block;
}

.location-item:hover,
.location-item:focus {
    background-color: #f8f9fa;
    outline: none;
}

.location-item:focus {
    background-color: #e9ecef;
}

.no-results {
    padding: 12px;
}

.loading-spinner {
    padding: 12px;
}

.dropdown-loading-spinner {
    padding: 12px;
}
/* Seacrh Localiton input END */


/* Sweet Alert2 Customization */
.swal2-styled {
    min-width: 125px !important;
    font-size: 0.85rem !important;
}

.swal2-popup {
    border-radius: 30px !important;
}

.swal2-modal.swal2-popup .swal2-actions {
    margin-top: 0 !important;
    margin-bottom: 1rem;
}

.swal2-modal.swal2-popup .swal2-title {
    font-size: 1.25em !important;
    max-width: unset;
}

.swal2-modal.swal2-popup .swal2-title {
    line-height: 1.25 !important;
}

.swal2-actions button {
    border-radius: 30px !important;
}

.swal2-styled:focus {
    box-shadow: none !important;
}
.swal2-container{
    z-index: 200000!important;
}
.swal2-modal.swal-popup-custom .swal2-title{
    margin: 0!important;
}
.swal-popup-custom .swal2-html-container{
    margin: 1rem 0 1rem 0!important;
}
/* Sweet Alert2 Customization END */
