:root {
    --accent: #3C1DBA;
    --line: #E2E2E2;
    --menu-link: #746d6d;
}
body {
    margin: 0;
}
.nunito-sans {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
}
.inter-sans {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-optical-sizing: auto;
}
* {
    box-sizing: border-box;
    margin: 0;
}

html {
    font-size: 16px;
}

/* Headings */
h1, h2, h3, h4, h5, h6, p {
    line-height: 1.2em;
}
h1 {
    font-size: clamp(1.5rem, 4vw, 2.027rem);
}
h2 {
    font-size: clamp(1.3rem, 3.5vw, 1.802rem);
}
h3 {
    font-size: clamp(1.2rem, 3vw, 1.602rem);
}
h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.424rem);
}
h5 {
    font-size: clamp(1rem, 2vw, 1.266rem);
}
h6 {
    font-size: clamp(0.9rem, 1.8vw, 1.125rem);
}
p {
    font-size: clamp(0.875rem, 2vw, 1rem);
}
.w_500 {
    font-weight: 500 !important;
}

ul, ol {
    margin: 0;
    padding: 0;
}
li {
    list-style-type: none;
}
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover {
    color: var(--accent);
}
input,textarea {
    font-family: "Nunito", sans-serif;
}

/* input */
.field-text_input {
    font-size: 14px;
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .3s;
}
.field-text_input:focus,
.field-text_input:hover {
    border: 1px solid var(--accent);
    outline: none;
}

/* select */
.field-select {
    font-size: 14px;
    width: 100%;
    position: relative;
}
.field-select_btn {
    cursor: pointer;
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color .3s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.field-select_search {
    min-width: 180px;
    height: 38px;
    position: absolute;
    top: 0;
    z-index: 2;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    border: 1px solid var(--line);
}
.field-select_search::placeholder {
    font-family: "Nunito", sans-serif;
}
.field-select_box {
    position: relative;
    min-width: 180px;
}
.field-select_list {
    position: absolute;
    z-index: 1;
    width: 100%;
    display: none;
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    max-height: 120px;
    overflow-y: auto;
}
.field-select_box .field-select_list {
    padding-top: 38px;
}
.field-select_item {
    cursor: pointer;
    padding: 3px 15px;
}
.field-select.select-active .field-select_btn {
    border-bottom: none;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
.field-select.select-active .field-select_list {
    display: flex;
    flex-direction: column;
    border-top: none;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.field-select.select-active .field-select_arrow {
    transform: scaleY(-1);
}

/* button */
.btn {
    font-size: 16px;
    height: 45px;
    cursor: pointer;
    text-align: center;
    outline: none;
    border-radius: 10px;
    transition: .3s;
    border: 0;
    user-select: none;
}
.btn-default {
    color: #fff;
    background-color: var(--accent);
    border: 1px solid var(--accent);
}
.btn-default:hover {
    border: 1px solid #5d48b3;
    background-color: #5d48b3;
}
button:disabled,
button[disabled] {
    cursor: not-allowed;
}
.btn-default:disabled,
.btn-default[disabled] {
    opacity: .7;
}
.btn-remove {
    color: #fff;
    background-color: #ff0000a8;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 16px;
}
.btn-remove:hover {
    background-color: rgba(196, 4, 4, 0.66);
}

/* Checkbox */
._checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 10px;
}
._checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
._checkbox-icon {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
    border: 1px solid var(--menu-link);
}
._checkbox input:checked + ._checkbox-icon {
    background-color: var(--accent);
    border-color: var(--accent);
}
._checkbox-label {
    font-size: 16px;
}
._checkbox input:checked + ._checkbox-icon:after {
    content: "";
    display: block;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-left: 5px;
    margin-top: 1px;
}
.profile-edit_languages {
    display: flex;
    flex-wrap: wrap;
}
.profile-edit_languages ._checkbox {
    width: 20%;
}

/* switch checkbox */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--line);
    transition: 0.4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: calc(50% - 13px);
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}
/* Для іконок в кружечку */
.icon-container {
    position: absolute;
    top: 50%;
    left: 6px; /* Відступ від лівого краю */
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: 0.4s;
}
input:checked + .slider:before {
    transform: translateX(18px);
}
input:checked + .slider .icon-container {
    left: calc(100% - 25px); /* Переміщення іконки вправо */
}
/* Колір фону перемикача */
input:checked + .slider {
    background-color: var(--accent);
}


/* login / register */
.login-page {
    background-color: #fff;
    display: flex;
    flex-grow: 1;
    height: 100vh;
    flex-direction: row;
}
.login-wrapper {
    position: relative;
    z-index: 10;
    flex-grow: 1;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}
.login-image {
    background-image: url(../img/home.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    position: sticky;
    top: 0;
    flex-shrink: 0;
    width: 50%;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;
}
.login-header {
    position: absolute;
    width: calc(100% - 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 40px;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
}
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 350px;
}
.login-form_title {
    text-align: center;
    margin-bottom: 20px;
    color: #505050;
}
.login-form_subtitle {
    text-align: center;
}
.login-recover {
    font-size: 14px;
    color: var(--accent);
    cursor: pointer;
    display: inline;
    width: fit-content;
}

.login-gender {
    font-size: 16px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    cursor: pointer;
    border: 1px solid #b3b9bd;
    border-radius: 10px;
    transition: .3s;
}
.login-gender:hover {
    background-color: #f1f7fb;
}
.login-gender_img {
    max-width: 25px;
    max-height: 25px;
}
.login-gender_img svg {
    width: 25px;
    height: 25px;
}
.login-reg {
    font-size: 14px;
    color: #a49c9c;
    text-align: center;
}
.register-step {
    display: flex;
}
.register-step_header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}
.register-step_header .login-form_title {
    margin-bottom: 0;
}
.register-step_back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    border: 1px solid #505050;
    border-radius: 8px;
    transition: .3s;
}
.login-form_birthday {
    display: flex;
    gap: 10px;
}
.logo {
    max-width: 100px;
}
.logo img {
    width: 100%;
}

