/* FCM Subscription Card */
.fcm-subscribe-card {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    gap: 20px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.05);
    direction: rtl;
}
.fcm-subscribe-icon {
    font-size: 36px;
    animation: fcmPulse 2s infinite;
}
.fcm-subscribe-info {
    flex: 1;
}
.fcm-subscribe-info h3 {
    margin: 0 0 5px 0 !important;
    font-size: 18px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}
.fcm-subscribe-info p {
    margin: 0 !important;
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}
.fcm-subscribe-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: transform .2s, box-shadow .2s !important;
    box-shadow: 0 4px 6px rgba(37,99,235,.2) !important;
    font-family: inherit !important;
}
.fcm-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37,99,235,.3) !important;
}

/* FCM Popup Modal */
.fcm-popup-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    padding: 24px;
    direction: rtl;
    animation: fcmSlideIn .5s cubic-bezier(.16,1,.3,1);
    font-family: system-ui, -apple-system, sans-serif;
}
.fcm-popup-content {
    position: relative;
    text-align: center;
}
.fcm-popup-close {
    position: absolute;
    top: -10px;
    left: -10px;
    background: none !important;
    border: none !important;
    font-size: 20px !important;
    cursor: pointer !important;
    color: #94a3b8 !important;
}
.fcm-popup-bell {
    font-size: 40px;
    margin-bottom: 12px;
    display: inline-block;
    animation: fcmWiggle 2s infinite;
}
.fcm-popup-content h3 {
    margin: 0 0 8px 0 !important;
    font-size: 18px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}
.fcm-popup-content p {
    margin: 0 0 20px 0 !important;
    font-size: 13px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
}
.fcm-popup-actions {
    display: flex;
    gap: 10px;
}
.fcm-popup-btn {
    flex: 1;
    border: none !important;
    padding: 10px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    transition: background .2s, transform .1s !important;
    font-family: inherit !important;
}
.btn-subscribe {
    background: #2563eb !important;
    color: #fff !important;
}
.btn-subscribe:hover {
    background: #1d4ed8 !important;
}
.btn-dismiss {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.btn-dismiss:hover {
    background: #e2e8f0 !important;
}

@keyframes fcmPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
@keyframes fcmSlideIn {
    from { transform: translateY(100px) scale(.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes fcmWiggle {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-15deg); }
    30% { transform: rotate(10deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}
