/* @include transition(all,2s,ease-out); */
:root{
    --cu-gray: #e7e7e7;
}
html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
}

a,
button {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

input:focus,
button:focus,
a:focus {
    outline-width: 0;
    outline-style: solid;
    outline-color: transparent;
}

button:focus,
a:focus {
    outline: none;
}

img {
    max-width: 100%;
}

.animate-pulse-hover:hover {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

.px-35 {
    padding-left: 2.188rem;
    padding-right: 2.188rem;
}

/*your custom css goes here*/
.home-slider-area h1 {
    font-size: 1.25rem;
}
@media (min-width: 768px) {
    .home-slider-area h1 {
        font-size: 2.5rem;
    }
}

.brich::after {
    position: absolute;
    content: ' ';
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: 2;
}

.new-member .slick-slide figure,
.premium-members .slick-slide figure {
    position: relative;
}
.new-member .slick-slide figure::before,
.premium-members .slick-slide figure::before {
    content: ' ';
    width: 100%;
    padding-top: 100%;
    display: block;
}
.new-member .slick-slide figure img,
.premium-members .slick-slide figure img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}
.new-member .slick-slide img,
.premium-members .slick-slide img {
    object-fit: contain !important;
}
.new-member .slick-slide .absolute-full,
.premium-members .slick-slide .absolute-full {
    bottom: auto;
    height: calc(100% - 70px);
}
.new-member .slick-slide .absolute-bottom-left,
.premium-members .slick-slide .absolute-bottom-left {
    position: absolute;
    position: relative;
    bottom: 0;
    left: 0;
}

.loader-box {
    display: flex;
    justify-items: center;
    align-items: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.top-navbar .badge.badge-dot.badge-status {
    height: 8px;
    width: 8px;
        top: -7px;
    position: relative;
}

.top-navbar .badge.badge-dot.badge-status:empty {
    display: initial;
}

.img-fit-contain {
    object-fit: contain;
    object-position: center;
    max-height: 100%;
    margin: 0 auto;
}

.slick-dots {
    display: none !important;
}

#rerout-modal {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    color: white;
}

#rerout-modal > div {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    color: white;
}

.aiz-selectpicker.small + .btn {
    padding: 0.25rem 1.2rem !important;
}

.bootstrap-select.small .btn {
    padding: 0.25rem 1.2rem !important;
}

.badge-dot {
    padding: 0 !important;
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

.media-body {
    -ms-flex: 1;
    flex: 1;
}

.avatar-background-blur {
    position: absolute;
    inset: -15px;
    margin: 0;
}

.avatar-background-blur img {
    object-fit: cover;
    object-position: center;
    filter: blur(15px);
    width: 100%;
    height: 100%;
    max-width: 272px !important;
}

.avatar-background-blur + img {
    z-index: 1;
    position: relative;
    max-width: 272px !important;
    width: 100%;
}

.aiz-notify .close {
    top: 50% !important;
    height: 20px;
    width: 20px;
    margin-top: -10px;
    font-size: 20px;
    line-height: 20px;
    color: var(--white);
    opacity: 0.7;
    right: 15px !important;
    text-shadow: none;
    border: 0;
    border-radius: 50%;
}
.aiz-notify .close:before {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: -1;
    opacity: 0;
}
.aiz-notify .close:hover {
    color: var(--dark);
    opacity: 1;
}
.aiz-notify .close:hover:before {
    opacity: 1;
    background-color: #fff;
    width: 170%;
    height: 170%;
    top: -35%;
    left: -35%;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.aiz-notify button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
}

#basic-eye {
    cursor: pointer;
}

section.home-slider-area {
    margin-top: 88px;
}
@media (min-width: 768px) {
    section.home-slider-area {
        margin-top: 104px;
    }
}

