.cover-wrapper {
    width: 100%;
    aspect-ratio: 3 / 1; /* 👈 خیلی مهم */
    background: #e5e7eb; /* placeholder */
    overflow: hidden;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-wrapper {
    width: 100%;
    height: 240px; /* فضای رزرو شده */
    position: relative;
    background: #eee; /* placeholder */
    overflow: hidden;
}

.profile-wrapper {
    width: 100%;
    height: 240px;
}

.profile-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes bounce {
    from {
        transform: translateY(0);
        opacity: 0.6;
    }

    to {
        transform: translateY(-12px);
        opacity: 1;
    }
}
body.dark .no-post {
    text-align: center;
    background: linear-gradient(135deg, #1f2430, #0f1219); /* پس‌زمینه تیره */
    color: #e5e7eb; /* رنگ متن روشن */
    font-size: 16px;
    font-weight: 600;
    padding: 15px 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 12px;
    border: 1px solid #2c303c; /* مرز کمی تیره‌تر */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* سایه کمی قوی‌تر برای شب */
}

.liked {
    color: #ef4444; /* قرمز */
}

.saved {
    color: #2563eb; /* آبی */
}

body.dark .intro .intro-title .join-group-btn {
    color: #38bdf8; /* لینک&zwnj;ها آبی روشن */
}

body.dark .stat-label {
    color: white; /* لینک&zwnj;ها آبی روشن */
}

body.dark .profile-fullname {
    color: white; /* لینک&zwnj;ها آبی روشن */
}

body.dark .profile-img {
    box-shadow: 0 4px 12px var(--shadow);
    --shadow: rgba(0,0,0,0.4);
}

body.dark .intro .intro-title a:hover {
    color: #60a5fa;
}

body.dark .intro .intro-about {
    color: #f3f4f6; /* عنوان&zwnj;ها روشن */
}

body.dark .intro .btn-quick-link {
    background-color: #2563eb; /* دکمه&zwnj;ها تیره&zwnj;تر */
    color: #fff;
    border: 1px solid #1e40af;
}

    body.dark .intro .btn-quick-link:hover {
        background-color: #1e40af;
    }

body.dark .intro .intro-social .intro-item {
    background-color: rgba(255,255,255,0.02);
    color: #e0e0e0;
}

body.dark .intro i {
    color: #38bdf8; /* آیکون&zwnj;ها */
}

body.dark .intro .intro-social .intro-item a {
    color: #60a5fa;
}

    body.dark .intro .intro-social .intro-item a:hover {
        color: #38bdf8;
    }

body.dark .intros {
    color: white;
}

body.force-light .intros {
    color: black;
}

body.dark .follow-overlay {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
}

body.dark .profile-center {
    background-color: #0b0f19;
}

body.dark .list-inline {
    box-shadow: 0 4px 12px var(--shadow);
    --shadow: rgba(0,0,0,0.4);
    background-color: #181E33;
}

body.dark .col-md-9 {
    background-color: #0b0f19;
}

body.dark .col-md-3 {
    background-color: #0b0f19;
}

body.dark .follow-sheet {
    background: #111827;
    color: #f3f4f6;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.7);
}

body.dark .sheet-header,
body.dark .sheet-header button {
    color: #f3f4f6;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dark .sheet-content {
    color: #f3f4f6;
}

body.dark .follow-user {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

body.dark .follow-user-name {
    color: #f3f4f6;
}

body.dark .follow-action,
body.dark .follow-view {
    background: #1f2937;
    color: #38bdf8;
    border: 1px solid #38bdf8;
}

/* ===== Follow Bottom Sheet ===== */
.follow-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: .35s;
    z-index: 99998;
}



    .follow-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

.follow-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 85vh;
    background: #fff;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
    transition: transform .45s cubic-bezier(.16,1,.3,1);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -20px 50px rgba(0,0,0,.25);
}

    .follow-sheet.open {
        transform: translateY(0);
    }

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

    .sheet-header button {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
    }

.sheet-content {
    overflow-y: auto;
    padding: 10px 16px;
}

/* user row */
.follow-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
}

    .follow-user:last-child {
        border-bottom: 0;
    }

.follow-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-user img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}

.follow-user-name {
    font-weight: 600;
    font-size: 14px;
}

/* button */
.follow-action {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--brand);
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    cursor: pointer;
    transition: .25s;
}

