/*
 * PICKME newd2 — modern profile page.
 *
 * Additive and reversible: legacy profile.css/responsive.css remain untouched.
 * To restore the previous profile design, remove this file registration from
 * views/layouts/main.php.
 */

body:has(#profile) {
    --profile-bg: #08080b;
    --profile-panel: #111117;
    --profile-panel-raised: #17171f;
    --profile-control: #1d1d26;
    --profile-line: rgba(255, 255, 255, 0.09);
    --profile-line-strong: rgba(255, 255, 255, 0.15);
    --profile-pink: #ff2f92;
    --profile-pink-soft: #ff69ad;
    --profile-text: #f8f6f9;
    --profile-muted: #aaa6b1;
    min-width: 320px;
    color: var(--profile-text);
    background:
        radial-gradient(circle at 10% 7%, rgba(255, 47, 146, 0.085), transparent 29rem),
        radial-gradient(circle at 92% 18%, rgba(111, 62, 255, 0.065), transparent 30rem),
        var(--profile-bg);
}

body:has(#profile) #main {
    background: transparent;
}

body:has(#profile) #main > .container,
body:has(#profile) #profile > .container,
body:has(#profile) #like > .container {
    width: min(1240px, calc(100% - 48px));
    max-width: 1240px;
}

body:has(#profile) .navig {
    top: 0;
    height: auto;
    min-height: 64px;
    padding: 12px 0;
    background: rgba(8, 8, 11, 0.9);
    border-bottom: 1px solid var(--profile-line);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
}

body:has(#profile) .navigationQ {
    gap: 12px;
    align-items: center;
}

body:has(#profile) .navig .prev,
body:has(#profile) .navig .next,
body:has(#profile) .navig .favorite {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 116px;
    height: 40px;
    padding: 0 14px;
    margin: 0;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 750;
    line-height: 1;
    color: #e9e6ec;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--profile-line-strong);
    border-radius: 11px;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

body:has(#profile) .navig .prev:hover,
body:has(#profile) .navig .next:hover,
body:has(#profile) .navig .favorite:hover {
    color: #fff;
    background: rgba(255, 47, 146, 0.1);
    border-color: rgba(255, 47, 146, 0.5);
    transform: translateY(-1px);
}

body:has(#profile) .navig .favorite {
    position: static;
}

body:has(#profile) .navig .prev svg,
body:has(#profile) .navig .next svg,
body:has(#profile) .navig .favorite svg {
    fill: currentColor;
}

#profile {
    padding: 26px 0 34px;
}

#profile > .container > .row.profile_block:not(.visible-xs):not(.visible-sm) {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(310px, 0.78fr);
    gap: 24px;
    align-items: start;
    padding: 0;
    margin: 0;
}

#profile > .container > .row.profile_block:not(.visible-xs):not(.visible-sm) > #gallery_mobile,
#profile > .container > .row.profile_block:not(.visible-xs):not(.visible-sm) > .col-md-4 {
    float: none;
    width: 100%;
    min-width: 0;
    padding: 0;
}

#profile #super-slider {
    padding: 10px;
    margin: 0 0 18px;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 44%),
        var(--profile-panel);
    border: 1px solid var(--profile-line);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

#profile #super-slider .super-slider-wrapper {
    min-height: 430px;
    overflow: hidden;
    background: #0b0b0f;
    border-radius: 13px;
}

#profile #super-slider .super-slider-slide,
#profile #super-slider .super-slider-slide-content {
    min-height: 430px;
}

#profile #super-slider .super-slider-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0b0b0f;
}

#profile #super-slider .super-slider-slide-content-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 430px;
    max-height: 680px;
    object-fit: contain;
    background: #0b0b0f;
}

#profile #super-slider .super-slider-navigation {
    width: 42px;
    height: 42px;
    margin-top: -21px;
    color: #fff;
    background: rgba(11, 11, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.17);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(10px);
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

#profile #super-slider .super-slider-navigation:hover {
    background: rgba(255, 47, 146, 0.88);
    border-color: rgba(255, 255, 255, 0.28);
    transform: scale(1.04);
}

#profile #super-slider .super-slider-navigation svg,
#profile #super-slider .super-slider-navigation svg path {
    fill: currentColor;
}

#profile #super-slider .was-online {
    bottom: 18px;
    left: 18px;
    min-height: 34px;
    padding: 5px 11px;
    color: #f1eef3;
    background: rgba(11, 11, 15, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(10px);
}

