@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

/* শিরোনামের জন্য একটি সুন্দর বোল্ড স্টাইল */
.post-title, h1, h2, h3, h4, h5, h6 {
    font-weight: 600; /* অথবা 700 ব্যবহার করতে পারেন */
}

.profile-card-container {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

.profile-cover-wrapper {
    position: relative; /* কালার পিকারকে পজিশন করার জন্য */
}

.profile-cover {
    height: 150px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.color-picker-label {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    transition: transform 0.2s;
}
.color-picker-label:hover {
    transform: scale(1.1);
}

.color-picker-label i {
    color: #343a40;
}

#color-picker-input {
    /* আসল ইনপুটটিকে সম্পূর্ণরূপে অদৃশ্য করে ফেলা */
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.profile-header {
    margin-top: -75px; /* কভারের উপর ছবি তোলার জন্য */
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f2f5;
}

.profile-picture-container-new {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    position: relative;
}

#profile-picture-preview {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    background-color: #e9ecef;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#profile-picture-label-new {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #0d6efd;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

#profile-picture-label-new:hover { transform: scale(1.1); }

.profile-name-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.profile-name {
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.verification-badge-profile {
    width: 24px;
    height: 24px;
    margin-left: 8px;
}

.edit-name-btn {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
}
.edit-name-btn:hover { color: #0d6efd; }

.edit-name-form {
    display: flex;
    gap: 5px;
}

.profile-tabs {
    justify-content: center;
    border-bottom: none;
    background-color: #f8f9fa;
}

.profile-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1rem;
}

.profile-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background-color: #fff;
}

.profile-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #f0f2f5;
}


body {
    background-color: #f8f9fa;
    font-family: 'Hind Siliguri', sans-serif;
    color: #212529;
    padding-bottom: 70px;
}

.post-feed-container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.post-wrapper {
    max-width: 600px;
    width: 100%;
}

.post {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 25px;
}

.post .header {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* =======================================================
   পোস্ট হেডারের প্রোফাইল ছবি এবং ভেরিফাইড ব্যাজের জন্য চূড়ান্ত CSS
   ======================================================= */

/* শুধুমাত্র প্রোফাইল ছবির জন্য স্টাইল */
.post .header .author-profile-picture {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #0d6efd;
    object-fit: cover;
}

/* ভেরিফাইড ব্যাজের জন্য সাধারণ স্টাইল */
.verification-badge {
    width: 1em;   /* ফন্ট সাইজের সাথে আকার পরিবর্তন হবে */
    height: 1em;  /* ফন্ট সাইজের সাথে আকার পরিবর্তন হবে */
    margin-left: 5px; /* নামের থেকে একটু দূরত্ব */
    vertical-align: -0.15em; /* টেক্সটের সাথে সুন্দরভাবে অ্যালাইন করার জন্য */
}

/* পোস্টের হেডারে নামের ফন্ট সাইজ (এটি ব্যাজের আকার নিয়ন্ত্রণ করবে) */
.post .header .name {
    font-size: 16px;
}

/* কমেন্ট সেকশনে নামের ফন্ট সাইজ (এটি ব্যাজের আকার নিয়ন্ত্রণ করবে) */
.comment-item .author-name {
    font-size: 14px;
}
.post .name {
    font-weight: 600;
    font-size: 16px;
    color: #343a40;
}

.post .meta-info {
    font-size: 12px;
    color: #6c757d;
}

/* === পরিবর্তিত অংশ শুরু === */
.content-wrapper {
    position: relative;
    cursor: pointer; /* কন্টেন্ট এরিয়াকে ক্লিকেবল বোঝানোর জন্য কার্সর পরিবর্তন */
    margin-top: 15px;
}

.content-body {
    transition: max-height 0.6s ease-in-out;
}

/* এই ক্লাসটি দ্বারা পোস্ট ছোট বা বড় করা নিয়ন্ত্রণ করা হবে */
.content-body.truncated {
    max-height: 250px; /* পোস্টের সংক্ষিপ্ত অবস্থার উচ্চতা */
    overflow: hidden;
    position: relative;
}


/* =======================================================
   Quora-স্টাইল পোস্ট লেআউটের জন্য চূড়ান্ত CSS
   ======================================================= */

/* হোমপেজে পোস্টের টেক্সট সংক্ষিপ্ত করার নতুন স্টাইল */
.content-body.truncated .post-text {
    max-height: 100px; /* প্রায় ৪-৫ লাইন টেক্সট দেখাবে */
    overflow: hidden;
    position: relative;
    /* টেক্সটের শেষে একটি fade-out ইফেক্ট তৈরি করা */
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

/* কন্টেন্ট এবং ছবির মধ্যে সুন্দর একটি ফাঁকা জায়গা তৈরি করা */
.post .post-image {
    margin-top: 15px;
}

/* "See More" ইন্ডিকেটর এখন আর প্রয়োজন নেই, তাই এটি হাইড করুন */
.see-more-indicator {
    display: none !important;
}

/* সিঙ্গেল পোস্ট পেজে যেন কন্টেন্ট সংক্ষিপ্ত না হয়, তা নিশ্চিত করা */
.single-post-view .content-body.truncated .post-text {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
}




/* নতুন 'See More' ইন্ডিকেটর */
.see-more-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
    color: #0d6efd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: none; /* ডিফল্টভাবে লুকানো থাকবে */
    pointer-events: none; /* এটিও ক্লিকেবল নয় */
}

/* শুধুমাত্র truncated কন্টেন্টের ক্ষেত্রে ইন্ডিকেটর দেখা যাবে */
.content-body.truncated + .see-more-indicator {
    display: block;
}
/* === পরিবর্তিত অংশ শেষ === */

.post .post-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.post .post-image {
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

.post .post-text {
    line-height: 1.7;
    color: #495057;
}

.post .actions {
    display: flex;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.post .btn {
    flex-grow: 1;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.post .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.post .likeBtn {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
}

.post .commentBtn {
    background: linear-gradient(45deg, #00c6ff, #0072ff);
}

.post .shareBtn {
    background: linear-gradient(45deg, #0fd850, #00a03c);
}

.post .audioBtn {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
}

.post .downloadBtn {
    background: linear-gradient(45deg, #6c757d, #343a40);
}

.post .likeBtn .like-icon {
    transition: all 0.3s ease;
    stroke-width: 2px;
    fill: none;
    stroke: currentColor;
}

.count {
    display: inline-block;
    position: relative;
    font-variant-numeric: tabular-nums;
}

.count span {
    display: inline-block;
    transition: all 0.2s ease-in;
}

.count.updating span {
    opacity: 0;
    transform: translateY(-10px);
}

.count span.new-count {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(10px);
}

.count.updating span.new-count {
    opacity: 1;
    transform: translateY(0);
}

.post .comment-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.post .comment-form {
    position: relative;
}

.post .comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 45px 12px 12px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    background: #fff;
    color: #495057;
    resize: none;
    min-height: 80px;
    outline: none;
    transition: all .2s;
}

.post .comment-form textarea:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.post .send-comment-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #0d6efd;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.post .send-comment-btn:hover {
    background-color: rgba(13, 110, 253, 0.1);
}

.post .send-comment-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.post .comment-list {
    margin-top: 20px;
}

.post .comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.post .comment-item:last-child {
    border-bottom: none;
}

.post .comment-author-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid #0d6efd;
}

.post .comment-content .author-name {
    font-weight: 600;
    color: #343a40;
}

.post .comment-content .comment-text {
    color: #495057;
    margin: 4px 0;
    font-size: 14px;
}

.post .comment-content .comment-date {
    font-size: 11px;
    color: #6c757d;
}

.share-modal .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.share-modal .modal-header {
    border-bottom: 1px solid #f0f0f0;
}

.share-modal .modal-body {
    padding: 2rem;
}

.share-modal .post-title-preview {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.share-modal .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.share-modal .social-btn {
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-modal .social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-modal .social-btn.facebook {
    background-color: #1877F2;
}

.share-modal .social-btn.twitter {
    background-color: #1DA1F2;
}

.share-modal .social-btn.whatsapp {
    background-color: #25D366;
}

.share-modal .social-btn.linkedin {
    background-color: #0A66C2;
}

.share-modal .copy-link-wrapper {
    display: flex;
}

.share-modal .copy-link-wrapper .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #f8f9fa;
}

.share-modal .copy-link-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1060;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.login-modal-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-box {
    width: 90%;
    max-width: 380px;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    background: rgba(30, 30, 45, 0.75);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    color: #fff;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.login-modal-overlay.active .modal-box {
    transform: scale(1);
    opacity: 1;
}

.modal-header {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.close-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #fff;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff4b5c;
    transform: scale(1.2);
}

.modal-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
}

.modal-footer {
    padding: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-footer .btn {
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #0e273c;
}

.modal-footer .btn-primary:hover {
    box-shadow: 0 0 15px #4facfe;
    transform: translateY(-2px);
}

.modal-footer .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-footer .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
}

.profile-card {
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.profile-picture-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

#profile-picture-preview,
.initials-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0d6efd;
}

.initials-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9ecef;
    color: #0d6efd;
    font-size: 50px;
    font-weight: bold;
}

#profile-picture-label {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: #0d6efd;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

#profile-picture-label:hover {
    transform: scale(1.1);
}

#form-message {
    display: none;
    margin-bottom: 15px;
}

.pagination .page-item .page-link {
    color: #0d6efd;
    box-shadow: none;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.navbar-search-centered .form-control {
    border-right: 0;
}

.navbar-search-centered .btn {
    border-left: 0;
}

.navbar-search-centered .form-control:focus {
    border-color: #86b7fe;
    box-shadow: none;
}

.btn-register {
    color: #212529 !important;
    background-color: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.btn-register:hover {
    color: #fff !important;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.search-modal-overlay {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    z-index: 1060;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.close-search-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
}

.close-search-btn:hover {
    color: #fff;
}

.search-modal-content .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
}

.search-modal-content .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-modal-content .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #0d6efd;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

body.search-active #main-content,
body.search-active .bottom-nav {
    display: none;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    box-sizing: border-box;
    max-width: 100%;
}

.bottom-nav.nav-hidden {
    transform: translateY(100%);
}

.bottom-nav-inner {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
}

.nav-item,
.nav-item-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    text-decoration: none;
    flex: 1;
    transition: color 0.2s;
}

.nav-item i {
    font-size: 20px;
}

.nav-item span {
    font-size: 11px;
    margin-top: 4px;
}

.nav-item.active,
.nav-item:hover {
    color: #0d6efd;
}

.nav-item-center {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 1;
    transition: top 0.3s ease-in-out, transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-nav.nav-hidden .nav-item-center {
    top: 5px;
}

.nav-item-center.active {
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.7);
    transform: translateX(-50%) scale(1.05);
}

.nav-item-center i {
    font-size: 28px;
    color: #fff;
}

#profile-menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    transition: color 0.2s;
}

#profile-menu-toggle i {
    font-size: 20px;
}

