@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Light.woff") format("woff"),
        url("/fonts/Lato-Light.ttf") format("ttf");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Regular.woff") format("woff"),
        url("/fonts/Lato-Regular.ttf") format("ttf");
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Medium.woff") format("woff"),
        url("/fonts/Lato-Regular.ttf") format("ttf");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Semibold.woff") format("woff"),
        url("/fonts/Lato-Bold.ttf") format("ttf");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("/fonts/Lato-Bold.woff") format("woff"),
        url("/fonts/Lato-Bold.ttf") format("ttf");
    font-weight: 700;
    font-style: normal;
}

:root {
    --primary-blue: #2F66A4;
    --primary-blue_40: #2F66A466;
    --primary-red: #C93E63;
    --primary-red_40: #FF619366;
    --primary-green: #5E820C;
    --primary-green_40: #82AD4666;
    --primary-green-30: #5f820c4d;
    --primary-blueviolet: #934AA8;

    --text-black: #2B2B2B;
    --text-gray: #6F7381;
    --text-light-gray: #ABB0BA;
    --text-message_date-gray: #898A8D;

    --placeholder-gray: #7B7F8C;

    --border-light-blue: #CFDEF6;
    --border-message-gray: #E8EFF9;

    --bg-light-blue: #E9F4FF;
    --bg-light-green: #EFFFD9;
    --bg-light-blueviolet: #F3E5F8;
    --bg-response-green: #E3F9C4;
    --bg-light-red: #ffe6ed;
    --bg-pink: #FFEBF2;
    --bg-chat: #F9F9F9;

    --button-black: #000000;
    --button-padding: 10px 20px;

    --settings--padding: 65px;
    --settings--padding-mobile: 20px;

}

body {
    position: relative;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Lato", "Arial", sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

body.bg {
    background-image: url('/image/bg/main_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    @media (max-width: 768px) {
        background-image: none;
    }
}

.visually-hidden {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    white-space: nowrap;
    -webkit-clip-path: inset(100%);
    clip-path: inset(100%);
    clip: rect(0 0 0 0);
    overflow: hidden;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    font-weight: 400;

    :hover {
        color: inherit;
    }
}

.link {
    text-decoration: underline;
    color: #000000;
    font-weight: 400;

    &:hover {
        color: #424242;
    }
}

button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    color: inherit;
    border-radius: 100px;
    padding: 0;
}

button:focus {
    outline: none;
}

.button {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
    border-radius: 100px;

    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
}

.button--search {
    padding-top: 12px;
    padding-bottom: 12px;
}

.button:disabled,
.button--disabled {
    opacity: 0.3;
}

.button--blue {
    background-color: var(--primary-blue);
    color: #fff;
}

.button--search.button--blue {
    background-color: var(--primary-blue_40);
}

.button--search.button--red,
.button--like_list.button--red {
    background-color: var(--primary-red_40);
}

.button--search.button--green,
.button--like_list.button--green {
    background-color: var(--primary-green_40);
}

.button--green {
    background-color: var(--primary-green);
    color: #fff;
}

.button--red {
    background-color: var(--primary-red);
    color: #fff;
}

.button--black {
    background-color: var(--button-black);
    color: #fff;
}

.button--white {
    background-color: #fff;
    color: var(--button-black);
    border: 2px solid #E3E6EB;
    padding: 18px 38px;
}

.button--white_blue {
    background-color: #fff;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 18px 38px;
}

.button--blueviolet {
    background-color: var(--primary-blueviolet);
    color: #FFFFFF;
}

.button_circle {
    width: 50px;
    height: 50px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 768px) {
        width: 44px;
        height: 44px;
    }
}

.button_circle--58 {
    width: 58px;
    height: 58px;
}

.button--hide {
    display: none;
}

.subscription_required {
    position: relative;

    &::after {
        content: url('/image/icon/icon_crown.svg');
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(0, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        font-size: 20px;
        line-height: 10px;
        background-color: var(--primary-blueviolet);
        border-radius: 50%;
    }
}


* {
    scrollbar-width: none;
}


*::-webkit-scrollbar {
    width: 0;
}

*::-webkit-scrollbar-track {
    background-color: none;
}

*::-webkit-scrollbar-thumb {
    box-shadow: none;
}

.header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px 10px;
    width: 510px;
    max-width: 510px;
    box-sizing: border-box;
    transition: all 0.1s ease-in-out;
    background-color: #FFFFFF;
    z-index: 3;

    @media (max-width: 510px) {
        left: 0;
        transform: translateX(0);
        width: 100vw;
        max-width: 100vw;
    }
}

.header--hide {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}

.header_title {
    font-weight: 600;
    font-size: 22px;
    line-height: 26px;
}




/* notification */
.notification_wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 400px;
    /* height: auto; */
    max-width: calc(100% - 40px);
    transition: all 0.2s ease-in-out;
    z-index: 9;
}