/* page */
.main {
    height: 100vh;
    display: flex;
    flex-direction: column;

    /*add*/
    justify-content: space-between;
}
.layout {
    background-color: #f5f4f5;
}
.profile-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
}
.info-page-wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
}
.info-page-wrapper .main {
    height: auto;
}

/* profile - menu */
.aside {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    height: 100vh;
    width: 250px;
    padding: 14px 15px;
}
.mobile-menu {
    display: none;
}
.menu .logo {
    text-align: center;
}
.menu-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    margin-bottom: 15px;
}
.menu-user_link {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--menu-link);
    transition: .3s;
}
.menu-user_avatar {
    width: 40px;
    height: 40px;
    position: relative;
}
.menu-user-premium {
    position: absolute;
    bottom: -7px;
    right: -6px;
    width: 20px;
    height: 20px;
}
.user-info-premium {
    width: 30px;
    height: 30px;
}
.menu-user_setting {
    display: flex;
    margin-left: auto;
    width: 100%;
    height: 100%;
    max-width: 24px;
    max-height: 24px;
    cursor: pointer;
}
.menu-user_setting svg g path {
    transition: .3s;
}
.menu-user_setting:hover svg g path {
    fill: var(--accent);
}
.menu-user_popularity {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    cursor: pointer;
}
.menu-user_popularity {
    font-size: 14px;
    color: var(--menu-link);
}
.menu-user_popularity_down {
    color: #f42727;
}
.btn-popularity {
    width: 100%;
}
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}
.menu-list_item {
    display: flex;
    align-items: center;
    height: 38px;
    max-height: 38px;
}
.menu-list_link {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    color: var(--menu-link);
    width: 100%;
    transition: .3s;
}
.menu-list_link.router-link-active {
    color: var(--accent);
}
.menu-list_link_text {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 200px;
}
.menu-list_link_icon,
.menu-list_link_icon svg {
    width: 24px;
    height: 24px;
}
.menu-list_link_messages {
    color: #fff;
    line-height: 1em;
    margin-left: auto;
    background-color: rgb(222, 150, 16);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-balance {
    display: flex;
    margin-top: 20px;
    /*padding: 10px;*/
    /*border-radius: 10px;*/
    /*background-color: #fff;*/
}
.menu-balance_box {
    display: flex;
    align-items: center;
    padding: 5px;
    gap: 8px;
    width: 50%;
    color: #fff;
    cursor: pointer;
    border: 1px solid var(--accent);
    border-radius: 10px;
    background-color: var(--accent);
    transition: .2s;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*gap: 8px;*/
    /*width: 50%;*/
}
.menu-balance_box:hover {
    border: 1px solid #5d48b3;
    background-color: #5d48b3;
}
.menu-balance_box_icon {
    width: 45px;
    height: 45px;
}
.menu-balance_box_title {
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
}
.menu-balance_box_action {
    font-size: 14px;
    color: #FFF;
}

/* profile - page */
.profile-wrapper .main {
    width: calc(100% - 250px);
    height: auto;
}
.profile-content {
    display: flex;
    border-radius: 15px;
    background-color: #fff;
    margin: 15px 0;
    height: 100%;
    /*add*/
    position: relative;
    box-shadow: 0 0 15px #00000012;
}
.user-side {
    width: 450px;
    padding: 20px;
}
.user-side .user-img img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.user-img .user-img-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.user-side_blocked {
    margin-top: 20px;
    cursor: pointer;
    text-align: center;
    color: #a49c9c;
    font-size: 15px;
}
.user-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 20px;
    width: 100%;
    border-left: 1px solid #d8cece;
}
.user-info_header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-info_name {
    font-weight: 500;
}
.user-info_status {
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.user-info_status_online {
    background-color: rgb(34, 206, 34);
}
.user-info_status_offline {
    background-color: rgb(158 129 134);
}
.get-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    background-color: #EFEFEF;
}
.get-premium_img {
    width: 40px;
    height: 40px;
    background-position: center;
    background-size: cover;
    border-radius: 50%;
}
.get-premium_label {
    color: var(--accent);
}

.user-info_title {
    color: var(--menu-link);
    margin-bottom: 15px;
    font-size: 18px;
}
.user-info_person {
    color: #000;
    font-size: 16px;
    font-weight: 500;
}
.user-about-me {
    font-style: italic;
}
.user-info_person_row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}
.user-info_person_label {
    min-width: fit-content;
    width: 25%;
}
.user-photo {
    cursor: default;
    /*cursor: pointer;*/
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    background-color: #EFEFEF;
    border-radius: 10px;
}
.user-img {
    position: relative;
    display: block;
    z-index: 0;
    height: 400px;
    background-size: cover;
    background-position: center;
}
.user-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}
.user-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.user-photo_add {
    background-color: #EFEFEF;
}
.user-photo_add_icon {
    width: 22px;
    height: 20px;
}
.user-photo_add_text {
    color: var(--accent);
}
.user-photo_edit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--accent);
    background-color: #EFEFEF;
}
.user-photo_edit svg {
    width: 24px;
    height: 24px;
}
.user-side_photo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}
.user-side_photo_list {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 5px 5px;
}
.user-side_photo_item {
    position: relative;
    cursor: pointer;
    width: 84px;
    height: 84px;
    background-color: #EFEFEF;
    border-radius: 10px;
    overflow: hidden;
}
.user-side_photo_preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #EFEFEF;
}
.user-side_photo_preview img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}
.user-side_photo_delete_btn {
    position: absolute;
    cursor: pointer;
    top: 4px;
    right: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff0000e6;
    border: 0;
    outline: none;
    width: 15px;
    height: 15px;
    padding: 0;
    border-radius: 50%;
    transition: .2s;
}
.user-side_photo_delete_btn:hover {
    transform: scale(1.2);
}
.user-side_photo_delete_btn svg {
    width: 13px;
    height: 13px;
}
.user-side_photo_select {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 100%;
}
.user-side_photo_select input {
    display: none;
}
.user-side_photo_select svg {
    width: 28px;
    height: 28px;
}