#profile .profile_block .descs {
    padding: 22px 24px;
    margin: 0 0 18px;
    color: var(--profile-text);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.02), transparent 48%),
        var(--profile-panel);
    border: 1px solid var(--profile-line);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

#profile .profile_block .descs .name {
    padding: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--profile-text);
}

#profile .profile_block .descs .date {
    padding-top: 2px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--profile-muted);
}

#profile .profile_block .descs .text {
    padding-top: 14px;
    clear: both;
    font-size: 14px;
    line-height: 1.7;
    color: #d0ccd4;
    overflow-wrap: anywhere;
}

#profile .profile_info {
    padding: 22px;
    color: var(--profile-text);
    background:
        linear-gradient(150deg, rgba(255, 255, 255, 0.025), transparent 45%),
        var(--profile-panel);
    border: 1px solid var(--profile-line);
    border-radius: 18px;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

#profile .profile_info .photo_info,
#profile .profile_info .photo_info_no {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.055em;
    color: #dff8e3;
    text-transform: uppercase;
    background: rgba(75, 190, 100, 0.14);
    border: 1px solid rgba(75, 190, 100, 0.3);
    border-radius: 999px;
}

#profile .profile_info .photo_info_no {
    color: #d6d2da;
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--profile-line);
}

#profile .profile_info .photo_info svg,
#profile .profile_info .photo_info_no svg,
#profile .profile_info .photo_info svg path,
#profile .profile_info .photo_info_no svg path {
    width: 14px;
    height: 14px;
    margin: 0;
    fill: currentColor;
}

#profile .profile_info > .name,
#profile .profile_info .name {
    padding: 13px 0 9px;
    font-family: inherit;
    font-size: clamp(29px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--profile-text);
    overflow-wrap: anywhere;
}

#profile .profile_info .location {
    padding: 0 0 16px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    color: var(--profile-muted);
    border-bottom: 1px solid var(--profile-line);
}

#profile .profile_info .location a {
    color: #ddd9e1;
    text-decoration: none;
}

#profile .profile_info .location a:hover {
    color: var(--profile-pink-soft);
}

#profile .profile_info .location a svg,
#profile .profile_info .location a svg path {
    color: var(--profile-pink);
    fill: currentColor;
}

#profile .profile_info .location #show_map,
#profile #googlemp {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    margin: 9px 0 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 750;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 47, 146, 0.14);
    border: 1px solid rgba(255, 47, 146, 0.34);
    border-radius: 9px;
}

#profile .profile_info .phone {
    padding: 17px 0;
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    color: var(--profile-text);
    border-bottom: 1px solid var(--profile-line);
}

#profile .profile_info .phone-row {
    gap: 9px;
    min-width: 0;
}

#profile .profile_info .phone-row > a:first-of-type {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    text-overflow: ellipsis;
}

#profile .profile_info .phone svg {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    fill: var(--profile-pink);
}

#profile .profile_info #qraction {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    padding: 0;
    margin-left: auto;
    color: var(--profile-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--profile-line);
    border-radius: 8px;
}

#profile .profile_info #qr_image {
    top: 39px;
    right: 0;
    left: auto;
    padding: 12px;
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.56);
}

#profile .profile_info .sms {
    padding-top: 15px;
    font-size: 13px;
    line-height: 1.6;
    color: #d3cfd7;
}

#profile .profile_info .sms span {
    margin-bottom: 3px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.055em;
    color: var(--profile-muted);
    text-transform: uppercase;
}

#profile .profile_info hr {
    margin: 19px 0;
    border-color: var(--profile-line);
}

#profile .profile_info .row {
    margin-right: -6px;
    margin-left: -6px;
}

#profile .profile_info .row > [class*="col-"] {
    float: none;
    width: 100%;
    padding-right: 6px;
    padding-left: 6px;
}

#profile .profile_info .call,
#profile .profile_info .services {
    padding: 14px;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--profile-line);
    border-radius: 12px;
}

#profile .profile_info .call .head,
#profile .profile_info .services .head {
    padding: 0 0 9px;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--profile-muted);
    text-transform: uppercase;
}

#profile .profile_info .call .desc,
#profile .profile_info .services .desc {
    min-height: 30px;
    padding: 7px 0;
    font-size: 13px;
    line-height: 1.35;
    color: #d9d5dd;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

#profile .profile_info .call .desc span,
#profile .profile_info .services .desc span {
    width: auto;
    min-width: 88px;
    font-weight: 750;
    color: #fff;
    text-align: right;
}

#profile .profile_info .people_info {
    padding-top: 4px;
}

#profile .profile_info .people_info .desc {
    max-width: none;
}