.notification {
    position: relative;
    margin-bottom: 0;
    /* padding: 10px 40px 10px 10px; */
    padding: 0;
    height: 0;
    background-color: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0px 4px 60px 0px #00000040;
    z-index: 9;
    transform: translateX(150%);
    opacity: 0;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, padding 0.2s ease-in-out, margin-bottom 0.2s ease-in-out, height 0.2s ease-in-out;
    /* transition: all 0.5s ease-in-out; */
}

.notification:last-child {
    margin-bottom: 0;
}


.notification--slide {
    transform: translateX(0);
    opacity: 1;
}

.notification--display {
    padding: 10px 40px 10px 10px;
    margin-bottom: 10px;
}

.notification:not(.notification--slide) {
    transform: translateX(150%);
    opacity: 0;
}

.notification_close_btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-red);
    transform: rotate(45deg);
    transition: background-color 0.2s ease-in-out;
}

.notification_close_btn:hover {
    background-color: #ffcbda;
}



/* form */
fieldset {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: none;
    max-width: 100%;
}

input,
form {
    width: 100%;
    box-sizing: border-box;
}

input,
textarea {
    border: none;
    outline: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0px;
    padding: 0;

}

label {
    border: 1px solid var(--border-light-blue);
    border-radius: 18px;
    padding: 15px;
}

label:focus-within {
    border: 1px solid var(--primary-blue);
}

label:focus-within:has(input[type="radio"]) {
    border: none;
}

label:has(input[type="radio"]) {
    position: relative;
    border: none;
    box-shadow: 0px 2px 6px 0px #0000001A;
    outline: none;
}

label:not(.profile_link):has(input[type="radio"])::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    width: 24px;
    height: 24px;
    border: 2px solid #5E820C;
    border-radius: 50%;
    box-sizing: border-box;
    transition: 0.2s ease-in-out;
}

label:not(.profile_link):has(input[type="radio"]:checked) {
    outline: 2px solid var(--primary-blue);
    box-shadow: none;
    border: none;
}

label:not(.profile_link):has(input[type="radio"]:checked)::after {
    border: 8px solid #5E820C;
}

.label_gender {
    cursor: pointer;
}

.file_fieldset {
    position: relative;
    position: relative;
    /* display: flex; */
    overflow: hidden;
    width: 130px;
    max-width: 130px;
    aspect-ratio: 1 / 1;
    padding: 0;
    background-color: var(--bg-light-blue);
    border: none;
    border-radius: 18px;
    cursor: grab;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    @media (max-width: 768px) {
        width: calc(100%/3 - 20px/3);
    }

}

.file_fieldset {
    user-select: none;
    touch-action: pan-y;
}

.file_fieldset.dragging {
    opacity: 0.5;
}

.file_fieldset.drag-over {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--primary-green-30);
}

.drag-ghost {
    position: fixed;
    opacity: 0.8;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform-origin: center center;
    transition: none;
    max-width: 200px;
}

@media (hover: hover) {
    .file_fieldset {
        cursor: grab;
    }

    .file_fieldset:active {
        cursor: grabbing;
    }
}

.file_fieldset:active {
    cursor: grabbing;
}

/* ---------------- */

.file_label {
    position: relative;
    display: flex;
    overflow: hidden;
    width: 100%;
    max-width: 130px;
    height: 100%;
    padding: 0;
    background-color: var(--bg-light-blue);
    border: none;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;


    &::after {
        content: "+";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 30px;
        color: var(--primary-blue);
    }
}

.file_label--photo {
    /* &::before {
        content: url('/image/icon/pencil.svg');
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 10px;
        backdrop-filter: blur(2px);
        background-color: #00000080;
        border-radius: 50%;
    } */

    &::after {
        content: "";
    }
}

.file_basket {
    position: absolute;
    background-color: #FFF;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.file_basket:hover {
    background-color: var(--bg-light-red);
}

.file_basket--hide {
    display: none;
}

.delete_confirm_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.delete_confirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 30px;
    background-color: #FFFFFF;
    border-radius: 18px;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}





/* steps */

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.steps--search {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}

.step {
    width: 20px;
    height: 4px;
    background: var(--primary-green-30);
    border-radius: 3px;
}

.step--active {
    background: var(--primary-green);
}






/* settings */

.settings_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.settings {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 30px;
    max-width: 100%;
    width: 550px;
    height: 800px;
    max-height: 100%;
    overflow: auto;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0px 4px 60px 0px #00000040;
    border-radius: 30px;

}

.settings_header {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.settings_header_btn {
    position: absolute;
    top: 0px;
    left: 27px;

    @media (max-width: 768px) {
        top: 0px;
        left: 20px;
    }

}

.settings_header_logo {
    position: absolute;
    /* top: 30px; */
    left: calc(50% - 25px);
}

.settings_main,
.settings_btn_wrapper,
.settings_footer {
    padding: 0 var(--settings--padding);
}

.settings_main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    padding-bottom: 60px;
}