.follow-view {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--brand);
    background: #fff;
    color: var(--brand);
    font-size: 13px;
    cursor: pointer;
    transition: .25s;
}

.follow-action.following {
    background: #2EB82E;
    color: #fff;
    border-color: #2EB82E;
}

:root {
    --bg: #f6f9fc;
    --panel: #ffffff;
    --muted: #6b7280;
    --text: #062033;
    --brand: #1e88ff;
    /* bluish */
    --glass: rgba(2, 6, 23, 0.04);
    --radius: 12px;
    --shadow: 0 10px 30px rgba(2, 6, 23, 0.07);
    font-family: 'Poppins', Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased
}

@media (max-width: 767px) {
    .intro-social {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        opacity: 1 !important;
    }
        /* کمی padding برای موبایل (اختیاری) */
        .intro-social .intro-item {
            padding: 8px 6px;
        }
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 120;
    background: var(--panel);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 10px 18px;
    border-bottom: 1px solid rgba(2, 6, 23, 0.04);
    box-shadow: var(--shadow)
}

/* Left: brand */
.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

    .brand .logo {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: linear-gradient(135deg, var(--brand), #4fc3ff);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 700;
        font-size: 20px
    }

    .brand .title {
        font-weight: 700;
        color: var(--brand);
        font-size: 18px
    }

/* Center: search (smaller) */
.nav-center {
    flex: 1;
    display: flex;
    justify-content: center
}

.search {
    width: 340px;
    max-width: 60%;
    min-width: 180px;
    display: flex;
    align-items: center;
    background: #eef8ff;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(30, 130, 255, 0.06);
    gap: 10px
}

    .search svg {
        opacity: .7
    }
/* ===== Initial Skeleton ===== */
.follow-loader {
    padding: 16px;
}

.skeleton-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

    .skeleton-user span:first-child {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: linear-gradient(90deg,#eee,#f5f5f5,#eee);
        background-size: 200% 100%;
        animation: shimmer 1.2s infinite;
    }

    .skeleton-user span:last-child {
        flex: 1;
        height: 14px;
        border-radius: 6px;
        background: linear-gradient(90deg,#eee,#f5f5f5,#eee);
        background-size: 200% 100%;
        animation: shimmer 1.2s infinite;
    }

@keyframes shimmer {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

/* ===== Bottom Spinner ===== */


.spinner {
    width: 26px;
    height: 26px;
    border: 3px solid #e3e3e3;
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search input {
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px
}

.search .hint {
    font-size: 12px;
    color: var(--muted)
}

/* موبایل */
@media (max-width: 767px) {
    .my-banner {
        height: 400px;
    }
}




.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #888;
}

.empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.empty-text {
    font-size: 14px;
    font-weight: 600;
}


/* Right: icons pinned rightmost */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto
}

.icon-btn {
    background: transparent;
    border: 0;
    padding: 8px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

/* CSS */
.follow-btn {
    display: block;
    /* برای center شدن با margin:auto */
    width: 240px;
    /* اینجا طول دکمه — 3 برابر مقدار پایه؛ عدد دلخواه تغییر بدین */
    max-width: 90%;
    /* برای موبایل محدودیت بگذاریم */
    height: 40px;
    line-height: 35px;
    /* متن عمودی وسط چین */
    margin: 0 auto;
    /* این باعث میشه از چپ و راست وسط قرار بگیره */
    text-align: center;
    border-radius: 9px;
    border: 1px solid #3399FF;
    background: #fff;
    color: #3399FF;
    font-weight: 650;
    cursor: pointer;
    position: relative;
    transition: all .25s cubic-bezier(.2, .9, .2, 1);
    user-select: none;
    box-sizing: border-box;
    padding: 0 12px;
}

    /* متن دکمه (قبل / بعد از تیک) */
    .follow-btn::after {
        content: "+ Follow";
        display: inline-block;
    }

/* حالت checked */
#followToggle:checked + .follow-btn {
    background: #2EB82E;
    color: #fff;
    border-color: #2EB82E;
}

    #followToggle:checked + .follow-btn::after {
        content: "Following";
    }

/* اگر خواستی انیمیشن هم اضافه کنی (اختیاری) */
.follow-btn {
    transition: background .2s, color .2s, border-color .2s, width .2s;
}

/* واکنش‌گرایی: در صفحه‌های خیلی کوچک طول ثابت باعث overflow میشه => از max-width استفاده کردیم */
@media (max-width: 420px) {
    .follow-btn {
        width: 180px;
    }
    /* یا درصد بگذاری مثلاً width: 70%; */
}

.icon-btn:hover {
    background: var(--glass)
}

.create-btn {
    background: linear-gradient(90deg, var(--brand), #4fc3ff);
    color: #fff;
    padding: 8px 12px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    font-weight: 600
}

.profile-pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.04)
}

/* اضافه کن به انتهای فایل CSS تا اولویت داشته باشه */
@media (max-width: 767px) {
    /* اگر mv-hidden باعث display:none می‌شه، این آنرا لغو می‌کند */
    .mv-hidden {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        opacity: 1 !important;
    }
    /* اگر لازم باشه فاصله یا اندازه متن برای موبایل بهتر بشه */
    .profile-info-left .intro {
        padding: 12px 8px;
    }
}

/* notifications panel */
.notif-panel {
    position: absolute;
    right: 16px;
    top: 64px;
    width: 320px;
    background: var(--panel);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(2, 6, 23, 0.12);
    overflow: hidden;
    border: 1px solid rgba(2, 6, 23, 0.04);
    transform-origin: top right;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transition: all .16s cubic-bezier(.2, .9, .2, 1)
}

    .notif-panel.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1)
    }