#profile .profile_info .people_info table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

#profile .profile_info .people_info table tr.desc td {
    padding: 9px 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--profile-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

#profile .profile_info .people_info table tr.desc td:last-child {
    text-align: right;
}

#profile .profile_info .people_info table tr.desc td span {
    width: auto;
    padding: 0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #ece9ef;
}

#profile .profile_info .people_info table tr.desc td[colspan="2"] {
    color: var(--profile-pink-soft);
    text-align: left;
}

#profile .likes_dislikes {
    position: static;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    margin: 0 0 18px;
}

#profile .likes_dislikes.hidden-sm.hidden-xs {
    padding-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
}

#profile .likes_dislikes > div {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    min-height: 38px;
    padding: 0 11px;
    color: var(--profile-muted);
    background: var(--profile-panel);
    border: 1px solid var(--profile-line);
    border-radius: 10px;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease;
}

#profile .likes_dislikes > div:hover,
#profile .likes_dislikes > div.selected {
    color: #fff;
    background: rgba(255, 47, 146, 0.1);
    border-color: rgba(255, 47, 146, 0.4);
}

#profile .likes_dislikes > div span {
    width: 24px;
    height: 24px;
    margin: 0;
    background-size: 48px 48px;
}

#profile .likes_dislikes > div:first-child span {
    background-position: 0 0;
}

#profile .likes_dislikes > div:last-child span {
    margin: 0;
    background-position: -24px 0;
}

#profile .likes_dislikes > div svg {
    width: 24px;
    height: 24px;
}

#profile .likes_dislikes > div svg path {
    fill: currentColor;
}

#profile .comments_elements {
    align-items: center;
    min-height: 48px;
    padding: 0 17px;
    margin: 0 0 8px !important;
    color: var(--profile-text);
    background: var(--profile-panel);
    border: 1px solid var(--profile-line);
    border-radius: 12px;
}

#profile .head_comments,
#profile .head_questions {
    font-size: 14px;
    font-weight: 800;
    color: var(--profile-text);
}

#profile .head_comments span,
#profile .head_questions span {
    color: var(--profile-pink-soft);
}

#profile .comments-container,
#profile .question-container {
    padding: 0;
    margin: 0 0 18px;
    color: #d2ced6;
}

#profile .comments-container input,
#profile .comments-container textarea,
#profile .question-container input,
#profile .question-container textarea {
    color: var(--profile-text);
    background: var(--profile-control);
    border: 1px solid var(--profile-line-strong);
    border-radius: 10px;
    outline: none;
}

#profile .comments-container input:focus,
#profile .comments-container textarea:focus,
#profile .question-container input:focus,
#profile .question-container textarea:focus {
    border-color: rgba(255, 47, 146, 0.66);
    box-shadow: 0 0 0 3px rgba(255, 47, 146, 0.1);
}

#profile .profile_block.visible-xs.visible-sm {
    padding: 0;
    margin: 18px 0 0;
}

#profile .profile_block.visible-xs.visible-sm .descs {
    margin: 0;
}

#profile .profile_block.visible-xs.visible-sm .tab-pane.profile_info {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#profile .nav.nav-tabs {
    display: flex;
    gap: 7px;
    padding: 0;
    margin: 0 0 15px;
    border: 0;
}

#profile .nav.nav-tabs > li {
    float: none;
    margin: 0 !important;
}

#profile .nav.nav-tabs > li > a {
    min-height: 36px;
    padding: 0 12px;
    margin: 0;
    font-size: 11px;
    font-weight: 750;
    line-height: 1;
    color: var(--profile-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--profile-line);
    border-radius: 9px;
}

#profile .nav.nav-tabs > li.active > a,
#profile .nav.nav-tabs > li > a:hover {
    color: #fff;
    background: rgba(255, 47, 146, 0.13);
    border-color: rgba(255, 47, 146, 0.4);
}

#profile .nav.nav-tabs svg,
#profile .nav.nav-tabs svg path,
#profile .nav.nav-tabs svg rect {
    fill: currentColor;
    stroke: currentColor;
}

#profile .breadCrumbs {
    padding: 13px 15px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--profile-muted) !important;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--profile-line);
    border-radius: 11px;
}

#profile .breadCrumbs a {
    color: #d9d5dd;
    text-decoration: none;
}

#profile .breadCrumbs a:hover {
    color: var(--profile-pink-soft);
}

#profile .report-but {
    padding-top: 11px !important;
}