.img-fit-cover {
    max-height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.member-section {
    padding-top: 88px !important;
}
@media (min-width: 768px) {
    .member-section {
        padding-top: 104px !important;
    }
}

.member-panel {
    padding-top: 16px;
}
@media (min-width: 768px) {
    .member-panel {
        padding-top: 76px;
    }
}

.max-h-100 {
    max-height: 100px;
}
table {
    font-size: 13px;
}
.size-180px,
.w-180px {
    width: 180px;
}
.h-180px,
.size-180px {
    height: 180px;
}
.size-30px,
.w-30px {
    width: 30px;
}
.h-30px,
.size-30px {
    height: 30px;
}
.h-250px,
.size-250px {
    height: 250px;
}
.size-250px,
.w-250px {
    width: 250px;
}
.size-100px,
.w-100px {
    width: 100px;
}
.h-100px,
.size-100px {
    height: 100px;
}

.size-80px,
.w-80px {
    width: 80px;
}
.h-80px,
.size-80px {
    height: 80px;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.aiz-pagination {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}
ul.social a {
    display: flex;
    border-radius: 50%;
    line-height: 1;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.min-w-30px {
    min-width: 30px;
}
.btn-block{
    display: block !important;
}
.max-h-400 {
    max-height: 400px;
}
.object-fit-contain{
    object-fit: contain !important;
}

.aiz-file-box .select-box {
    position: absolute;
    top: 0px;
    left: 9px;
    z-index: 1;
}
.notify-badge{
    width: 6px;
    height: 6px;
    color: var(--primary);
    display: block !important;
}
.img-obj-45{
    background-color: var(--cu-gray);
    object-fit: contain;
    width: 45px;
    height: 45px;
    object-position: center;
    border-radius: 4px;
}

.bg-grad-1 { background-color: #eb4786; background-image: linear-gradient(315deg, #eb4786 0%, #b854a6 74%); }
.bg-grad-2 { background-color: #875fc0; background-image: linear-gradient(315deg, #875fc0 0%, #5346ba 74%); }
.bg-grad-3 { background-color: #47c5f4; background-image: linear-gradient(315deg, #47c5f4 0%, #6791d9 74%); }
.bg-grad-4 { background-color: #ffb72c; background-image: linear-gradient(315deg, #ffb72c 0%, #f57f59 74%); }
.bg-grad-5 { background-color: #ffb72c; background-image: linear-gradient(315deg, #8230bd 0%, #3c0961 74%); }   
.unseen-hover{
    background-color: var(--soft-primary) !important;
}
.story-carousel-box {
    max-height: 350px;
    overflow: hidden;
    
}
.story-carousel-box img{
    max-height: 350px;
        height: 100%;
        width: 100%;
        object-fit: contain;
        object-position: center;
    }
    .right-1 {
        right: 0.25rem;
    }
    .right-2 {
        right: 0.5rem;
    }
    .right-3 {
        right: 0.75rem;
    }
    .right-4 {
        right: 1rem;
    }
    .right-5 {
        right: 1.25rem;
    }

    .top-1 {
        top: 0.25rem;
    }
    .top-2 {
        top: 0.5rem;
    }
    .top-3 {
        top: 0.75rem;
    }
    .top-4 {
        top: 1rem;
    }
    .top-5 {
        top: 1.25rem;
    }

/* ==========================================================================
   Admin panel styles (moved out of inline <style> blocks)
   ========================================================================== */

/* ---- Admin: dashboard (db-*) ---- */
.db-card { background: #fff; border: 1px solid #efe4f6; border-radius: 16px; height: 100%; }
.db-card-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; }
.db-card-title { font-size: 15px; font-weight: 700; color: #24242d; margin: 0; }
.db-card-sub { font-size: 12px; color: #737a80; }
.db-card-body { padding: 16px 20px 20px; }
.db-kpi { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.db-kpi-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.db-kpi-label { font-size: 12.5px; color: #737a80; }
.db-kpi-value { font-size: 24px; font-weight: 800; color: #24242d; line-height: 1.2; }
.db-kpi-foot { font-size: 12px; color: #737a80; margin-top: 4px; }
.db-up { color: #0ca30c; font-weight: 700; }
.db-down { color: #d03b3b; font-weight: 700; }
.db-flat { color: #737a80; font-weight: 700; }
.db-attn { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: #24242d; transition: background .15s; }
.db-attn:hover { background: #fbf5fd; color: #24242d; }
.db-attn-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.db-attn-label { flex: 1; font-size: 13.5px; }
.db-attn-count { font-weight: 800; font-size: 15px; min-width: 28px; text-align: right; }
.db-attn.is-zero { opacity: .55; }
.db-split { height: 10px; border-radius: 6px; background: #f1f2f4; overflow: hidden; display: flex; gap: 2px; }
.db-split span { display: block; height: 100%; }
.db-legend-dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: middle; }
.db-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f3f4f6; }
.db-row:last-child { border-bottom: 0; }
.db-row img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #f3e8f9; flex-shrink: 0; }
.db-row-main { flex: 1; min-width: 0; }
.db-row-title { font-weight: 600; color: #24242d; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-row-sub { font-size: 12px; color: #9aa0a6; }
.db-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.db-pill-paid { background: #e8f7ef; color: #1fa463; }
.db-pill-pending { background: #fff4e0; color: #e08a00; }
.db-pill-rejected { background: #fdecec; color: #d94d4b; }
.db-link { font-size: 12.5px; font-weight: 600; color: #9c27b0; }
.db-story { border-radius: 12px; overflow: hidden; border: 1px solid #f1f2f4; display: block; color: inherit; }
.db-story img { width: 100%; height: 120px; object-fit: cover; }
.db-story-body { padding: 10px 12px; }
.db-mini { background: #fafbfc; border-radius: 12px; padding: 12px; text-align: center; }
.db-mini-value { font-size: 20px; font-weight: 800; color: #24242d; }
.db-mini-label { font-size: 11.5px; color: #737a80; }

/* ---- Admin: package payments + review modal (pp-*) ---- */
.pp-stat { border: 1px solid #efe4f6; border-radius: 16px; padding: 18px 20px; background: #fff; display: flex; align-items: center; gap: 14px; height: 100%; color: inherit; transition: box-shadow .15s, border-color .15s; }
a.pp-stat:hover { border-color: #d9b3e6; box-shadow: 0 6px 20px rgba(156, 39, 176, .08); color: inherit; }
.pp-stat-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.pp-stat-value { font-size: 21px; font-weight: 700; line-height: 1.15; color: #24242d; }
.pp-stat-label { font-size: 12px; color: #737a80; }
.pp-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.pp-tab { padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; color: #3e434d; background: #f5f6f7; border: 1px solid transparent; }
.pp-tab:hover { color: #9c27b0; background: #fbf5fd; }
.pp-tab.active { background: #9c27b0; color: #fff; }
.pp-tab .count { font-size: 11px; opacity: .8; margin-left: 4px; }
.pp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #737a80; font-weight: 600; background: #fafbfc; border-bottom: 1px solid #eef0f3; white-space: nowrap; }
.pp-table td { vertical-align: middle; border-color: #f1f2f4; padding-top: 14px; padding-bottom: 14px; }
.pp-table tbody tr:hover { background: #fcf8fe; }
.pp-table tr.is-pending { background: #fffbf3; }
.pp-person { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.pp-person img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #f3e8f9; flex-shrink: 0; }
.pp-name { font-weight: 600; color: #24242d; line-height: 1.25; }
.pp-sub { font-size: 11.5px; color: #9aa0a6; }
.pp-method-tag { display: inline-block; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: 10px; margin-top: 3px; text-transform: uppercase; letter-spacing: .03em; }
.pp-tag-manual { background: #fff4e0; color: #b86e00; }
.pp-tag-online { background: #e8f1ff; color: #3b6fe0; }
.pp-tag-free { background: #f1f2f4; color: #737a80; }
.pp-amount-cell { font-weight: 700; color: #24242d; white-space: nowrap; }
.pp-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.pp-pill-paid { background: #e8f7ef; color: #1fa463; }
.pp-pill-pending { background: #fff4e0; color: #e08a00; }
.pp-pill-rejected { background: #fdecec; color: #d94d4b; }
.pp-date { white-space: nowrap; }
.pp-actions { white-space: nowrap; }
.pp-actions-inner { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.pp-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1; padding: 9px 16px; border-radius: 10px; border: 1px solid transparent; transition: all .15s; white-space: nowrap; }
.pp-btn i { font-size: 16px; }
.pp-btn-review { background: linear-gradient(135deg, #9c27b0, #7b1fa2); color: #fff; box-shadow: 0 4px 12px rgba(156, 39, 176, .28); }
.pp-btn-review:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(156, 39, 176, .38); }
.pp-btn-view { background: #fff; color: #9c27b0; border-color: #e4cdee; }
.pp-btn-view:hover { background: #fbf5fd; color: #7b1fa2; border-color: #d9b3e6; }
.pp-btn-accept { background: #1fa463; color: #fff; }
.pp-btn-accept:hover { background: #178a52; color: #fff; }
.pp-btn-reject { background: #fff; color: #d94d4b; border-color: #f5c2c1; }
.pp-btn-reject:hover { background: #fdecec; color: #b83b39; }
.pp-icon-btn { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; background: #f5f6f7; color: #737a80; border: 1px solid #eef0f3; transition: all .15s; }
.pp-icon-btn:hover { background: #f6ebfa; color: #9c27b0; border-color: #e4cdee; }
.pp-new-dot { width: 8px; height: 8px; border-radius: 50%; background: #e08a00; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 3px rgba(224, 138, 0, .18); }
.pp-empty { padding: 60px 20px; text-align: center; color: #9aa0a6; }
.pp-empty i { font-size: 56px; color: #d9b3e6; }

/* review modal */
.pp-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(135deg, #fbf5fd, #f5eefa); margin-bottom: 12px; }
.pp-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.pp-amount { font-size: 22px; font-weight: 800; color: #9c27b0; line-height: 1.1; }
.pp-proof { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid #eef0f3; background: #f5f6f7; height: 220px; }
.pp-proof img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.pp-proof:hover img { transform: scale(1.03); }
.pp-proof-zoom { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; }
.pp-proof-file { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #9c27b0; }
.pp-proof-file i { font-size: 44px; }
.pp-detail { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eef0f3; font-size: 13px; }
.pp-detail span { color: #737a80; flex-shrink: 0; }
.pp-detail strong { color: #24242d; text-align: right; }
.pp-detail-note { flex-direction: column; border-bottom: 0; }
.pp-detail-note p { background: #f8f9fa; border-radius: 8px; padding: 8px 10px; color: #3e434d; }
.pp-hint { font-size: 12px; color: #6b5b00; background: #fff8e1; border-radius: 10px; padding: 8px 12px; }
.pp-confirm { border-radius: 12px; padding: 12px 14px; }
.pp-confirm-accept { background: #e8f7ef; border: 1px solid #bfe9d2; color: #157a48; }
.pp-confirm-reject { background: #fdecec; border: 1px solid #f5c2c1; color: #a8322f; }

/* lightbox */
.pp-lightbox { position: fixed; inset: 0; background: rgba(10, 10, 15, .88); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.pp-lightbox.show { display: flex; }
.pp-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 10px 40px rgba(0,0,0,.5); cursor: default; }
.pp-lightbox-actions { position: absolute; top: 18px; right: 22px; display: flex; gap: 10px; }
.pp-lightbox-actions a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pp-lightbox-actions a:hover { background: rgba(255,255,255,.3); color: #fff; }

/* ---- Admin: profile reports (rp-*) ---- */
.rp-stat { border: 1px solid #efe4f6; border-radius: 16px; padding: 18px 20px; background: #fff; display: flex; align-items: center; gap: 14px; height: 100%; }
.rp-stat-icon { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.rp-stat-value { font-size: 22px; font-weight: 700; line-height: 1.1; color: #24242d; }
.rp-stat-label { font-size: 12px; color: #737a80; }
.rp-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #737a80; font-weight: 600; border-bottom: 1px solid #eef0f3; background: #fafbfc; white-space: nowrap; }
.rp-table td { vertical-align: top; padding-top: 16px; padding-bottom: 16px; border-color: #f1f2f4; }
.rp-table tbody tr:hover { background: #fcf8fe; }
.rp-person { display: flex; align-items: center; gap: 10px; min-width: 170px; }
.rp-person img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #f3e8f9; }
.rp-name { font-weight: 600; color: #24242d; line-height: 1.25; }
.rp-name:hover { color: #9c27b0; }
.rp-code { font-size: 11.5px; color: #9aa0a6; }
.rp-chip { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-top: 4px; margin-right: 4px; }
.rp-chip-warn { background: #fff4e0; color: #b86e00; }
.rp-chip-danger { background: #fdecec; color: #d94d4b; }
.rp-reason { background: #fbf7fd; border-left: 3px solid #d9b3e6; border-radius: 8px; padding: 10px 12px; color: #3e434d; font-size: 13px; line-height: 1.5; max-width: 520px; }
.rp-reason.is-clamped .rp-reason-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rp-more { font-size: 12px; font-weight: 600; color: #9c27b0; cursor: pointer; display: inline-block; margin-top: 4px; }
.rp-date { white-space: nowrap; }
.rp-date-main { font-weight: 600; color: #24242d; }
.rp-date-sub { font-size: 12px; color: #9aa0a6; }
.rp-new { font-size: 10px; font-weight: 700; background: #9c27b0; color: #fff; border-radius: 20px; padding: 1px 7px; margin-left: 4px; vertical-align: middle; }
.rp-actions { white-space: nowrap; }
.rp-empty { padding: 60px 20px; text-align: center; color: #9aa0a6; }
.rp-empty i { font-size: 56px; color: #d9b3e6; }

/* ---- Admin: member edit - astro city suggestions ---- */
#city_suggestions { z-index: 9999; display: none; max-height: 220px; overflow-y: auto; top: 100%; left: 0; }
#city_suggestions .list-group-item { cursor:pointer; font-size:0.875rem; padding:0.5rem 0.75rem; border-left:0;border-right:0; }
#city_suggestions .list-group-item:hover, #city_suggestions .list-group-item.active { background:#f3e8ff; color:#5a1e9e; }
#city_suggestions .list-group-item .text-muted { font-size:0.78rem; }

/* ---- Admin: notifications pages (scoped to .admin-notify-page) ---- */
.admin-notify-page .bg-light-danger {
    background-color: #f8d7da !important;
}
.admin-notify-page .border-danger {
    border-color: #dc3545 !important;
    border-width: 2px !important;
}
.admin-notify-page .alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}
.admin-notify-page .reported-member-notification {
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.3);
    border-left: 5px solid #dc3545;
}
.admin-notify-page .reported-member-badge {
    background: linear-gradient(45deg, #dc3545, #ff6b6b);
    animation: pulse-danger 2s infinite;
}
@keyframes pulse-danger {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}
.admin-notify-page .alert-heading {
    color: #721c24 !important;
    font-weight: bold;
}
.admin-notify-page .notif-card-icon { font-size: 2rem; }
.admin-notify-page .notif-verify-card { background: #effaf4; border: 1px solid #bfe9d2; }
.admin-notify-page .notif-verify-icon { font-size: 2rem; color: #1fa463; }
.admin-notify-page .notif-verify-title { color: #157a48; }

/* ---- Admin: layout + header bell (scoped to body.admin-panel) ---- */
.admin-panel .border-left-danger {
    border-left: 4px solid #dc3545 !important;
    background: linear-gradient(90deg, rgba(220, 53, 69, 0.1) 0%, transparent 100%);
}
.admin-panel .animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}
.admin-panel .animate__pulse {
    animation-name: admin-animate-pulse;
}
@keyframes admin-animate-pulse {
    from { transform: scale3d(1, 1, 1); }
    50% { transform: scale3d(1.05, 1.05, 1.05); }
    to { transform: scale3d(1, 1, 1); }
}
.admin-panel .animate__infinite {
    animation-iteration-count: infinite;
}
/* verification requests in the header bell */
.admin-panel .notif-verify-item { border-left: 3px solid #1fa463; }
.admin-panel .notif-verify-icon-sm { color: #1fa463; }
.admin-panel .notif-verify-badge { background: #1fa463; color: #fff; }
.admin-panel .admin-bell-list { max-height: 300px; }

/* ---- Admin: shared utilities (replace inline styles) ---- */
/* soft icon tiles: tinted background + matching icon colour */
.ui-tone-purple { background: #f6ebfa; color: #9c27b0; }
.ui-tone-amber  { background: #fff4e0; color: #e08a00; }
.ui-tone-green  { background: #e8f7ef; color: #1fa463; }
.ui-tone-blue   { background: #e8f1ff; color: #3b6fe0; }
.ui-tone-red    { background: #fdecec; color: #d94d4b; }
.ui-tone-pink   { background: #fce4ef; color: #c2185b; }
.ui-text-purple { color: #9c27b0; }
.ui-text-amber  { color: #e08a00; }
.ui-text-green  { color: #1fa463; }
.ui-text-blue   { color: #3b6fe0; }
.ui-text-red    { color: #d94d4b; }
.ui-text-pink   { color: #c2185b; }

/* validated chart series colours (categorical slots 1 and 2) */
.ui-series-1 { background: #2a78d6; }
.ui-series-2 { background: #eb6834; }

.ui-card-round { border-radius: 16px; }
.db-chart-lg { height: 300px; }
.db-chart-md { height: 240px; }
.pp-stat-alert { border-color: #ffd99a; }
.pp-hint-danger { background: #fdecec; color: #a8322f; }

/* ---- Astronomic information: Kundali Milan note (member + admin) ---- */
.alert-soft-primary { background: #f6ebfa; color: #5a1e9e; border: 1px solid #ecd6f5; border-radius: 12px; }

/* =====================================================================
   Chat (member messages) - list-first on phones, two panes on desktop
   ===================================================================== */
.kc-chat {
    --kc-accent: #9c27b0;
    --kc-accent-dark: #6a1b9a;
    --kc-ink: #24242d;
    --kc-muted: #8a8698;
    --kc-line: #eee8f3;
    --kc-bg: #f7f2f9;
    --kc-read: #4fc3f7;
    display: flex;
    height: calc(100vh - 190px);
    min-height: 540px;
    background: #fff;
    border: 1px solid var(--kc-line);
    border-radius: 18px;
    overflow: hidden;
    color: var(--kc-ink);
}

/* ---- conversation list ---- */
.kc-inbox { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; border-right: 1px solid var(--kc-line); background: #fff; min-width: 0; }
.kc-inbox-head { padding: 18px 18px 12px; }
.kc-inbox-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; margin: 0 0 12px; color: var(--kc-ink); }
.kc-inbox-count { font-size: 12px; font-weight: 700; color: #fff; background: var(--kc-accent); border-radius: 20px; padding: 2px 8px; }
.kc-inbox-count:empty, .kc-inbox-count[data-count="0"] { display: none; }
.kc-search { position: relative; display: block; width: 100%; }
.kc-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--kc-muted); font-size: 18px; }
.kc-search input { width: 100%; height: 42px; border: 1px solid transparent; background: var(--kc-bg); border-radius: 12px; padding: 0 14px 0 40px; font-size: 14px; outline: none; transition: border-color .15s, background .15s; }
.kc-search input:focus { border-color: #dcc4e8; background: #fff; }
.kc-thread-list { flex: 1; overflow-y: auto; padding: 4px 8px 12px; }
.kc-thread { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; color: inherit; text-decoration: none !important; transition: background .15s; }
.kc-thread:hover { background: #faf6fc; color: inherit; }
.kc-thread.is-active { background: #f3e5f8; }
.kc-thread-main { flex: 1; min-width: 0; }
.kc-thread-top, .kc-thread-bottom { display: flex; align-items: center; gap: 8px; }
.kc-thread-name { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-thread-time { flex-shrink: 0; font-size: 11.5px; color: var(--kc-muted); }
.kc-thread-bottom { margin-top: 3px; }
.kc-thread-preview { flex: 1; min-width: 0; font-size: 13px; color: var(--kc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-thread-preview.is-typing { color: var(--kc-accent); font-style: italic; }
.kc-thread-preview .kc-ticks { font-size: 14px; margin-right: 2px; vertical-align: -2px; }
.kc-badge { flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--kc-accent); color: #fff; font-size: 11px; font-weight: 700; display: none; align-items: center; justify-content: center; }
.kc-thread.is-unread .kc-badge { display: inline-flex; }
.kc-thread.is-unread .kc-thread-name { font-weight: 700; }
.kc-thread.is-unread .kc-thread-preview { color: var(--kc-ink); font-weight: 600; }
.kc-thread.is-unread .kc-thread-time { color: var(--kc-accent); font-weight: 600; }
.kc-list-empty { text-align: center; color: var(--kc-muted); padding: 48px 20px; }
.kc-list-empty i { font-size: 48px; color: #d7c2e2; display: block; margin-bottom: 10px; }
.kc-list-empty h6 { color: var(--kc-ink); font-weight: 700; margin-bottom: 4px; }

/* ---- avatar + online dot ---- */
.kc-avatar { position: relative; width: 50px; height: 50px; flex-shrink: 0; }
.kc-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--kc-bg); }
.kc-avatar.sm { width: 40px; height: 40px; }
.kc-dot { position: absolute; right: 1px; bottom: 1px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: #22c55e; display: none; }
.kc-dot.is-online { display: block; }

/* ---- right pane ---- */
.kc-pane { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--kc-bg); position: relative; }
.kc-placeholder { margin: auto; text-align: center; color: var(--kc-muted); padding: 24px; }
.kc-placeholder-icon { width: 84px; height: 84px; border-radius: 26px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--kc-accent); font-size: 40px; box-shadow: 0 8px 24px rgba(156, 39, 176, .12); }
.kc-placeholder h5 { color: var(--kc-ink); font-weight: 700; margin-bottom: 6px; }
.kc-pane-loading { margin: auto; }

/* ---- conversation ---- */
.kc-convo { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.kc-convo-head { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--kc-line); }
.kc-icon-btn { width: 40px; height: 40px; flex-shrink: 0; border: 0; background: transparent; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--kc-ink); font-size: 22px; cursor: pointer; transition: background .15s; }
.kc-icon-btn:hover, .kc-icon-btn:focus-visible { background: var(--kc-bg); outline: none; }
.kc-back { display: none; }
.kc-peer { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none !important; padding: 2px 4px; border-radius: 12px; }
.kc-peer:hover { color: inherit; }
.kc-peer-text { min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.kc-peer-name { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-peer-status { font-size: 12px; color: var(--kc-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-peer-status.is-online { color: #16a34a; }
.kc-peer-status.is-typing { color: var(--kc-accent); font-style: italic; }
.kc-menu { position: relative; }
.kc-menu-list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 200px; background: #fff; border-radius: 14px; box-shadow: 0 12px 32px rgba(36, 36, 45, .16); padding: 6px; z-index: 5; display: none; }
.kc-menu.is-open .kc-menu-list { display: block; }
.kc-menu-list a, .kc-menu-list button { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; color: var(--kc-ink); font-size: 14px; text-decoration: none; }
.kc-menu-list a:hover, .kc-menu-list button:hover { background: var(--kc-bg); }
.kc-menu-list i { font-size: 18px; color: var(--kc-muted); }
.kc-menu-list .is-danger, .kc-menu-list .is-danger i { color: #d32f2f; }

.kc-body { flex: 1; min-height: 0; position: relative; display: flex; }
.kc-messages { flex: 1; min-width: 0; overflow-y: auto; padding: 12px 16px 8px; overscroll-behavior: contain; }
.kc-older { text-align: center; font-size: 12px; color: var(--kc-muted); padding: 6px 0 10px; }
.kc-date { text-align: center; margin: 14px 0 8px; }
.kc-date span { display: inline-block; font-size: 11.5px; font-weight: 600; color: #6f6a7d; background: #ece4f1; padding: 4px 12px; border-radius: 20px; }
.kc-unread-divider { text-align: center; margin: 12px 0; font-size: 11.5px; font-weight: 700; color: var(--kc-accent); position: relative; }
.kc-unread-divider::before, .kc-unread-divider::after { content: ""; position: absolute; top: 50%; width: 28%; height: 1px; background: #e4cdee; }
.kc-unread-divider::before { left: 4%; }
.kc-unread-divider::after { right: 4%; }

.kc-row { display: flex; margin-top: 2px; }
.kc-row.is-mine { justify-content: flex-end; }
.kc-row.is-first { margin-top: 10px; }
.kc-bubble { max-width: min(78%, 520px); padding: 8px 12px 6px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; position: relative; }
.kc-row:not(.is-mine) .kc-bubble { background: #fff; border: 1px solid var(--kc-line); color: var(--kc-ink); }
.kc-row.is-mine .kc-bubble { background: linear-gradient(135deg, #a73bc0, var(--kc-accent-dark)); color: #fff; }
.kc-row:not(.is-mine).is-first .kc-bubble { border-top-left-radius: 6px; }
.kc-row.is-mine.is-first .kc-bubble { border-top-right-radius: 6px; }
.kc-text { white-space: pre-wrap; }
.kc-meta { display: flex; align-items: center; justify-content: flex-end; gap: 3px; font-size: 10.5px; margin-top: 2px; opacity: .75; white-space: nowrap; }
.kc-row.is-mine .kc-meta { opacity: .9; }
.kc-ticks { font-size: 15px; line-height: 1; }
.kc-ticks.is-read { color: var(--kc-read); }
.kc-thread-preview .kc-ticks.is-read { color: #0ea5e9; }
.kc-pending .kc-bubble { opacity: .75; }
.kc-failed .kc-bubble { background: #fdecec !important; color: #a8322f !important; border: 1px solid #f5c2c2; }
.kc-retry { border: 0; background: none; color: #d32f2f; font-size: 12px; font-weight: 700; padding: 2px 0 0; display: block; margin-left: auto; }

.kc-files { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.kc-img { display: block; border-radius: 12px; overflow: hidden; max-width: 260px; background: rgba(0, 0, 0, .06); }
.kc-img img { display: block; width: 100%; max-height: 300px; object-fit: cover; }
.kc-file { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: rgba(0, 0, 0, .05); color: inherit !important; text-decoration: none !important; min-width: 200px; }
.kc-row.is-mine .kc-file { background: rgba(255, 255, 255, .16); }
.kc-file-icon { width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--kc-accent); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.kc-file-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.kc-file-size { font-size: 11px; opacity: .75; }

.kc-typing-row { display: flex; margin-top: 10px; }
.kc-typing { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--kc-line); padding: 12px 14px; border-radius: 18px; border-top-left-radius: 6px; }
.kc-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b9a6c6; animation: kc-blink 1.2s infinite ease-in-out; }
.kc-typing i:nth-child(2) { animation-delay: .2s; }
.kc-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes kc-blink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.kc-jump { position: absolute; right: 16px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 4px 14px rgba(36, 36, 45, .18); color: var(--kc-ink); font-size: 22px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.kc-jump[hidden] { display: none; }
.kc-jump-count { position: absolute; top: -6px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--kc-accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.kc-jump-count:empty { display: none; }

/* profile details side panel (wide screens) */
.kc-info { width: 280px; flex-shrink: 0; background: #fff; border-left: 1px solid var(--kc-line); overflow-y: auto; padding: 24px 20px; display: none; text-align: center; }
.kc-convo.show-info .kc-info { display: block; }
.kc-info img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; }
.kc-info h5 { font-weight: 700; margin-bottom: 14px; }
.kc-info dl { text-align: left; font-size: 13px; margin: 0 0 16px; }
.kc-info dt { color: var(--kc-muted); font-weight: 500; font-size: 12px; }
.kc-info dd { margin-bottom: 10px; font-weight: 600; }

/* composer */
.kc-composer { background: #fff; border-top: 1px solid var(--kc-line); padding: 8px 10px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.kc-compose-row { display: flex; align-items: flex-end; gap: 6px; margin: 0; }
.kc-input-wrap { flex: 1; min-width: 0; background: var(--kc-bg); border-radius: 22px; display: flex; align-items: flex-end; border: 1px solid transparent; transition: border-color .15s, background .15s; }
.kc-input-wrap:focus-within { border-color: #dcc4e8; background: #fff; }
.kc-input { flex: 1; min-width: 0; border: 0; background: transparent; resize: none; outline: none; padding: 10px 6px 10px 14px; font-size: 15px; line-height: 1.4; max-height: 120px; color: var(--kc-ink); }
.kc-input-wrap .kc-icon-btn { width: 42px; height: 42px; color: var(--kc-muted); }
.kc-send { width: 44px; height: 44px; flex-shrink: 0; border: 0; border-radius: 50%; background: linear-gradient(135deg, #a73bc0, var(--kc-accent-dark)); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(156, 39, 176, .3); transition: transform .1s, opacity .15s; }
.kc-send:active { transform: scale(.94); }
.kc-send[disabled] { opacity: .45; box-shadow: none; }
.kc-attach-preview { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 4px 4px 8px; }
.kc-attach-preview[hidden] { display: none; }
.kc-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; background: var(--kc-bg); border-radius: 10px; padding: 6px 10px; font-size: 12.5px; }
.kc-chip img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; }
.kc-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kc-chip-clear { border: 0; background: none; color: #d32f2f; font-size: 12.5px; font-weight: 600; }
.kc-blocked-note { text-align: center; color: #d32f2f; font-size: 14px; font-weight: 500; padding: 10px; }
.kc-blocked-note[hidden] { display: none; }

/* ---- tablets & phones ---- */
@media (max-width: 991.98px) {
    body.kc-chat-page .aiz-footer { display: none; }
    body.kc-chat-page .member-panel { padding-bottom: 72px !important; }
    body.kc-chat-page .member-panel > .container { padding-left: 0; padding-right: 0; }
    .kc-chat { height: auto; min-height: calc(100vh - 150px); border: 0; border-radius: 0; }
    .kc-inbox { width: 100%; border-right: 0; }
    .kc-thread-list { overflow: visible; }
    .kc-pane { display: none; }

    /* an open conversation takes the whole screen, above the site header and bottom bar */
    body.kc-convo-open { overflow: hidden; }
    body.kc-convo-open .kc-pane {
        display: flex;
        position: fixed;
        inset: 0;
        height: 100vh;
        height: 100dvh;
        z-index: 1036; /* above header (1020-1035), below popups (backdrop 1039, modal 1040) */
    }
    body.kc-convo-open .aiz-mobile-bottom-nav { display: none !important; }
    .kc-back { display: inline-flex; }
    .kc-info { position: absolute; inset: 0; width: auto; border-left: 0; z-index: 3; }
    .kc-bubble { max-width: 84%; }
    .kc-messages { padding: 8px 10px; }
}

/* chat photo viewer: opens over the conversation (below site popups) */
body.kc-viewer-open { overflow: hidden; }
.kc-viewer { position: fixed; inset: 0; z-index: 1038; background: #0c0a12; display: flex; flex-direction: column; animation: kc-fade .15s ease-out; }
.kc-viewer[hidden] { display: none; }
@keyframes kc-fade { from { opacity: 0; } to { opacity: 1; } }
.kc-viewer-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; padding-top: calc(8px + env(safe-area-inset-top)); color: #fff; }
.kc-viewer-count { font-size: 14px; font-weight: 600; opacity: .85; }
.kc-viewer-btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #fff !important; font-size: 24px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none !important; }
.kc-viewer-btn:hover, .kc-viewer-btn:focus-visible { background: rgba(255, 255, 255, .12); outline: none; }
.kc-viewer-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; position: relative; padding: 8px 8px calc(16px + env(safe-area-inset-bottom)); touch-action: pan-y; }
.kc-viewer-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; user-select: none; -webkit-user-drag: none; }
.kc-viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; display: flex; align-items: center; justify-content: center; }
.kc-viewer-nav:hover { background: rgba(255, 255, 255, .24); }
.kc-viewer-nav.is-prev { left: 14px; }
.kc-viewer-nav.is-next { right: 14px; }
@media (max-width: 991.98px) {
    .kc-viewer-nav { display: none !important; } /* swipe instead */
}
.kc-img { cursor: zoom-in; }

/* chat safety: notice, hidden contact details, report sheet */
.kc-safety { display: flex; gap: 10px; align-items: flex-start; max-width: 520px; margin: 6px auto 14px; padding: 10px 14px; background: #fff8e6; border: 1px solid #f6e3b0; border-radius: 14px; color: #6b5310; font-size: 12.5px; line-height: 1.45; }
.kc-safety i { font-size: 20px; color: #c58a00; flex-shrink: 0; margin-top: 1px; }
.kc-masked { font-size: 11.5px; margin-top: 4px; padding-top: 4px; border-top: 1px dashed #e3d7ea; color: #6f6a7d; }
.kc-masked a { font-weight: 700; color: #9c27b0; }
.kc-sheet { position: fixed; inset: 0; z-index: 1038; background: rgba(20, 16, 30, .5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.kc-sheet[hidden] { display: none; }
.kc-sheet-card { width: 100%; max-width: 440px; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); max-height: 90vh; overflow-y: auto; }
.kc-sheet-head { display: flex; align-items: center; justify-content: space-between; }
.kc-sheet-head h6 { margin: 0; font-weight: 700; font-size: 16px; }
.kc-sheet-sub { font-size: 12.5px; color: #8a8698; margin: 2px 0 12px; }
.kc-reasons { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.kc-reason { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #eee8f3; border-radius: 12px; cursor: pointer; margin: 0; font-size: 14px; }
.kc-reason:has(input:checked) { border-color: #d32f2f; background: #fdecec; }
.kc-reason input { accent-color: #d32f2f; }
.kc-report-details { border-radius: 12px; font-size: 14px; margin-bottom: 10px; }
.kc-report-block { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 12px; cursor: pointer; }
.kc-report-block input { accent-color: #d32f2f; }
@media (max-width: 991.98px) {
    .kc-sheet { align-items: flex-end; padding: 0; }
    .kc-sheet-card { max-width: none; border-radius: 20px 20px 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