#profile-menu-toggle span {
    font-size: 11px;
    margin-top: 4px;
}

#profile-menu-toggle.active,
#profile-menu-toggle:hover {
    color: #0d6efd;
}

#profile-menu-toggle .profile-picture-nav {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0d6efd;
    background-color: #e9ecef;
    margin-bottom: 2px;
    min-width: 24px;
    min-height: 24px;
}

.nav-item-placeholder {
    flex: 1.2;
    pointer-events: none;
}

.history-item {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.list-group-item.unread {
    border-left: 4px solid #0d6efd;
    background-color: rgba(13, 110, 253, 0.05);
}

.empty-state {
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px dashed #dee2e6;
}

.page-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}


/* নোটিফিকেশন আইকনের কন্টেইনারকে रिलेटिव পজিশন দেওয়া হচ্ছে */
.notification-icon {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: 2px; /* একটু নিচে নামানো হলো */
    right: 20px; /* ডান দিক থেকে সঠিক জায়গায় আনা হলো */
    background-color: #e63946; /* সুন্দর একটি লাল রঙ */
    color: white;
    border-radius: 50%;
    width: 18px; /* সাইজ একটু ছোট করা হলো */
    height: 18px; /* সাইজ একটু ছোট করা হলো */
    font-size: 11px; /* ফন্ট সাইজ কমানো হলো */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2); /* একটি হালকা শ্যাডো দেওয়া হলো */
}