.setting {
    width: 100%;
}
._header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}
.setting-block {
    padding: 20px 0;
    margin: 0 20px;
    border-bottom: 1px solid var(--line);
}
.setting-block:last-of-type {
    border-color: transparent;
}
.setting-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
._title-name {
    font-weight: 500;
}
.setting-title_name {
}
.setting-title_edit {
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-color: #EFEFEF;*/
    /*border-radius: 5px;*/
    width: 28px;
    height: 28px;
    cursor: pointer;
}
.setting-title_edit svg {
    width: 25px;
    height: 25px;
}
.setting-title_save,
.setting-title_reset {
    display: flex;
    height: auto;
    padding: 5px 10px;
    line-height: 1;
    text-transform: capitalize;
    font-size: 14px;
}
.setting-title_saved {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #077f07;
    font-weight: 600;
    font-size: 14px;
}
.setting-fields {
    margin-top: 10px;
}
.setting-field {
    display: flex;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
}
.setting-field_label {
    width: 30%;
}
.setting-field_selects {
    display: flex;
    align-items: center;
    gap: 5px;
}
.setting-select-language-w {
    width: auto;
}
.setting-account {
    display: flex;
    align-items: center;
    gap: 10px;
}
.setting-account_logout,
.setting-account_delete {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: "Nunito", sans-serif;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 400;
    color: #FFF;
    background-color: #EFEFEF;
    transition: .3s;
}
.setting-account_logout:hover,
.setting-account_delete:hover {
    background-color: var(--line);
}
.setting-account_logout {
    font-family: system-ui;
    color: #000;
}
.setting-account_delete {
    color: #FF2D20;
}
.setting-sound {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
}
.setting-sound svg {
    width: 26px;
    height: 26px;
}

.content-search {
    width: 100%;
}
.search-filter {
    position: relative;
    user-select: none;
}
.search-filter_btn {
    cursor: pointer;
    transition: .3s;
}
.search-filter_btn svg {
    width: 24px;
    transition: .3s;
}
.search-filter-active .search-filter_btn svg,
.search-filter_btn:hover svg {
    fill: var(--accent);
}
.search-filter_box {
    display: none;
    position: absolute;
    z-index: 200;
    top: 100%;
    right: 0;
    padding: 20px 15px;
    border-radius: 10px;
    background-color: #FFF;
    box-shadow: 0 1px 26px #0000001a;
}
.search-filter-active .search-filter_box {
    display: block;
}
.search-filter_wrapper {
    width: 280px;
}
.search-filter_content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.search-filter_title {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}
.search-filter_block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.search-filter_block_title {
    font-size: 14px;
    color: var(--menu-link);
}
.search-filter_block_content {
    display: flex;
    align-items: center;
    gap: 5px;
}
.ui-widget.ui-widget-content {
    border-radius: 15px;
    background-color: #f1f1f1;
    border: 0 !important;
}
.ui-state-default,
.ui-widget-content .ui-state-default {
    background: var(--accent) !important;
    border-radius: 50%;
    border: 0 !important;
    outline: none;
}
.ui-state-hover,
.ui-widget-content .ui-state-hover {
    border: 0 !important;
    background: #5d48b3 !important;
    outline: none;
}
.filter-btn {
    cursor: pointer;
    font-weight: 600;
    color: var(--menu-link);
    border: 1px solid var(--menu-link);
    font-size: 13px;
    padding: 10px 17px;
    outline: none;
    background-color: transparent;
    border-radius: 10px;
}
.filter-btn-active {
    color: var(--accent);
    background-color: #fff;
    border: 1px solid var(--accent);
}
.ui-widget.ui-widget-content {
    width: 100%;
}
.search-filter_block_content .btn {
    padding: 0 15px;
}


