:root {
    --body-bg-color: #fafafa;
    --alert-bg-color: #3A3A3A;
    /*--navbar-bg-color: #003B95;*/
    --navbar-bg-color: #003B95;
    /*--navigation-bar-bg-color: #CFCBC8;*/
    --navigationbar-bg-color: white;
    //--button-hover-color: #f0f0ff;
    --button-hover-color: #F5F5FF;
}

#logo {
    height: 43px;
    width: 227px;
}

#add_share_button {
    color: #007bff; /* Синий цвет текста */
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; /* Плавные анимации */
    text-align: center;
    display: inline-block;
    background-color: transparent; /* Прозрачный фон */
    outline: none;
}

#add_share_button:hover {
    transform: scale(1.05);
}

#add_share_button:active {
    transform: scale(0.95);
}

#add_share_button:focus {
    outline: none;
}

.favourites{
    position: absolute;
    top: 50%;
}

select{
    cursor: pointer;
}

html, body {
    height: 100%;
    background-color: var(--body-bg-color);
}

input[type=checkbox] {
    cursor: pointer;
    user-select: none;
}

input{
    -moz-appearance: textfield;
}

input::-webkit-inner-spin-button {
    display: none;
}

*{
    outline: 0px solid #000000;
    -webkit-tap-highlight-color: transparent;
}

p { text-indent: 30px; }

h2{
    padding-top: 10px;
}

h3{
    padding-bottom: 5px;
    padding-top: 5px;
}

label {
    cursor: pointer;
    user-select: none;
}

button {
    overflow: hidden;
    user-select: none;
}

alert {
    font-size: 20px;
    color: #ffffff;
    background-color: var(--alert-bg-color);
}

/*NAV BARS*/

nav{
    z-index: 100;
}

.NAVBAR {
    background-color: var(--navbar-bg-color);
}

.bg-dark {
    background-color: var(--navigationbar-bg-color) !important;
    -webkit-box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 6px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 0px;
}

.navbar_menu_icon{
    display: none;
}

.list.active{
    cursor: pointer;
    border-bottom: 2px solid #007bff;
}
/*MAIN*/