.logout-modal {
    display: none;
    position: fixed;
    z-index: 1060;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.logout-modal.active {
    opacity: 1;
    visibility: visible;
}



.auth-box {
    width: 90%;
    max-width: 400px;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    color: #fff;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.auth-box .form-group {
    margin-bottom: 1rem;
}

.auth-box .form-control {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.auth-box .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.auth-box .form-control:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.btn-primary-auth {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary-auth:hover {
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.5);
    transform: translateY(-2px);
}


@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-search-centered {
        margin-right: 10px;
    }
    .navbar-search-centered .form-control {
        padding: 0.375rem 0.5rem;
        font-size: 0.9rem;
    }
    .navbar-search-centered .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem 0.75rem;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
    .navbar-search-centered {
        display: none !important;
    }
    .bottom-nav {
        height: 50px;
    }
    .nav-item i {
        font-size: 18px;
    }
    .nav-item span {
        font-size: 10px;
    }
    .nav-item-center {
        top: -20px;
        width: 50px;
        height: 50px;
    }
    .profile-menu {
        bottom: 60px;
        right: 5px;
        width: 180px;
    }
    .notification-badge {
        top: -3px;
        right: 12px;
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .nav-item-center {
        width: 45px;
        height: 45px;
        top: -18px;
    }
    .nav-item-center i {
        font-size: 20px;
    }
    .bottom-nav {
        height: 45px;
    }
    .nav-item i {
        font-size: 16px;
    }
    .nav-item span {
        font-size: 9px;
    }
}

@viewport {
    width: device-width;
    zoom: 1.0;
}

@-ms-viewport {
    width: device-width;
}

/* --- নতুন স্টিকি অডিও প্লেয়ারের স্টাইল --- */
.sticky-player {
    position: sticky;
    top: 56px; /* নেভিগেশন বারের ডিফল্ট উচ্চতা */
    background-color: #fff;
    z-index: 1029;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 15px;
    display: none;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.4s ease-in-out;
    transform: translateY(-200%); /* শুরুতে সম্পূর্ণ অদৃশ্য থাকবে */
    border-bottom: 1px solid #e9ecef;
}

.sticky-player.active {
    display: flex;
    transform: translateY(0); /* মসৃণভাবে নিচে নেমে আসবে */
}

.player-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0; /* ফ্লেক্স আইটেমের ওভারফ্লো 막기 জন্য */
}

.player-info {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-pause-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f3f5;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.play-pause-btn:hover {
    background-color: #e9ecef;
}

.progress-section {
    width: 100%;
}

.sticky-player .progress-bar-track {
    background-color: #e9ecef;
    height: 5px;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
}

.sticky-player .progress-bar-fill {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    height: 100%;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

.close-player-button {
    background: none;
    border: none;
    font-size: 24px;
    color: #aaa;
    cursor: pointer;
    padding: 0 10px;
    margin-left: 15px;
}
.close-player-button:hover {
    color: #333;
}

/* Logout Modal Customization */
#logoutConfirmationModal .modal-content {
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    background: rgba(30, 30, 45, 0.75);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #fff;
}

#logoutConfirmationModal .modal-body h4 {
    font-weight: 600;
}

#logoutConfirmationModal .modal-body p {
    color: rgba(255, 255, 255, 0.8);
}

#logoutConfirmationModal .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#logoutConfirmationModal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
}

#logoutConfirmationModal .btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    border: none;
}



/* assets/css/style.css */

/* --- নতুন লগআউট মডালের স্টাইল --- */
.logout-modal-content {
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    background: rgba(30, 30, 45, 0.85) !important; /* Slightly darker for better contrast */
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.logout-modal-content .modal-body h4 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.logout-modal-content .text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

.logout-icon {
    font-size: 3rem;
    color: #ff6b6b;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-logout {
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-logout:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.btn-cancel {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}











.profile-card-new {
    border-radius: 16px;
    border: 1px solid #dee2e6;
}



.initials-avatar-new {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 50px;
    font-weight: bold;
}



.support-list {
    margin-top: 1rem;
}

.support-list .list-group-item {
    padding: 0;
    border: none;
}

.support-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: #343a40;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: 1px solid #e9ecef;
    margin-bottom: 10px;
}

.support-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    border-color: #0d6efd;
}

.support-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    background-color: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    border-radius: 50%;
    font-size: 1.1rem;
}

/* assets/css/style.css */

.support-text-wrapper {
    line-height: 1.3;
    display: flex;
    flex-direction: column;
}



/* assets/css/style.css */

/* --- নতুন সাপোর্ট সেকশনের লেআউট এবং কপি বাটনের স্টাইল --- */
.support-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.support-item-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-color: #0d6efd;
}

.support-item-wrapper .support-link {
    flex-grow: 1; /* লিংককে প্রসারিত করে পুরো জায়গা নিতে সাহায্য করে */
    padding: 12px 15px;
    border: none;
    margin-bottom: 0;
}

.support-item-wrapper .support-link:hover {
    background-color: transparent; /* হোভার ইফেক্ট এখন পুরো র‍্যাপারে থাকবে */
    transform: none;
    border-color: transparent;
}

.copy-btn {
    flex-shrink: 0; /* বাটন যেন ছোট না হয়ে যায় */
    margin-right: 15px;
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 1.1rem;
    padding: 5px 10px;
    border-radius: 6px;
    transition: color 0.2s, background-color 0.2s;
}

.copy-btn:hover {
    color: #0d6efd;
    background-color: #e9ecef;
}


/* assets/css/style.css */

/* --- নতুন ডেস্কটপ নেভিগেশন আইটেমের জন্য স্টাইল --- */
.desktop-nav-item {
    color: #495057; /* আইকনের রঙ */
    padding: 0 12px; /* ডানে ও বামে স্পেসিং */
    font-size: 1.2rem; /* আইকনের আকার */
    transition: color 0.2s ease-in-out;
}

.desktop-nav-item:hover {
    color: #0d6efd; /* হোভার করলে রঙ পরিবর্তন হবে */
}

/* প্রোফাইল ড্রপডাউনকে আইকনগুলোর সাথে সুন্দরভাবে দেখানোর জন্য */
.navbar .dropdown .nav-link {
    padding-right: 0;
}

/* ডেস্কটপ সার্চ বারের আকার ঠিক করা */
.navbar .form-control-sm {
    padding: 0.4rem 0.75rem;
}


/* assets/css/style.css */

/* --- নতুন কমেন্ট রিপ্লাই সিস্টেমের জন্য স্টাইল --- */
.comment-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 5px;
}

.reply-btn {
    font-size: 12px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}
.reply-btn:hover {
    text-decoration: underline;
}

.reply-item {
    margin-left: 45px; /* রিপ্লাইগুলোকে ডানে সরিয়ে দেখানোর জন্য */
    border-left: 2px solid #e9ecef;
    padding-left: 15px;
}

.reply-form-wrapper {
    margin-top: 15px;
}

.reply-form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ced4da;
    font-size: 14px;
    resize: vertical;
}