.list,
.search-list {
    display: flex;
    flex-wrap: wrap;
    padding: 8px;
}
.list-no-users {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    width: 100%;
}
.item,
.search-item {
    width: 25%;
    padding: 8px;
}
.card,
.search-card {
    transition: .3s;
    border-radius: 10px;
    position: relative;
    background-color: #f1f7fb;
    display: block;
    width: 100%;
    overflow: hidden;
    color: #f1f7fb;
    text-decoration: none;
    z-index: 0;
    height: 280px;
}
.card-photo img,
.search-card_photo img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: .3s;
}
.card-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--line);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.card-photo-empty_icon {
    width: 50px;
}
.item:not(._blur-item) .card:hover .card-photo img,
.search-item .search-card:hover .search-card_photo img {
    transform: scale(1.05);
}
.card-info,
.search-card_info {
    display: flex;
    position: absolute;
    z-index: 1;
    right: 0;
    left: 0;
    bottom: 0;
    color: #fff;
    transition: .6s linear;
    padding: 15px;
}
.card-info::before,
.search-card_info::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .4428) 19%, rgba(0, 0, 0, .3246) 34%, rgba(0, 0, 0, .2292) 47%, rgba(0, 0, 0, .1668) 56.5%, rgba(0, 0, 0, .1164) 65%, rgba(0, 0, 0, .0756) 73%, rgba(0, 0, 0, .045) 80.2%, rgba(0, 0, 0, .0252) 86.1%, rgba(0, 0, 0, .0126) 91%, rgba(0, 0, 0, .0048) 95.2%, rgba(0, 0, 0, .0012) 98.2%, transparent 100%);
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}
.card-caption {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.card-head {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.card-name {
    font-size: 20px;
    word-break: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    will-change: transform;
}
.card-age {
    font-weight: 300;
    will-change: transform;
}
.card-online {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 100;
    position: relative;
}
._blur-item .card-caption {
    filter: blur(5px);
}

/* encounters */
.no-cards-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.no-cards-message-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.no-cards-message-icon {
    width: 100px;
    max-width: 90%;
}
.no-cards-message-text {
    text-align: center;
    font-size: 18px;
    color: #E2E2E2;
}

.profile-card {
    width: 60vh;
    min-width: 400px;
    min-height: 500px;
    position: relative;
    top: 0;
    height: 100%;
    margin: 3vh auto;
}

.profile-card-next-users {
    position: absolute;
    left: calc(100% + 15px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 350px;
    overflow: hidden;
}
.profile-card-next-user {
    position: relative;
    width: 60px;
    height: 60px;
}
.profile-card-next-user-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.next-user-avatar-nothing {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--line);
}
.next-user-avatar-nothing .card-photo-empty_icon {
    width: 30px;
}

.profile-card_image {
    /*transform: translate(-32px);*/
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 20px;
    background-color: #40464e;
    box-shadow: 0 2px 4px #0000004d;
}
.profile-card_shadow {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    content: "";
    border-radius: 15px;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
}
.card-slider {}
.card-slider_image {
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 17px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.card-slider-btn {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 35px;
    opacity: .3;
    transform: translateY(-50%);
    cursor: pointer;
    transition: .3s;
}
.card-slider-btn:hover {
    opacity: .7;
    transform: translateY(-50%) scale(1.5);
}
.card-slider-btn-left {
    left: 10px;
}
.card-slider-btn-right {
    right: 10px;
}
.card-info_goals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}
.card-info_goal {
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1em;
    padding: 5px 10px;
    color: #ffffffcc;
}
.profile-card_name .user-info_status {
    margin-left: 8px;
}
.profile-card_count {
    display: flex;
    align-items: center;
    position: absolute;
    top: 15px;
    left: 15px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .3);
    padding: 6px 15px;
    color: #fff;
    font-size: 14px;
    user-select: none;
}
.profile-card_count svg {
    margin-right: 5px;
}
.profile-card_option {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 200;
    user-select: none;
}
.encounters-photo-empty {
    height: 100%;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}
.encounters-photo-empty-icon {
    width: 70px;
}
.profile-card_option .search-filter_btn {
    height: 24px;
}
.profile-card_option .search-filter_btn svg {
    fill: #FFF;
}
.profile-card_option .search-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
    user-select: none;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .5);
    border-radius: 25px;
    box-shadow: 0 5px 12px #0000000f;
    transform: translate(10px);
    transition: .3s;
}
.profile-card_option .search-filter_box {
    top: calc(100% + 5px);
}
.profile-card_info {
    position: absolute;
    bottom: 0;
    z-index: 8;
    width: 100%;
    border-radius: 0 0 20px 20px;
    /*background-image: linear-gradient(0deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0));*/
    user-select: none;
}
.profile-card_name {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #FFF;
}
.profile-card_actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}
.profile-card_action {
    color: #d8cece;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFF;
    box-shadow: 0 5px 12px #0000000f;
    transition: .2s;
}
.profile-card_action:hover {
    transform: scale(1.1);
}
.card-action-dislike svg {
    width: 40px;
    height: 40px;
}
.card-action-dislike svg g path {
    fill: var(--menu-link);
}
.card-action-like svg {
    width: 35px;
    height: 35px;
}

/* Profile Edit */
.content-edit {
    width: 100%;
}
.profile-edit_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
}
.profile-edit_title {
    color: var(--menu-link);
    margin-bottom: 5px;
}
.profile-edit_textarea {
    height: auto;
    padding: 15px;
    resize: none;
}
.profile-edit_parent_textarea {
    position: relative;
}
.char-conter {
    position: absolute;
    right: 5px;
    bottom: 7px;
    font-size: 12px;
    color: #b3b9bd;
}
.profile-edit_range {
    width: 100%;
}



.profile-message {
    display: flex;
    overflow: hidden;
    flex-grow: 1;
    height: calc(100vh - 30px);
    margin-top: 15px;
    margin-bottom: 15px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 0 15px #00000012;
}
.profile-contacts {
    display: flex;
    flex-direction: column;
    width: 270px;
}
.profile-contacts_header {
    height: 65px;
}

