﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
:root {
    --bs-Box: #d5e0a51a;
    --bs-ticket-icon: #e5eaee;
    --text_scrollbar_color_primary: #aeb0b9;
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --box-bg: #ffffff;
    --theme-color1: #fff;
    --theme-color2: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f7fb;
    color: #333;
}

img {
    max-width: 100%;
}

.modal {
    z-index: 99999999 !important;
}

.filter {
    position: relative;
    display: inline-block;
}

#_listContent .row {
    margin: 0 !important;
}

#offline-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    text-align: center;
    padding: 10px;
}

.filter_img_span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 80%);
    color: #000000;
    border-radius: 5px;
    box-sizing: border-box;
}

.top-10 {
    top: 10px !important;
}

.modal#AlertBackdrop {
    z-index: 999999999;
}

.modal#confirmDeleteModal {
    z-index: 999999990;
}

.table-responsive {
    padding-bottom: 50px;
}

    .table-responsive .table-responsive {
        padding-bottom: 1px;
    }

.readOnly {
    pointer-events: none;
    background-color: #f0f0f0;
    color: #333;
}

.direction-rtl-fixed {
    direction: rtl;
}

.icon-Feature {
    background-color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    color: black;
    margin: 0 3px;
}

.direction-ltr-fixed {
    direction: ltr;
}

#tableTicketing .Priority1 {
    background-color: var(--bs-yellow) !important;
}

#tableTicketing .Priority2 {
    background-color: var(--bs-orange) !important;
}

#tableTicketing .Priority3 {
    background-color: #fd1414 !important;
}

.bow-Tracking {
    background-color: var(--bs-Box) !important;
}


.scrolltop-icon {
    position: fixed;
    bottom: 65px;
    cursor: pointer;
    z-index: 10000;
}

.back-to-top {
    background-color: var(--theme-color1);
    border: 0px solid var(--theme-color2);
    padding: 15px;
    display: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

    .back-to-top:hover {
        background-color: color-mix(in srgb, var(--theme-color2) 95%, transparent);
        border: 1px solid var(--theme-color1);
    }

#back-to-top i {
    color: #fff;
}

.ticket-icon {
    position: fixed;
    bottom: 55px;
    cursor: pointer;
    z-index: 10000;
}

@media (max-width: 768px) {
    .scrolltop-icon {
        bottom: 40px;
    }

    .ticket-icon {
        bottom: 28px;
    }
}

@media (max-width: 576px) {
    .scrolltop-icon {
        bottom: 45px;
    }

    .ticket-icon {
        bottom: 30px;
    }
}

@media (max-width: 480px) {
    .scrolltop-icon {
        bottom: 38px;
    }

    .ticket-icon {
        bottom: 25px;
    }
}

.ticket-icon-shape {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    background: var(--bs-ticket-icon);
    border-radius: 50%;
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.4);
}

.ticket-detail {
    display: flex;
    flex-direction: column;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    padding: 24px 16px;
    background-color: white;
    position: relative;
    background: #FFFFFF;
}

.filearray {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.previewData {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(31, 71, 132, 0.21);
    border-radius: 4px;
}

    .previewData .top-img {
        width: 50px;
        height: 50px;
    }

    .previewData .bottom-img {
        display: flex;
        justify-content: center;
        align-items: center;
        border-top: 1px solid rgba(31, 71, 132, 0.21);
        cursor: pointer;
        padding: 5px 10px;
        color: var(--bs-danger);
    }

.ticket-detail label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
}

.answerclamp {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.requestDescriptionclamp {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ticket-detail.answered-question {
    background: #F5F5F5;
}


.ticket-card-info .state1 {
    color: var(--bs-yellow) !important;
}

.ticket-card-info .state4 {
    color: var(--bs-teal) !important;
}

.ticket-card-info .state5 {
    color: var(--bs-danger) !important;
}

.answered-question .ticket-detail-info, .added-comment .ticket-detail-info {
    justify-content: space-between;
}

.ticket-detail-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #dddddd;
    color: #002E59;
    font-size: 16px;
}

.ticket-detail-Files {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dddddd;
}

.asked-question .ticket-detail-info > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.ticket-detail-info div div {
    display: flex;
    gap: 4px;
}

.ticket-detail-info label {
    opacity: 0.5;
}

.ticket-detail-info div div:first-child span {
    opacity: 1;
}

.date.ng-binding {
    opacity: 0.5;
}

.ticket-detail-info div:first-child .status-answered span {
    color: #00B37C;
}

.ticket-detail-content {
    height: 100%;
    padding: 20px 10px 0;
    font-size: 14px;
    font-weight: 400 !important;
    font-weight: 200;
    line-height: 20px;
    color: #002E59;
    text-align: justify;
    overflow-wrap: anywhere;
}

.ticket-detail-more-info {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 4px;
    padding: 20px 0;
}

    .ticket-detail-more-info a {
        color: #31B0D5 !important;
        font-size: 12px;
        text-decoration: none;
    }

.ticket-detail .triangle {
    position: absolute;
    bottom: 0;
}

.triangle > div {
    width: 20px;
    height: 13px;
    background: white;
    position: relative;
    border-bottom: 1px solid #DDDDDD;
    top: 1px;
}

    .triangle > div:before {
        content: " ";
        display: block;
        width: 21px;
        height: 14px;
        -webkit-transform: rotate(42deg);
        -moz-transform: rotate(42deg);
        -ms-transform: rotate(42deg);
        transform: rotate(42deg);
        position: absolute;
        top: -6px;
        right: -7px;
        border-bottom: 1px solid #DDDDDD;
        background-color: var(--bs-light) !important;
    }

.ticket-detail.answered-question .triangle {
    position: absolute;
    bottom: 0;
}

    .ticket-detail.answered-question .triangle > div {
        background-color: #F5F5F5;
    }

.ticket-card {
    display: flex;
    width: 100%;
    min-height: 100px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden;
    margin-bottom: 20px;
}

.ticket-card-content {
    display: flex;
    width: 100%;
    padding: 10px;
}

@media (max-width: 576px) {
    .ticket-card-content {
        display: block !important;
    }
}

.ticket-card-icon {
    border-right: 1px solid #DDDDDD;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100%;*/
    cursor: pointer;
    padding: 0 16px;
    color: #183765;
}

.ticket-card-icon-selected {
    background-color: #183765;
}

    .ticket-card-icon-selected i {
        color: #ffffff;
    }

.right-content {
    flex-shrink: 0;
}

.ticket-card-info {
    display: flex;
    column-gap: 4px;
    line-height: 20px;
    text-align: justify;
    padding: 3px 0;
}

    .ticket-card-info label {
        color: #002E59;
        opacity: 0.5;
        margin-bottom: 0;
    }

    .ticket-card-info span {
        color: #002E59;
    }

.form-block .form-check-input:checked {
    background-color: var(--bs-danger) !important;
    border-color: var(--bs-danger) !important;
}

.form-block .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgb(229 18 18 / 25%);
}