.reply-form button {
    margin-top: 5px;
    padding: 5px 15px;
    border: none;
    background-color: #0d6efd;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}


/* assets/css/style.css */

/* --- নতুন কমেন্ট লাইক এবং রিপ্লাই ভিউ-এর জন্য স্টাইল --- */
.comment-like-btn {
    font-size: 12px;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.2s;
}
.comment-like-btn .fa-thumbs-up {
    margin-right: 4px;
}
.comment-like-btn.liked, .comment-like-btn:hover {
    color: #0d6efd;
}

.view-more-replies {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
    margin-top: 10px;
    margin-left: 55px;
}
.view-more-replies:hover {
    text-decoration: underline;
}

/* =======================================================
   নতুন ডেস্কটপ নেভিগেশন আইটেমের জন্য স্টাইল
   ======================================================= */
.desktop-nav-item {
    color: #495057; /* আইকনের রঙ */
    padding: 0 12px; /* ডানে ও বামে স্পেসিং */
    font-size: 1.2rem; /* আইকনের আকার */
    transition: color 0.2s ease-in-out;
}

.desktop-nav-item:hover {
    color: #0d6efd; /* হোভার করলে রঙ পরিবর্তন হবে */
}

/* প্রোফাইল ড্রপডাউনকে আইকনগুলোর সাথে সুন্দরভাবে দেখানোর জন্য */
.navbar .dropdown .nav-link {
    padding-right: 0;
}

/* ডেস্কটপ সার্চ বারের আকার ঠিক করা */
.navbar .form-control-sm {
    padding: 0.4rem 0.75rem;
}

/* =======================================================
   ট্যাবলেট এবং ডেস্কটপের জন্য রেসপন্সিভ ডিজাইন
   (768px বা তার চেয়ে বড় স্ক্রিনের জন্য)
   ======================================================= */
@media (min-width: 768px) {

    /* --- বটম নেভিগেশন বার হাইড করা --- */
    .bottom-nav {
        display: none !important;
    }

    /* বডির নিচের অতিরিক্ত প্যাডিং সরানো */
    body {
        padding-bottom: 0;
    }

    /* --- পোস্টের জন্য ম্যাসনরি গ্রিড লেআউট --- */
    .post-wrapper {
        max-width: 100%;
        display: grid;
        /* গ্রিড কলামগুলো রেসপন্সিভভাবে তৈরি হবে */
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 25px; /* কার্ডগুলোর মধ্যে সুন্দর ফাঁকা জায়গা */
        /* প্রতিটি কার্ডকে তার নিজের উচ্চতা অনুযায়ী উপরের দিকে অ্যালাইন করা */
        align-items: start; 
    }

    /* পোস্ট কার্ড এখন আর ফ্লেক্স নয়, তাই স্বাধীনভাবে উচ্চতা বাড়াতে পারবে */
    .post {
        display: block;
        height: auto;
    }

    /* পোস্টের কন্টেন্ট র‍্যাপারে এখন আর ভেতরের স্ক্রলবার নেই */
    .content-wrapper {
        overflow-y: visible;
    }
    
    /* ঐচ্ছিক: বড় ডেস্কটপ স্ক্রিনে সর্বোচ্চ কলাম সংখ্যা নির্ধারণ */
    @media (min-width: 1200px) {
        .post-wrapper {
            grid-template-columns: repeat(3, 1fr); /* বড় স্ক্রিনে সর্বোচ্চ ৩টি কলাম */
        }
    }
}


/* assets/css/style.css */

/* --- লাইক করা বাটনের জন্য নতুন স্টাইল --- */
.post .likeBtn.liked {
    background: #e63946; /* একটি সুন্দর লাল রঙ */
    color: white;
    border-color: #e63946;
}

/* আইকনের রঙও সাদা হবে */
.post .likeBtn.liked i,
.post .likeBtn.liked span {
    color: white;
}

/* =======================================================
   ডেস্কটপ এবং মোবাইল সার্চের জন্য সাধারণ স্টাইল
   ======================================================= */

/* ডেস্কটপ সার্চের জন্য র‍্যাপার */
.search-container {
    position: relative;
}

/* ডেস্কটপ সার্চ রেজাল্ট কন্টেইনার */
.search-results-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1050;
    max-height: 300px;
    overflow-y: auto;
}

/* সাজেশন এবং হিস্টরি আইটেমের সাধারণ স্টাইল */
.suggestion-item, .history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #343a40;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.suggestion-item:last-child, .history-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover, .history-item:hover {
    background-color: #f8f9fa;
}