.settings_main--registration {
    justify-content: flex-start;
    gap: 56px;
}

.settings_welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    padding-top: 95px;
}

.settings_title_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.settings_title {
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
}

.settings_descriptions {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--text-gray);
}

.settings_age {
    padding: 6px 16px;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFF;
    background-color: var(--primary-green);
    border-radius: 100px;
}

.settings_auth {
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

.settings_auth_title {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
    text-align: center;

}

.settings_policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-gray);
}

.settings_policy_conditions {
    text-align: center;
}

.settings_policy_agreement {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
}

.settings_footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}


@media (max-width: 768px) {
    .settings {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
    }

    .settings_header {
        height: 44px;
    }

    .settings_main,
    .settings_btn_wrapper,
    .settings_footer {
        padding: 0px var(--settings--padding-mobile) 30px;
    }

    .settings_welcome {
        width: 100%;
        padding-top: 20vh;
    }
}




/* search_results */
.search_main,
.chat_main {
    width: 100%;
    height: 100vh;
    max-width: 550px;
    padding: 94px 12px 93px;
    box-sizing: border-box;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 30px;
    box-shadow: 0px 4px 60px 0px #00000040;
    transition: padding 0.1s ease-in-out;

    @media (max-width: 768px) {
        border-radius: 0;
    }
}

.search_main--likes {
    padding-top: 70px
}

.search_results_wrapper {
    position: relative;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    display: none;

    /* background-color: rgb(209, 209, 255); */
    transition: border-radius 0.1s ease-in-out;
}

.search_results_wrapper--active {
    display: block;
}

.search_results {
    height: 100%;
    z-index: 6;
}

.search_results_list_wrapper {
    height: 100%;
    overflow: hidden;
}

.search_results_list {
    height: 100%;
    display: flex;
    transition: transform 0.1s ease-in-out;
}

.search_result_item {
    width: 100%;
    flex-shrink: 0;
}

.search_result_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider_button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    height: 100%;
}

.slider_button--prev {
    left: 0;
}

.slider_button--next {
    right: 0;
}

.search_info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 138px;

    padding: 14px 16px;
    background: linear-gradient(360deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
    color: #FFFFFF;
    z-index: 9;
}


.search_info_open_btn_wrapper {
    position: relative;
}

.search_info_open_btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #00000080;
    transition: background-color 0.2s ease-in-out;
}

.search_info_tags {
    display: flex;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 8px;
}

.search_info_tag {
    position: relative;
    display: block;
    background: #00000080;
    padding: 4px 24px 4px 10px;
    border-radius: 100px;
}

.search_info_tag::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.search_info_tag--online::after {
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #298F44;
}

.search_info_tag--location::after {
    content: url('/image/icon/icon_marker.svg');
    right: 6px;
    width: 14px;
    height: 14px;
}

.search_info_name {
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
}

.search_info_description {
    display: none;
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    /* max-height: 150px;
    overflow-y: auto; */
}

.search_info_btns {
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search_main--open {
    padding: 0 0 93px;
}

.search_main--open .search_info_open_btn {
    transform: rotate(180deg);
}

.search_main--open .search_info_open_btn img {
    filter: brightness(0);
}

.search_main--open .search_info_open_btn,
.search_main--open .search_info_tag,
.search_info_tag--profile {
    background-color: var(--bg-light-blue);
}

.search_main--open .search_info_tag--location::after,
.search_info_tag--location.search_info_tag--profile::after {
    filter: brightness(0);
}

.search_main--open .search_results_wrapper {
    border-radius: 0;
}

.search_main--open .search_info {
    background: #FFFFFF;
    border-radius: 30px 30px 0 0;
    color: var(--text-black);
    animation: background-opacity 0.1s ease-in-out;

}

.search_main--open .search_info_description {
    display: block;
    color: var(--text-gray);
}

.search_main--open .button--search.button--red {
    background-color: var(--primary-red);
}

.search_main--open .button--search.button--blue {
    background-color: var(--primary-blue);
}

.search_main--open .button--search.button--green {
    background-color: var(--primary-green);
}

@keyframes background-opacity {

    0% {
        background: #ffffff00;
    }

    100% {
        background: #ffffff;
    }

}








/* chats */
.chats_wrapper {
    flex-direction: column;
    gap: 30px;
    padding: 0 13px;
    display: none;
    max-height: 100%;
    overflow: hidden;
}

.chats_wrapper--active {
    display: flex;
}

.chats_search_label {
    position: relative;
    padding-left: 52px;
}

.chats_search_label::before {
    content: url('/image/icon/icon_search.svg');
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.new_couples_wrapper {
    flex-direction: column;
    gap: 20px;
}

.new_couples_wrapper--active {
    display: flex;
}

.new_couples_title {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    color: var(--text-gray);
}

.new_couples_list {
    display: flex;
    gap: 15px;
    overflow-x: auto;
}

.new_couples_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 66px;
    height: 66px;
    cursor: pointer;
}

.new_couples_img_wrapper {
    width: 60px;
    height: 60px;
    border-radius: 100px;
    overflow: hidden;
    padding: 2px;
    background-color: #FFFFFF;
}

.new_couples_img_wrapper--new {
    border: 3px solid var(--primary-blue);
    width: 56px;
    height: 56px;
}

.new_couples_img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.new_couples_name {
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    width: 100%;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.chats_list_wrapper {
    max-height: 100%;
    overflow-y: auto;
}

.chats_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    max-height: 100%;
}

.chats_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    max-height: 70px;
    overflow: hidden;
}