.trShow td {
    --bs-table-accent-bg: var(--bs-table-striped-bg);
    color: var(--bs-table-striped-color);
}

.select-row-tr td {
    background-color: #ffff004d;
}

.card-body .form-label {
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
}

.cardGroup {
    display: flex;
    flex: 1 1 auto;
    padding: 10px 0 0;
}

    .cardGroup .column {
        flex: 1;
        padding: 10px;
        border: 0px solid #ccc;
    }


.row .vertical-align-bottom {
    display: inline-block;
    align-self: flex-end;
}

#otp {
    direction: ltr;
}

.bi-repeat-90 {
    position: absolute;
    cursor: pointer;
    border: 1px solid #ced4da;
}

    .bi-repeat-90::before {
        transform: rotate(90deg);
        font-size: 27px;
        padding: 4px 5px;
        color: #767b81;
        -moz-transition: all 0.2s linear;
        -webkit-transition: all 0.2s linear;
        transition: all 0.2s linear;
    }

    .bi-repeat-90.down::before {
        -ms-transform: rotate(270deg);
        -moz-transform: rotate(270deg);
        -webkit-transform: rotate(270deg);
        transform: rotate(270deg);
    }

/*============================================================*/
.mw100px {
    max-width: 100px;
}

.mw200px {
    max-width: 200px;
}

.mw300px {
    max-width: 300px;
}

.mw400px {
    max-width: 400px;
}

.tr-Show {
    vertical-align: top !important;
    padding-top: 10px !important;
}
/*============================================================*/
.custom-file-button input[type=file] {
    margin-left: -2px !important;
}

    .custom-file-button input[type=file]::-webkit-file-upload-button {
        display: none;
    }

    .custom-file-button input[type=file]::file-selector-button {
        display: none;
    }

.custom-file-button:hover .input-group-text {
    background-color: #dde0e3;
    cursor: pointer;
}

