

    .loader-container {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }

    .loader {
        font-family: 'FontAwesome';
        font-size: 50px;
        color: #3498db;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .full-width {
        width: 100%;
    }

    .profile-image-circle {
        border-radius: 50%;
    }

    /* تصميم النافذة المنبثقة */
    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .popup img {
        max-width: 90%;
        max-height: 90%;
    }

    .popup .close {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: white;
        cursor: pointer;
    }


    

    .full-width {
        cursor: pointer;
        transition: all 0.3s ease-in-out;
    }

    .full-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 9999;
        background: rgba(0, 0, 0, 0.8);
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: auto;
        /* للتأكد من أن المحتوى قابل للتمرير إذا كان كبيرًا جدًا */
    }

    .close-btn {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 30px;
        color: white;
        cursor: pointer;
        z-index: 10000;
    }

    .social-icons a {
        pointer-events: none;
        /* تعطيل الروابط */
    }

    .full-screen .social-icons a {
        pointer-events: auto;
        /* تفعيل الروابط في وضع ملء الشاشة */
        font-size: 48px;
        /* تكبير الأيقونات لتتناسب مع ملء الشاشة */
    }

    .card.full-screen-card {
        width: 90%;
        /* تحديد عرض الديف في وضع ملء الشاشة */
        height: 90%;
        /* تحديد ارتفاع الديف في وضع ملء الشاشة */
        max-width: 1200px;
        /* تحديد أقصى عرض */
        max-height: 800px;
        /* تحديد أقصى ارتفاع */
        margin: auto;
        /* ضمان التوسيط من جميع الجوانب */
    }




    body {
        direction: rtl;
        text-align: right;
    }

    .mallate-post-card {
        border: 1px solid #e1e8ed;
        border-radius: 15px;
        padding: 15px;
        margin: 20px auto;
        position: relative;
        background-color: #fff;
        max-width: 400px;
    }

    .mallate-post-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
    }

    .mallate-post-header img {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        margin-left: 10px;
        /* مسافة بين الصورة والنص */
    }

    .mallate-post-header a {
        color: #000;
        text-decoration: none;
    }

    .mallate-post-header a:hover {
        text-decoration: underline;
    }

    .menu {
        color: #696969;
        cursor: pointer;
        position: relative;
        z-index: 1;
    }

    .menu-content {
        display: none;
        position: absolute;
        top: 100%;
        /* أسفل البطاقة */
        right: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        border-radius: 15px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px;
    }

    .mallate-post-body {
        position: relative;
        font-size: 0.9rem;
    }

    .mallate-post-body img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        margin-top: 10px;
    }

    .menu:focus .menu-content,
    .menu-content:hover {
        display: block;
    }

    .menu-content a {
        display: block;
        padding: 10px;
        color: #333;
        text-decoration: none;
    }

    .menu-content a:hover {
        background-color: #f0f0f0;
    }

    .mallate-post-footer {
        display: flex;
        justify-content: space-around;
        margin-top: 15px;
        font-size: 0.9rem;
    }

    .mallate-post-footer .icon-text {
        display: flex;
        align-items: center;
        color: #696969;
    }

    .mallate-post-footer .icon-text span {
        margin-right: 5px;
    }

    .menu:focus .menu-content,
    .menu-content:focus {
        display: block;
    }

    .menu:focus {
        outline: none;
    }
 
    .mallate-post-body .menu-content {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        border-radius: 10px;
        padding: 0;
    }

    .mallate-post-body .menu-content a {
        padding: 20px;
    }

    .mallate-post-header .username {
        display: flex;
        align-items: center;
        
    }

    .mallate-post-header .username strong {
        margin-left: 5px;
    }

    .mallate-post-header .verified {
        color: #1DA1F2;
        margin-left: 5px;
    }

    .mallate-post-header .handle {
        color: #657786;
    }

    .mallate-post-header .date {
        color: #777;
        /* لون رمادي أفتح قليلاً */
        font-size: 0.7rem;
        margin-right: 10px;
    }

    .mallate-post-body p {
        color: #14171A;
        margin-top: 10px;
    }

    @media (max-width: 768px) {

        .mallate-post-header,
        .mallate-post-body,
        .mallate-post-footer {
            font-size: 0.8rem;
        }

        .mallate-post-header img {
            width: 50px;
            height: 50px;
            
        }
    }

  
















    