.chats_img_wrapper {
    display: flex;
    width: 70px;
    min-width: 70px;
    height: 70px;
    min-height: 70px;
    flex-shrink: 0;
    border-radius: 100px;
    overflow: hidden;
}

.chats_img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chats_item_new_message:empty {
    display: none;
}

.chats_item_new_message {
    position: absolute;
    top: -2px;
    left: 52px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: #FFFFFF;

    border-radius: 50%;
    border: 2px solid #FFFFFF;

    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    text-align: center;
}

.chats_name {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.chats_date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    text-align: right;
    color: var(--text-light-gray);
}

.chats_date::after {
    width: 10px;
    height: 10px;
}

.chats_date--send::after {
    content: url('/image/icon/icon_send_chat.svg');
}

.chats_date--unsend::after {
    content: url('/image/icon/icon_unsend_chat.svg');
}

.chats_date--read::after {
    content: url('/image/icon/icon_read_chat.svg');
}


.chats_message {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-gray);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(18px * 2);
}







/* chat */
.header--chat {
    gap: 18px;
    padding-bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
    width: 550px;
    max-width: 100%;
    box-sizing: border-box;
}

.chat_header_btn {
    position: absolute;
    top: 30px;
}

.chat_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    height: 44px;
    margin-right: auto;
}

.chat_image_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    overflow: hidden;
    width: 44px;
    height: 44px;
}

.chat_image_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat_info_name {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.chat_info_date {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: var(--text-gray);
}

.chat_main {
    background-color: var(--bg-chat);
}


.chat_send_message {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    max-width: 100%;
}

.chat_response_wrapper {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px 5px;
    background-color: #FFFFFF;
}

.chat_response_wrapper--active {
    display: flex;
}

.chat_response {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 10px;
    border-left: 2px solid var(--primary-green);
}

.chat_response_info {
    font-weight: 500;
    font-size: 10px;
    line-height: 14px;
}

.chat_response_text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 20px;

}

.chat_response_delete_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-light-blue);
    color: var(--primary-blue);
}

.chat_send_message_wrapper {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    padding: 14px 12px;
    background-color: #FFFFFF;
}

.chat_send_label {
    position: relative;
    width: 100%;
    display: flex;
    flex-grow: 1;
    padding: 11px 48px 11px 12px;
    box-sizing: border-box;
    border-radius: 14px;
}

.chat_send_btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
}

.chat_send_btn:disabled {
    opacity: 0.3;
}

.chat_message_input {
    width: 100%;
    height: 22px;
    overflow-y: auto;
}

/* messages_list */
.chat_main {
    position: relative;
    padding-top: 86px;
}

.messages_wrapper {
    max-height: 100%;
    overflow-y: auto;
}

.messages_date {
    /* margin: 10px auto; */
    margin-bottom: 10px;
    padding: 4px 8px;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    background-color: var(--bg-light-blue);
    text-align: center;
    color: var(--text-message_date-gray);
    position: sticky;
    top: 10px;
    border-radius: 100px;
}

.messages_list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.messages_item {
    padding: 10px 10px 12px;
    max-width: 80%;
    cursor: pointer;
    user-select: none;
    touch-action: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.messages_item--my {
    align-self: flex-end;
    background-color: var(--bg-light-green);
    border-radius: 14px 14px 0 14px;
}

.messages_item--me {
    align-self: flex-start;
    background-color: #FFFFFF;
    border: 1px solid var(--border-message-gray);
    border-radius: 14px 14px 14px 0;
}

.messages_item--my+.messages_item--me {
    margin-top: 6px;
}

.messages_item--me+.messages_item--my {
    margin-top: 6px;
}

.messages_item--me .messages_status {
    display: none;
}

.messages_item--loading {
    padding: 5px 10px;
}

.messages_text_wrapper {
    display: flex;
    gap: 9px;
}

.messages_text {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
}

.messages_time_wrapper {
    display: flex;
    align-items: end;
    gap: 5px;
}

.messages_time {
    margin-bottom: 5px;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    color: var(--text-light-gray);
}

.messages_response {
    margin-bottom: 9px;
    font-weight: 500;
    font-size: 10px;
    line-height: 14px;
    padding: 6px 10px;
    border-radius: 5px;
    background-color: var(--bg-response-green);
    border-left: 2px solid var(--primary-green);

}

.messages_response:empty {
    display: none;
}

.loading {
    display: inline-flex;
    align-items: flex-end;
    height: 1em;
}

.ball {
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    margin: 0 1px;
    animation: bounce 1s infinite ease-in-out;
}

.ball:nth-child(1) {
    animation-delay: 0s;
}

.ball:nth-child(2) {
    animation-delay: 0.1s;
}

.ball:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes bounce {

    0%,
    60%,
    100% {
        transform: translateY(0);
        background-color: var(--primary-blue_40);
    }

    30% {
        transform: translateY(-6px);
        background-color: var(--primary-blue);
    }
}




/* chat_menu */
.chat_menu_wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #00000099;
    display: none;
    z-index: 10;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 34px 8px;
}