.progressPenalti_en {
    position: relative;
    height: 21px;
    background: rgb(255, 0, 0);
    background: -moz-linear-gradient(right, rgb(249 201 201) 0%, rgba(255, 0, 0, 1) 100%);
    background: -webkit-gradient(linear, right top, right top, color-stop(0%,rgb(249 201 201) ), color-stop(100%, rgba(255, 0, 0, 1) ));
    background: -webkit-linear-gradient(right, rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    background: -o-linear-gradient(right,rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    background: -ms-linear-gradient(right,rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    background: linear-gradient(to right,rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#00ff00', GradientType=1);
    border-radius: 0.29rem;
}

.progressPenalti_fa {
    position: relative;
    height: 21px;
    background: rgb(255, 0, 0);
    background: -moz-linear-gradient(left, rgb(249 201 201) 0%, rgba(255, 0, 0, 1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgb(249 201 201) ), color-stop(100%, rgba(255, 0, 0, 1) ));
    background: -webkit-linear-gradient(left, rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    background: -o-linear-gradient(left,rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    background: -ms-linear-gradient(left,rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    background: linear-gradient(to left,rgb(249 201 201) 0%,rgba(255, 0, 0, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#00ff00', GradientType=1);
    border-radius: 0.29rem;
}

.amountPenalti {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.8s;
    background: #e9ecef;
    width: 0;
    border-radius: 0.25rem;
}

.progressPenalti:before {
    content: attr(data-amount)"";
    position: absolute;
    top: 2px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-align: center;
    line-height: 21px;
}

.font-weight-bold {
    font-weight: bold;
}

.w-30 {
    width: 30% !important;
}

.w-33 {
    width: 33.3333% !important;
}

.w-32_5 {
    width: 32.491% !important
}

.w-40 {
    width: 40% !important;
}

.w-49 {
    width: 49% !important;
}

.w-300px {
    width: 300px !important;
}

#tableJusticeLeague td i {
    top: 5px;
    position: relative;
}

.font-size25 {
    font-size: 25px;
}

.listMain {
    margin-top: 25px;
}

i.bi-trash, i.bi-pencil {
    top: 3px;
}

i.bi-plus-lg {
    top: 2px;
}

.rotate-90 {
    transform: rotate(90);
}

.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}

.w-95 {
    width: 95% !important;
}

.maxW-80 {
    max-width: 80% !important;
}

.margin0auto {
    margin: 0 auto;
}

.custom-modal-lg {
}

.border-bottom {
    border-bottom: 12px solid #f3f3f3;
}

#spinner-div {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    /* background-color: rgba(255, 255, 255, 0.8);*/
    z-index: 9999999999;
}

.spinner-div {
    margin: auto;
    border: 12px solid #f3f3f3;
    border-top: 12px solid #3498db;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    animation: 2s linear infinite spin;
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}
/*  #spinner-div div {
        width: 200px;
        height: 200px;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        max-width: 100%;
        max-height: 100%;
        overflow: auto;
        border-radius: 100px;
    }

        #spinner-div div img {
            width: 200px;
            height: 200px;
        }*/

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.navbar-nav {
    padding-right: 0;
    padding-left: 0;
}
/* Provide sufficient contrast against white background */

a {
    color: var(--theme-color1);
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}
/*.btn {
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 1.2rem;
}*/
.btn-select-search {
}

.btn-list {
    font-size: 1.1rem;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

header .navbar-collapse ul li .nav-link {
    color: rgba(0,0,0,.9) !important;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.form-control-img {
    display: block;
    width: 100%;
    height: 38px;
    border: 1px solid #ccc;
}

.border-0s {
    border: 0px solid var(--border-color);
}

.border-1s {
    border: 1px solid var(--border-color);
}

.border-2s {
    border: 2px solid var(--border-color);
}

.rounded {
    border-radius: 12px !important;
}
/* Sticky footer styles
  
-------------------------------------------------- */

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.img-baner-menu {
    width: 100%;
    height: 60px;
}

.border-box-menu {
    height: 60px;
    border: 1px solid #dee2e6;
    padding: 0.25rem;
    margin: 5px 0;
    background-color: #fff;
    border-radius: 0.25rem;
}

.border-box {
    height: 125px;
    border: 1px solid #dee2e6;
    padding: 0.25rem;
    margin: 5px 2px;
    background-color: #fff;
    border-radius: 0.25rem;
}

    .border-box .mainDiv1 {
        margin: 0 5px;
    }

    .border-box .profile-pic1 {
        /* width: 180px; */
        border-radius: 50%;
        /* height: 180px; */
        margin: auto;
        display: table;
        justify-content: center;
        border: double 3px transparent;
        background-image: linear-gradient(white, white), linear-gradient(to right, #ed143d, #f90);
        background-origin: border-box;
        background-clip: content-box, border-box;
    }

        .border-box .profile-pic1 img {
            margin: auto;
            width: 88%;
            padding: 20px 0;
            display: block;
            border: 0px solid #ffffff;
        }

.pt-13-p {
    padding-top: 13px !important;
}

.pb-13-p {
    padding-bottom: 13px !important;
}

.pt-10-p {
    padding-top: 10px !important;
}

.pb-10-p {
    padding-bottom: 10px !important;
}

@media (min-width: 769px) {
    .gradient-custom-2 {
        border-top-right-radius: .3rem;
        border-bottom-right-radius: .3rem;
    }
}

.cardboxTitle {
    background: mediumpurple;
}

.cardboxContent {
    background: #faf4ffa6;
}

/*--------------------------Homeeeeee------------------------ */

.img-circle {
    border-radius: 50%;
}

.img-user {
    margin: auto;
}

.mainDiv {
    margin: 5px;
}

.profile-pic {
    width: 100%;
    border-radius: 10%;
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    /* border: double 3px transparent;
    background-image: linear-gradient(white, white), linear-gradient(to right, #ed143d, #f90);*/
    background-origin: border-box;
    background-clip: content-box, border-box;
}

    .profile-pic img {
        border-radius: 10%;
        margin: auto;
        width: 88%;
        display: block;
    }


/*--------------------------Dashbord------------------------ */
.x_panel {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    width: 100%;
    margin-bottom: 10px;
    padding: 10px 17px;
    display: inline-block;
    background: #fff;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    column-break-inside: avoid;
    opacity: 1;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    color: #73879C;
}

.x_title {
    border-bottom: 2px solid #E6E9ED;
    padding: 1px 5px 6px;
    margin-bottom: 10px
}

    .x_title .filter {
        width: 40%;
    }

    .x_title h2 {
        margin: 5px 0 6px;
        padding-bottom: 5px;
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        font-size: 18px;
        font-weight: 400;
    }

        .x_title h2 small {
        }

    .x_title span {
        color: #BDBDBD
    }

.x_content {
    padding: 0 3px 6px;
    position: relative;
    width: 100%;
    clear: both;
    margin-top: 5px
}

    .x_content h4 {
        font-size: 16px;
        font-weight: 500
    }

span.section {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

.x_content .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.x_content .label-align {
}

.x_content .form-group {
    margin-bottom: 10px;
}

.x_content .col-form-label {
    padding-top: calc(0.375rem + 1px);
    padding-bottom: calc(0.375rem + 1px );
    margin-bottom: 0;
    font-size: inherit;
    line-height: 1.5;
}

.x_content .ln_solid {
}

@media (max-width: 400px) {
    .x_content .item {
        display: block;
    }
}

@media (min-width: 480px) {
    .x_content .item {
        display: block;
    }
}

@media (max-width: 991px) {
    .x_content .item {
        display: block;
    }
}

@media (max-width: 1200px) {
    .x_content .item {
        display: block;
    }
}

/*--------------------------Loginnnnn------------------------ */
.gradient-custom-2 {
    /* fallback for old browsers */
    background: #fccb90;
    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);
    border-width: 0px;
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-block {
    display: block;
    width: 100%;
}

.cardBorder {
    border: 1px solid rgba(0, 0, 0, 0.125)
}

.text-Bold {
    color: rgb(23, 48, 70);
    font-weight: bold;
    font-size: 16px;
}

.imgEdit {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    cursor: pointer;
}

.cursor_pointer {
    cursor: pointer
}

.div_toast {
    width: 350px;
    z-index: 999999999;
}

.toast-header .btn-close {
    /* margin-right: calc(0.75rem * -.5) !important;
    margin-left: 0.5rem !important;*/
}
/*---------------------------Alert----------------------------------------------*/
.alert-Success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-Info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-Warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-Danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-Primary {
    color: #084298;
    background-color: #cfe2ff;
    border-color: #b6d4fe;
}

.alert-Secondary {
    color: #41464b;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}

.alert-Dark {
    color: #141619;
    background-color: #d3d3d4;
    border-color: #bcbebf;
}

.alert-Light {
    color: #636464;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.navbar-nav .dropdown-menu {
    position: absolute !important;
}
/*------------------------------------slick----------------------------------------*/
.main-slick {
    /*  margin-bottom: 10px;*/
    max-width: 530px;
}

.wrapper {
    padding-top: 20px;
    text-align: center;
    width: 100px;
    display: inline-block;
    margin: 0px 100px;
}

.carousel {
    width: 100%;
    margin: 0px auto;
}

.slick-slide {
    margin: 10px;
}

    .slick-slide img {
        border: 2px solid #fff;
        width: 150px;
        height: 85px;
    }

.slick-loading {
    background: red;
}
/*------------------------------------Blog----------------------------------------*/

#PreviewBlogModal .toc-wrapper {
    display: inline-block;
    padding: 0;
}

#PreviewBlogModal .accordion {
    display: inline-block;
    width: auto;
}

#PreviewBlogModal .accordion-item {
    border: none;
}

#PreviewBlogModal .accordion-header {
    padding: 10px;
}

#PreviewBlogModal .accordion-button {
    background-color: transparent;
    font-weight: bold;
    padding: 5px;
    white-space: nowrap;
    border: none;
    box-shadow: none !important;
    color: #000 !important;
    position: relative;
}

    #PreviewBlogModal .accordion-button::after {
        margin: 0 10px;
    }

    #PreviewBlogModal .accordion-button:not(.collapsed) {
        background-color: transparent;
    }

#PreviewBlogModal .accordion-body {
    padding: 0.25rem 0.5rem;
}

#PreviewBlogModal .list-group {
    margin-bottom: 0;
}

#PreviewBlogModal .list-group-item {
    padding: 0.35rem 0.75rem;
    background-color: transparent;
    border: none;
    color: #444;
}

    #PreviewBlogModal .list-group-item a {
        color: inherit;
        text-decoration: none;
    }

        #PreviewBlogModal .list-group-item a:hover {
            text-decoration: none;
        }


#PreviewBlogModal h2.section {
    margin-top: 5rem;
    font-size: 1.25rem;
    color: #333;
}

.custom-outline:hover {
    color: #fff !important;
}

/*.bg-primary {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
}
.bg-warning {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}
.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}
.bg-danger {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}
.bg-info  {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
}
.bg-light {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}
.bg-dark {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-dark-rgb), var(--bs-bg-opacity)) !important;
}*/

#keywords-containerBlog .badge-wrapper, #Default-containerBlog .badge-wrapper {
    display: inline-block;
}

#Default-containerBlog .add-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #128a00; /* Bootstrap danger */
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    display: none;
}

#Default-containerBlog .badge-wrapper:hover .add-btn {
    display: block;
}

#keywords-containerBlog .remove-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: #dc3545; /* Bootstrap danger */
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    display: none;
}

#keywords-containerBlog .badge-wrapper:hover .remove-btn {
    display: block;
}