.contacts-list {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100%;
    position: relative;
}
.contacts-list-loading .loader-wrapper,
.room-messages-loading .loader-wrapper {
    background-color: transparent;
}
.contacts-list-loading .loader::before,
.room-messages-loading .loader::before {
    border-color: var(--line);
}
.contacts-list-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--line);
    height: 100%;
}
.contacts-list-empty-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 300px;
    text-align: center;
}
.contacts-list-empty-text {
    display: none;
}
.contacts-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    cursor: pointer;
    transition: .3s;
    border-bottom: 1px solid var(--line);
}
.contacts-item.chat-active {
    cursor: default;
}
.contacts-item:hover,
.contacts-item.chat-active {
    background-color: #EFEFEF;
}
.dialog--hide {
    display: none !important;
}
.contacts-item_avatar {
    position: relative;
}
.contacts-item_avatar_img {
    object-fit: cover;
    width: 65px;
    height: 65px;
    border-radius: 50%;
}
.contacts-item_avatar_empt {
    display: block;
    background-color: var(--line);
}
.contacts-item_avatar .user-info_status {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 17px;
    height: 17px;
    border: 3px solid #fff;
}
.contacts-item_box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.contacts-item_title {
    color: #000;
    font-weight: 500;
}
.contacts-item_message {
    font-size: 14px;
    color: var(--menu-link);
    display: block;
    overflow: hidden;
    white-space: nowrap;
    max-width: calc(100% - 65px);
    text-overflow: ellipsis;
}
.contacts-item_unread {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    line-height: 1em;
    background-color: rgb(222, 150, 16);
    border-radius: 50%;
    font-size: 14px;
}
.profile-room {
    display: flex;
    flex-direction: column;
    width: calc(100% - 270px);
    border-left: 1px solid var(--line);
}
.profile-room_noselected {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.profile-room_noselected_banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--menu-link);
    font-weight: 500;
    opacity: .6;
}
.profile-room_noselected_banner svg {
    width: 60px;
}
.profile-room_header_user {
    display: flex;
    align-items: center;
    gap: 6px;
}
.profile-room_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-height: 65px;
    padding: 15px;
    border-bottom: 1px solid var(--line);
}
.profile-room_header_avatar {
    width: 45px;
    height: 45px;
}
.profile-room_header_name,
.profile-room_header_name:hover {
    color: #000;
}
.profile-room_header_img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.room-dropdown {
    position: relative;
}
.room-dropdown_btn {
    cursor: pointer;
    width: 24px;
    height: 24px;
}
.room-dropdown_btn_svg {
    transition: .3s;
}
.room-dropdown_btn:hover .room-dropdown_btn_svg {
    fill: var(--accent);
}
.room-dropdown_box {
    position: absolute;
    top: calc(100% + 2px);
    width: fit-content;
    right: 0;
    z-index: 2;
    display: none;
}
.room-dropdown-active .room-dropdown_box {
    display: block;
}
.room-dropdown_list {
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 20px #0000001a;
    overflow: hidden;
}
.room-dropdown_item {
    display: block;
    cursor: pointer;
    user-select: none;
    color: #000;
    padding: 10px 15px;
    font-size: 14px;
    min-width: max-content;
    width: 100%;
}
.room-dropdown_item:hover {
    color: var(--accent);
    background-color: var(--line);
}
.room-messages {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    top: 0;
    height: 100vh;
    padding: 15px;
}
.room-messages-loading {
    position: relative;
    height: 100%;
}
.room-messages-blocked {
    position: absolute;
    z-index: 2;
    background-color: var(--line);
    padding: 10px 15px;
    border-radius: 15px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 11px -3px #00000022;
}
.room-messages_wrp {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.room-message-date {
    user-select: none;
    display: block;
    font-size: 12px;
    color: #c1bdbd;
    text-align: center;
    padding: 2px 0;
}
.room-message {
    position: relative;
    padding: 10px 15px 16px;
    border-radius: 15px;
    width: fit-content;
    max-width: 80%;
    min-width: 60px;
    white-space: pre-line;
}
.room-message-system {
    margin: 0 auto;
    padding: 10px 15px;
    border-radius: 10px;
    background-color: var(--line);
}
.room-message-recipient {
    align-self: flex-start;
    background-color: var(--line);
}
.room-message-sender {
    align-self: flex-end;
    background-color: #eab6ff;
}
.room-message-time {
    position: absolute;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.4;
}
.room-message-sender .room-message-time {
    bottom: 3px;
    right: 15px;
}
.room-message-recipient .room-message-time {
    bottom: 3px;
    left: 15px;
}
.room-message-system .room-message-time {
    bottom: 1px;
    right: 3px;
}
.room-input {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    left: 0;
    bottom: 0;
    min-height: 50px;
    padding-right: 10px;
    border-top: 1px solid var(--line);
}
.room-overlay-premium {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.room-input_textarea {
    font-family: "Nunito", sans-serif;
    resize: none;
    overflow: hidden;
    padding-left: 10px;
    border: 0;
    width: 100%;
    font-size: 16px;
    background-color: transparent;
}
.room-input_textarea:focus {
    outline: none !important;
}
.room-input_btn {
    cursor: pointer;
    padding: 0;
    border: 0;
    outline: none;
    background-color: transparent;
    width: 30px;
    height: 30px;
}
.room-input_btn.disabled {
    cursor: default;
}

/*NotificationLiked page*/
.banner-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 10px 15px;
    padding: 10px;
    background-color: #EFEFEF;
    border-radius: 15px;
}
.banner-premium .btn {
    padding: 0 20px;
}
.item-liked .card {
    border-radius: 15px 15px 0 0;
    cursor: pointer;
}
.item-no-liked {
    display: block;
    text-align: center;
    width: 100%;
}
.card-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.card-actions {
    display: flex;
    padding: 7px;
    background-color: #EFEFEF;
    border-radius: 0 0 15px 15px;
}
.card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    cursor: pointer;
}
.card-action svg {
    width: 30px;
    height: 30px;
    transition: .2s;
}
.card-action:hover svg {
    transform: scale(1.2);
}


/* info pages */
.info-page_content {
    padding: 20px;
}
.info-page_content p,
.info-page_content li {
    margin-top: 8px;
}
.info-page_content ol,
.info-page_content ul {
    padding: revert;
}
.info-page_content ol li {
    list-style-type: unset;
}
.info-page_content ol > ol li {
    list-style-type: auto;
}

.saved-profile {
    background-color: #077f07;
    border-color: #077f07;
}
.saved-profile:disabled,
.saved-profile[disabled],
.saved-profile:disabled:hover {
    opacity: 1;
    background-color: #077f07;
    border-color: #077f07;
}

/* notification */
.new-message {
    position: fixed;
    bottom: 15px;
    left: 15px;
    max-height: 70px;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0px 0px 12px 3px #00000020;
    transition: bottom 0.3s ease;
}
.new-message_link {
    width: calc(100% - 40px);
    border-right: 1px solid var(--line);
}
.notification-relative {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.notification-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    cursor: pointer;
}
.notification-close svg {
    width: 30px;
}
.new-message_container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}
.new-message_avatar {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
}
.new-message_avatar img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.new-message_column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 200px;
}
.new-message_name {
    display: block;
    width: fit-content;
    font-weight: 500;
    color: #000;
}
.new-message_content {
    display: block;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    color: var(--menu-link);
}