video {
    overflow: hidden;
    position: absolute;
    z-index: 1;
    object-fit: cover;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

video:hover{
    overflow: hidden;
}

.video_background{
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.5;
}

.BUTTONS_MAIN{
    display: flex;
    flex-direction: column;
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 30px;
    justify-content: space-between;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 28px;
    width: 100% !important;
    height: 80% !important;
}

.main_button{
    margin: 2rem;
    width: 270px;
    padding: 10px;
    user-select: none;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    background-color: #007bff;
    color: #ffffff
}

.main_page_buttons_container{
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 0;
}

.offer_container{
    display: flex;
    margin-top: 350px;
    position: fixed;
    bottom: 100px;
    justify-content: center;
    align-items: center;
    right: 50%;
    left: 50%;
}

.offer_item{
    display: flex;
    flex-direction: row;
    color: #000000;
    font-size: 16px;
    margin: 25px;
    border-radius: 20px;
}

.card_main{
    border-radius: 20px;
    width: 200px;
    height: 200px;
    opacity: 0.85;
    border: 2px solid #007bff;
}

.card-body{
    height: 130px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
}

/*PLACES*/
.place-section{
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.place-section:last-child{
    margin-bottom: 40px;
}

.place-item{
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    -moz-box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
}

.place-item:hover{
    -webkit-box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    -moz-box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
}

.place-photo img:first-child{
    width: 530px;
    aspect-ratio: 4/3;
    margin-left: 10px;
    margin-right: 0;
}

.place-photo-sup img {
    margin-left: 10px;
    width: 1070px;
    aspect-ratio: 4/3;
}

.place-description{
    margin: 20px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.place-description-main{
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 25px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.place-description-main:last-child{
    padding-bottom: 25px;
}

/*ADD ITEM*/

.ADD_ITEM {
    width: 845px;
    height: 92%;
    padding: 0;
    border-radius: 8px;
    margin: 10px;
    -webkit-box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    -moz-box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    display: flex;
    flex-direction: column;
}

.ADD_ITEM:last-child{
    margin-bottom: 40px;
}

.ADD_ITEM:hover {
    -webkit-box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    -moz-box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
}

.ADD_INFO {
    width: 100%;
    max-width: 630px;
}

#star:after{
    content: '\2605';
    font-size: 26px;
}


.ADD_ITEM_INFO{
    width: 100%;
    height: 30%;
    font-size: 23px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.ADD_ITEM_PRICE_BUTTON{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    font-size: 25px;
}

.ADD_ITEM_PHOTO{
    width: 200px;
    height: 200px;
    margin: 10px;
    border-radius: 5px;
    object-fit: cover;
}

.ADD_ITEM_MORE_INFO{
    height: 13%;
    margin-top: 82px;
    text-indent: 5px;
    font-style: italic;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}

.ADD_ITEM_DESCRIPTION {
    padding-left: 5px;
    font-size: 12px;
    max-width: 600px;
    text-overflow: ellipsis;
    height: 33px;
    word-break: break-all;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ADD_ITEM_DESCRIPTION p{
    text-indent: 0;
    font-weight: 500;
}

.ADD_ITEM_PRICE_MOBILE{
    margin-top: 5px;
    padding: 0;
    font-weight: 600;
    font-size: 20px;
}

ul {
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    list-style: none;
    padding-left: 0;
}

.message_denied{
    padding-left: 20px;
    padding-bottom: 5px;
    background-color: #B32821;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    color: white;
    font-size: 20px;
}

/*ADD PAGE SECTOR*/

.ADD_PAGE_MAIN{
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
}

.ADD_PAGE_SEC{
    display: flex;
    flex-direction: column;
    width: 70%;
}

.ADD_PAGE_TITLE h1{
    font-size: 40px;
}

.ADD_PAGE_SEC_2{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 70%;
    position: sticky;
    top: 0;
    padding-left: 10px;
}

.MAIN_TITLE{
    font-size: 34px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.ADD_PAGE_IMAGES{
    margin-left: 0;
    width: 740px;
    height: 555px;
    margin-bottom: 50px;
}

.ADD_PAGE_INFO{
    padding-left: 20px;
}

.ADD_MAP{
    width: 600px;
    height: 400px;
}

.preview{
    display: flex;
    flex-wrap: wrap;
}

.preview_photo {
    position: relative;
    width: 180px;
    height: 180px;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
    margin: 10px;
    touch-action: none;
    user-select: none;
}

.preview_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    touch-action: none;
    user-select: none;
}

.add_id{
    font-size: 13px;
    font-style: italic;
    padding-left: 10px;
}

/* Review sector */

.review_section{
    font-size: 30px;
    font-weight: 600;
}

.review_item{
    padding: 10px;
    border-bottom: 1px solid #A6A8AA;
    margin-bottom: 10px;
}

.review_main{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.review_user_nickname{
    padding-left: 5px;
    font-size: 18px;
    font-weight: 500;
}

.review_grade_container{
    display: flex;
    align-items: center;
    font-size: 17px;
}

.review_grade_text{
    padding-left: 10px;
    padding-top: 2px;
    font-weight: 500;
}

.review_form_grade{
    display: flex;
    flex-direction: row;
    margin-left: 40px;
    cursor: pointer;
}

.no_reviews{
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.gold_star{
    filter: invert(78%) sepia(43%) saturate(646%) hue-rotate(50deg) brightness(107%) contrast(101%)
}

.filter-toggle-text {
    color: #007bff;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 23px;
    display: flex;
    justify-content: center;
    padding: 5px;
}

/*PROFILE ADD PAGE*/

.ADD_PAGE_PROFILE{
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
    border-radius: 10px;
    -webkit-box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    -moz-box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    box-shadow: 0 0 6px 1px rgba(26, 38, 47, 0.24);
    cursor: pointer;
}

.ADD_PAGE_PROFILE:hover{
    -webkit-box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    -moz-box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    box-shadow: 0 0 7px 3px rgba(26, 38, 47, 0.24);
    cursor: pointer;
}

.ADD_PAGE_PROFILE_PART_1{
    display: flex;
}

.ADD_PAGE_PROFILE_PART_1 img {
    width: 120px;
    height: 120px;
    border: none;
    border-radius: 100px;
    object-fit: cover;
}

.user_add_profile_text{
    padding-top: 10px;
    font-size: 18px;
    text-align: left;
}

.profile_button{
    display: inline-block;
    user-select: none;
    font-family: 'Roboto', sans-serif;
    vertical-align: top;
    padding: 5px 40px;
    background-color: var(--navbar-bg-color);
    border: none;
    border-radius: 10px;
    margin: 5px 0;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .27s linear;
    width: 100%;
}

.button_nav{
    padding-left: 8px;
    background: none;
    border-radius: 0;
    border: none;
    text-decoration:none;
    outline:none;
    cursor:pointer;
    user-select: none;
}

.button_nav img {
    filter: brightness(0) invert(1);
}

.button_navigation_main:hover{
    color: var(--navbar-bg-color);
}

.navigation_selection_button{
    padding: 5px;
    background-color: #007bff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: #fff;
    transition: background-color 0.2s ease, transform 0.1s ease; /* Плавное изменение фона и эффекта при наведении */
}

.navigation_selection_button:hover{
    background-color: var(--navbar-bg-color); /* Более темный оттенок синего для эффекта наведения */
}

.button_zakaz{
    font-size: 20px;
    text-decoration: none;
    margin: 0 auto;
    padding: 0;
    background: none;
    border-radius: 0;
    border: none;
    outline:none;
    cursor:pointer;
    user-select: none;
}

.header_profile{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    cursor: pointer;
}

.header_profile img{
    margin-right: 5px;
    object-fit:cover;
    filter: brightness(0) invert(1);
}

#selection_offer_add_page{
    background-color: #007bff !important;
}

/*PROFILE PAGE*/

.PROFILE_PHOTO {
    display: flex;
    flex-direction: column;
}

.PROFILE_PHOTO img {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    object-fit: cover;
}

.PROFILE_ACTION {
    border: none;
    border-radius: 0;
    padding: 0;
    word-break: break-all;
}

.filter_container{
    width: 105%;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.filter_container_desktop{
    padding: 10px;
}

.filter {
    text-align: center;
    margin-bottom: 10px;
}

.filter:after {
    content: "";
    display: block;
    max-width: 280px;
    height: 1px;
    margin: auto;
    background-color: #555555;
}

.filter_mobile{
    padding: 10px;
}

.burgerFilter {
    width: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    padding-top: 5px;
}

.burgerFilterMobile{
    padding: 4px;
}

/* ИНФО УВЕЛИЧЕНИЕ ЧТОБЫ ПОКАЗЫВАЛОСЬ НЕ В 2 СТРОКИ*/

.tooltip-inner{
    max-width: 300px;
    text-align: left;
}

/*ФОТО ИНПУТ (ВЫБОР ФОТО ОБЪЯВЛЕНИЯ)*/
/*className="PHOTO_INPUT_BUTTON"*/
.PHOTO_INPUT_BUTTON{
    width: 600px;
    height: 200px;

}

/*DROPDOWNS*/

.btn-primary{
    color: #000000;
    background: #ffffff;
    user-select: none;
}

.btn-primary:active{
    color: #000000;
    background: #ffffff;
}

.btn-primary:hover{
    color: #000000;
    background: #ffffff;
}

.form-control{
    border: 1px solid #007bff;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.dropdown-toggle:hover{
    color: #000000;
    background: #fafafa;
}

.show>.btn-primary.dropdown-toggle {
    color: #000000;
    background: #fafafa;
}

.dropdown button{
    border: 1px solid #007bff;
}

/*INPUT PHOTO*/

.IMAGE_DROP_BUTTON_DRAG_TRUE {
    cursor: pointer;
    display: flex;
    width: 500px;
    height: 250px;
    border: 1px solid #007bff;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.IMAGE_DROP_BUTTON_DRAG_FALSE{
    cursor: pointer;
    display: flex;
    width: 150px;
    height: 25px;
    border: 1px solid var(--navbar-bg-color);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    text-align: center;
    justify-content: center;
    align-items: center;
}


/*INTERESTING PLACES*/

.menu {
    z-index: 100;
}

.menu > li{
    display: inline-block;
    z-index: 100;
}

.menu li {
    position: relative;
    z-index: 100;
}

.menu a{
    text-decoration: none;
    display: block;
    color: black;
    padding: 6px 12px;
    transition: background-color .22s ease, color .22s ease;
    z-index: 100;
    cursor: pointer;
    user-select: none;
}

.menu a:hover {
    background-color: var(--button-hover-color);
    color: #004099;
    cursor: pointer;
}

.submenu {
    position: absolute;
    background-color: white;
    width: 210px;
    z-index: 150;
    left: 0;
    display: none;
    user-select: none;
    -webkit-box-shadow: -5px 0 17px -2px rgba(4, 4, 4, 0.3);
    -moz-box-shadow: -5px 0 17px -2px rgba(4, 4, 4, 0.3);
    box-shadow: -5px 0 17px -2px rgba(4, 4, 4, 0.3);
}

.submenu li {
    z-index: 150;
}

.submenu2 {
    position: absolute;
    background-color: white;
    left: 100%;
    width: 280px;
    top: -60px;
    display: none;
    -webkit-box-shadow: 5px 0 17px -2px rgba(4, 4, 4, 0.3);
    -moz-box-shadow: 5px 0 17px -2px rgba(4, 4, 4, 0.3);
    box-shadow: 5px 0 17px -2px rgba(4, 4, 4, 0.3);
}

.submenu2 a {
    height: 40px;
    line-height: 1.1;
    cursor: pointer;
    user-select: none;
}

.menu li:hover > .submenu {
    display: block;
    animation: slideup .3s ease;
}

.submenu li:hover > .submenu2 {
    display: block;
    animation: slideleft .3s ease;
}

.burger-menu {
    position: fixed;
    width: 30%;
    background-color: #212529;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 10000;
    color: #DEE2E6;
    transform: translateX(-100%);
    transition: transform .22s ease;
}

.burger-menu.active {
    transform: translateX(0);
}

.burger-menu-header{
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.burger-menu-header.active{
    padding: 1rem;
}

.burger-menu-title{
    line-height: 1;
    margin-bottom: 0;
    font-size: 30px;
}

.blur {
    background-color: #000;
    height: 100%;
    opacity: .5;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    transform: translateX(-100%);
}

.blur.active {
    transform: translateX(0);
}

.burger-menu > li{
    display: inline-block;
    z-index: 100;
}

.burger-menu li {
    position: relative;
    z-index: 100;
}

.burger-menu a{
    text-decoration: none;
    display: block;
    padding: 6px 12px;
    z-index: 100;
    cursor: pointer;
    user-select: none;
}

.burger-menu a:hover {
    background-color: #F5F5FF;
    color: #004099;
    cursor: pointer;
}

#cancel-svg {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#cancel-svg-filter {
    width: 25px;
    height: 25px;
    cursor: pointer;
    filter: brightness(0) invert(0);
    user-select: none;
}

@keyframes slideup {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes slideleft {
    0% {
        opacity: 0;
        transform: translateX(18px);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/*RoadMap section*/

.road_map{
    display: flex;
    justify-content: space-between;
}

.road_map_section {
    object-fit: cover;
    display: flex;
    flex-direction: column;
}

.road_map_section img {
    object-fit: cover;
}

.road_map_menu {
    width: 50%;
    margin-left: 30px;
}

.road_map_border {
    border-left: 2px solid #333;
}

.road_map_item {
    margin: 0 0 5px 20px;
    padding: 20px;
    border-radius: 20px;
    background-color: #D7E8F8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.title {
    position: relative;
}

.title::before {
    content: '';
    border-radius: 50%;
    position: absolute;
    width: 14px;
    height: 14px;
    left: -49px;
    border: 8px solid var(--navbar-bg-color);
}

.road_map_font {
    margin-top: 10px;
    font-size: 18px;
    color: #333333;
    line-height: 26px;
}

.road_map_info{
    width: 45%;
    display: flex;
    flex-direction: column;
}

/*Tariffs section*/

.tariffs_section{
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.tariffs_border{
    padding: 0 10px;
    width: 50%;
}

.tariffs_border:first-child{
    padding: 0;
}

.tariffs_item{
    padding: 20px;
    border-radius: 20px;
    background-color: #D7E8F8;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.tariffs_info{
    width: 75%;
    display: flex;
    flex-direction: column;
}

.tariffs{
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 25%;
    height: 140px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background-color: #ff3333;
}

.tariffs dd{
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 500;
    font-size: 36px;
    line-height: 1;
}

.tariffs f{
    text-decoration: line-through;
    text-decoration-style: solid;
    text-decoration-color: white;
    font-weight: 200;
}

.Spinner{
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%)
}

.page-item.active .page-link{
    background-color: var(--navbar-bg-color);
    border-color: var(--navbar-bg-color);
}

.page-link {
    color: var(--navbar-bg-color);
}

.form-check-inline{
    margin-right: 3px;
}

#inline-checkbox-100{
    margin-right: 0;
}

.photogallery_photo_main{
    display: flex;
}

.photogallery_photo_submain{
    display: flex;
}

.photogallery_photo{
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.photogallery_photo_el img{
    padding: 3px;
    width: 370px;
    height: 285px;
}

.photogallery_photo_el_large img{
    padding: 3px;
    width: 740px;
    height: 570px;
}

.right {
    display: flex;
    flex-direction: column;
}


/*******************/

.sliderStyles{
    position: relative;
    height: 100%;
    z-index: 5;
    cursor: pointer;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

.sliderStyles.active{
    position: absolute;
    z-index: 100002;
    width: 1000px;
    height: 800px;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    align-items: center;
    cursor: default;
}

.slideStyles{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

.slideStyles.active{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #2B2B2B;
}

.dotsContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.points{
    margin: 0 4px;
    cursor: pointer;
    font-size: 20px;
    user-select: none
}

.points.fullscreen {
    color: #fff;
}

.points.active{
    font-size: 30px;
    color: #007bff;
}

.leftArrowStyles{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 32px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 20;
}

.leftArrowStyle{
    position: absolute;
    width: 80px;
    height: 100%;
    background-color: black;
    opacity: 0.25;
    cursor: pointer;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    z-index: 20;
}

.rightArrowStyles{
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    right: 32px;
    font-size: 45px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    z-index: 7;
}

.rightArrowStyle{
    position: absolute;
    right: 0;
    width: 80px;
    height: 100%;
    background-color: black;
    opacity: 0.25;
    cursor: pointer;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 7;
}

.watermark{
    position: absolute;
    right: 20px;
    bottom: 10px;
    opacity: 0.6;
    z-index: 6;
    user-select: none;
}

.watermark.active{
    bottom: 30px;
}

/*Images AddPage fullscreen*/

.background-photos{
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.8;
    z-index: 100;
    display: none;
    cursor: pointer;
}

.background-photos.active{
    display: block;
}

.background-photos2{
    z-index: 101;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 1;
    color: #fff
}

.fullscreen-exit-button{
    position: absolute;
    z-index: 102;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    display: none;
    cursor: pointer;
}

.fullscreen-exit-button.active{
    display: block;
}

/*Messages*/

.message{
    background-color: #B32821;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.message_text{
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
}

#button_pay_add{
    font-size: 20px;
    border-radius: 10px;
    font-weight: 600;
    border: none;
    padding: 10px;
}

#button_pay_add:hover{
    background-color: #FF2821;
}

#button_pay_add a{
    color: black;
    text-decoration: none;
    display: block;
    align-items: center;
    font-size: 20px;
    text-align: center;
}

.message_admin{
    background-color: #B32821;
    padding: 10px;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.message_text_admin{
    display: flex;
    align-items: center;
    font-weight: 400;
    color: #fff;
    font-size: 20px;
    justify-content: center;
    padding-bottom: 5px;
}

.input-group-text{
    width: 466px;
    margin-bottom: 5px;
}

.about_us_main_title{
    font-size: 60px;
}

.about_us_title{
    font-size: 46px;
}

/*FOOTER*/

.footer{
    display: block;
    background-color: #dedede;
    width: 100%;
    height: 22px;
    text-decoration: none;
    font-size: 12px;
    position: fixed;
    bottom:0
}

.footer_profile{
    display: block;
    background-color: #dedede;
    width: 100%;
    height: 18px;
    text-decoration: none;
    font-size: 10px;
}

.footer a {
    text-decoration: none;
    font-size: 10px;
    padding: 0 4px;
}



#add-create-text{
    white-space: pre-line;
}

.App {
    font-family: sans-serif;
    text-align: center;
    max-width: 1020px;
    margin: 0 auto;
    user-select: none;
}

.scrollableContainer {
    position: relative;
    display: flex;
    flex-direction: row;
}

.listItem {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    list-style: none;
}

.listItem::-webkit-scrollbar{
    width: 0;
    height: 0;
}

.item {
    display: flex;
    width: 6rem;
    height: 6rem;
    background-color: aquamarine;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.item:not(:last-child) {
    margin-right: 1em;
}

.buttonClick {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: #fff;
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 2;
}

.buttonLeft {
    left: -20px;
}

.buttonRight {
    right: -20px;
}

.button--hidden {
    display: none;
}

.shadowWrapper {
    width: 30px;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    position: absolute;
    top: 0;
}

.leftShadowWrapper {
    left: 0;
}

.rightShadowWrapper {
    right: 0;
}

.shadow {
    position: absolute;
    box-shadow: 0 0 30px -8px #232628;
    z-index: 1;
    top: 50%;
    right: -25px;
    width: 24px;
    height: 80%;
    border-radius: 50%;
    transform: translateY(-50%);
}

.leftShadow {
    box-shadow: 0 0 30px -8px #232628;
    left: -25px;
}

.rightShadow {
    box-shadow: 0 0 30px -8px #232628;
    right: -25px;
}

.reg_text{
    padding-right: 10px;
}

.form_auth{
    padding: 3rem;
}

/*CANVAS*/
.preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.placeholder {
    width: 50px;
    height: 50px;
    background-color: #e0e0e0;
    border-radius: 50%;
}

.destroy_button {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 40px; /* Увеличиваем размер кнопки */
    height: 40px; /* Увеличиваем размер кнопки */
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.destroy_button::before,
.destroy_button::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 4px;
    background-color: #007bff;
    transform: translate(-50%, -50%);
}

.destroy_button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.destroy_button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.destroy_button:hover {
    transform: scale(1.05);
}

.preview_photo:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

.first-photo-label {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    padding: 2px 5px;
    border-radius: 5px;
}

/* Стиль для прогресс-бара */
.ProgressBar {
    width: 100%;
    height: 15px;
    background-color: #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

.ProgressBar .progress-bar {
    height: 100%;
    background-color: #4caf50;
    transition: width 0.3s ease;
}

input[type="file"] {
    display: none; /* Скрываем стандартный input */
}

input[type="file"] + label {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="file"]:hover + label {
    background-color: var(--navbar-bg-color);
}

input[type="file"]:focus + label {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/*************************************************/

@media screen and (max-width: 1200px) {
    .sunny_Kisl{
        text-indent: 0;
    }

    .ADD_ITEM {
        min-width: 700px;
        width: 99%;
    }

    .ADD_PAGE_IMAGES{
        width: 675px;
        height: 470px;
    }

    .ADD_PAGE_SEC {
        width: 75%;
    }

    .ADD_PAGE_SEC_2{
        width: 25%;
    }

    .ADD_ITEM_INFO{
        height: 30%;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .ADD_ITEM_MORE_INFO {
        margin-top: 80px;
        height: 13%;
    }

    .ADD_ITEM_DESCRIPTION {
        padding-right: 5px;
    }

    .photogallery_photo_el img{
        padding: 2px;
        width: 310px;
        height: 240px;
    }

    .photogallery_photo_el_large img{
        padding: 2px;
        width: 620px;
        height: 480px;
    }

    .place-photo img:first-child{
        width: 440px;
        height: 318px;
    }

    .place-photo-sup img{
        width: 890px;
        height: 715px;
        padding-top: 10px;
    }

    .ADD_ITEM_PRICE_BUTTON button{
        width: 80px;
        height: 50px;
        line-height: 1.2;
        padding: 0;
    }

    .sliderStyles.active{
        max-width: 800px;
        max-height: 600px;
    }

    .watermark.active{
        bottom: 10px;
        right: 10px;
    }

    .App {
        max-width: 800px !important;
    }
}

@media screen and (max-width: 992px) {
    .ADD_ITEM {
        min-width: 520px;
        width: 98%;
    }

    .ADD_PAGE_MAIN{
        width: 100%;
        margin: 0 auto;
    }

    .ADD_PAGE_IMAGES{
        width: 100%;
    }

    .ADD_PAGE_SEC {
        width: 100%;
    }

    .ADD_PAGE_SEC_2{
        display: none;
    }

    .ADD_ITEM_INFO{
        font-size: 18px;
        height: 45%;
    }

    .ADD_ITEM_PRICE{
        height: 45%;
        width: 40%;
    }

    .ADD_ITEM_PRICE_BUTTON{
        font-size: 18px;
        font-weight: 600;
    }

    .ADD_ITEM_MORE_INFO{
        margin-top: 50px;
        height: 13%;
    }

    .MAIN_TITLE{
        font-size: 25px;
    }

    .rightArrowStyle {
        width: 60px;
    }

    .rightArrowStyles{
        right: 18px;
    }

    .leftArrowStyle{
        width: 60px;
    }

    .leftArrowStyles{
        left: 18px;
    }

    .photogallery_photo {
        max-width: 690px;
    }

    .photogallery_photo_main{
        max-width: 720px;
    }

    .photogallery_photo_el img{
        padding: 2px;
        width: 345px;
        height: 275px;
    }

    .photogallery_photo_submain{
        max-width: 720px;
        flex-direction: column;
    }

    .photogallery_photo_el_large img {
        padding: 2px;
        width: 690px;
        height: 570px;
    }

    .place-photo img:first-child{
        width: 320px;
        height: 231px;
    }

    .place-photo-sup img {
        width: 650px;
        height: 500px;
    }

    .right{
        flex-direction: row;
    }

    .menu a{
        padding: 7px;
    }

    .submenu2{
        top: -37px;
    }

    #photogallery_photo_el_last{
        display: none;
    }

    .road_map_section{
        padding-bottom: 20px;
    }

    #button_pay_add{
        width: 170px;
        padding: 5px;
    }

    .ADD_PAGE_PROFILE{
        padding: 5px;
    }

    .user_add_profile_text{
        padding-left: 10px;
    }

    .profile_utilities{
        display: flex;
        flex-direction: column;
        justify-content: end;
    }

    .profile_utilities button{
        width: 200px;
    }

    .preview_photo{
        margin: 6px;
        width: 200px;
        height: 200px;
    }

    .sliderStyles.active{
        max-width: 700px;
        max-height: 600px;
    }

    .tariffs{
        height: 163px;
    }

    .BUTTONS_MAIN {
        font-size: 26px;
    }
}

@media (max-width: 900px) {
    .App {
        max-width: 500px !important;
    }
}

@media (max-width: 767px) {
    .bg-dark {
        padding: 3px 16px;
    }

    .ADD_ITEM {
        margin: 10px 0;
        width: 100%;
        min-width: 540px;
        word-break: break-word;
    }

    .ADD_PAGE_IMAGES{
        height: 380px;
    }

    .button_nav {
        padding-left: 3px;
    }

    .navbar_menu_icon{
        cursor: pointer;
        user-select: none;
        display: block;
        width: 20px;
        height: 20px;
    }

    .navbar_menu_icon img{
        width: 35px;
        position: absolute;
        top: 3px;
    }

    .photogallery_photo_main{
        max-width: 720px;
        flex-direction: column;
    }

    .photogallery_photo_el img{
        width: 255px;
        height: 185px;
    }

    .photogallery_photo_el_large img{
        width: 510px;
        height: 370px;
    }

    .road_map {
        flex-direction: column;
    }

    .road_map_menu{
        width: 80%;
    }

    .road_map_section img {
        width: 100%;
    }

    .menu{
        display: none;
    }

    .place-photo img:first-child{
        width: 96%;
        height: 100%;
    }

    .place-photo-sup img{
        margin-left: 10px;
        width: 96%;
        height: 100%;
    }

    .IMAGE_DROP_BUTTON_DRAG_TRUE{
        width: 480px;
        height: 200px;
    }

    .IMAGE_DROP_BUTTON_DRAG_FALSE{
        width: 480px;
        height: 200px;
    }

    .message_admin{
        flex-direction: column;
    }

    .PROFILE_PHOTO{
        justify-content: end;
    }

    #button_pay_add{
        width: 50%;
        margin: 0 5px;
    }

    .preview_photo {
        margin: 0px;
        width: 150px;
        height: 150px;
    }

    .sliderStyles.active{
        width: 95%;
        height: 45%;
    }

    .message_text{
        font-size: 14px;
    }

    .tariffs_section{
        flex-direction: column;
    }

    .tariffs_border{
        width: 100%;
        padding: 0;
        margin-top: 20px;
    }

    .tariffs{
        height: 140px;
    }

    .points{
        margin: 0 2px;
        font-size: 14px;
    }

    .points.active{
        margin: 0 3px;
        font-size: 20px;
    }

    .offer_container {
        margin-top: 300px;
    }

    .main_button{
        margin: 15px;
        width: 215px;
        font-size: 15px;
    }

    .rightArrowStyle{
        width: 50px;
    }

    .rightArrowStyles {
        right: 16px;
        font-size: 38px;
    }

    .leftArrowStyle{
        width: 50px;
    }

    .leftArrowStyles {
        left: 16px;
        font-size: 38px;
    }
}

@media (max-width: 600px){
    #main_button{
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .ADD_ITEM{
        margin: 5px auto;
        display: flex;
        min-width: 46%;
        max-width: 46%;
        position: relative;
        height: 350px;
    }

    .ADD_INFO{
        padding-left: 10px;
    }

    .ADD_PAGE_IMAGES{
        height: 355px;
    }

    .ADD_ITEM_PHOTO{
        height: 180px;
    }

    .ADD_ITEM_MORE_INFO {
        font-size: 14px;
        margin: 33px 0 6px;
        text-indent: 0;
        height: 20px;
    }

    .ADD_PAGE_TITLE h1{
        font-size: 25px;
        font-weight: 600;
    }

    .ADD_ITEM_INFO{
        font-size: 15px;
        font-weight: 450;
        padding: 0;
        height: 20px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
    }

    .ADD_ITEM_DESCRIPTION{
        padding: 0;
        height: 33px;
    }

    .ADD_ITEM_PHOTO{
        width: 92%;
    }

    .ADD_ITEM_PRICE_BUTTON{
        display: none;
    }

    #logo {
        height: 40px;
        width: 60px;
    }

    .title{
        font-size: 20px;
        word-break: break-word;
    }

    .burger-menu{
        width: 50%;
    }

    .bg-dark {
        padding: 3px 16px;
    }

    .photogallery_photo_main{
        max-width: 540px;
        flex-direction: column;
    }

    .photogallery_photo_submain{
        max-width: 540px;
        flex-direction: column;
    }

    .photogallery_photo_el img{
        width: 100%;
        height: 100%;
    }

    .photogallery_photo_el_large img{
        width: 100%;
        height: 100%;
    }

    .right{
        flex-direction: column;
    }

    .BUTTONS_MAIN{
        bottom: 10px;
    }

    .BUTTONS_MAIN h2{
        margin: 0 auto;
        width: 80%;
        font-size: 26px;
    }

    .main_page_buttons_container{
        align-items: center;
        flex-direction: column;
    }

    .main_page_buttons_container button{
        width: 80%;
        padding: 8px;
        margin: 8px auto;
    }

    .filter_container{
        width: 100%;
    }

    .input-group-text {
        width: 100%;
    }

    .IMAGE_DROP_BUTTON_DRAG_TRUE{
        width: 100%;
        height: 130px;
    }

    .IMAGE_DROP_BUTTON_DRAG_FALSE{
        width: 100%;
        height: 130px;
    }

    .message{
        flex-direction: column;
    }

    .message_text{
        font-size: 18px;
        justify-content: left;
        padding-bottom: 0;
    }

    #button_pay_add{
        width: 100%;
    }

    .profile_utilities{
        width: 100%;
    }

    .profile_utilities button{
        width: 97%;
    }

    .preview_photo {
        width: 45%;
        height: auto;
        background-size: cover;
        background-position: center;
        aspect-ratio: 1 / 1;
    }

    .about_us_main_title{
        font-size: 50px;
    }

    .about_us_title{
        font-size: 36px;
    }

    .no_reviews{
        font-size: 14px;
    }

    .card-body{
        padding: 0;
    }

    .App{
        max-width: 290px !important;
    }

    .offer_container {
        margin-top: 185px;
    }

    .rightArrowStyle{
        width: 40px;
    }

    .rightArrowStyles {
        right: 12px;
        font-size: 32px;
    }

    .leftArrowStyle{
        width: 40px;
    }

    .leftArrowStyles {
        left: 12px;
        font-size: 32px;
    }
}

@media (max-width: 524px){
    .footer{
        height: 35px;
    }

    .footer_profile{
        height: 35px;
    }

    .reg_text{
        font-size: 15px;
        padding-right: 0;
    }

    .reg_button{
        width: 100%;
    }

    .form_auth{
        padding: 20px;
    }
}

@media (max-width: 486px) {

    .ADD_PAGE_IMAGES{
        height: 300px;
    }

    .rightArrowStyle {
        width: 30px;
    }

    .rightArrowStyles{
        right: 8px;
        font-size: 26px;
    }

    .leftArrowStyle{
        width: 30px;
    }

    .leftArrowStyles{
        left: 8px;
        font-size: 26px;
    }
}

@media (max-width: 459px) {
    .message_text{
        font-size: 16px;
    }

    .review_grade_container{
        flex-direction: column;
        align-items: start;
    }

    .review_grade_text{
        font-size: 13px;
        font-weight: 400;
        padding-top: 0;
        font-style: italic;
    }

    .review_item_text{
        padding-top: 8px;
        font-size: 16px;
    }
}

@media (max-width: 445px) {
    .tariffs{
        height: 100%;
    }
}

@media (max-width: 400px) {
    .ADD_ITEM_INFO{
        -webkit-line-clamp: 1;
        line-clamp: 1;
        line-height: 1.2;
    }

    .date_form{
        width: 50%;
    }

    .ADD_PAGE_IMAGES{
        height: 260px;
    }

    .user_add_profile_text{
        font-size: 16px;
    }

    .footer a{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .footer_profile a{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .reg_text{
        font-size: 14px;
    }
}

@media (max-width: 350px){
    .ADD_ITEM {
        margin: 5px auto;
        display: flex;
        min-width: 90%;
        max-width: 90%;
        height: 360px;
    }

    .ADD_ITEM_PHOTO{
        width: 95%;
        height: 210px;
    }
}

@media (max-width: 314px) {

    .tariffs_info h3{
        font-size: 20px;
    }

    .tariffs_info div{
        font-size: 16px;
    }
}

.custom-btn {
    width: 100%;
    padding: 8px 10px;
    background-color: #007bff; /* Цвет btn-primary */
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
    margin-top: 8px;
}


/* Убираем фокусный эффект */
.custom-btn:focus {
    outline: none;
    box-shadow: none;
}

/* Убираем оранжевый цвет при активном состоянии */
.custom-btn:active {
    transform: scale(0.98);
    background-color: #0056b3;
    box-shadow: none;
}

.custom-btn:hover {
    background-color: #0056b3;
    box-shadow: none;
}


.filter_mobile_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff; /* Непрозрачный белый фон */
    transform: translateX(-100%); /* Начальное положение за экраном */
    visibility: hidden; /* Скрыть блок по умолчанию */
    opacity: 0; /* Скрыть блок по умолчанию */
    z-index: 9999;
    overflow-y: auto;
    transition: visibility 0s linear 0.3s, transform 0.3s ease-in-out, opacity 0.3s ease;
}

/* Активный фильтр, анимация для появления */
.filter_mobile_wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0); /* Появляется с анимацией */
    transition: visibility 0s linear 0s, transform 0.3s ease-in-out, opacity 0.3s ease; /* Переопределяем visibility, чтобы он был мгновенным */
}

/* Анимация для скрытия */
.filter_mobile_wrapper.inactive {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%); /* Скроем сдвигом влево */
    transition: visibility 0s linear 0.3s, transform 0.3s ease-in-out, opacity 0.3s ease; /* Убираем видимость и плавно скрываем */
}

/* Стили для заголовка фильтров */
.filter_mobile_header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 5px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #ddd; /* Граница для разделения заголовка */
}

/* Стрелка назад */
.filter_mobile_header .back_btn {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) invert(46%) sepia(72%) saturate(528%) hue-rotate(173deg) brightness(96%) contrast(94%);
}

.filter_mobile_header .back_btn:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Стиль для заголовка */
.filter_mobile_header .filter_title {
    color: #007bff;
    font-weight: 500;
    font-size: 23px;
    display: flex;
    justify-content: center;
    padding: 5px;
}

/* Контент фильтров */
.filter_mobile {
    margin-top: 60px; /* Отступ от заголовка */
    padding: 15px;
    height: calc(100% - 60px);
    overflow-y: auto;
}

/* Анимация для появления */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Анимация для скрытия */
@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Применение анимации для появления */
.filter_mobile_wrapper.active {
    animation: slideIn 0.3s ease-in-out;
}

/* Применение анимации для скрытия */
.filter_mobile_wrapper.inactive {
    animation: slideOut 0.3s ease-in-out;
}

/* Стили для кнопки подтверждения (активная и привлекающая внимание) */
.confirm-btn {
    background-color: #007bff; /* Синий, вызывает доверие и ассоциируется с действием */
    color: #fff; /* Белый текст для контраста */
    border: none; /* Без рамки */
    padding: .375rem .75rem;
    font-size: 16px; /* Средний размер шрифта */
    border-radius: 5px; /* Закругленные углы */
    cursor: pointer; /* Указатель, чтобы показать, что на нее можно нажать */
    transition: background-color 0.2s ease, transform 0.1s ease; /* Плавное изменение фона и эффекта при наведении */
}

/* Стили при наведении для кнопки подтверждения */
.confirm-btn:hover {
    background-color: #0056b3; /* Более темный оттенок синего для эффекта наведения */
}

/* Стили при нажатии на кнопку подтверждения */
.confirm-btn:focus {
    outline: none; /* Убираем стандартные фокусные обводки */
    border: none; /* Убираем любые рамки при фокусе */
    box-shadow: none; /* Убираем тени при фокусе */
}

/* Стили для кнопки отмены (менее заметная, но доступная) */
.cancel-btn {
    background-color: #f1f3f5; /* Светлый фон, чтобы кнопка была видна, но не конкурировала */
    color: #495057; /* Темно-серый текст для контраста */
    border: 1px solid #ced4da; /* Легкая рамка, чтобы выделить кнопку */
    padding: .375rem .75rem;
    font-size: 16px; /* Средний размер шрифта */
    border-radius: 5px; /* Закругленные углы */
    cursor: pointer; /* Указатель */
    transition: background-color 0.2s ease, transform 0.1s ease; /* Плавное изменение фона и эффекта при наведении */
    outline: none; /* Убираем стандартные границы при фокусе */
    box-shadow: none; /* Убираем всякие тени и рамки при фокусе */
}

/* Стили при наведении для кнопки отмены */
.cancel-btn:hover {
    background-color: #e2e6ea; /* Темнее фон при наведении */
}

/* Стили при нажатии на кнопку отмены */

.cancel-btn:focus {
    outline: none; /* Убираем стандартные фокусные обводки */
    border: none; /* Убираем любые рамки при фокусе */
    box-shadow: none; /* Убираем тени при фокусе */
}