.badge-wrapper .remove-btn-img {
    position: absolute;
    top: -5px;
    right: 10px;
    background-color: #dc3545; /* Bootstrap danger */
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    display: none;
}

.badge-wrapper:hover .remove-btn-img {
    display: block;
}

/*-------------------------------------------------- editor-------------------------------------------------- */
.ck.ck-editor__main {
    overflow-x: auto;
    max-height: 500px;
}

.editor-wrapper, editor-summary {
    margin-bottom: 2rem;
    position: relative;
    background: #fff;
}

.delete-editor-btn {
    position: absolute;
    top: 10px;
    left: 10px;
}

.ck-editor__editable {
    min-height: 200px;
    direction: rtl;
    text-align: right;
}
/*------------------------------------toast----------------------------------------*/
.toast-primary {
    color: #084298;
    background-color: #084298;
    border-color: #b6d4fe;
}

    .toast-primary .progress-bar {
        background-color: #084298;
    }

.toast-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

    .toast-success .progress-bar {
        background-color: #0f5132;
    }

.toast-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

    .toast-danger .progress-bar {
        background-color: #842029;
    }

.toast-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

    .toast-warning .progress-bar {
        background-color: #664d03;
    }

.toast-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

    .toast-info .progress-bar {
        background-color: #055160;
    }

.toast-main {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    /*  background-color: rgba(255, 255, 255, 0.85);
    border-width: 1px;
    border-color: rgba(0, 0, 0, 0.05);
    border-style: solid;*/
    border-radius: 0.375rem;
}

.content-custom {
    display: flex;
    align-items: center;
}

.icon-container {
    display: flex;
    align-items: center;
}

    .icon-container i {
        width: 25px;
    }

.content-main {
    margin: 0;
}

.toast {
    border-bottom-width: 0px;
}

    .toast .progress {
        height: 5px;
        border-radius: 0;
    }

    .toast .progress-bar {
        height: 5px;
        width: 0;
        transition: width 2s;
    }
/*--------------------------------menu--------------------------------------------*/
.nav-link {
}

.menu1 {
    box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 5%);
    /* background-color: rgba(var(--bs-white-rgb),var(--bs-bg-opacity)) !important;*/
    /*  border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;*/
    /*    border-left: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;*/
}

    .menu1 li {
        width: 100%;
    }

    .menu1 .nav-link {
        color: #fff !important;
    }

        .menu1 .nav-link span {
            top: -3px;
            position: relative;
        }

        .menu1 .nav-link i {
        }

        .menu1 .nav-link:hover, .menu1 .nav-link:focus {
            color: #ffffffad !important;
        }

/*--------------------------media------------------------ */
.navbar-brand {
    margin: 0;
}

    .navbar-brand .SiteLogo {
        width: 80px;
        height: 40px;
    }

.navbar-expand-sm .url-logout {
    flex-direction: row;
}

@media (min-width: 320px) {

    .slick-slide img {
        width: 150px;
        height: 50px;
    }

    .navbar-brand .SiteLogo {
        width: 100px;
        height: 50px;
    }

    .menu1 .nav-link i {
        font-size: calc(1.375rem + 1.5vw) !important;
    }
}

@media (min-width: 450px) {
    .slick-slide img {
        width: 150px;
        height: 70px;
    }

    .navbar-brand .SiteLogo {
        width: 100px;
        height: 50px;
    }

    .menu1 .nav-link i {
        font-size: calc(1.375rem + 1.5vw) !important;
    }
}

@media (min-width: 576px) {

    .slick-slide img {
        width: 150px;
        height: 85px;
    }

    .navbar-brand .SiteLogo {
        width: 120px;
        height: 60px;
    }

    .menu1 .nav-link i {
        font-size: calc(1.275rem + .3vw) !important;
    }

    .col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .justify-content-md-center {
        justify-content: center !important;
    }
}

@media (min-width: 768px) {
    .navbar-brand .SiteLogo {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 992px) {
    .navbar-brand .SiteLogo {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .navbar-brand .SiteLogo {
        width: 160px;
        height: 80px;
    }
}

@media (min-width: 1400px) {
    .navbar-brand .SiteLogo {
        width: 160px;
        height: 80px;
    }
}


/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
.vertical-nav {
    min-width: 17rem;
    width: 17rem;
    height: 100vh;
    position: fixed;
    top: 0;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    z-index: 1111111111;
}

.font-size18 {
    font-size: 18px;
}

.font-size12 {
    font-size: 12px;
}

.font-size10 {
    font-size: 10px;
}

.page-content {
    /* width: calc(100% - 17rem);*/
    width: 100%;
    transition: all 0.4s;
    /* height: 100vh;*/
}

/* for toggle behavior */


#sidebar.active {
}

#content.active {
    width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    #sidebar {
    }

        #sidebar.active {
        }

    #content {
        width: 100%;
        margin: 0;
    }

        #content.active {
            /*width: calc(100% - 17rem);*/
            width: 100%;
        }
}

/*
*
* ==========================================
* FOR DEMO PURPOSE
* ==========================================
*
*/

body {
    /*  min-height: 100vh;
    overflow-x: hidden;*/
}

.separator {
    margin: 3rem 0;
    border-bottom: 1px dashed #fff;
}

.text-uppercase {
    letter-spacing: 0.1em;
}

.text-gray {
    color: #aaa;
}

.border-danger:focus {
    outline: none !important;
    border-color: #dc3545;
    box-shadow: 0 0 10px #dc3545;
}

.border-success:focus {
    outline: none !important;
    border-color: #28a745;
    box-shadow: 0 0 10px #28a745;
}
/*
*
* ==========================================
* END
* ==========================================
*
*/
/*=====================panel=====================*/
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
}

.panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}

    .panel-group .panel + .panel {
        margin-top: 5px;
    }

.panel-group .panel-heading {
    border-bottom: 0;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
}

.panel-primary {
    border-color: #337ab7;
}

    .panel-primary > .panel-heading {
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
    }