.chat_menu_wrapper--open {
    display: flex;
}

.chat_menu,
.chat_menu_close_wrapper {
    background-color: #FFFFFF;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.chat_menu_description {
    padding: 18px 40px;
    color: var(--text-gray);
    text-align: center;
    border-bottom: #3C3C435C 1px solid;
}

.chat_menu_title {
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: -0.4px;
}

.chat_menu_text {
    font-weight: 400;
    font-size: 13px;
    line-height: 15px;
    letter-spacing: -0.4px;
}

.chat_menu_btns_list {
    font-weight: 600;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.4px;
    text-align: center;
}

.chat_menu_btn,
.chat_menu_close_btn {
    border-radius: 0;
    width: 100%;
    padding: 17px;
    font-weight: 600;
    font-size: 17px;
    line-height: 22px;
    letter-spacing: -0.4px;
}

.chat_menu_btn--report,
.chat_menu_close_btn {
    color: #007AFF;
}

.chat_menu_btn--delete_like {
    color: #E94235;
    border-top: #3C3C435C 1px solid;
}

.chat_menu_btn:hover,
.chat_menu_close_btn:hover {
    background-color: var(--bg-light-blue);
}





/* message_menu */
.message_menu_wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    max-width: 100%;
    box-sizing: border-box;
    display: none;
    z-index: 10;
    background-color: #00000026;
}

.message_menu_wrapper--open {
    display: block;
}

.message_menu {
    background-color: #FFFFFF;
    position: absolute;
    top: 0;
    right: 12px;
    width: 200px;
    box-shadow: 0px 0px 32px 0px #00000033;
    border-radius: 14px;
    overflow: hidden;
}

.message_menu--me {
    right: auto;
    left: 12px;
}

.message_menu_item:not(:last-child) {
    border-bottom: 1px solid #80808056;
}

.message_menu--me .message_menu_item:last-child {
    display: none;
}

.message_menu_btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    padding: 11px 12px;
    border-radius: 0;
}

.message_menu_btn:hover,
.message_menu_btn:focus {
    background-color: var(--bg-light-blue);
}






/* user_card */
.user_card_main {
    width: 100%;
    min-height: 100vh;
    width: 550px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.user_card_header {
    position: fixed;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    max-width: 100%;
    box-sizing: border-box;
    z-index: 3;
    padding-left: 20px;
    padding-right: 20px;
}

.steps--profile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
}

.user_card_header_btn {
    color: #FFFFFF
}


.user_card_info_wrapper {
    position: relative;
    /* height: 100%; */
    /* overflow: hidden; */
    display: block;
}


.user_card_photo_list_wrapper {
    height: calc(100vh - 150px);
    overflow: hidden;
}

.user_card_photo_list {
    height: 100%;
    display: flex;
    transition: transform 0.1s ease-in-out;
}

.user_card_photo_item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
}

.user_card_photo_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user_card_info {
    position: relative;
    min-height: 150px;
    box-sizing: border-box;
    padding: 14px 16px;
    margin-top: -30px;
    z-index: 9;
    background: #FFFFFF;
    border-radius: 30px 30px 0 0;
    color: var(--text-black);
}

.user_card_info_tags {
    display: flex;
    gap: 6px;
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    margin-bottom: 8px;
}

.user_card_info_name {
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
}

.user_card_info_description {
    margin-top: 10px;
    /* margin-bottom: 40px; */
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--text-gray);
}

.user_card_info_link {
    position: sticky;
    left: calc(100% - 74px);
    bottom: 30px;
    margin-top: -30px;
    z-index: 10;
}







/* likes_list */
.likes_list_wrapper {
    max-height: 100%;
    overflow-y: auto;
    /* overflow: hidden; */
}

.likes_list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    max-height: 100%;
}

.likes_item {
    position: relative;
    width: calc(100% / 2 - 14px);
    max-height: 200px;
    border-radius: 18px;
    overflow: hidden;
}

.button--like_list {
    padding: 8px 20px;
}

