/* ===== أنماط زر وشريط تثبيت التطبيق ===== */

/* زر التثبيت */
#installAppBtn {
    display: none; /* مخفي افتراضياً حتى يصبح التثبيت متاحاً */
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

#installAppBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

#installAppBtn .icon {
    font-size: 1.1rem;
}

/* شريط التثبيت (اختياري - يظهر في أسفل الصفحة) */
#installBanner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.install-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
    flex-wrap: wrap;
}

.install-banner-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.install-banner-text .icon {
    font-size: 2rem;
}

.install-banner-text p {
    margin: 0;
    font-size: 0.95rem;
}

.install-banner-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.install-banner-actions {
    display: flex;
    gap: 0.75rem;
}

.install-banner-actions button {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-install-now {
    background: #27ae60;
    color: white;
}

.btn-install-now:hover {
    background: #219a52;
}

.btn-install-later {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

.btn-install-later:hover {
    background: rgba(255,255,255,0.1);
}

/* تحسينات للموبايل */
@media (max-width: 600px) {
    #installBanner {
        padding: 0.75rem;
    }
    
    .install-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .install-banner-text {
        flex-direction: column;
    }
    
    .install-banner-actions {
        width: 100%;
        justify-content: center;
    }
}