.panel-body {
    padding: 15px;
}
/*=====================================listAgency=================================*/
.search-body .search-result .result-header {
    margin-bottom: 2rem;
}

    .search-body .search-result .result-header .records {
        color: #3c4142;
        padding-top: 8px;
    }

    .search-body .search-result .result-header .result-actions {
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .search-body .search-result .result-header .result-actions .result-sorting {
            display: flex;
            align-items: center;
        }

            .search-body .search-result .result-header .result-actions .result-sorting span {
                flex-shrink: 0;
                font-size: 0.8125rem;
            }

            .search-body .search-result .result-header .result-actions .result-sorting select {
                color: #1b6ec2;
            }

                .search-body .search-result .result-header .result-actions .result-sorting select option {
                    color: #3c4142;
                }

.result-sorting .widget-26-job-category {
    padding: 5px 10px 10px;
    margin: 0 5px;
    display: inline-flex;
    white-space: nowrap;
    border-radius: 15px;
}

.bg-soft-base {
    background-color: #1b6ec2;
    color: white;
}

.result-header {
    margin-bottom: 5px;
}

    .result-header .result-actions {
        text-align: right;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .result-header .result-actions .result-sorting {
            display: flex;
            align-items: center;
        }

            .result-header .result-actions .result-sorting span {
                flex-shrink: 0;
                font-size: 0.8125rem;
            }

            .result-header .result-actions .result-sorting select {
                color: #1b6ec2;
            }

                .result-header .result-actions .result-sorting select option {
                    color: #3c4142;
                }



/*=====================================multiselect=================================*/
.btn-group {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
/*=====================================table=================================*/
.table .table {
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=0, Color=#20203D)"; /*IE 8*/
    -moz-box-shadow: 0 0 10px #20203D inset; /*FF 3.5+*/
    -webkit-box-shadow: 0 0 10px #20203D inset; /*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
    box-shadow: 0 0 10px #20203D inset; /* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=10, Direction=135, Color=#20203D); /*IE 5.5-7*/
}

    .table .table thead tr th {
        color: var(--box-bg) !important;
    }

.table .thead-primary {
    padding: 8px 10px;
    color: #fff;
    background-color: color-mix(in srgb, var(--theme-color1) 100%, transparent);
    /*background-color: color-mix(in srgb, var(--theme-color1) 80%, transparent);*/
    border-color: var(--theme-color2);
}

.table .table .thead-primary {
    background-color: color-mix(in srgb, var(--theme-color1) 75%, transparent) !important;
}

.table .bi-caret-left-fill, bi-caret-right-fill {
    color: var(--theme-color1);
}

.table .bi-caret-down-fill {
    color: var(--theme-color2);
}

.table > :not(:first-child) {
    border-top: 2px solid var(--theme-color2);
}

.table .table > :not(:first-child) {
    border-top: 1px solid var(--theme-color2);
}

.table-striped1 tbody tr:nth-child(4n+1) {
    background-color: color-mix(in srgb, var(--theme-color1) 5%, transparent);
    color: var(--bs-table-striped-color);
}

.table-striped-new > tbody > tr:nth-of-type(odd) > * {
    background-color: color-mix(in srgb, var(--theme-color1) 5%, transparent);
    color: var(--bs-table-striped-color);
}

.table-hover-new > tbody > tr:hover {
    background-color: color-mix(in srgb, var(--theme-color1) 10%, transparent);
}

.table td, .table th {
    vertical-align: middle;
}



.table td {
    padding: 2px 5px;
}

.table .js-sort-date {
    content: "\25b2";
    font-size: 0.7em;
    padding-left: 3px;
    line-height: 0.7em;
}


.message-Error-icon {
    background-color: red;
    padding: 5px 10px;
    border-radius: 50%;
    color: white;
    width: 45px;
    height: 45px;
    margin: 0 auto;
}

    .message-Error-icon .bi-envelope, .message-Error-icon .bi-envelope-fill {
        top: 3px;
        position: relative;
    }

.message-error-menu {
    position: relative;
    top: 4px;
}

    .message-error-menu .top-5 {
        top: 5px;
    }

.box-errorLog {
}

    .box-errorLog .form-control {
        display: inline-block;
        width: auto;
        vertical-align: middle;
    }

.blink_me {
    animation: blinker 3s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}
/*/ //////////////////////////////////////////////////////////////////////////////////////////// /*/
.slick-main {
    text-align: center;
    padding-top: 10px;
}

    .slick-main .round-container {
        margin: 1px 0.5em;
        display: inline-block;
        position: relative;
        width: 200px;
        height: 90px;
        -moz-border-radius: 100px;
        -webkit-border-radius: 100px;
        border-radius: 10px;
        background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2JiYmJiYiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2VlZWVlZSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
        background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #bbbbbb), color-stop(100%, #eeeeee));
        background: -moz-linear-gradient(top, #bbbbbb, #eeeeee);
        background: -webkit-linear-gradient(top, #bbbbbb, #eeeeee);
        background: linear-gradient(to bottom, #bbbbbb, #eeeeee);
        -moz-box-shadow: inset 0 -1px 10px #999, 0 -1px 1px #aaa, 0 2px 1px #fff;
        -webkit-box-shadow: inset 0 -1px 10px #999, 0 -1px 1px #aaa, 0 2px 1px #fff;
        box-shadow: inset 0 -1px 10px #999, 0 -1px 1px #aaa, 0 2px 1px #fff;
    }

    .slick-main .round-content {
        display: block;
        cursor: pointer;
        -moz-backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -moz-transition: -moz-transform 200ms ease-in;
        -o-transition: -o-transform 200ms ease-in;
        -webkit-transition: -webkit-transform 200ms ease-in;
        transition: transform 200ms ease-in;
        background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkZGRkZCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
        background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
        background: -moz-linear-gradient(top, #ffffff, #dddddd);
        background: -webkit-linear-gradient(top, #ffffff, #dddddd);
        background: linear-gradient(to bottom, #ffffff, #dddddd);
        background-color: #fff;
        -moz-box-shadow: 0 2px 7px #555;
        -webkit-box-shadow: 0 2px 7px #555;
        box-shadow: 0 2px 7px #555;
        text-shadow: 0 -1px 1px #111;
        position: absolute;
        text-align: center;
        color: #990000;
        font-size: 20px;
        line-height: 70px;
        margin: 5px;
        width: 190px;
        height: 80px;
        -moz-border-radius: 80px;
        -webkit-border-radius: 80px;
        border-radius: 10px;
    }

        .slick-main .round-content img {
            width: 100%;
            height: 100%;
            border-radius: 10px;
        }

        .slick-main .round-content:hover {
            background-color: #eee;
            color: green;
            -moz-transform: rotate(-10deg) scale(0.9);
            -ms-transform: rotate(-10deg) scale(0.9);
            -webkit-transform: rotate(-10deg) scale(0.9);
            transform: rotate(-10deg) scale(0.9);
        }
/*/ ///////////////////////////////////////////////////////////////////////////////////////////////////// /*/
.slick-site {
    margin-top: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0 !important;
    background-color: #ffffff;
}

.display-flex {
    display: -webkit-box !important;
}

.slick-site_item {
    color: #8798ad;
    background-color: initial;
    min-height: 60px;
    border-radius: 10px;
    display: list-item;
    -webkit-align-content: center;
    align-items: center;
    flex: 0 0 auto;
    transition: all .2s ease-in-out;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 2px;
    margin-bottom: 0px !important;
}

/* scrroll lllllllllllllllllllllllllllllllllllll */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/*Track*/
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 8px;
}
/*Handle*/
::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 8px;
}
    /*Handle on hover*/
    ::-webkit-scrollbar-thumb:hover {
        background: var(--text_scrollbar_color_primary);
    }

html {
    scrollbar-color: #9b9b9b #ececec;
    /* scrollbar-color: #999 var(--text_scrollbar_color_primary);*/
    scrollbar-width: thin;
}

.sticky-bottom {
    position: sticky;
    bottom: 0;
    z-index: 1020;
}
/*----------------------------------new style--------------------------------------------*/

/* استایل دکمه منو برای موبایل */
.menu-toggle-mobile {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: none;
}

    .menu-toggle-mobile:hover {
        background: rgba(255,255,255,0.25);
        transform: translateY(-2px);
    }

/* در دسکتاپ دکمه منو مخفی شود */
@media (min-width: 768) {
    .menu-toggle-mobile {
        display: none !important;
    }
}

/* در موبایل دکمه منو نمایش داده شود */
@media (max-width: 768px) {
    .menu-toggle-mobile {
        display: flex !important;
    }

    .header-left {
        gap: 8px;
    }
}

/* Overlay برای پس‌زمینه وقتی منو باز است */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 99998;
    display: none;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
}

    .overlay.show {
        display: block;
        animation: fadeInOverlay-overlay 0.3s ease;
    }

@keyframes fadeInOverlay-overlay {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* استایل منو در حالت موبایل */
@media (max-width: 768px) {
    .deep .sidebar.show {
        animation: slideInRight-sidebar 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/*----------------------------------theme--------------------------------------------*/
/* تنظیمات تم - چسبیده به کنار صفحه */
.theme-selector {
    position: fixed;
    top: 200px;
    z-index: 91000;
}

.theme-toggle-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(180deg, var(--theme-color1) 0%, var(--theme-color2) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .theme-toggle-btn:hover {
        transform: translateX(5px);
        background: linear-gradient(180deg, var(--theme-color1) 0%, var(--theme-color2) 100%);
        opacity: 0.9;
    }

.theme-panel {
    display: none;
    position: absolute;
    bottom: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    padding: 20px;
    min-width: 220px;
}

    .theme-panel.show {
        display: block;
        animation: slideInLeft 0.3s ease;
    }



    .theme-panel h6 {
        color: #333;
        margin-bottom: 15px;
        font-weight: 600;
    }

.theme-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.theme-option {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

    .theme-option:hover {
        transform: scale(1.1);
    }

    .theme-option.active {
        border-color: #333;
    }

        .theme-option.active::after {
            content: '✓';
            position: absolute;
            top: -5px;
            right: -5px;
            background: #333;
            color: white;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
/* رنگ‌های مختلف */
.theme-blue {
    background: linear-gradient(180deg, #70a5f5 0%, #4b83d5 100%);
}

.theme-modern-gray {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
}

.theme-dark-blue {
    background: linear-gradient(180deg, #dc3545 0%, #c72e3d 100%);
}

.theme-blue-green {
    background: linear-gradient(180deg, #234e52 0%, #2d5a5f 100%);
}

.theme-turquoiseBlue {
    background: linear-gradient(180deg, #1F939B 0%, #27888f 100%);
}

.theme-soft-purple {
    background: linear-gradient(180deg, #4c1d95 0%, #5b21b6 100%);
}

.theme-rich-black {
    background: linear-gradient(180deg, #374151 0%, #4b5563 100%);
}

.theme-charcoal {
    background: linear-gradient(180deg, #c34218 0%, #9f3412 100%);
}

.theme-blue-gray {
    background: #1a202c;
}



/* برای موبایل */
@media (max-width: 768px) {
    .theme-selector {
        bottom: 15px;
    }

    .theme-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .theme-panel {
        min-width: 200px;
        padding: 15px;
    }

    .theme-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .theme-option {
        width: 35px;
        height: 35px;
    }
}
/*----------------------------------sidebar--------------------------------------------*/

/*:root {
    --primary-color: #0d6efd;
}*/

.deep .sidebar {
    background: linear-gradient(180deg, var(--theme-color1) 0%, var(--theme-color2) 100%);
    color: white;
    height: 100vh;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
}

.deep .sidebar-header {
    padding: 15px;
    border-bottom: 1px solid rgb(255 255 255 / 50%);
    flex-shrink: 0;
}

.deep .sidebar-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: auto;
    padding: 10px 5px;
    /* استایل زیبا برای اسکرول بار */
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    /* پنهان کردن اسکرول بار وقتی استفاده نمی‌شود */
    scrollbar-gutter: stable;
}

    .deep .sidebar-content::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    .deep .sidebar-content::-webkit-scrollbar-track {
        background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 100%);
        border-radius: 10px;
        margin: 8px 0;
        box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
    }

    .deep .sidebar-content::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0.4) 100%);
        border-radius: 10px;
        border: 2px solid transparent;
        background-clip: padding-box;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

        .deep .sidebar-content::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.6) 100%);
            transform: scale(1.1);
        }

        .deep .sidebar-content::-webkit-scrollbar-thumb:active {
            background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.7) 100%);
        }

    .deep .sidebar-content::-webkit-scrollbar-corner {
        background: transparent;
    }

/* انیمیشن برای ظاهر شدن تدریجی اسکرول بار */
.deep .sidebar-content {
    animation: fadeInScrollbar-sidebar 0.5s ease-in-out;
}

@keyframes fadeInScrollbar-sidebar {
    from {
        scrollbar-color: transparent transparent;
    }

    to {
        scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    }
}

/* برای مرورگرهایی که از ::-webkit-scrollbar پشتیبانی نمی‌کنند */
.deep .sidebar-content {
    /* Fallback برای مرورگرهای قدیمی */
    scrollbar-face-color: rgba(255,255,255,0.3);
    scrollbar-track-color: rgba(255,255,255,0.1);
    scrollbar-arrow-color: rgba(255,255,255,0.3);
    scrollbar-shadow-color: rgba(255,255,255,0.1);
}

    /* استایل اسکرول بار برای منو */
    .deep .sidebar-content::-webkit-scrollbar {
        width: 6px;
    }

    .deep .sidebar-content::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.1);
        border-radius: 3px;
    }

    .deep .sidebar-content::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.3);
        border-radius: 3px;
    }

        .deep .sidebar-content::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.5);
        }

.deep .sidebar .nav-link {
    color: rgba(255,255,255,0.9);
    padding: 10px 5px;
    margin: 2px 0;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}

    .deep .sidebar .nav-link:hover, .deep .sidebar .nav-link.active {
        background-color: rgba(255,255,255,0.15);
        color: white;
    }

    .deep .sidebar .nav-link i {
        font-size: 16px;
        flex-shrink: 0;
    }

.deep .sidebar .nav-link-text {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deep .sidebar .nav-item {
    position: relative;
    width: 100%;
}

    .deep .sidebar .nav-item::marker {
        display: none;
        content: '';
    }
/* استایل زیرمنوها */
.deep .sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

    .deep .sub-menu.show {
        max-height: 1000px;
    }

    .deep .sub-menu .nav-link {
        padding: 8px 15px;
        font-size: 0.85rem;
        background: rgba(255,255,255,0.05);
        margin: 1px 0;
    }

/* سطح دوم */
/*.deep .sub-menu-2 {
    padding-right: 20px;
}*/

.deep .sub-menu-2 .nav-link {
    padding: 6px 15px;
    font-size: 0.8rem;
    background: rgba(255,255,255,0.03);
}

/* سطح سوم */
/*.deep .sub-menu-3 {
    padding-right: 25px;
}*/

.deep .sub-menu-3 .nav-link {
    padding: 5px 15px;
    font-size: 0.78rem;
    background: rgba(255,255,255,0.02);
}

/* فلش منو */
.deep .menu-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    flex-shrink: 0;
}

    .deep .menu-arrow.rotated {
        transform: rotate(-90deg);
    }

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .deep .sidebar {
        position: fixed;
        top: 0;
        z-index: 991000;
        width: 300px;
    }

        .deep .sidebar.show {
            transform: translateX(0);
        }

        .deep .sidebar .nav-link {
            padding: 8px 12px;
            font-size: 0.85rem;
        }

    .deep .sub-menu .nav-link {
        padding: 6px 12px;
    }

    .deep .sub-menu-2 .nav-link {
        padding: 5px 12px;
    }

    .deep .sub-menu-3 .nav-link {
        padding: 4px 12px;
    }
}



.main-content {
    padding: 10px;
}

.header {
    background-color: white;
    border-radius: 10px;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 25px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/*---------------------------------------------------Btn----------------------------------------------------------------*/
.page-item.active .page-link {
    background-color: color-mix(in srgb, var(--theme-color1) 100%, transparent);
    border-color: var(--theme-color2);
}

.page-link {
    color: var(--theme-color1);
}

    .page-link:hover {
        background-color: color-mix(in srgb, var(--theme-color1) 10%, transparent);
        color: var(--theme-color2);
    }

.form-check-input:checked {
    background-color: var(--theme-color1);
    border-color: var(--theme-color2);
}

.btn-success, .btn-success:focus, .btn-success:active {
    color: var(--box-bg);
    background-color: color-mix(in srgb, var(--theme-color1) 90%, transparent);
    box-shadow: none !important;
    border-color: var(--theme-color2);
}

    .btn-success:hover {
        background-color: color-mix(in srgb, var(--theme-color1) 100%, transparent);
        box-shadow: none !important;
        border-color: var(--theme-color2);
    }

.btn-outline-primary {
    color: var(--theme-color1);
    border-color: var(--theme-color2);
    box-shadow: none !important;
}

    .btn-outline-primary:hover {
        color: var(--box-bg);
        background: var(--theme-color1);
        border-color: var(--theme-color2);
        box-shadow: none !important;
    }


.btn:focus, .btn:active {
   /* color: var(--box-bg);
    background: var(--theme-color2) !important;*/
    box-shadow: none !important;
}

.btn-group:hover {
    border-color: var(--box-bg);
}

.btn, .language-btn {
    transition: all 0.3s;
}

    .btn:hover, .language-btn:hover {
        transform: translateY(-2px); /* حرکت دکمه به سمت بالا */
    }


/*------------------header1------------------------------------------*/
.new-header {
    background: var(--box-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.header-btn.new-btn, .menu-toggle-mobile.new-btn {
    background: var(--box-bg);
    border-color: var(--theme-color2);
    color: var(--theme-color2);
}

    .header-btn.new-btn:hover, .menu-toggle-mobile.new-btn:hover {
        background: var(--theme-color1) !important;
    }

.language-btn.new-btn {
    background: var(--box-bg);
    border-color: var(--theme-color2);
    color: var(--theme-color2);
}

    .language-btn.new-btn:hover {
        background: var(--theme-color1) !important;
        color: var(--box-bg);
    }

.dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.dropdown-menu-dark {
    background-color: var(--box-bg);
}

    .dropdown-menu-dark .dropdown-item {
        color: #333;
        padding: 5px 10px;
    }

        .dropdown-menu-dark .dropdown-item:hover, .dropdown-item:hover {
            background-color: color-mix(in srgb, var(--theme-color1) 5%, transparent);
            color: var(--theme-color1);
        }

        .dropdown-menu-dark .dropdown-item.active {
            background: var(--primary-color);
            color: white;
        }
/*------------------header------------------------------------------*/
.custom-header {
    /*background: linear-gradient(180deg, var(--theme-color1) 0%, var(--theme-color2) 100%);*/
    color: white;
    padding: 12px 25px;
    margin-bottom: 0px;
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-start;
}

.header-center {
    text-align: center;
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.header-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
}

    .header-btn:hover {
        background: rgba(255,255,255,0.25) !important;
        transform: translateY(-2px) !important;
        color: white !important;
    }

    .header-btn.logout {
        background: rgba(220,53,69,1);
        border-color: rgba(220,53,69,0.9);
    }

        .header-btn.logout:hover {
            background: rgba(220,53,69,0.9) !important;
        }

.notification-btn {
    position: relative;
}

.notification-dot {
    position: relative;
    top: -8px;
    background: #dc3545;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    border: 1px solid var(--bs-red);
    animation: pulse-dot 2s infinite;
    display: block;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.8);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.user-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--theme-color1);
}

.user-name, .user-name a {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--theme-color1);
}

    .user-name a:hover {
        color: var(--theme-color2);
    }

.welcome-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
}

    .language-btn:hover {
        background: rgba(255,255,255,0.25);
    }

.language-dropdown {
    position: absolute;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    min-width: 120px;
    z-index: 1000;
    display: none;
    margin-top: 5px;
}

    .language-dropdown.show {
        display: block;
    }

.language-option {
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

    .language-option:last-child {
        border-bottom: none;
    }

    .language-option:hover {
        /*background: #f8f9fa;*/
        background-color: color-mix(in srgb, var(--theme-color1) 5%, transparent);
        color: var(--theme-color1);
        border-radius: 8px;
    }

    .language-option.active {
        background: var(--primary-color);
        color: white;
    }

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .custom-header {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
    }

    .header-left {
        order: 1;
        flex: 1;
        justify-content: flex-start;
    }

    .header-right {
        order: 2;
        flex: 0 auto;
        justify-content: flex-end;
    }

    .header-center {
        order: 3;
        flex: 100%;
        margin-top: 10px;
    }

    .header-btn, .language-btn {
        padding: 8px 10px;
    }

    .user-name {
        font-size: 1.1rem;
    }

    .welcome-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {


    .header-left {
        gap: 5px;
    }

    .header-btn, .language-btn {
        padding: 6px 8px;
        font-size: 0.8rem;
    }

    .user-name {
        font-size: 1rem;
    }

    .welcome-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    .btn-text {
        font-size: 0.8rem;
    }
}

@media (min-width: 769px) {
    .btn-text {
        display: inline;
    }

    .menu-toggle {
        display: none !important;
    }
}


/*------------------slick------------------------------------------*/
.slick .agency-box {
    background: var(--box-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    max-height: 950px !important;
}

.slick .agency-box-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.slick .agency-box-title {
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    display: flex;
    align-items: center;
}

    .slick .agency-box-title i {
        color: var(--primary-color);
    }

.slick .agency-scroll-hint {
    color: var(--secondary-color);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}


/*.slick .agencies-scroll-container {
    display: flex;
   
    overflow-x: auto;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--light-bg);
}*/
.slick .agencies-scroll-container {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-color1) var(--light-bg);
    flex: 1; /* این باعث میشه تمام فضای disponible رو بگیره */
}
/* .slick .agencies-scroll-container::-webkit-scrollbar {
        height: 8px;
    }

    .slick .agencies-scroll-container::-webkit-scrollbar-track {
        background: var(--light-bg);
        border-radius: 10px;
    }

    .slick .agencies-scroll-container::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 10px;
    }*/

.slick .agency-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    min-width: 280px;
    margin: 10px;
    flex: 0 0 auto;
    position: relative;
}

    .slick .agency-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        border-color: var(--theme-color1);
    }

.slick .agency-logo {
    min-width: 150px;
    min-height: 50px;
    max-width: 150px;
    max-height: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.2);
    /*background: linear-gradient(135deg, var(--primary-color), #0a58ca);*/
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

    .slick .agency-logo img {
        border-radius: 10px;
    }

.slick .agency-info {
    flex-grow: 1;
}

.slick .agency-name {
    font-weight: 700;
    margin-bottom: 5px;
    color: #2c3e50;
}

.slick .agency-status {
    display: flex;
    align-items: center;
}

.slick .agency-role {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.slick .agency-arrow {
    color: var(--secondary-color);
    transition: all 0.3s;
}

.slick .agency-card:hover .agency-arrow {
    color: var(--primary-color);
    transform: translateX(-3px);
}
/*---------------------------------------------------------------*/
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: var(--theme-color1);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--primary-color);
}