.likes_item_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.likes_item_btns {
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    gap: 6px;
    padding: 11px;
}







/* profile */

.header_profile_links {
    display: flex;
    gap: 14px;
}

.header_profile_link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: var(--primary-blue);
}

.profile_main {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 104px 20px 93px;
    box-shadow: 0px 4px 60px 0px #00000040;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.profile_main--paywall {
    padding-bottom: 30px;
}

.profile_premium_wrapper {
    display: flex;
}

.profile_link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    min-height: 60px;
    box-sizing: border-box;
    padding: 11px 41px 11px 15px;
    border-radius: 18px;
}

.profile_link::after {
    content: url('/image/icon/chevron_gray.svg');
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease-in-out;
}

div.profile_link::after {
    top: 30px
}

.profile_link--premium::after {
    content: url('/image/icon/chevron.svg');
}

.profile_link--open::after {
    transform: translateY(-50%) rotate(0deg);
}

.profile_link--premium {
    background-color: var(--primary-blueviolet);
    color: #FFFFFF;
}

.profile_link--shadow {
    box-shadow: 0px 2px 6px 0px #0000001A;
}

label.profile_link {
    border: none;
    padding-right: 15px;
}

.profile_link--no_arrow::after {
    content: '';
}

.profile_link svg {
    flex-shrink: 0;
}

div.profile_link .profile_link_description {
    gap: 0;
}

.profile_link_description {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.profile_link_description--filter {
    max-width: 220px;
}

.profile_link_title,
.profile_link_hidden_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-gray)
}

.profile_link_text {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
}

.profile_premium_link_title {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
}

.profile_premium_link_text {
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
}

.profile_title {
    margin-bottom: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
}

.profile_description {
    margin-bottom: 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: var(--text-gray);
}

.profile_description--disabled {
    text-decoration: line-through;
}

.profile_bio_wrapper {
    display: flex;
    flex-direction: column;
}

.profile_bio_textarea {
    width: 100%;
    min-height: 44px;
    resize: none;
}

.toggle_checkbox_ui {
    flex-shrink: 0;
    position: relative;
    display: block;
    width: 50px;
    height: 30px;
    border-radius: 25px;
    background-color: var(--text-gray);
    transition: background-color 0.2s ease-in-out;
}

input[type="checkbox"]:checked+.toggle_checkbox_ui {
    background-color: var(--primary-blue);
}

input[type="checkbox"]:checked+.toggle_checkbox_ui--premium {
    background-color: var(--primary-blueviolet);
}

.toggle_checkbox_ui::after {
    position: absolute;
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #FFFFFF;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.2s ease-in-out;
}

input[type="checkbox"]:checked+.toggle_checkbox_ui::after {
    left: calc(100% - 28px);
}

.profile_button_wrapper {
    margin-top: auto;
    width: 100%;

}

label.profile_link:has(input[type="radio"])::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
    width: 24px;
    height: 24px;
}

label.profile_link:has(input[type="radio"]:checked)::after {
    content: url('/image/icon/icon_done.svg');
}

.profile_link_hidden_text {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease-in-out;
}





/* profile_settings */
.profile_settings_title {
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
}

.profile_settings_footer .profile_link {
    min-height: auto;
    padding: 3px 0;
}

.profile_settings_footer .profile_link::after {
    right: 0px;
}

/* paywall */
.paywall_advantages_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 300px;
}

.paywall_advantage_item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
}

.paywall_tariffs_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.paywall_tariffs_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 58px 10px 16px;
    min-height: 66px;
    box-sizing: border-box;
    background-color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0px;
}

.paywall_tariffs_item:has(input[type="radio"]:checked) {
    background-color: inherit;
}

.paywall_button_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: auto;
    width: 100%;

}

.paywall_conditions_description {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 280px;
}

.paywall_promo_tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 100px;
    background-color: var(--primary-blueviolet);
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
}







/* premium_content_warning */

.premium_content_warning {
    position: fixed;
    display: none;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #00000080;
    z-index: 10;
    display: none;
    flex-direction: column;
    justify-content: flex-end;
}

.premium_content_warning--open {
    display: flex;
}

.premium_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px 30px;
    background-color: #FFFFFF;
    border-radius: 30px 30px 0 0;
}

.premium_content_close_btn {
    padding: 6px;
}

.premium_content_close_btn span {
    display: block;
    width: 30px;
    height: 6px;
    background-color: var(--primary-green);
    border-radius: 3px;
}

.premium_content_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-top: 30px;
    border-radius: 100px;
    background-color: var(--bg-light-blue);
}

.premium_content_title {
    margin-top: 20px;
    font-weight: 600;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0%;
    text-align: center;
}

.premium_content_description {
    margin-top: 10px;
    font-family: Lato;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: var(--text-gray);
}

.premium_content_subscribe_btn {
    margin-top: 50px;
    font-weight: 700;
    font-size: 18px;
    line-height: 220x;
    text-align: center;

}


