@font-face {
    font-family: 'Vazir';
    src: url('/assets/plugins/global/fonts/persian-fonts/vazir/Vazir.ttf') format('truetype');
    font-weight: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url('/assets/plugins/global/fonts/persian-fonts/vazir/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
}

body {
    font-family: 'Vazir' !important;
}

.list-tile {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}


.list-tile-img {
    height: 50px;
}

/**** Ticket History style***/
.notification {
    list-style-type: none;
    padding: 0;
    position: relative;
}

.notification:before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    width: 3px;
    background: var(--primary);
    left: 20%;
    margin-left: -1px;
}

.notification>li {
    position: relative;
    min-height: 50px;
    padding: 15px 0;
}

.notification .notification-time {
    position: absolute;
    left: -7px;
    width: 18%;
    text-align: right;
    top: 30px;
}

.notification .notification-time .date {
    line-height: 16px;
    font-size: 13px;
    margin-bottom: 4px;
    color: #8f8fb1;
}

.notification .notification-time .date,
.notification .notification-time .time {
    display: block;
    font-weight: 500;
}

.notification .notification-time .time {
    line-height: 24px;
    font-size: 21px;
    color: #8f8fb1;
}

.notification .notification-icon {
    left: 15%;
    position: absolute;
    width: 10%;
    text-align: center;
    top: 41px;
}

.notification .notification-icon a {
    text-decoration: none;
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 50%;
    background: #fff;
    line-height: 10px;
    color: #fff;
    font-size: 14px;
    border: 3px solid var(--primary);
    transition: border-color 0.2s linear;
}

.notification .notification-body {
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.03);
    margin-left: 25%;
    margin-right: 18%;
    background: #fff;
    position: relative;
    padding: 14px 20px;
    border-radius: 6px;
}

.notification .notification-body:before {
    content: "";
    display: block;
    position: absolute;
    border: 10px solid transparent;
    border-right-color: #fff;
    left: -20px;
    top: 25px;
}

.notify-time {
    position: absolute;
    top: auto;
    bottom: auto;
    left: auto;
    right: 25px;
}

@media (max-width: 767px) {
    .notify-time {
        display: none;
    }

    .notification .notification-body {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .notification .notification-time .time {
        display: none;
    }

    .notification:before {
        display: none;
    }

    .notification .notification-icon {
        display: none;
    }

    .notification .notification-time .date,
    .notification .notification-time .time {
        display: none;
    }
}

.select2-selection__rendered,
.select2-results__options {
    /* text-align: start; */
    direction: ltr !important;
}

.store-container {
    transition: all 0.3s ease-in-out;
}

/* Start dashboard background image */
/* CSS for the background image and scroll effect */
/* CSS for the background image and scroll effect */
#background-wrapper {
    position: relative;
    padding-top: 300px;
    /* Adjust the top padding to fit the background image height */
    overflow: hidden;
}

#background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    /* Adjust the height to fit the desired background image size */
    background: url('/assets/media/custom/background.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: -1;
    opacity: 1;
    transition: opacity 0.5s ease, filter 0.5s ease;
    filter: blur(2px);
    /* Add blur effect */
}

.scrolled #background-image {
    opacity: 0;
}

.user-dashboard-items {
    position: relative;
    z-index: 1;
    margin-top: -90px;
    /* Adjust to position items above the image */
}

.additional-content {
    position: relative;
    z-index: 2;
    background: white;
    /* Optional: Add background to ensure content visibility */
    /* padding: 20px; Optional: Add padding for better layout */
    margin-top: 110px;
    /* Adjust to provide space between mmx and additional content */
}


/* End dashboard background image */

#map {
    height: 100%;
    width: 100%;
}

.center-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1000;
    pointer-events: none;
    /* Disable pointer events to allow map interactions */
}

#storesMap {
    height: 300px;
    border-radius: 5px;
}

#storeModalMap {
    height: 400px;
    width: 100%;
}

#editPageMap,#editPageMapModal {
    height: 400px;
    width: 100%;
}

#createPageMap {
    height: 200px;
    width: 100%;
}