.feature-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature-description {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.section-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
    }

    .agency-card {
        min-width: 250px;
    }

    .agency-box-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .agency-scroll-hint {
        margin-top: 10px;
    }
}
/*----------------------------------chatOnline--------------------------------------------*/

/*html, body {
    overflow: hidden;
    height: 100%;
}

body {
    background-color: #f9f9f9;
}*/
.user-list-item {
    overflow-y: auto;
    height: calc(70dvh);
}

.search-user-item {
    color: #787a87;
    background-color: #efeff1;
    padding: 14px 10px;
    border-bottom: 1px solid #dee2e6;
    transition: background-color 0.3s;
}

    .search-user-item input {
        background-color: #efeff1;
        border: 1px solid #b8bbbf;
    }

.user-item {
    cursor: pointer;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s;
}

.list-group-item.selected-user {
    background-color: #e8e8e85c;
    border-right: 4px solid #0d6efd !important; /* خط نشون‌دهنده انتخاب */
}

.list-group-item {
    cursor: pointer;
}

    .list-group-item:hover {
        background-color: #e8e8e85c;
    }

.status-indicator {
    position: absolute;
    bottom: 0;
    left: 0px;
    transform: translate(40%, 40%);
    width: 15px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.online-dot {
    width: 10px;
    height: 10px;
    background-color: green;
    border-radius: 50%;
    display: inline-block;
}

.offline-dot {
    background-color: gray;
}

.chat-message {
    margin: 10px 0;
    max-width: 70%;
    padding: 10px;
    border-radius: 15px;
    position: relative;
}

    .chat-message.user {
        background-color: #F4F5F7;
        color: #091E42;
        align-self: flex-start;
    }

    .chat-message.admin {
        background-color: #dcfaf5;
        color: #091E42;
        align-self: flex-end;
    }

.message-meta {
    font-size: 10px;
    color: #666;
    margin-top: 5px;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}




/*--------------------------------------------------------------------------*/
.chat-box {
    position: relative;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    height: calc(70dvh - 180px);
    background: linear-gradient(rgba(218, 224, 243, 0.72), rgba(218, 224, 243, 0.72)), /* رنگ زمینه */
    url('/Image/chat/new-pattern-2.png'); /* عکس پس‌زمینه */
    background-repeat: repeat;
    background-size: 300px;
    z-index: 1;
}

/*--------------------------------------------------------------------------*/


.chat-box-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}