/* poppup */
.shadow {
    position: relative;
}
.shadow::after {
    position: fixed;
    z-index: 1000;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #50505050;
}
.poppup {
    display: none;
    position: fixed;
    z-index: 1001;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 10px;
    animation: .3s ease-out;
}
.poppup.poppup-show {
    display: block;
}
.poppup-container {
    width: 350px;
    padding: 30px 20px;
    position: relative;
}
.poppup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.poppup-content {
    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.poppup-recover_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.poppup-recover_title {
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
}
.poppup-recover_subtitle {
    font-size: 14px;
    font-weight: 300;
}

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    width: 350px;
    padding: 30px 20px;
    position: relative;
    background-color: #fff;
    border-radius: 10px;
}
.modal-header {
    font-size: 18px;
    font-weight: 600;
}
.modal-block_reasons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}
.modal-block_reason {
    width: 100%;
    background-color: var(--line);
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    user-select: none;
    cursor: pointer;
    border: 1px solid transparent;
}
.block-reason-active {
    border: 1px solid var(--accent);
}
.close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.modal-actions {
    margin-top: 20px;
}
.modal-actions button {
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
}

/* modal image */
.modal--image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    backdrop-filter: brightness(0.26);
    background-color: rgba(0, 0, 0, 0.4);
}
.modal--image_content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: flex;
    background: none !important;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}
.modal--image_content img {
    max-width: 70vw;
    max-height: 75vh;
}
.modal--image_options {
    display: flex;
    align-items: center;
    gap: 15px;
}
.modal--image_options .btn {
    padding-left: 14px;
    padding-right: 14px;
}
.modal--image_close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.btn-centre {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* modal premium */
.modal-premium .modal-content {
    width: 450px;
}
.model-premium_step {
    width: 100%;
}
.premium-benefits_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}
.premium-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
}
.premium-benefit_img {
    width: 40px;
    height: 40px;
}
.premium-benefit_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.premium-benefit_text {
    font-size: 16px;
}
.premium-payment_packages {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}
.premium-package {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 8px solid var(--line);
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 4px;
    padding: 8px 15px;
    user-select: none;
    cursor: pointer;
}
.premium-package.premium-package-select {
    border-color: var(--accent);
}
.premium-package_price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}
.model-premium_check {
    margin-bottom: 20px;
}
.model-premium_check ._checkbox {
    margin-bottom: 0;
}
.model-premium_check ._checkbox-icon {
    min-width: 20px;
}
.model-premium_check ._checkbox-label {
    color: var(--menu-link);
    font-size: 12px;
}
.model-premium_step-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.model-premium_step-actions .btn {
    width: 50%;
}
.model-premium_form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}
.premium_form_bgcard {
    margin: 0 auto;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
    background-color: var(--line);
}
.premium--price {
    font-size: 19px;
    font-weight: 500;
}
.premium-form_card {
    font-size: 24px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.premium-form_waiting {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}
.premium_form-text-center {
    text-align: center;
}


/* login - footer */
.footer {
    padding: 20px 0 10px;
    background-color: #f5f4f5;
}
.footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.footer-item {
    font-size: 14px;
}
.footer-copyright {
    color: #a49c9c;
    font-size: 12px;
    text-align: center;
}

/*Header*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    background-color: #fff;
    width: 100%;
    height: 50px;
    padding: 0 15px;
}
.header-page-name {
    font-size: 20px;
}
.header-burger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.header-burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: black;
    margin: 5px 0;
}
.header-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: calc(100dvh - 50px);
    right: 0;
    width: 100%;
    padding: 15px;
    top: 50px;
    background-color: #FFF;
}
.header-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
}
.header .menu-user_setting {
    gap: 15px;
    max-width: unset;
    max-height: unset;
}
.header .menu-user_setting svg {
    min-width: 30px;
    min-height: 30px;
    max-height: 30px;
    max-width: 30px;
}
.menu-user_avatar_img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.header-link,
.header-info-link {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    color: black;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 500;
    transition: .3s;
    background-color: #EFEFEF;
}
.header-link:hover,
.header-info-link:hover {
    color: var(--accent);
}
.header-logout {
    margin-top: auto;
}

/* image loader (for preview image)*/
.loader-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #EFEFEF;
}
.loader {
    /* position: absolute;*/
    /* top: calc(50% - 25px);*/
    /* left: calc(50% - 25px);*/
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    animation: rotate 1s linear infinite
}
.loader::before , .loader::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #FFF;
    animation: prixClipFix 2s linear infinite ;
}
.loader::after{
    border-color: var(--accent);
    animation: prixClipFix 2s linear infinite , rotate 0.5s linear infinite reverse;
    inset: 6px;
}
@keyframes rotate {
    0%   {transform: rotate(0deg)}
    100%   {transform: rotate(360deg)}
}
@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}
/* container loader (for list users)*/
.list-loader {
    position: relative;
    display: block;
    height: 200px;
    width: 100%;
}
.list-loader .loader-wrapper {
    background-color: transparent;
}
.list-loader .loader::before {
    border-color: #b9b5b5;
}
.list-loader .loader::after{
    border-color: var(--accent);
}

/*loader for profile*/
.profile-loader {
    position: absolute;
    background: #fff;
    display: block;
    height: 100%;
    width: 100%;
    left: 0;
    z-index: 1;
    border-radius: 15px;
}
.profile-loader .loader-wrapper {
    background: transparent;
}
.profile-loader .loader::before {
    border-color: #b9b5b5;
}