/* "No results" বার্তার জন্য স্টাইল */
.no-results {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

/* হিস্টরি হেডারের সাধারণ স্টাইল */
.history-header {
    padding: 10px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    background-color: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* "Clear" বাটনের সাধারণ স্টাইল */
.clear-history-btn {
    background: none;
    border: none;
    color: #0d6efd;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}


/* =============================================
   চূড়ান্ত এবং উন্নত মোবাইল সার্চ ওভারলের জন্য স্টাইল
   ============================================= */
.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 1060;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%); /* নিচ থেকে উপরে ওঠার জন্য */
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-modal-inner-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.search-modal-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.search-modal-header .close-search-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #0d6efd;
    font-weight: 500;
    padding: 5px 0 5px 15px;
    cursor: pointer;
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.search-icon-inside {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.search-modal-header .form-control {
    background-color: #f0f2f5;
    border: 1px solid #f0f2f5;
    border-radius: 20px;
    padding: 10px 40px 10px 40px;
    font-size: 1rem;
    width: 100%;
}
.search-modal-header .form-control:focus {
    background-color: #fff;
    border-color: #0d6efd;
    box-shadow: none;
}

.clear-search-input-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ced4da;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

/* মোবাইল সার্চ রেজাল্ট কন্টেইনারের বিশেষ স্টাইল */
.search-modal-inner-content .search-results-container {
    position: static; /* এটি আর absolute নয় */
    display: block; /* সবসময় দৃশ্যমান থাকবে */
    padding: 0;
    flex-grow: 1;
    overflow-y: auto;
    background-color: #fff;
    border: none;
    box-shadow: none;
    margin-top: 0;
    max-height: none;
}


/* =======================================================
   সার্চ ইনপুটের ডিফল্ট ক্লিয়ার (X) বাটন হাইড করার জন্য
   ======================================================= */

/* Webkit-based browsers (Chrome, Safari, Edge) */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none; /* ব্রাউজারের ডিফল্ট স্টাইল বাতিল করা হলো */
    display: none; /* বাটনটিকে পুরোপুরি হাইড করা হলো */
}

/* Firefox */
input[type="search"] {
    -moz-appearance: textfield; /* Firefox-এর জন্য বিশেষ নিয়ম */
}



/* --- পোস্ট কার্ডকে ক্লিকেবল করার জন্য নতুন স্টাইল --- */
.post {
    position: relative; /* লিঙ্কটিকে সঠিকভাবে পজিশন করার জন্য */
}

.post-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* অন্যান্য কন্টেন্টের উপরে থাকবে */
}

/* নিশ্চিত করা যে বাটনগুলো লিংকের উপরে থাকবে এবং ক্লিকেবল হবে */
.actions, .comment-section {
    position: relative;
    z-index: 2;
}

/* =======================================================
   নতুন এবং উন্নত: See More বাটন সহ পোস্ট বডির জন্য স্টাইল
   ======================================================= */
.content-wrapper {
    position: relative; /* See More বাটনকে পজিশন করার জন্য */
}

.content-body.truncated {
    max-height: 150px; /* প্রায় ৫-৬ লাইন টেক্সট দেখাবে */
    overflow: hidden;
}

/* See More বাটনের স্টাইল */
.see-more-btn {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
    border: 1px solid #dee2e6;
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 15px;
    cursor: pointer;
    z-index: 2; /* পোস্ট লিঙ্কের উপরে থাকবে */
    text-decoration: none;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* শুধুমাত্র truncated কন্টেন্টের ক্ষেত্রেই বাটনটি দেখা যাবে */
.content-body:not(.truncated) + .see-more-btn {
    display: none;
}



/* "See More" ইন্ডিকেটর আর প্রয়োজন নেই, তাই এটি হাইড করুন */
.see-more-indicator {
    display: none !important;
}

/* =======================================================
   ফাইল-ভিত্তিক ভেরিফাইড ব্যাজের জন্য চূড়ান্ত CSS
   ======================================================= */

.verification-badge {
    width: 1em;   /* ফন্ট সাইজের সাথে আকার পরিবর্তন হবে */
    height: 1em;  /* ফন্ট সাইজের সাথে আকার পরিবর্তন হবে */
    margin-left: 5px; /* নামের থেকে একটু দূরত্ব */
    vertical-align: -0.15em; /* টেক্সটের সাথে সুন্দরভাবে অ্যালাইন করার জন্য */
}

/* পোস্টের হেডারে ব্যাজের আকার (ফন্ট সাইজের উপর নির্ভরশীল) */
.post .header .name {
    font-size: 16px; /* এই সাইজ অনুযায়ী ব্যাজের আকার নির্ধারিত হবে */
}

/* কমেন্ট সেকশনে ব্যাজের আকার */
.comment-item .author-name {
    font-size: 14px; /* কমেন্টের ফন্ট সাইজ অনুযায়ী ব্যাজের আকার ছোট হবে */
}

/* =======================================================
   চূড়ান্ত Quora-স্টাইল পোস্ট লেআউটের জন্য CSS
   ======================================================= */

/* কন্টেন্ট র‍্যাপারে শিরোনাম এবং কন্টেন্টের মধ্যে স্পেসিং */
.content-wrapper .post-title {
    margin-bottom: 10px;
}

/* হোমপেজে পোস্টের টেক্সট সংক্ষিপ্ত করার নতুন স্টাইল */
.post:not(.single-post-view) .content-body.truncated .post-text {
    max-height: 80px; /* প্রায় ৩-৪ লাইন টেক্সট দেখাবে */
    overflow: hidden;
    position: relative;
    /* টেক্সটের শেষে একটি fade-out ইফেক্ট তৈরি করা */
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* কন্টেন্ট এবং ছবির মধ্যে সুন্দর একটি ফাঁকা জায়গা তৈরি করা */
.post .post-image {
    margin-top: 15px;
    width: 100%;
    border-radius: 8px;
}

/* "See More" ইন্ডিকেটর এখন আর প্রয়োজন নেই, তাই এটি হাইড করুন */
.see-more-indicator {
    display: none !important;
}

/* সিঙ্গেল পোস্ট পেজে যেন কন্টেন্ট সংক্ষিপ্ত না হয়, তা নিশ্চিত করা */
.single-post-view .content-body.truncated .post-text {
    max-height: none;
    -webkit-mask-image: none;
    mask-image: none;
}



/* =======================================================
   @Mention সাজেশন বক্সের জন্য স্টাইল
   ======================================================= */
.mention-suggestions {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1050;
    max-height: 200px;
    overflow-y: auto;
}

.mention-suggestions .suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.mention-suggestions .suggestion-item:last-child {
    border-bottom: none;
}

.mention-suggestions .suggestion-item:hover {
    background-color: #f8f9fa;
}








/* =======================================================
   অ্যাডভান্সড কমেন্ট সিস্টেমের জন্য চূড়ান্ত CSS
   ======================================================= */

/* ১. মেনশন লিঙ্কের রঙ */
.mention-link {
    color: #0d6efd;
    font-weight: 600;
    text-decoration: none;
}
.mention-link:hover {
    text-decoration: underline;
}

/* ২. রিপ্লাই ম্যাপের জন্য স্টাইল */
.comment-text .reply-map-user {
    margin-right: 5px;
}

/* ৩. রিপ্লাই এবং কানেকশন লাইনের জন্য স্টাইল */
.comment-item {
    position: relative; /* কানেকশন লাইনের জন্য আবশ্যক */
}

.reply-item {
    margin-left: 25px; /* রিপ্লাইকে ডানে সরানো */
    padding-left: 25px; /* লাইনের জন্য জায়গা তৈরি করা */
}

.comment-connector-line {
    position: absolute;
    top: 50px; /* লেখকের ছবির নিচ থেকে শুরু */
    left: 17px; /* লেখকের ছবির মাঝ বরাবর */
    width: 2px;
    background-color: #e9ecef;
    bottom: 0;
}

/* যদি এটিই শেষ রিপ্লাই হয়, তাহলে লাইনটি ছোট হবে */
.comment-item:last-child > .comment-connector-line {
    bottom: auto;
    height: 15px; /* শুধু রিপ্লাই ফর্ম পর্যন্ত */
}

/* যদি কোনো রিপ্লাই না থাকে, তাহলে লাইন দেখাবে না */
.comment-item:not(:has(.replies-container .comment-item)) > .comment-connector-line {
    display: none;
}

.reply-item::before {
    content: '';
    position: absolute;
    top: 18px; /* লেখকের ছবির মাঝ বরাবর */
    left: -25px; /* রিপ্লাইয়ের মূল মার্জিন পর্যন্ত */
    width: 25px;
    height: 2px;
    background-color: #e9ecef;
}

/* =======================================================
   WYSIWYG এডিটর থেকে আসা কনটেন্টের জন্য স্টাইল
   ======================================================= */
.content-from-editor p {
    margin-bottom: 1rem; /* প্যারাগ্রাফের মধ্যে ফাঁকা জায়গা */
}

.content-from-editor a {
    color: #0d6efd;
    text-decoration: underline;
}

.content-from-editor ul,
.content-from-editor ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.content-from-editor blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 1rem;
    border-left: 5px solid #eee;
}

.content-from-editor img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}




/* =======================================================
   নতুন ড্যাশবোর্ড ডিজাইনের জন্য अतिरिक्त স্টাইল
   ======================================================= */
.card.border-left-primary { border-left: .25rem solid #4e73df!important; }
.card.border-left-success { border-left: .25rem solid #1cc88a!important; }
.card.border-left-info { border-left: .25rem solid #36b9cc!important; }
.card.border-left-warning { border-left: .25rem solid #f6c23e!important; }

.text-xs { font-size: .7rem; }
.font-weight-bold { font-weight: 700!important; }
.text-gray-300 { color: #dddfeb!important; }
.text-gray-800 { color: #5a5c69!important; }

.shadow { box-shadow: 0 .15rem 1.75rem 0 rgba(58,59,69,.15)!important; }
.py-2 { padding-top: .5rem!important; padding-bottom: .5rem!important; }
.py-3 { padding-top: 1rem!important; padding-bottom: 1rem!important; }
.m-0 { margin: 0!important; }
.no-gutters { margin-right: 0; margin-left: 0; }
.no-gutters>.col, .no-gutters>[class*=col-] { padding-right: 0; padding-left: 0; }

.progress { height: .75rem; }
.progress-bar { background-color: #4e73df; }



/* =======================================================
   নতুন এবং উন্নত: পোস্টের থ্রি-ডট মেনুর জন্য চূড়ান্ত স্টাইল
   ======================================================= */
.post .header {
    position: relative;
    align-items: flex-start; /* আইকন এবং নামকে উপরে অ্যালাইন করার জন্য */
}

.post-options-dropdown {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2; /* অন্যান্য কন্টেন্টের উপরে থাকবে */
}

.post-options-dropdown .dropdown-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.post-options-dropdown .dropdown-toggle:hover {
    background-color: #f0f2f5;
}

/* Bootstrap এর ডিফল্ট ::after (তীর চিহ্ন) সরানো হচ্ছে */
.post-options-dropdown .dropdown-toggle::after {
    display: none;
}

/* CSS দিয়ে তিনটি ডট তৈরি করা হচ্ছে */
.dots-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 16px; /* ডটগুলোর মোট উচ্চতা */
    width: 4px; /* ডটগুলোর প্রস্থ */
}

.dots-icon::before,
.dots-icon::after,
.dots-icon span {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background-color: #6c757d; /* ডটের রঙ */
    border-radius: 50%;
}

.post-options-dropdown .dropdown-menu {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    padding: 0.5rem 0;
}

.post-options-dropdown .dropdown-item {
    font-size: 0.9rem;
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

.post-options-dropdown .dropdown-item i {
    width: 20px; /* আইকনগুলোর জন্য জায়গা নির্দিষ্ট করা */
    text-align: center;
}

/* =======================================================
   নতুন এবং উন্নত: সাজেশন পোস্ট সেকশনের জন্য চূড়ান্ত স্টাইল
   ======================================================= */
.related-posts-section {
    margin-top: 3rem !important;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.related-posts-section h4 {
    font-weight: 600;
    color: #343a40;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.suggestion-list .list-group-item {
    border-color: #e9ecef;
    border-left: 3px solid transparent; /* হোভারের জন্য জায়গা তৈরি */
    padding: 0.85rem 1.25rem;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

.suggestion-list .list-group-item:hover,
.suggestion-list .list-group-item:focus {
    background-color: #f8f9fa;
    color: #0d6efd;
    border-left-color: #0d6efd;
    transform: translateX(5px); /* সুন্দর একটি হোভার ইফেক্ট */
    z-index: 1; /* অন্যান্য আইটেমের উপরে দেখানোর জন্য */
}

.suggestion-list .list-group-item i {
    transition: transform 0.2s ease;
}

.suggestion-list .list-group-item:hover i {
    transform: scale(1.1);
}




/* =======================================================
   নতুন এবং উন্নত: লগইন রিমাইন্ডার মডালের জন্য চূড়ান্ত স্টাইল
   ======================================================= */

.login-modal-overlay .modal-box {
    background: rgba(40, 42, 54, 0.85); /* গাঢ় এবং সুন্দর একটি ব্যাকগ্রাউন্ড */
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-modal-overlay .modal-header h2 {
    font-size: 1.5rem; /* শিরোনামের ফন্ট সাইজ বাড়ানো হলো */
    font-weight: 700;
    color: #f8f8f2; /* হালকা সাদা টেক্সট */
}

.login-modal-overlay .modal-body {
    text-align: left; /* লেখাগুলো বাম দিক থেকে শুরু হবে */
    color: #bd93f9; /* একটি সুন্দর পার্পল রঙ */
    font-size: 1rem;
    padding-left: 25px;
    padding-right: 25px;
}

.login-modal-overlay .modal-body ul {
    list-style: none; /* ডিফল্ট বুলেট পয়েন্ট সরানো হলো */
    padding-left: 0;
    margin-top: 15px;
}

.login-modal-overlay .modal-body ul li {
    margin-bottom: 10px;
    color: #f1fa8c; /* একটি আকর্ষণীয় হলুদ রঙ */
    font-weight: 500;
}

/* প্রতিটি লিস্ট আইটেমের আগে একটি সুন্দর আইকন যোগ করা */
.login-modal-overlay .modal-body ul li::before {
    content: '✓'; /* আপনি এখানে Font Awesome আইকনও ব্যবহার করতে পারেন */
    color: #50fa7b; /* একটি উজ্জ্বল সবুজ রঙ */
    font-weight: bold;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
}

.login-modal-overlay .modal-footer .btn-primary.glow {
    background: linear-gradient(45deg, #28a745, #218838); /* একটি সুন্দর সবুজ গ্র্যাডিয়েন্ট */
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
    transition: all 0.3s ease;
    border: none;
    color: #fff;
    font-weight: 700;
}

.login-modal-overlay .modal-footer .btn-primary.glow:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 25px rgba(40, 167, 69, 0.8);
}



/* =======================================================
   চূড়ান্ত: কমেন্ট অ্যাকশন বাটনের জন্য নতুন স্টাইল
   ======================================================= */

.comment-meta .action-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 10px 0 0;
    font-size: 13px;
    font-weight: 600;
    color: #606770;
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.comment-meta .action-btn:hover {
    text-decoration: underline;
}

/* লাইক বাটনের জন্য বিশেষ স্টাইল */
.comment-meta .comment-like-btn {
    font-weight: normal; /* শুধু লাইক বাটন নরমাল থাকবে */
}

.comment-meta .comment-like-btn.liked {
    color: #0d6efd; /* লাইক করলে নীল হবে */
    font-weight: 600;
}

.comment-meta .comment-like-btn i {
    margin-right: 4px;
}

/* রিপ্লাই ফর্মের ডিজাইন উন্নত করা */
.reply-form-wrapper {
    margin-left: -50px; /* অ্যালাইনমেন্ট ঠিক করার জন্য */
    padding-top: 10px;
}

/* =======================================================
   হ্যাশট্যাগ লিঙ্কের জন্য নতুন স্টাইল
   ======================================================= */
.hashtag-link {
    color: #0d6efd;
    font-weight: 500;
    text-decoration: none;
}

.hashtag-link:hover {
    text-decoration: underline;
}



/* অ্যাডমিন নোটিফিকেশন বারের জন্য স্টাইল */
.main-content {
    padding: 0; /* পুরনো প্যাডিং সরানো হলো */
}
.main-content > .container-fluid {
    padding: 1.5rem;
}



/* =======================================================
   নতুন এবং উন্নত: বিজ্ঞাপন কন্টেইনারের জন্য চূড়ান্ত স্টাইল
   ======================================================= */
.ad-container {
    /* একটি পোস্টের মতো একই রকম ডিজাইন দেওয়া হচ্ছে */
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* ভেতরের কন্টেন্ট যেন বাইরে না যায় */
}

/* ডেস্কটপ ম্যাসনরি গ্রিডের জন্য সামঞ্জস্য */
@media (min-width: 768px) {
    .post-wrapper .ad-container {
        /* এটি নিশ্চিত করবে যে বিজ্ঞাপনটিও গ্রিডের একটি আইটেম হিসেবে গণ্য হবে */
        height: auto;
    }
}

/* বিজ্ঞাপনের ভেতরের কন্টেন্টকে সেন্টারে রাখার জন্য */
.ad-container > div,
.ad-container > iframe,
.ad-container > script {
    margin: auto;
}


/* =======================================================
   নতুন: বিজ্ঞাপন লেবেল এবং এরর হ্যান্ডলিং এর জন্য স্টাইল
   ======================================================= */
.ad-container {
    position: relative; /* লেবেলটিকে সঠিকভাবে পজিশন করার জন্য */
    min-height: 100px; /* একটি সর্বনিম্ন উচ্চতা, যাতে খালি না দেখায় */
}

.ad-label {
    position: absolute;
    top: 8px;
    left: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ad-error-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa; /* একটি হালকা ব্যাকগ্রাউন্ড */
    border: 1px dashed #ced4da;
    border-radius: 8px;
}


/* =======================================================
   হ্যাশট্যাগ লিঙ্কের জন্য স্টাইল
   ======================================================= */
.hashtag-link {
    color: #0d6efd; /* একটি সুন্দর নীল রঙ */
    font-weight: 500;
    text-decoration: none;
    background-color: rgba(13, 110, 253, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.hashtag-link:hover {
    background-color: rgba(13, 110, 253, 0.2);
    text-decoration: underline;
}


/* =======================================================
   পোস্টের নিচে হ্যাশট্যাগ ব্যাজ দেখানোর জন্য স্টাইল
   ======================================================= */
.hashtags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* ট্যাগগুলোর মধ্যে ফাঁকা জায়গা */
    padding-top: 10px;
    border-top: 1px solid #f0f2f5; /* অ্যাকশন বার থেকে আলাদা করার জন্য */
}

.hashtag-link-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 15px; /* গোলাকার ব্যাজ */
    text-decoration: none;
    transition: all 0.2s ease;
    z-index: 2; /* পোস্ট লিঙ্কের উপরে থাকবে */
    position: relative;
}

.hashtag-link-badge:hover {
    background-color: rgba(13, 110, 253, 0.2);
    color: #0b5ed7;
}


/* =======================================================
   নতুন: Scroll to Top বাটনের জন্য চূড়ান্ত স্টাইল
   ======================================================= */
.scroll-to-top-btn {
    position: fixed; /* স্ক্রিনের সাপেক্ষে পজিশন */
    bottom: 20px; /* নিচ থেকে দূরত্ব */
    right: 20px; /* ডান দিক থেকে দূরত্ব */
    z-index: 1030; /* অন্যান্য এলিমেন্টের উপরে থাকবে */
    
    width: 45px;
    height: 45px;
    background: #0d6efd;
    color: #fff;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 50%; /* গোলাকার বাটন */
    text-decoration: none;
    
    opacity: 0; /* ডিফল্টভাবে লুকানো থাকবে */
    visibility: hidden;
    transform: translateY(20px); /* নিচে থেকে উপরে ওঠার অ্যানিমেশন */
    transition: all 0.3s ease-in-out;
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: #0b5ed7;
    color: #fff;
    transform: scale(1.05); /* হোভার করলে সামান্য বড় হবে */
}

/* মোবাইল ডিভাইসের জন্য বটম নেভিগেশন বারের উপরে রাখা */
@media (max-width: 767.98px) {
    .scroll-to-top-btn {
        bottom: 75px; /* বটম নেভিগেশন বারের উচ্চতার উপর নির্ভর করে */
    }
}

/* বুকমার্ক ডিলিটের জন্য ফেড-আউট অ্যানিমেশন */
.list-group-item.fade-out {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateX(50px);
}



/* =======================================================
   অ্যাডভান্সড অডিও প্লেয়ারের জন্য নতুন স্টাইল
   ======================================================= */

.play-pause-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.play-pause-wrapper .play-pause-btn {
    width: 100%;
    height: 100%;
}

.player-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.player-loader.loading {
    opacity: 1;
    visibility: visible;
}

.player-loader .spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(13, 110, 253, 0.3);
    border-top-color: #0d6efd;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* লোডিং অবস্থায় প্লে বাটনকে কিছুটা আড়াল করা */
.play-pause-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}



#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    z-index: 9999;
    transition: width 0.1s;
}

/* =======================================================
   সংশোধিত: রেসপন্সিভ ইন্টারেস্ট রিমাইন্ডার ব্যানারের জন্য চূড়ান্ত স্টাইল
   ======================================================= */

/* সকল ডিভাইসের জন্য সাধারণ স্টাইল */
.interest-reminder-wrapper .alert {
    border-left: 4px solid #0d6efd;
    background-color: #eef7ff;
    position: relative; /* এই লাইনটি 'X' বাটনকে পজিশন করার জন্য আবশ্যক */
    padding-top: 2.5rem; /* 'X' বাটনের জন্য উপরে অতিরিক্ত জায়গা তৈরি করা */
}

/* ক্লোজ (X) বাটনকে উপরের ডান কোণায় পজিশন করা */
.interest-reminder-wrapper .btn-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
}


/* মোবাইলের জন্য স্টাইল (768px এর নিচে) */
@media (max-width: 767.98px) {
    .interest-reminder-wrapper {
        width: 100%;
        padding: 0; 
        margin-bottom: 20px;
    }
}

/* ডেস্কটপ গ্রিড লেআউটের জন্য স্টাইল (768px বা তার উপরে) */
@media (min-width: 768px) {
    .interest-reminder-wrapper {
        grid-column: 1 / -1; 
    }
}


/* কমেন্ট করতে উৎসাহিত করার বক্স */
.comment-prompt-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(200%); /* মান 150% থেকে 200% করা হয়েছে */
    background: #ffffff;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1020;
    cursor: pointer;
    font-weight: 500;
    color: #343a40;
    display: flex;
    align-items: center;
    transition: transform 0.5s ease-in-out;
}

.comment-prompt-box.show {
    transform: translateX(-50%) translateY(0); /* মসৃণভাবে উপরে স্লাইড হবে */
}

/* মোবাইল ডিভাইসে বটম নেভিগেশন বারের উপরে রাখা */
@media (max-width: 767.98px) {
    .comment-prompt-box {
        bottom: 75px; /* আপনার বটম নেভিগেশন বারের উচ্চতা অনুযায়ী অ্যাডজাস্ট করুন */
    }
}


/* =======================================================
   অ্যাডভান্সড সার্চ সাজেশনের জন্য নতুন স্টাইল
   ======================================================= */
.suggestion-item .suggestion-content {
    display: flex;
    flex-direction: column;
}

.suggestion-item .suggestion-context {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item strong {
    font-weight: 700;
    color: #0d6efd; /* হাইলাইটের রঙ */
}

/* ইতিহাস আইটেমের জন্য ফ্লেক্সবক্স যুক্ত করা */
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =======================================================
   অ্যাডভান্সড সার্চ সাজেশনের জন্য চূড়ান্ত এবং সংশোধিত স্টাইল
   ======================================================= */

/* প্রতিটি সাজেশন আইটেমের মূল কন্টেইনার */
.suggestion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* নতুন: নিশ্চিত করা যে আইটেমটি পুরো প্রস্থ ব্যবহার করে */
    width: 100%;
}

/* বাম পাশের ছোট আইকন (যদি থাকে) */
.suggestion-item .suggestion-icon {
    color: #adb5bd;
    font-size: 0.8rem;
    flex-shrink: 0; /* আইকন যেন ছোট না হয়ে যায় */
}

/* টেক্সটের মূল কন্টেইনার */
.suggestion-item .suggestion-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* নতুন এবং সবচেয়ে গুরুত্বপূর্ণ: এই কন্টেইনারটি বাকি সবটুকু জায়গা নেবে */
    flex: 1;
}

/* সাজেশনের টেক্সট */
.suggestion-item .suggestion-content span {
    white-space: nowrap; /* লেখা যেন পরের লাইনে না যায় */
    overflow: hidden;    /* অতিরিক্ত অংশ লুকিয়ে ফেলা */
    text-overflow: ellipsis; /* শেষে ... চিহ্ন দেখানো */
    display: block; /* text-overflow এর জন্য block লেভেল এলিমেন্ট আবশ্যক */
}

/* হাইলাইট করা টেক্সট */
.suggestion-item strong {
    font-weight: 700;
    color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.1);
    padding: 1px 3px;
    border-radius: 3px;
}

/* ইতিহাস আইটেমের জন্য ফ্লেক্সবক্স যুক্ত করা */
.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* =======================================================
   পপ-আপ বক্স এবং স্ক্রল বাটনের কনফ্লিক্ট সমাধানের জন্য নতুন স্টাইল
   ======================================================= */

/* কমেন্ট প্রম্পট বক্সের z-index কমানো হলো */
.comment-prompt-box {
    z-index: 1010; /* আগে 1020 ছিল */
}

/* স্ক্রল-টু-টপ বাটনের z-index বাড়ানো হলো */
.scroll-to-top-btn {
    z-index: 1020; /* এটি এখন পপ-আপের উপরে থাকবে */
    transition: all 0.4s ease-in-out; /* অ্যানিমেশন মসৃণ করা হলো */
}

/* যখন পপ-আপ বক্স দেখানো হবে, তখন স্ক্রল-টু-টপ বাটনকে আড়াল করা */
.scroll-to-top-btn.hidden-by-prompt {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px); /* নিচে অদৃশ্য হয়ে যাবে */
}

/* পেজের শেষে অতিরিক্ত খালি জায়গা তৈরি করার জন্য একটি নতুন ক্লাস */
body.with-prompt-padding {
    padding-bottom: 150px; /* পপ-আপ এবং নেভিগেশন বারের জন্য জায়গা */
}

/* =======================================================
   হেডারের পার্সোনালাইজড ভেরিফিকেশন ব্যাজের জন্য সংশোধিত স্টাইল
   ======================================================= */

.verification-badge-header {
    width: 16px;   /* আকার 20px থেকে 16px করা হলো */
    height: 16px;  /* আকার 20px থেকে 16px করা হলো */
    object-fit: contain;
    /* vertical-align প্রপার্টিটি নামের সাথে আরও ভালোভাবে অ্যালাইন করতে সাহায্য করবে */
    vertical-align: -2px; 
    margin-left: 4px; /* নামের থেকে সামান্য দূরত্ব তৈরি করা হলো */
}


/* =======================================================
   হেডার নামের টাইপিং অ্যানিমেশনের জন্য নতুন স্টাইল
   ======================================================= */

/* অ্যানিমেশন চলাকালীন এই ক্লাসটি যুক্ত হবে */
#animated-username.typing-effect::after {
    content: '|';
    display: inline-block;
    vertical-align: baseline;
    animation: blink-caret 0.7s infinite;
    margin-left: 2px;
    color: #0d6efd; /* কার্সরের রঙ */
}

/* ব্লিঙ্কিং অ্যানিমেশন */
@keyframes blink-caret {
    50% {
        opacity: 0;
    }
}