.chat-header {
    background-color: #efeff1;
    color: #787a87;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    font-weight: bold;
}

    .chat-header .back-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #eee;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

.chat-footer {
    padding: 10px;
    position: sticky;
    color: #787a87;
    background-color: #efeff1;
    border-top: 1px solid #EBECF0;
}

.emoji-panel {
    position: absolute;
    bottom: 50px;
    right: 70px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 5px 10px;
    display: none;
    z-index: 20;
}

    .emoji-panel span {
        font-size: 20px;
        cursor: pointer;
        margin: 5px;
    }

@media (max-width: 768px) {
    #userListCol {
        display: block;
    }

    #chatCol {
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 10;
    }

        #chatCol.active {
            display: flex !important;
            flex-direction: column;
            animation: fadeIn 0.3s ease-in-out;
        }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

/*----------------------------------responsive table mobile--------------------------------------------*/
.table-responsive .table {
    margin: 1em 0;
}

    .table-responsive .table th {
        display: none;
    }

    .table-responsive .table td {
        display: block;
    }

        .table-responsive .table td:first-child {
            margin-top: 0;
        }

        .table-responsive .table td:last-child {
            margin-bottom: 0;
        }

        .table-responsive .table td:before {
            content: attr(data-th) ": ";
            font-weight: bold;
            width: 25%;
            display: inline-block;
        }

    .table-responsive .table th, .table-responsive .table td {
    }


.table-responsive .table {
    /*overflow: hidden;*/
}



@media (min-width: 768px) {
    .table-responsive .table th, .table-responsive .table td {
        padding: 6px 8px;
        display: table-cell;
    }

        .table-responsive .table td:before {
            display: none;
        }
    /*
        .table-responsive .table th:first-child, .table-responsive .table td:first-child {
            padding-left: 0;
        }

        .table-responsive .table th:last-child, .table-responsive .table td:last-child {
            padding-right: 0;
        }*/
}


@media (max-width: 768px) {

    .table-responsive .table td:first-child {
        margin-top: .5em;
    }

    .table-responsive .table td:last-child {
        margin-bottom: .5em;
    }

    .table-responsive .table th, .table-responsive .table td {
        padding: 6px 8px;
    }
}