#profile .report_user {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 13px;
    font-size: 11px;
    font-weight: 750;
    color: #c6c1ca;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--profile-line);
    border-radius: 9px;
}

#profile .report_user:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--profile-line-strong);
}

body:has(#profile) #stories-title {
    margin: 24px 0 12px;
    font-size: 20px;
    font-weight: 800;
    color: var(--profile-text);
}

body:has(#profile) #like {
    padding-bottom: 52px;
}

body:has(#profile) #like h2,
body:has(#profile) #like h3 {
    color: var(--profile-text);
}

@media (max-width: 991px) {
    body:has(#profile) #main > .container,
    body:has(#profile) #profile > .container,
    body:has(#profile) #like > .container {
        width: min(100% - 28px, 760px);
    }

    #profile {
        padding-top: 18px;
    }

    #profile > .container > .row.profile_block:not(.visible-xs):not(.visible-sm) {
        display: block;
    }

    #profile > .container > .row.profile_block:not(.visible-xs):not(.visible-sm) > .col-md-4 {
        margin-top: 14px;
    }

    #profile .profile_info {
        padding: 18px;
        border-radius: 15px;
    }

    #profile .profile_info > .name,
    #profile .profile_info .name {
        font-size: clamp(27px, 7vw, 38px);
    }

    #profile #super-slider .super-slider-wrapper,
    #profile #super-slider .super-slider-slide,
    #profile #super-slider .super-slider-slide-content,
    #profile #super-slider .super-slider-slide-content-image {
        min-height: 360px;
    }

    #profile #super-slider .super-slider-slide-content-image {
        max-height: 620px;
    }
}

@media (max-width: 767px) {
    body:has(#profile) #main > .container,
    body:has(#profile) #profile > .container,
    body:has(#profile) #like > .container {
        width: calc(100% - 20px);
    }

    body:has(#profile) .navig {
        min-height: 56px;
        padding: 8px 0;
    }

    body:has(#profile) .navigationQ {
        gap: 7px;
    }

    body:has(#profile) .navig .prev,
    body:has(#profile) .navig .next,
    body:has(#profile) .navig .favorite {
        min-width: 0;
        height: 38px;
        padding: 0 10px;
        font-size: 10px;
        border-radius: 9px;
    }

    #profile {
        padding: 12px 0 26px;
    }

    #profile #gallery_mobile {
        padding: 0;
    }

    #profile #super-slider {
        padding: 6px;
        margin-bottom: 12px;
        border-radius: 14px;
    }

    #profile #super-slider .super-slider-wrapper {
        border-radius: 10px;
    }

    #profile #super-slider .super-slider-wrapper,
    #profile #super-slider .super-slider-slide,
    #profile #super-slider .super-slider-slide-content,
    #profile #super-slider .super-slider-slide-content-image {
        min-height: 310px;
    }

    #profile #super-slider .super-slider-slide-content-image {
        max-height: 72vh;
    }

    #profile #super-slider .was-online {
        right: 12px;
        bottom: 12px;
        left: auto;
        min-height: 30px;
        font-size: 11px;
    }

    #profile .profile_info {
        padding: 16px;
    }

    #profile .profile_info .phone-row > a:first-of-type {
        font-size: 18px;
    }

    #profile .profile_block .descs {
        padding: 17px;
        border-radius: 14px;
    }

    #profile .profile_block .descs .date {
        float: none;
        padding-top: 5px;
    }

    #profile .profile_block .descs .text {
        padding-top: 11px;
        font-size: 13px;
        line-height: 1.65;
    }

    #profile .profile_block.visible-xs.visible-sm {
        margin-top: 12px;
    }

    #profile .profile_block.visible-xs.visible-sm .likes_dislikes {
        position: static;
        margin-top: 13px;
    }

    #profile .comments_elements {
        min-height: 44px;
        padding: 0 13px;
    }

    #profile .breadCrumbs {
        padding: 11px 12px;
    }
}

@media (max-width: 390px) {
    body:has(#profile) .navig .prev,
    body:has(#profile) .navig .next,
    body:has(#profile) .navig .favorite {
        padding: 0 8px;
        font-size: 9px;
    }

    #profile #super-slider .super-slider-wrapper,
    #profile #super-slider .super-slider-slide,
    #profile #super-slider .super-slider-slide-content,
    #profile #super-slider .super-slider-slide-content-image {
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#profile) .navig .prev,
    body:has(#profile) .navig .next,
    body:has(#profile) .navig .favorite,
    #profile #super-slider .super-slider-navigation,
    #profile .likes_dislikes > div {
        transition: none;
    }
}