/* filter */

.filter_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px;
    border-radius: 100px;
    background-color: var(--bg-light-blue);
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
}

.filter {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    z-index: 10;
    padding: 30px 20px;
}

.filter--open {
    display: flex;
}


.filter_main {
    flex-grow: 1;
    width: 100%;
}

.filter_btns .button {
    flex-grow: 1;
    padding-left: 20px;
    padding-right: 20px;
}

.range_slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
}

.slider_track_wrapper {
    position: relative;
    width: calc(100% - 70px);
}

.slider_track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #EAF3DB;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

/* Закрашенная область между бегунками */
.slider_track::before {
    content: '';
    position: absolute;
    left: var(--min);
    right: calc(100% - var(--max));
    height: 100%;
    background: var(--primary-green);
    border-radius: 3px;
    z-index: 2;
}

.range_slider input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
    margin: 0;
    z-index: 3;
}

/* Стилизация бегунков (Chrome, Safari) */
.range_slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: #fff;
    box-shadow: 0px 6px 13px 0px #0000001F, 0px 0.5px 4px 0px #0000001F;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

/* Стилизация бегунков (Firefox) */
.range_slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #fff;
    border: 2px solid #4a6cf7;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
}

.range_values {
    display: flex;
    justify-content: space-between;
}

.min_value,
.max_value {
    font-weight: bold;
    color: var(--text-black);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0) translateY(-50%);
    }

    25% {
        transform: translateX(-5px) translateY(-50%);
    }

    75% {
        transform: translateX(5px) translateY(-50%);
    }
}

.range_slider input[type="range"].error {
    animation: shake 0.3s ease-in-out;
}

.filter_crown_wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-blueviolet);
    flex-shrink: 0;
}







/* city_list */

.choose_city_btn_reset {
    color: var(--text-gray);
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
}

.choose_city_btn_reset:hover {
    color: var(--text-black);
}

.choose_city_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 22px;
}

.choose_city_item {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    padding: 5px 2px;
}




/* empty */
.empty_wrapper {
    display: flex;
    height: 100%;
}

.empty_img_wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.empty_img_wrapper--likes {
    background-color: var(--bg-light-green);
}

.empty_img_wrapper--chats {
    background-color: var(--bg-pink);
}

.empty_img_wrapper--games {
    background-color: var(--bg-light-green);
}

.empty_img_wrapper--premium {
    background-color: var(--bg-light-blueviolet);
}

.empty_title {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
    color: var(--text-black)
}

.empty_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    color: var(--text-gray);
}






/* footer_menu */
.footer_menu {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    max-width: 100%;
    box-sizing: border-box;
    height: 73px;
    color: var(--text-gray);
    box-sizing: border-box;
    background-color: #FFFFFF;

    @media (max-width: 768px) {
        height: 83px;
        font-weight: 600;
        font-size: 11px;
        line-height: 100%;
        letter-spacing: 0%;
        text-align: center;
    }
}

.menu_item {
    width: 25%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu_item--active,
.menu_link:hover {
    color: var(--primary-green);
}

.menu_link {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
    height: 100%;
}

.menu_item_icon_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.menu_item_count {
    position: absolute;
    top: -2px;
    right: -10px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0%;
}

.menu_item_count:empty {
    display: none;
}

.menu_item_count:hover {
    color: #FFFFFF;
}





/* cookies */

.cookie_wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 14px;
    background-color: #00000080;
    color: #fff;
    backdrop-filter: blur(20px);
    z-index: 100;
}

.cookie_wrapper--hidden {
    display: none;
}