/* media */
@media screen and (max-width: 1000px) {
    .login-image {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    html, body {
        overflow: hidden;
        /*overflow-x: hidden;*/
        overscroll-behavior: none;
    }
    .layout {
        background-color: #fff;
    }
    .profile-wrapper {
        flex-direction: column-reverse;
        overflow: hidden;
        height: 100dvh;
        width: 100dvw;
    }
    .desktop-menu {
        display: none;
    }
    footer.footer {
        display: none;
    }
    .mobile-menu {
        position: fixed;
        z-index: 1;
        top: auto;
        bottom: 0;
        display: flex;
        align-items: center;
        flex-direction: row;
        height: 70px;
        width: 100%;
        padding: 0;
        background-color: #fff;
        border-top: 1px solid #f5f4f5;
    }
    .profile-wrapper .main {
        width: 100%;
        padding: 0 15px;
        /*width: calc(100% - 30px);*/
        /*height: calc(100vh - 70px);*/
        height: calc(100dvh - 120px);
        overflow-y: auto;
        overflow-x: hidden;
        margin: 50px auto auto;
    }
    .menu {
        display: flex;
        width: 100%;
    }
    .logo img {
        width: 37px;
    }
    .login-header .logo img {
        width: 70px;
    }
    .menu-list_link {
        position: relative;
        flex-direction: column;
        gap: 0;
        width: 20%;
        height: 58px;
    }
    .menu-list_link_text {
        font-size: 13px;
    }
    .menu-list_link_icon,
    .menu-list_link_icon svg,
    .menu-list_link_icon * {
        width: 33px;
        height: 33px;
    }
    .menu-list-link-avatar .menu-user_avatar_img {
        width: 48px;
        height: 48px;
    }
    .menu-list_link_messages {
        position: absolute;
        top: 0;
        transform: translate(23px, 0px);
        text-align: center;
        min-width: 25px;
        font-size: 13px;
    }
    ._header {
        margin: 0 -15px;
        width: calc(100% + 30px);
    }
    .search-header {
        border: none;
    }
    .search-header .search-title_name {
        display: none;
    }


    .wheel-picker-container {
        display: flex;
        width: 100%;
    }
    .wheel-picker {
        width: 100px; /* Забезпечуємо достатню ширину */
        height: 200px; /* Фіксована висота для скролінгу */
        overflow: hidden; /* Переконаємося, що скрол працює */
    }
    .vue-scroll-picker {
        height: 200px !important;
    }
    .vue-scroll-picker-item {
        line-height: 1em;
        font-size: 18px;
        padding: 5px 0;
    }
    .vue-scroll-picker-item[aria-selected=true] {
        color: var(--accent);
        font-weight: 600;
    }
/*.vue-scroll-picker{position:relative;width:100%;height:10em;overflow:hidden;-webkit-user-select:none;user-select:none}.vue-scroll-picker-rotator{position:absolute;left:0;right:0;top:calc(50% - .6em)}.vue-scroll-picker-rotator-transition{transition:top ease .15s}.vue-scroll-picker-item{text-align:center;line-height:1.2em;color:#333}.vue-scroll-picker-item[aria-selected=true]{color:#007bff}.vue-scroll-picker-item[data-value=""],.vue-scroll-picker-item[aria-disabled=true]{color:#ccc}.vue-scroll-picker-item[data-value=""][aria-selected=true],.vue-scroll-picker-item[aria-disabled=true][aria-selected=true]{color:#aaa}.vue-scroll-picker-layer{position:absolute;left:0;right:0;top:0;bottom:0}.vue-scroll-picker-layer-top,.vue-scroll-picker-layer-selection,.vue-scroll-picker-layer-bottom{position:absolute;left:0;right:0}.vue-scroll-picker-layer-top{box-sizing:border-box;border-bottom:1px solid #c8c7cc;background:linear-gradient(180deg,#fff 10%,rgba(255,255,255,.7));top:0;height:calc(50% - 1em);cursor:pointer}.vue-scroll-picker-layer-selection{top:calc(50% - 1em);bottom:calc(50% - 1em)}.vue-scroll-picker-layer-bottom{border-top:1px solid #c8c7cc;background:linear-gradient(0deg,#fff 10%,rgba(255,255,255,.7));bottom:0;height:calc(50% - 1em);cursor:pointer}*/

    .setting-title {
        position: relative;
    }
    .setting-title_saved {
        position: absolute;
        right: 4px;
    }
    .setting-title.setting-title-mod {
        flex-wrap: wrap;
    }
    .setting-title-mod .setting-title_name {
        min-width: 100%;
    }
    .setting-title_name {
        font-size: 18px;
    }
    .setting-field {
        justify-content: space-between;
    }
    .setting-field_label {
        font-size: 16px;
        width: auto;
        opacity: .5;
    }
    .setting-field_content {
        font-size: 16px;
    }
    .setting-field.field-active {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-filter-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        z-index: 999;
    }
    .filter-shadow {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        z-index: 990;
        background: #000;
        opacity: 0.4;
        transition: opacity 0.5s ease;
    }
    .mobile-filter-box {
        position: absolute;
        bottom: 0;
        width: 100%;
        z-index: 999;
        background-color: #fff;
        border-radius: 15px 15px 0px 0px;
        padding: 15px;
    }
    .mobile-filter-box .search-filter_wrapper {
        width: auto;
    }
    .mobile-filter-box .field-select.select-active .field-select_btn {
        border-top: none;
        border-radius: 0px 0px 10px 10px;
        border-bottom: 1px solid var(--line);
    }
    .mobile-filter-box .field-select.select-active .field-select_list {
        bottom: 100%;
        border-top: none;
        border-top: 1px solid var(--line);
        border-bottom: none;
        border-radius: 10px 10px 0 0;
    }
    .filter-btn {
        flex: 1;
        text-align: center;
        font-size: 15px;
    }
    .mobile-city-select {
        position: fixed;
        top: 0;
        left: 0;
        height: 100dvh;
        width: 100%;
        background-color: #fff;
    }
    .mobile-city-select_header {
        width: fit-content;
        margin: 10px;
    }
    .mobile-city-select_content .field-select_search {
        position: relative;
    }
    .mobile-city-select_content .field-select_list {
        display: block;
        border: nonef;
        border-radius: 0;
        max-height: 100%;
    }
    .mobile-city-select_content .field-select_item {
        cursor: pointer;
        font-size: 18px;
        padding: 6px 15px;
    }
    .mobile-city-select_content .field-select_search {
        font-size: 18px;
        height: 47px;
    }
    .card, .search-card {
        height: 230px;
    }

    .header .search-filter {
        /*position: absolute;*/
        /*top: 7px;*/
        /*right: 11px;*/
        /*z-index: 200;*/
        background: #000;
        border-radius: 25px;
    }
    .header .search-filter_btn {
        cursor: pointer;
        transition: .3s;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header .search-filter_btn svg {
        fill: #fff;
    }
    .profile-card {
        width: 85vw;
        min-width: 70vw;
        min-height: 70dvh;
        height: 70dvh;
        max-height: 70dvh;
        top: auto;
        margin: auto auto;
    }
    .profile-card-next-users {
        display: none;
    }
    .profile-card_option {
        top: 7px;
        right: 11px;
    }
    .profile-card_option .search-filter {
        background: #000;
    }
    .profile-card_image {
        transform: unset;
    }
    .item {
        width: 50%;
    }
    .profile-content {
        margin: 0;
        flex-direction: column;
        width: 100%;
        box-shadow: none;
    }
    .user-side {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .user-info {
        padding-left: 0;
        padding-right: 0;
        border: none;
    }
    .user-info_name {
        font-size: 25px;
    }
    .user-info-mobile-items {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .user-info-person-item {
        display: flex;
        max-width: fit-content;
        align-items: center;
        gap: 5px;
        background-color: #f4eff4;
        padding: 5px 10px;
        border-radius: 30px;
        font-size: 17px;
    }
    .user-info-person-item-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        max-height: 25px;
        max-width: 25px;
    }

    /* input */
    .field-text_input {
        font-size: 16px;
    }

    .profile-message {
        margin: 0 -15px;
        box-shadow: none;
        height: calc(100dvh - 120px);
    }
    .profile-contacts_header {
        display: none;
    }
    .profile-contacts {
        width: 100%;
    }
    .profile-room {
        width: 100%;
        height: calc(100dvh - 120px);
        z-index: 1;
        top: 50px;
        position: fixed;
    }
    .profile-room.chat-room-full-height {
        height: 100dvh;
        top: 0;
    }
    .room-input {
        min-height: 70px;
        background-color: #FFF;
    }
    .profile-edit_languages ._checkbox {
        width: 33%;
    }
    .banner-premium {
        margin-left: 0;
        margin-right: 0;
        padding: 10px 15px;
    }
    .list {
        margin: -8px;
    }

    .setting-header {
        display: none;
    }
    .profile-edit_form {
        padding: 0;
        margin: 20px 0;
    }
    ._checkbox-icon {
        min-width: 20px;
    }

    .contacts-list-empty-text {
        display: inline-block;
    }
    .contacts-item:first-of-type {
        border-top: 1px solid var(--line);
    }
    .contacts-item_avatar_img {
        width: 70px;
        height: 70px;
    }
    .contacts-item_avatar .user-info_status {
        width: 20px;
        height: 20px;
    }
    .contacts-item_box {
        gap: 8px;
    }
    .contacts-item_title {
        font-size: 20px;
    }
    .contacts-item_message {
        font-size: 17px;
    }
    .contacts-item_unread {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .profile-room_header_avatar {
        width: 50px;
        height: 50px;
    }
    .profile-room_header_name {
        font-size: 20px;
    }
    .room-dropdown_item {
        font-size: 16px;
    }
    .back-button {
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .back-button svg {
        width: 30px;
        height: 30px;
    }
    .room-message {
        font-size: 18px;
    }
    .room-messages_wrp {
        gap: 10px;
    }
    .room-message-sender .room-message-time,
    .room-message-recipient .room-message-time {
        bottom: 1px;
    }
    .room-message-time {
        font-size: 13px;
    }
    .profile-room_header_user {
        gap: 8px;
    }
    .user-info_status {
        width: 13px;
        height: 13px;
    }

    .room-dropdown_box {
        width: 80vw;
    }

    .new-message {
        top: 15px;
        left: 15px;
        z-index: 900;
        width: calc(100% - 30px);
        max-height: 80px;
    }
    .new-message_column {
        gap: 8px;
        width: calc(100% - 70px);
    }
    .new-message_avatar {
        width: 60px;
        height: 60px;
    }
    .new-message_name {
        font-size: 18px;
    }
    .new-message_content {
        font-size: 16px;
    }
    .new-message_link {
        width: calc(100% - 60px);
    }


    .header {
        box-shadow: 0 4px 12px #0000000f;
    }
    .user-me-main {
        padding-top: 20px;
    }
    .user-me-main-profile {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .user-me-main-photo {
        position: relative;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        box-shadow: 0 1px 35px #00000040;
        cursor: pointer;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    .user-me-main-info {
        margin-top: 15px;
    }
    .user-mobile-main-edit {
        position: absolute;
        top: 10px;
        right: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        background-color: var(--accent);
    }
    .user-mobile-main-edit svg {
        width: 30px;
        height: 30px;
    }
    .user-mobile-main-edit svg path {
        stroke: #EFEFEF;
    }
    .user-me-main .menu-balance_box {
        justify-content: center;
    }
    .user-side_photo_list {
        flex-flow: row wrap;
        grid-gap: 0;
        margin-top: 20px;
    }
    .user-side_photo_item {
        width: calc(33.33333vw - 20px);
        height: calc(33.33333vw - 20px);
        margin: 5px;
        position: relative;
        box-shadow: 0 0px 4px #00000030;
    }
    .user-side_photo_preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .setting-block {
        padding: 20px 15px;
        margin: 0 -15px;
    }

    /* select */
    .field-select {
        font-size: 16px;
    }
    .field-select_search {
        font-size: 16px;
    }
    .field-select_list {
        max-height: 170px;
    }
    .field-select_item {
        padding: 5px auto;
    }

    .profile-loader {
        position: fixed;
        background: #fff;
        display: block;
        height: calc(100% - 120px);
        width: 100%;
        left: 0;
        z-index: 1;
        border-radius: unset;
    }
}
