@media screen and (min-width: 1025px) {
    #pushTopBar { display: none !important; }
}

@media screen and (max-width: 1024px) {
    #pushTopBar {
        position: fixed;
        top: -90px; /* كان -120px */
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #005da6, #005d76);
        color: #fff;
        z-index: 999999;
        transition: top 0.4s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        border-bottom: 1px solid #ffc107;
    }
}

#pushTopBar.show { top: 0; }

.push-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;              /* كان 8px */
    padding: 4px 8px;     /* كان 8px 12px */
    position: relative;
}

.push-text {
    width: 100%;
    text-align: center;
    font-size: 20px;   /* تم التكبير إلى 20px */
    font-weight: bold;
    line-height: 1.3;
}

.push-text::before {
    font-size: 22px;
}


/* ===== حاوية الأزرار ===== */
.push-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;             /* كان 6px */
    width: 100%;
}

/* ===== الأزرار ===== */
.push-btn-inline {
    background: #ffb300;
    color: #000;
    font-weight: bold;
    border: none;
    padding: 5px 8px;     /* كان 8px 12px */
    border-radius: 6px;  /* كان 8px */
    cursor: pointer;
    text-decoration: none;
    flex: 1 1 auto;
    min-width: 80px;     /* كان 90px */
    max-width: 160px;    /* كان 180px */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ===== التحكم بحجم الخط حسب عدد الأزرار ===== */
.push-buttons.btn-count-3 .push-btn-inline { font-size: 18px; }
.push-buttons.btn-count-4 .push-btn-inline { font-size: 16px; }
.push-buttons.btn-count-5 .push-btn-inline { font-size: 14px; }
.push-buttons.btn-count-6 .push-btn-inline { font-size: 13px; }

/* ===== زر الإغلاق ===== */
#pushCloseBtn {
    position: absolute;
    right: 6px;
    top: 6px;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    color: white;
    width: 24px;         /* كان 30px */
    height: 24px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:16px;      /* كان 20px */
}

/* ===== تجاوب الجوال ===== */
@media (max-width: 768px) {
    .push-btn-inline {
        min-width: 70px;
        padding: 4px 6px;
    }
}

@media (max-width: 480px) {
    .push-btn-inline {
        min-width: 60px;
        padding: 3px 5px;
        font-size: 12px;
    }
}

@media print {
    #pushTopBar { display:none!important; }
}
