        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            padding: 20px;
            direction: rtl;
            margin-top: 60px;
            margin-bottom: 60px;
        }
        .container { max-width: 1200px; margin: 0 auto; }
        .card {
            border: 1px solid #ddd;
            border-radius: 12px;
            background-color: #fff;
            margin-bottom: 25px;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
            opacity: 0;
        }
        .card.visible { opacity: 1; }
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        }
        .card-header {
            text-align: center;
            border-bottom: 2px solid #1f505a;
            padding-bottom: 12px;
            background-color: rgb(251 244 244 / 39%);
            margin-bottom: 15px;
            cursor: pointer;
        }
        .card-title {
            color: #00748f;
            font-size: 24px;
            margin: 0;
            font-weight: bold;
        }
        .image-container {
            position: relative;
            width: 100%;
            margin: 15px 0;
        }
        .card-img-top {
            width: 100%;
            max-height: 300px;
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s ease;
            cursor: <?php echo ($displayMode === 'image_only' || $displayMode === 'both') ? 'pointer' : 'default'; ?>;
        }
        
        .card-img-top {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 10px;
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .card-img-top:hover { transform: scale(1.05); }
        .card-body { text-align: center; }
        .card-user {
            font-weight: bold;
            color: #333;
            margin: 15px 0;
            font-size: 18px;
        }
/* تعديل قسم more-info لضمان ظهور أزرار المشاركة دائمًا */
    .more-info {
        display: none;
        padding: 15px;
        background-color: #f9f9f9;
        border-radius: 8px;
        border: 1px solid #ddd;
        text-align: right;
        font-size: 15px;
        line-height: 1.6;
        opacity: 0;
        max-height: 400px; /* تقليل الحد الأقصى للارتفاع لتجنب التداخل */
        overflow-y: auto; /* إضافة شريط تمرير عمودي إذا تجاوز النص الحد */
        transition: opacity 0.3s ease, max-height 0.5s ease;
        position: relative; /* لتحديد الموضع النسبي */
    }
    .more-info.show {
        display: block;
        opacity: 1;
        max-height: 400px; /* نفس القيمة عند الإظهار */
    }
        .btn-show-more {
            background-color: #00748f;
            color: #fff;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            display: <?php echo ($displayMode === 'image_only') ? 'none' : 'block'; ?>;
            margin: 5px auto 0;
            transition: background-color 0.3s ease;
        }
        .btn-show-more:hover { background-color: #005f72; }
        .filter-section {
            position: fixed;
            top: 0;
            right: 0;
            left: 0;
            z-index: 1000;
            background: linear-gradient(74deg, rgba(26, 30, 31, 0.95), rgba(0, 180, 216, 0.95));
            padding: 10px 20px;
            border-radius: 0 0 12px 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 50px;
            transition: all 0.3s ease;
        }
        .filter-section:hover {
            background: linear-gradient(135deg, rgba(0, 95, 114, 0.95), rgba(0, 155, 194, 0.95));
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
        }
        .site-name {
            font-size: 20px;
            font-weight: bold;
            color: #fff;
            margin-right: 20px;
        }
        .filter-icons {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .filter-icon, .search-container, .message-icon, .keyword-search-icon {
            position: relative;
            cursor: pointer;
        }
        .filter-icon i, .search-icon, .message-icon i, .keyword-search-icon i {
            font-size: 24px;
            color: #fff;
            transition: transform 0.3s ease, color 0.3s ease;
        }
        .filter-icon:hover i, .search-container:hover .search-icon, .message-icon:hover i, .keyword-search-icon:hover i {
            transform: scale(1.2);
            color: #e0f7fa;
        }
        .message-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #ff0000;
            color: #fff;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            font-size: 12px;
            text-align: center;
            line-height: 18px;
        }
        .modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #065363;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 1002;
            padding: 20px;
            width: 300px;
            max-height: 13vh;
            overflow-y: auto;
        }
        .modal.show { display: block; }
        .keyword-search-modal {
            display: none;
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #0a4551;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 1002;
            padding: 20px;
            width: 400px;
        }
        .keyword-search-modal.show { display: block; }
        .keyword-search-modal input {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        .keyword-search-modal button {
            background-color: #00748f;
            color: #fff;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
        }
        .keyword-search-modal button:hover { background-color: #005f72; }
        .messages-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 400px;
            max-height: 80vh;
            background: linear-gradient(135deg, #00748f, #00b4d8);
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            padding: 20px;
            z-index: 1002;
            overflow-y: auto;
            animation: fadeIn 0.3s ease;
            direction: rtl;
            text-align: right;
        }
        .messages-modal.show { display: block; }
        @keyframes fadeIn {
            from { opacity: 0; transform: translate(-50%, -60%); }
            to { opacity: 1; transform: translate(-50%, -50%); }
        }
        .messages-modal .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #fff;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            direction: rtl;
        }
        .messages-modal .modal-header h5 {
            margin: 0;
            font-size: 20px;
            font-weight: bold;
        }
        .messages-modal .close-btn {
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        .messages-modal .close-btn:hover { transform: rotate(90deg); }
        .messages-modal .modal-body {
            padding: 15px 0;
            direction: rtl;
        }
        .message-item {
            background: rgba(0, 0, 0, 72%);
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 15px;
            position: relative;
            transition: all 0.3s ease;
            direction: rtl;
        }
        .message-item:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-5px);
        }
.message-item p {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-line; /* يحافظ على فواصل الأسطر */
    direction: rtl; /* لضمان اتجاه النص من اليمين إلى اليسار */
    text-align: right; /* محاذاة النص إلى اليمين */
}
.message-item p strong {
    color: #00b4d8; /* لون مميز لكود العرض */
    font-weight: bold;
}
        .message-item small {
            color: rgba(255, 255, 255, 0.7);
            font-size: 12px;
        }
        .message-item .delete-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #dc3545;
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            font-size: 14px;
            cursor: pointer;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .message-item:hover .delete-btn { opacity: 1; }
        .message-alert {
            color: #ffeb3b;
            font-size: 14px;
            text-align: center;
            padding: 10px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 5px;
            margin-top: 15px;
        }
        .modal select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            background-color: #f9f9f9;
            color: #333;
        }
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
        }
        .modal-overlay.show { display: block; }
        #scrollTopBtn {
            display: none;
            position: fixed;
            bottom: 70px;
            left: 20px;
            z-index: 99;
            border: none;
            outline: none;
            background: transparent;
            color: #00748f;
            cursor: pointer;
            padding: 15px 20px;
            font-size: 40px;
            transition: all 0.3s ease;
        }
        #scrollTopBtn:hover {
            color: #005f72;
            transform: translateY(-5px);
        }
        .share-buttons {
            margin-top: 10px;
            text-align: center;
            direction: rtl;
        }
        .more-info .share-buttons {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #ddd; /* اختياري: لإضافة فاصل بصري */
}
        .share-btn {
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            margin: 0 5px;
            border-radius: 50%;
            color: #fff;
            text-align: center;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .share-btn:hover {
            transform: scale(1.1);
            opacity: 0.9;
        }
        .facebook { background-color: #3b5998; }
        .twitter { background-color: #1da1f2; }
        .whatsapp { background-color: #25d366; }
        .viber { background-color: #665CAC; }
        .copy-btn { background-color: #28a745; }
        .rating {
            direction: rtl;
            unicode-bidi: bidi-override;
            color: #ddd;
            text-align: center;
            margin: 10px 0;
        }
        .rating span {
            cursor: pointer;
            padding: 0 2px;
            transition: all 0.3s ease;
        }
        .rating .yellow-half { color: #f1c40f; opacity: 0.5; }
        .rating .yellow-full { color: #f1c40f; }
        .rating .green-half { color: #2ecc71; opacity: 0.5; }
        .rating .green-full { color: #2ecc71; }
        .rating span:nth-child(5) { font-size: 16px; }
        .rating span:nth-child(4) { font-size: 18px; }
        .rating span:nth-child(3) { font-size: 20px; }
        .rating span:nth-child(2) { font-size: 22px; }
        .rating span:nth-child(1) { font-size: 24px; }
        #addAdBtn {
            color: #fff;
            text-decoration: none;
            margin: 0 15px;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        #addAdBtn:hover {
            color: #e0f7fa;
            text-decoration: underline;
        }
        footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #00748f, #232d2f);
            color: #fff;
            padding: 15px;
            text-align: center;
            z-index: 1000;
            box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
            direction: rtl;
        }
        footer a {
            color: #fff;
            text-decoration: none;
            margin: 0 15px;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        footer a:hover {
            color: #e0f7fa;
            text-decoration: underline;
        }
        .rating-message, .delete-message {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: linear-gradient(135deg, #00748f, #00b4d8);
            color: #fff;
            padding: 20px 40px;
            border-radius: 15px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            text-align: center;
            font-size: 18px;
            font-weight: bold;
            animation: fadeIn 0.5s ease;
        }
        .delete-message.error {
            background: linear-gradient(135deg, #dc3545, #ff6b6b);
        }
        .ads-banner {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background-color: #ff0000;
            color: #fff;
            padding: 8px 20px;
            text-align: center;
            font-weight: bold;
            font-size: 16px;
            border-radius: 5px;
            z-index: 10;
            box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
            animation: blink 1s infinite;
            display: block !important;
        }
        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }
        .short-desc {
            font-size: 16px;
            color: #555;
            margin: 10px 0;
            text-align: right;
            direction: rtl;
            line-height: 1.5;
        }
        .bottom-links {
            display: none;
            text-align: center;
            padding: 20px;
            background-color: #f4f4f4;
            border-top: 2px solid #00748f;
            margin-top: 20px;
            direction: rtl;
        }
        .bottom-links a {
            color: #00748f;
            text-decoration: none;
            margin: 0 15px;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        .bottom-links a:hover {
            color: #005f72;
            text-decoration: underline;
        }
        .bottom-links.show { display: block; }
        @media screen and (max-width: 768px) {
            .card { margin-bottom: 20px; padding: 15px; }
            .col-md-4 { width: 100%; max-width: 100%; flex: 0 0 100%; }
            .card-img-top { max-height: 200px; }
            .messages-modal { width: 90%; }
        }
        @media screen and (min-width: 769px) {
            .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
        }
        .site-name {
            font-size: 18px;
            font-weight: bold;
            color: #ffffff;
            text-align: center;
            margin-bottom: 20px;
            cursor: pointer;
            position: relative;
            top: 10px;
            left: 20px;
        }
        .site-name a {
            text-decoration: none;
            color: inherit;
        }
        .site-name:hover { color: #005f72; }
        .adsense-container {
            margin: 20px 0;
            text-align: center;
            background-color: #f9f9f9;
            padding: 10px;
            border-radius: 8px;
        }
        .services-section {
            margin-top: 15px;
            cursor: pointer;
            color: #00748f;
            font-weight: bold;
        }
        .services-list {
            display: none;
            margin-top: 10px;
            padding: 10px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .services-list.show { display: block; }
        .more-info-user,
.more-info-city,
.more-info-rating {
    margin: 10px 0;
    text-align: right;
}
.more-info-rating span {
    cursor: pointer;
    padding: 0 2px;
    transition: all 0.3s ease;
}
.more-info-rating .yellow-half { color: #f1c40f; opacity: 0.5; }
.more-info-rating .yellow-full { color: #f1c40f; }
.more-info-rating .green-half { color: #2ecc71; opacity: 0.5; }
.more-info-rating .green-full { color: #2ecc71; }

.more-info-price {
    margin: 10px 0;
    text-align: right;
}

/* تنسيق النافذة المنبثقة الأساسية */
.card-popup {
    display: none; /* إخفاء النافذة افتراضيًا حتى يتم تفعيلها */
    position: fixed; /* تثبيت النافذة في مكان محدد على الشاشة */
    top: 50%; /* وضع النافذة في منتصف الشاشة عموديًا */
    left: 50%; /* وضع النافذة في منتصف الشاشة أفقيًا */
    transform: translate(-50%, -50%); /* تعديل الموقع ليكون مركزيًا تمامًا */
    background-color: #fff; /* لون خلفية النافذة (أبيض) */
    border-radius: 12px; /* زوايا دائرية للنافذة */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* ظل لإضفاء مظهر مرتفع */
    z-index: 1003; /* ضمان ظهور النافذة فوق العناصر الأخرى */
    max-width: 450px !important; /* الحد الأقصى للعرض (سيتم تعديله للكمبيوتر) */
    width: 95% !important; /* العرض الأساسي كنسبة من الشاشة */
    max-height: 90vh; /* الحد الأقصى للارتفاع لتجنب التجاوز */
    overflow-y: auto; /* إضافة شريط تمرير عمودي إذا كان المحتوى طويلًا */
    padding: 20px; /* مسافة داخلية للمحتوى */
    direction: rtl; /* اتجاه النصوص من اليمين لليسار (للغة العربية) */
    text-align: center !important; /* توسيط العناصر الأساسية مثل الصورة */
    animation: fadeIn 0.3s ease; /* تأثير الظهور التدريجي */
}

/* إظهار النافذة عند إضافة الكلاس show */
.card-popup.show {
    display: block; /* إظهار النافذة */
}

/* تنسيقات خاصة للكمبيوتر */
@media (min-width: 1024px) {
    .card-popup {
        max-width: 450px !important; /* تقليل العرض الأقصى للنافذة على الكمبيوتر */
        width: 80% !important; /* عرض النافذة كنسبة من الشاشة */
        padding: 25px !important; /* زيادة المسافة الداخلية */
        margin: 0 auto !important; /* التأكد من توسيط النافذة */
    }
    .card-popup .card {
        width: 400% !important; /* ضمان أن البطاقة تمتد لكامل عرض النافذة */
        margin: 0 auto !important; /* توسيط البطاقة */
        text-align: center !important; /* توسيط العناصر الداخلية */
    }
    .card-popup .card-img-top {
        max-height: 300px !important; /* تحديد ارتفاع الصورة */
        width: 100% !important; /* تعريض الصورة لكامل عرض البطاقة */
        margin: 0 auto !important; /* توسيط الصورة */
    }
    .card-popup .card-header,
    .card-popup .card-body,
    .card-popup .more-info {
        width: 100% !important; /* تعريض الأقسام الداخلية */
        padding: 9px !important; /* مسافة داخلية مناسبة */
        text-align: right !important; /* محاذاة النصوص لليمين */
    }
    .card-popup .card-body p,
    .card-popup .more-info p {
        margin: 5px auto !important; /* توسيط الفقرات */
        width: 100% !important; /* تعريض النصوص لكامل العرض */
        display: block; /* ضمان أن النصوص تأخذ سطرًا جديدًا */
        text-align: right !important; /* محاذاة النصوص لليمين */
    }
    .card-popup .share-buttons {
        justify-content: center !important; /* توسيط أزرار المشاركة */
        width: 100% !important; /* تعريض منطقة الأزرار */
        margin: 10px auto !important; /* توسيط الأزرار */
    }
}

/* تنسيقات خاصة للهواتف */
@media (max-width: 767px) {
    .card-popup {
        width: 95% !important; /* عرض النافذة على الهواتف */
        max-width: 600px !important; /* الحد الأقصى للعرض */
        padding: 15px !important; /* مسافة داخلية مناسبة */
        text-align: center !important; /* توسيط العناصر الأساسية */
    }
    .card-popup .card-img-top {
        width: 100% !important; /* تعريض الصورة */
        max-height: 250px !important; /* تحديد ارتفاع الصورة */
    }
    .card-popup .card-header,
    .card-popup .card-body,
    .card-popup .more-info {
        width: 100% !important; /* تعريض الأقسام الداخلية */
        padding: 9px !important; /* مسافة داخلية مناسبة */
        text-align: right !important; /* محاذاة النصوص لليمين */
    }
    .card-popup .card-body p,
    .card-popup .more-info p {
        width: 100% !important; /* تعريض النصوص */
        text-align: right !important; /* محاذاة النصوص لليمين */
    }
}

/* تنسيق البطاقة داخل النافذة */
.card-popup .card {
    border: none; /* إزالة الحدود */
    box-shadow: none; /* إزالة الظل */
    margin-bottom: 0; /* إزالة الهامش السفلي */
    background-color: transparent; /* جعل الخلفية شفافة */
    width: 100%; /* تعريض البطاقة */
}

/* تنسيق الصورة داخل البطاقة */
.card-popup .card-img-top {
    width: 100%; /* تعريض الصورة */
    max-height: 350px; /* الحد الأقصى للارتفاع */
    object-fit: cover; /* ضبط الصورة لتغطية المساحة */
    border-radius: 10px; /* زوايا دائرية */
    margin: 0 auto; /* توسيط الصورة */
}

/* تنسيق الأقسام الداخلية (العنوان، الجسم، المعلومات الإضافية) */
.card-popup .card-header,
.card-popup .card-body,
.card-popup .more-info {
    background-color: transparent; /* خلفية شفافة */
    width: 100%; /* تعريض الأقسام */
    padding: 10px; /* مسافة داخلية */
    text-align: right; /* محاذاة النصوص لليمين */
}

/* تنسيق النصوص داخل الأقسام */
.card-popup .card-body p,
.card-popup .more-info p {
    margin: 5px 0; /* هامش عمودي */
    width: 100%; /* تعريض النصوص */
    text-align: right; /* محاذاة النصوص لليمين */
}

/* تنسيق أزرار المشاركة */
.card-popup .share-buttons {
    display: flex; /* استخدام flexbox لتوزيع الأزرار */
    justify-content: center; /* توسيط الأزرار */
    width: 100%; /* تعريض منطقة الأزرار */
    margin-top: 10px; /* هامش علوي */
}

/* تنسيق زر الإغلاق مع تحسين للهواتف */
.close-popup-btn {
    position: absolute; /* تثبيت الزر في الزاوية */
    top: 10px; /* المسافة من الأعلى */
    right: 10px; /* المسافة من اليمين */
    background-color: #dc3545; /* لون الخلفية (أحمر) */
    color: #fff; /* لون النص (أبيض) */
    border: none; /* إزالة الحدود */
    border-radius: 50%; /* شكل دائري */
    width: 30px; /* العرض */
    height: 30px; /* الارتفاع */
    font-size: 16px; /* حجم الخط */
    cursor: pointer; /* مؤشر يد عند التمرير */
    display: flex; /* استخدام flexbox للتوسيط */
    align-items: center; /* توسيط عمودي */
    justify-content: center; /* توسيط أفقي */
    transition: transform 0.3s ease; /* تأثير دوران عند التمرير */
    z-index: 1005 !important; /* زيادة z-index لضمان أن الزر فوق كل العناصر */
    /* تحسين للهواتف: زيادة حجم الزر لتسهيل النقر */
    @media (max-width: 767px) {
        width: 40px !important; /* زيادة العرض */
        height: 40px !important; /* زيادة الارتفاع */
        font-size: 20px !important; /* زيادة حجم الخط */
        top: 15px !important; /* زيادة المسافة من الأعلى */
        right: 15px !important; /* زيادة المسافة من اليمين */
    }
}

/* تنسيق النص داخل زر الإغلاق */
.close {
    margin: 0; /* إزالة الهامش */
}

/* تأثير دوران عند التمرير فوق زر الإغلاق */
.close-popup-btn:hover {
    transform: rotate(90deg); /* دوران 90 درجة */
}

/* تنسيق طبقة التمويه (الخلفية الداكنة) */
.popup-overlay {
    display: none; /* إخفاء الطبقة افتراضيًا */
    position: fixed; /* تثبيت الطبقة */
    top: 0; /* تغطية الشاشة من الأعلى */
    left: 0; /* تغطية الشاشة من اليسار */
    width: 100%; /* تغطية العرض بالكامل */
    height: 100%; /* تغطية الارتفاع بالكامل */
    background: rgba(0, 0, 0, 0.6); /* خلفية سوداء شفافة */
    z-index: 1002; /* وضع الطبقة تحت النافذة المنبثقة */
}

/* إظهار طبقة التمويه عند تفعيل النافذة */
.popup-overlay.show {
    display: block; /* إظهار الطبقة */
}
/* CSS */
.map-link {
    margin-left: 10px;
}

.message-item.unread {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #ffeb3b;
}

.follow-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 10px 0;
    justify-content: center;
}
.follow-btn {
    background: none;
    border: none;
    color: #00748f;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    transition: color 0.3s ease, transform 0.2s ease;
}
.follow-btn:hover {
    color: #00a3c4;
    transform: scale(1.05);
}
.follow-btn.unfollow {
    color: #dc3545;
}
.follow-btn.unfollow:hover {
    color: #ff6b6b;
}
.follow-btn i {
    font-size: 18px;
}
.follow-btn:disabled {
    color: #6c757d;
    cursor: not-allowed;
}
.follower-count {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}
.follower-count i {
    color: #00748f;
    font-size: 16px;
}
.like-btn {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    transition: color 0.3s ease, transform 0.2s ease;
}
.like-btn:hover {
    color: #007bff;
    transform: scale(1.05);
}
.like-btn.liked {
    color: #28a745;
}
.like-btn.disliked {
    color: #dc3545;
}
.like-btn i {
    font-size: 18px;
}
.like-btn .like-count {
    font-size: 14px;
}
@media (max-width: 768px) {
    .follow-btn, .like-btn {
        font-size: 14px;
    }
    .follow-btn i, .like-btn i {
        font-size: 16px;
    }
    .follower-count {
        font-size: 13px;
    }
    .follower-count i {
        font-size: 14px;
    }
    .like-btn .like-count {
        font-size: 12px;
    }
}

.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #00748f, #00b4d8);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1004;
    text-align: center;
}
.notification-content button {
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}
.notification-content button:hover {
    background-color: #c82333;
}

.mark-read-btn {
    background-color: #28a745;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}
.mark-read-btn:hover {
    background-color: #218838;
}

#installBtn {
  position: fixed;
  bottom: 60px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: none;
  color: white;
  font-size: 26px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
  display: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#installBtn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.limit-message {
    display: none !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background-color: #dc3545 !important;
    color: white !important;
    padding: 20px 40px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
    z-index: 1000 !important;
    animation: fadeIn 0.5s ease-in-out !important;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