.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(2, 6, 23, 0.04)
}

.notif-list {
    max-height: 340px;
    overflow: auto
}

.notif-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(2, 6, 23, 0.03);
    align-items: flex-start
}

    .notif-item:last-child {
        border-bottom: 0
    }

/* CSS: اضافه کن به فایل CSS یا بین <style> */
.stats-card {
    background: #ffffff00;
    border-radius: 12px;
    padding: 14px;
    max-width: 720px;
    /* تنظیم دلخواه */
    margin: 12px auto;
    /* وسط چین شدن افقی */
    box-sizing: border-box;
}

/* ردیف آیتم‌ها */
.stats-row {
    display: flex;
    justify-content: space-between;
    /* فاصله مساوی بین آیتم‌ها */
    gap: 16px;
    /* فاصله بین آیتم‌ها */
    align-items: center;
}

/* هر آیتم (یک ستون کوچک) */
.stat {
    flex: 1 1 0;
    /* همه آیتم‌ها به یک اندازه گسترش یابند */
    text-align: center;
    min-width: 80px;
    /* جلوگیری از خیلی کوچیک شدن */
}

/* عدد بالای هر آیتم */
.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand, #1e88ff);
    /* از متغیر ریشه استفاده کن یا رنگ ثابت */
    line-height: 1;
    /* جلوگیری از جابجایی عمودی */
}

/* متن پایین هر آیتم */
.stat-label {
    margin-top: 6px;
    font-size: 13px;
    color: var(--muted, #6b7280);
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* واکنش‌گرایی: در موبایل، اگر فضای کافی نیست می‌شکنه به یک ردیف قابل اسکرول */
@media (max-width:420px) {
    .stats-row {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
    }

    .stat {
        min-width: 100px;
    }
    /* هر آیتم پهنای مشخص داشته باشد */
}

.notif-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--brand), #4fc3ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700
}

.notif-body {
    flex: 1
}

.notif-time {
    font-size: 12px;
    color: var(--muted);
    margin-top: 6px
}

/* responsive */
@media (max-width:900px) {
    .search {
        max-width: 84%
    }

    .brand .title {
        font-size: 16px
    }
}

@media (max-width:640px) {
    .nav-center {
        width: 10px;
    }

    .navbar {
        padding: 10px
    }
}