.cookie_btn {
    background-color: #FFFFFF33;
    padding: 13px 24px;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.cookie_btn:hover {
    background-color: #FFFFFF55;
}





IOS Date Picker .ios-wheel-picker {
    width: 100%;
    height: 200px;
    /* background: #f5f5f7; */
    border-radius: 12px;
    overflow: hidden;
}

.wheel-container {
    display: flex;
    height: 100%;
}

.wheel {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.wheel::before,
.wheel::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top,
            rgb(255, 255, 255) 0%,
            rgba(255, 255, 255, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.wheel::before {
    top: 0;
    transform: rotate(180deg);
    border-top: 1px solid #E3E6EB;
}

.wheel::after {
    bottom: 0;
    border-top: 1px solid #E3E6EB;
}

.wheel-content {
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.wheel-item {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    transition: color 0.2s ease;
}

.wheel-item.selected {
    color: #007AFF;
    font-weight: 500;
}















.age_error {
    position: absolute;
    top: calc(100% + 5px);
    left: 15px;
    display: none;
    font-size: 12px;
    line-height: 16px;
    color: var(--primary-red);
}


/* global */
.relative {
    position: relative;
}

.width-100 {
    width: 100%;
}

.height-100 {
    height: 100%;
}

.width-420 {
    width: 420px;
    max-width: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-align-center {
    align-items: center;
}

.flex-align-end {
    align-items: flex-end;
}

.flex-justify-center {
    justify-content: center;
}

.flex-justify-between {
    justify-content: space-between;
}

.flex-justify-around {
    justify-content: space-around;
}

.flex-justify-start {
    justify-content: flex-start;
}

.flex-justify-end {
    justify-content: flex-end;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.grow_1 {
    flex-grow: 1;
}

.gap-4 {
    gap: 4px;
}

.gap-5 {
    gap: 5px;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-25 {
    gap: 25px;
}

.gap-30 {
    gap: 30px;
}

.gap-35 {
    gap: 35px;
}

.gap-40 {
    gap: 40px;
}

.m-t--auto {
    margin-top: auto;
}

.m-b--auto {
    margin-bottom: auto;
}

.m-t--10 {
    margin-top: 10px;
}

.m-b--10 {
    margin-bottom: 10px;
}

.m-t--20 {
    margin-top: 20px;
}

.m-b--20 {
    margin-bottom: 20px;
}

.m-t--30 {
    margin-top: 30px;
}

.m-b--30 {
    margin-bottom: 30px;
}

.m-t--40 {
    margin-top: 40px;
}

.m-b--40 {
    margin-bottom: 40px;
}

.m-t--50 {
    margin-top: 50px;
}

.m-b--50 {
    margin-bottom: 50px;
}

.m-t--60 {
    margin-top: 60px;
}

.m-b--60 {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-400 {
    font-weight: 400;
}

.text-500 {
    font-weight: 500;
}

.text-600 {
    font-weight: 600;
}

.text-700 {
    font-weight: 700;
}

.text-black {
    color: var(--text-black);
}

.text-gray {
    color: var(--text-gray);
}

.text-light-gray {
    color: var(--text-light-gray);
}

.text-red {
    color: var(--primary-red);
}

.text-blueviolet {
    color: var(--primary-blueviolet);
}

.text-14 {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0px;
}

.text-18 {
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0px;
}

.text-through {
    text-decoration: line-through;
}

.bg-light-blue {
    background-color: var(--bg-light-blue);
}

.bg-light-opacity {
    background-color: #00000080;
}

.bg-light-red {
    background-color: var(--bg-light-red);
}

.chevron--right {
    transform: rotate(90deg);
}

.chevron--left {
    transform: rotate(-90deg);
}

.chevron--bottom {
    transform: rotate(180deg);
}

.element--hide {
    display: none;
}




.desktop_wrapper {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 550px;
    border-radius: 30px;

    @media (max-width: 768px) {
        left: 0;
        right: 0;
        transform: translateX(0);
        width: 100%;
        box-sizing: border-box;
        border-radius: 0;
    }
}







/* date */
.date-selector {
    position: absolute;
    left: 50%;
    top: 350px;
    transform: translate(-50%, -50%);
    perspective: 2000px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;

    width: calc(100% - 40px);
    max-width: 400px;
    height: 160px;

    >div {
        flex: 1;
    }

    .select-wrap {
        font-size: 18px;
    }

    .highlight {
        font-size: 20px;
    }
}

.select-wrap {
    position: relative;
    /* top: 200px; */
    height: 100%;
    /* perspective: 1200px; */
    text-align: center;
    overflow: hidden;
    font-size: 20px;
    color: var(--text-black);

    &:before,
    &:after {
        position: absolute;
        z-index: 1;
        display: block;
        content: '';
        width: 100%;
        height: 50%;
    }

    &:before {
        top: 0;
        background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(1, 1, 1, 0));
    }

    &:after {
        bottom: 0;
        background-image: linear-gradient(to top, rgba(255, 255, 255, 0.5), rgba(1, 1, 1, 0));
    }

    .select-options {
        position: absolute;
        top: 50%;
        left: 0;
        width: 100%;
        height: 0;
        transform-style: preserve-3d;
        margin: 0 auto;
        display: block;
        transform: translateZ(-150px) rotateX(0deg);
        -webkit-font-smoothing: subpixel-antialiased;
        color: #666;

        .select-option {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 50px;

            -webkit-font-smoothing: subpixel-antialiased;

            @for $i from 1 through 100 {
                &:nth-child(#{$i}) {
                    transform: rotateX(-18deg * ($i - 1)) translateZ(150px);
                }
            }
        }
    }
}


.highlight {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 100%;
    background-color: #FFFFFF;
    border-top: 0.5px solid var(--border-light-blue);
    border-bottom: 0.5px solid var(--border-light-blue);
    font-size: 24px;
    overflow: hidden;
}

.highlight-list {
    /* display: none; */
    position: absolute;
    width: 100%;
}

.desktop--flex {
    display: flex;
}

.mobile--flex {
    display: none;
}


@media (max-width: 768px) {
    .mobile--flex {
        display: flex;
    }

    .desktop--flex {
        display: none;
    }
}