.doctor-place-decor{
    font-size: 12px;
    font-weight: 300;
    line-height: 14.06px;
    text-align: left;
    color: #EF3541;
    position: relative;
    padding-left: 13px;
    white-space: nowrap;
    display: inline-block;
    margin-right: 10px;

}
.apply-filters{
    background-color: #EF3541;
    color: white;
    border-radius: 32px;
}
.modal ul li.active {
    background-color: white;
    border: solid 1px #EF3541;
    border-radius: 32px;
	color: #a30913;
    padding: 4px 10px;
    margin-top: 5px;
}
.modal ul {
    padding: 0;
}
.disable{
    opacity: 0.5;
    pointer-events: none;
}
.doctor-place-decor:after {
    position: absolute;
    content: "";
    left: 0;
    top: 0px;
    background-image: url(/local/templates/cyberlab/img/geo-point.png);
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
}

.swiper.doctors .swiper-wrapper {
    overflow: auto;
    align-items: stretch;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* Обеспечивает плавное прокручивание на устройствах iOS */
}
.swiper.doctors .swiper-wrapper::-webkit-scrollbar {
    width: 1px;
    border-radius: 60px;
}
.swiper.doctors .swiper-wrapper::-webkit-scrollbar-track {
    height: 16px;
    width: 16px;
    background: #f1f1f1;
    padding-top: 16px;
}
.swiper.doctors .swiper-wrapper::-webkit-scrollbar-thumb {
    background: #EF3541;
    width: 10%;
    border-radius: 10px;
    height: 16px;
    padding-top: 16px;
}
.swiper.doctors .swiper-wrapper::-webkit-scrollbar-thumb:hover {
    background: #EF3541;
}
.swiper.doctors .swiper-wrapper .swiper-slide {
    margin-right: 20px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.swiper.doctors .swiper-wrapper .swiper-slide.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}
.swiper.doctors .swiper-wrapper .swiper-slide.hidden-display {
    display: none!important;
}
.filter-panel {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    /*overflow: auto;*/
    gap: 8px;
}
.filter-panel::-webkit-scrollbar {
    width: 1px;
    border-radius: 60px;
}
.filter-panel::-webkit-scrollbar-track {
    background: #f1f1f1;
}
.filter-panel::-webkit-scrollbar-thumb {
    background: #EF3541;
    width: 10%;
    border-radius: 10px;
}
.filter-panel::-webkit-scrollbar-thumb:hover {
    background: #EF3541;
}
.filter-panel button {
    /*margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: #EF3541;
    color: #fff;
    border: none;
    border-radius: 5px;*/
    cursor: pointer;
    white-space: nowrap;
    margin-bottom: 10px;
}
.filter-panel button.active {
    padding: var(--dv-space-xs) var(--dv-space-s);
    border: 1px solid var(--primary);
    border-radius: var(--dv-space-m);
    background-color: var(--primary);
    background-image: linear-gradient(140deg, var(--prim-10), var(--prim-91));
    color: var(--white);
}
.swiper-slide{
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}
.swiper-slide img{
    pointer-events: none;
}
.doctors-card-photo a{
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
}

.doctors .doctors-card,.doctors .swiper-slide{
    max-width: max-content;
}
.doctors .doctors-card-photo{
    max-width: 270px;
}
.doctors .swiper-wrapper{
    margin-bottom: 10px;
}
.swiper.doctors .swiper-wrapper .swiper-slide{
    margin-bottom: 0;
}
/* Стили для кастомной полосы прокрутки Swiper */


/* Стили для кастомной полосы прокрутки Swiper */
.doctors .swiper-scrollbar {
    background: rgba(0, 0, 0, 0.1);
    height: 20px !important;
    border-radius: 5px;
   
    position: relative;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}

.doctors .swiper-scrollbar-drag {
    background: #43b02a; /* Зеленый цвет фона */
    border-radius: 25px;
    height: 20px;
    width: 100px;
    position: relative;
}

.doctors .swiper-scrollbar-drag::before,
.doctors .swiper-scrollbar-drag::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #43b02a; /* Зеленый цвет */
    border-radius: 50%;
}

.doctors .swiper-scrollbar-drag::before {
    left: 0px;
}

.doctors .swiper-scrollbar-drag::after {
    right: 0px;
}

/* Стили для стрелок */
.doctors .swiper-scrollbar-drag::before {
    content: '<';
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
}

.doctors .title_doc a{
    color: #565656;
}
.doctors .swiper-scrollbar-drag::after {
    content: '>';
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-close {
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.modal-header {
    justify-content: space-between;
    display: flex;
}

.modal ul li {
    list-style: none;
    cursor: pointer;
    width: 70%;
    margin: 0 auto;
}

.modal ul li:hover {
    color: #a30913 !important;
}
@media screen and (max-width: 991px){
    .doctors .doctors-card,.doctors .swiper-slide{
        max-width: 560px;
    }
}
@media screen and (max-width:580px){
    .filter-panel{
        margin-bottom: 20px;
        display: flex;
        flex-wrap: nowrap;
        overflow: auto;
        gap: 8px
    }
}