.notification {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    /* فقط opacity صفر */
    transform: translateY(30px);
    transition: all .3s ease;
    z-index: 99999999 !important;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

    .notification p {
        margin: 0 0 10px 0;
        font-size: 14px;
    }

    .notification button {
        margin: 0 5px;
        padding: 5px 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .notification button.yes {
            background: #28a745;
            color: #fff;
        }

        .notification button.no {
            background: #dc3545;
            color: #fff;
        }
/* استایل منوی کوچیک و ریسپانسیو برای کامنت‌ها */
.comment-dropdown {
    position: relative;
    display: inline-block;
}

.comments-list .media:not(:last-child) {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.comment-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 120%;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    min-width: 100px;
    z-index: 1000;
    border-radius: 4px;
}

.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 10 !important;
    transform: none !important;
}

.comment-dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: #dc3545;
    /* رنگ قرمز برای delete */
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

    .comment-dropdown-menu a:hover {
        background: #f8d7da;
    }

.comment-dropdown.show .comment-dropdown-menu {
    display: block;
}

@media (max-width: 480px) {
    .comment-dropdown-menu {
        min-width: 80px;
        font-size: 13px;
        right: -10px;
    }
}

@media (max-width: 480px) {
    .postprofmobile {
        margin-left: 10px;
    }
}

@media (min-width: 768px) and (max-width: 825px) {
    .postprofmobile {
        width: 85%;
    }
}

.no-post {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #444;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 20px;
    margin: 20px auto; /* فاصله بالا/پایین + وسط‌چین افقی */
    max-width: 600px; /* حداکثر عرض */
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#load-more-posts {
    display: block;
    margin: 10px auto 0 auto; /* وسط چین */
    width: 100%; /* پر کردن عرض قابل دسترس */
    max-width: 710px; /* حداکثر 710 پیکسل */
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 11px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

    #load-more-posts:hover {
        background: linear-gradient(135deg, #2575fc, #6a11cb);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }

    #load-more-posts:active {
        transform: scale(0.97);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }


/*------------------------------------------------*/
/*    Profile Page
/*------------------------------------------------*/
.user-profile {
    width: 100%;
}

.profile-rows {
    margin: 0;
}

.profile-right-side-content {
    margin: 0;
}

.profile-header-background {
    overflow: hidden;
}

.profile-header-background img{
  width:100%;
  height:auto;
  aspect-ratio: 23 / 4; /* معادل تقریبی 4:1 */
  object-fit: cover;    /* کراپ/برش زیبا برای پر کردن کادر */
}


.profile-info-left {
    position: relative;
    top: -92px;
}

.cover-overlay {
    position: absolute;
    top: 250px;
    right: 3rem;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.profile-header-background:hover .cover-overlay {
    opacity: 1;
}

.btn-update-cover {
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.8);
    color: #ccc;
    border: 1px solid #fff;
    transition: all 0.20s;
}

.btn-update-cover i {
    font-size: 1.2rem;
    vertical-align: text-bottom;
}

.btn-update-cover:hover {
    color: #fff;
    top: -52px;
}

.profile-info-left .profile-img img.avatar {
    width: 150px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.profile-info-left .profile-img {
    position: relative;
    overflow: hidden;
    width: 150px;
    border-radius: 50%;
    margin: 0 auto;
}

.profile-info-left .profile-img .profile-img-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 146px;
    height: 146px;
    left: 0;
    top: 2px;
    bottom: 0;
    right: 0;
    opacity: 0;
    border-radius: 50%;
    margin: 0 auto;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.profile-info-left .profile-img:hover .profile-img-overlay {
    opacity: 1;
}

.profile-info-left .profile-img:hover .profile-img-caption {
    opacity: 1;
}

.profile-img-caption {
    width: 100%;
    position: absolute;
    text-align: center;
    top: 60%;
    opacity: 0;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.profile-img-caption a {
    color: #fff;
}

.profile-img-caption i {
    font-size: 1.2rem;
    vertical-align: text-bottom;
}

.quick-media {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.quick-media .media-overlay {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 2px;
    bottom: 0;
    right: 0;
    opacity: 0;
    margin: 0 auto;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.quick-media:hover .media-overlay {
    opacity: 1;
}

.quick-media:hover .media-overlay-content {
    opacity: 1;
}

.media-overlay-content {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0%;
    left: 0;
    opacity: 0;
    color: #fff;
    padding: 0.5rem;
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}

.media-overlay-content .media-overlay-owner img {
    width: 15%;
    padding: 0.2rem;
    border: 2px solid #fff;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.media-overlay-content .overlay-more {
    color: #fff;
    font-size: 1.5rem;
}

.media-overlay-content .overlay-bottom {
    position: absolute;
    width: 100%;
    bottom: 5%;
    left: 0;
}

.media-overlay-content .overlay-bottom a {
    color: #fff;
}

.media-overlay-content .overlay-bottom .argon-reaction {
    width: 40%;
}

.liked-users {
    width: 100%;
}

.liked-users img {
    width: 8% !important;
    margin-left: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.profile-info-left .profile-fullname {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
}

.intro {
    padding: 0 1rem;
}

.intro-item {
    margin: 1rem 0;
}

.intro-title {
    font-size: 0.8rem;
    margin: 0;
}

.intro-title a {
    color: #000;
    font-weight: 500;
}

.intro-about {
    font-size: 1.2rem;
    font-weight: 500;
}

.intro-title .online-status {
    vertical-align: middle;
    margin-left: 1rem;
}

.intro-title i {
    font-size: 1rem;
    vertical-align: text-bottom;
}

.facebook-color {
    color: #3C5A99;
}

.twitter-color {
    color: #1DA1F2;
}

.instagram-color {
    -webkit-background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -moz-background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    background-image: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: transparent;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
}

.btn-follow,
.btn-start-chat {
    font-size: 0.8rem;
    border-radius: 30px;
    font-weight: 700;
    width: 50%;
}

.btn-follow {
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-follow:hover {
    background-color: #007bff;
    color: #fff;
}

.btn-start-chat {
    background-color: #007bff;
    color: #fff;
}

.btn-start-chat:hover {
    background-color: #fff;
    color: #007bff;
    border-color: #007bff;
}

.profile-links {
    background-color: #fff;
}

.profile-links .list-inline-item {
    padding: 0.5rem 1rem;
    margin: 0;
}

.profile-links .profile-active {
    background-color: #007bff;
}

.profile-links .profile-active a {
    color: #fff !important;
}

.profile-links .list-inline-item a {
    font-size: 0.9rem;
    color: #6c757d;
    width: 100%;
}

.profile-links .list-inline-item a span.badge {
    vertical-align: text-bottom;
}

.profile-links .profile-ql-dropdown {
    padding: 0;
}

.profile-links .profile-ql-dropdown .dropdown-item {
    padding: 0.5rem;
    font-size: 0.7rem;
}

.profile-links .profile-ql-dropdown .dropdown-item:focus {
    background-color: #d1d3d6;
}

.profile-posts-options .timeline-title {
    line-height: 1.5;
}

.profile-posts-options i {
    font-size: 1rem;
    vertical-align: text-bottom;
}

.profile-posts-options .tmo-buttons {
    font-size: 0.7rem;
}

.profile-quick-media {
    padding-right: 1rem;
    width: 100%;
}

.profile-quick-media .timeline-title {
    margin: 1rem 0;
}

.profile-quick-media img {
    width: 100%;
    margin-bottom: 0.5rem;
}

#page-content-wrapper {
    padding: 0;
}

@media screen and (max-width: 768px) {
    .profile-info-right {
        position: relative;
        top: -70px;
    }

    .mv-hidden,
    .profile-links {
        display: none !important;
    }

    .btn-start-chat {
        margin-right: 1rem;
    }

    .profile-center {
        padding: 0 2rem;
    }
}

@media screen and (min-width: 768px) {
    #moreMobile {
        display: none;
    }
}

@media screen and (max-width: 825px) {
    .profile-quick-media {
        display: none;
    }

    .profile-center {
        max-width: 100%;
        flex: 0 0 100% !important;
    }
}

.upload input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.upload {
    width: 100px;
    color: #fff;
    cursor: pointer;
}
/* ---------- Override: make profile menu always visible & responsive ---------- */
@media screen and (max-width: 768px) {
  /* نمایش منو به صورت افقی و قابل اسکرول در موبایل */
  .profile-links {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px;
    background: #fff;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* آیتم‌ها در موبایل اندازهٔ منعطف داشته باشند */
  .profile-links .list-inline-item {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 !important;
    padding: 0.4rem 0.8rem;
    text-align: center;
  }

  /* اگر کلاس mv-hidden باعث پنهان شدن است آن را لغو کن */
  .mv-hidden {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
  }

  /* تنظیمات جانبی موبایل (اختیاری) */
  .profile-center { padding: 0 1rem; }
}
@media (max-width: 768px) {
  .profile-links {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 8px;
    background: #fff;
    box-sizing: border-box;
  }

  .profile-links .list-inline-item {
    flex: 0 0 auto;
    width: auto !important;
    margin: 0 !important;
  }

  .profile-links .list-inline-item a {
    margin-left: 0 !important;
    padding: 8px 10px;
    display: inline-block;
    white-space: nowrap;
  }
}
