
        #pwa-install-banner {
            position: fixed;
            left: 16px;
            right: 16px;
            bottom: 16px;
            z-index: 9999;
            display: none;
            background: rgba(255, 255, 255, 0.98);
            border-radius: 16px;
            box-shadow: 0 14px 50px rgba(0, 0, 0, 0.14);
            padding: 14px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
            font-size: 14px;
        }

        #pwa-install-banner.show {
            display: flex;
        }

        #pwa-install-banner button {
            border: none;
            border-radius: 10px;
            padding: 10px 14px;
            font-weight: 600;
            cursor: pointer;
        }

        #pwa-install-banner button.install-action {
            background: #0d6efd;
            color: white;
        }

        #pwa-install-banner button.dismiss-action {
            background: transparent;
            color: #333;
        }


    .abonnement-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: #f1f5f9;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}
    .notif-bell {
        position: relative;
        cursor: pointer;
        font-size: 1.3rem;
        color: #64748b;
        transition: color 0.2s;
    }
    
    .notif-bell:hover {
        color: #4361ee;
    }
    
    .notif-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ef4444;
        color: white;
        border-radius: 50%;
        font-size: 0.6rem;
        font-weight: 700;
        min-width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 4px;
        animation: notifPulse 2s infinite;
    }
    
    @keyframes notifPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }
    
    .notif-dropdown {
        position: absolute;
        right: 0;
        top: 100%;
        width: 380px;
        max-height: 450px;
        overflow-y: auto;
        background: white;
        border-radius: 16px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        display: none;
        z-index: 1000;
        border: 1px solid #e5e7eb;
        margin-top: 8px;
    }
    
    .notif-dropdown.open {
        display: block;
        animation: slideDown 0.25s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .notif-dropdown-header {
        padding: 12px 16px;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .notif-dropdown-header h6 {
        margin: 0;
        font-weight: 700;
        font-size: 0.9rem;
    }
    
    .btn-mark-all-read {
        background: none;
        border: none;
        color: #4361ee;
        font-size: 0.7rem;
        font-weight: 600;
        cursor: pointer;
    }
    
    .notif-item-dropdown {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-bottom: 1px solid #f1f5f9;
        cursor: pointer;
        transition: background 0.2s;
    }
    
    .notif-item-dropdown:hover {
        background: #f8fafc;
    }
    
    .notif-item-dropdown.unread {
        background: #f0f4ff;
        border-left: 3px solid #4361ee;
    }
    
    .notif-item-dropdown .icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        font-size: 0.8rem;
    }
    
    .notif-item-dropdown .icon.info { background: #e0f2fe; color: #0284c7; }
    .notif-item-dropdown .icon.success { background: #d1fae5; color: #059669; }
    .notif-item-dropdown .icon.warning { background: #fef3c7; color: #d97706; }
    .notif-item-dropdown .icon.danger { background: #fee2e2; color: #dc2626; }
    
    .notif-item-dropdown .content {
        flex: 1;
        min-width: 0;
    }
    
    .notif-item-dropdown .content .title {
        font-weight: 600;
        font-size: 0.85rem;
        color: #1e293b;
    }
    
    .notif-item-dropdown .content .message {
        font-size: 0.75rem;
        color: #64748b;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .notif-item-dropdown .content .time {
        font-size: 0.6rem;
        color: #94a3b8;
        margin-top: 2px;
    }
    
    .notif-empty {
        padding: 30px;
        text-align: center;
        color: #94a3b8;
        font-size: 0.85rem;
    }







    .toast-notification-container {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 9999;
        width: 360px;
    }

    .toast-notification {
        background: #ffffff;
        border-radius: 16px;
        padding: 16px 18px;
        margin-bottom: 14px;
        box-shadow: 0 12px 35px rgba(0,0,0,0.12);
        border-left: 6px solid #0d6efd;
        animation: slideIn 0.35s ease;
        position: relative;
        overflow: hidden;
    }

    .toast-notification.success { border-left-color: #198754; }
    .toast-notification.warning { border-left-color: #ffc107; }
    .toast-notification.error { border-left-color: #dc3545; }
    .toast-notification.info { border-left-color: #0dcaf0; }
    .toast-notification.transfert { border-left-color: #6f42c1; }

    .toast-notification h6 {
        margin: 0 0 6px;
        font-weight: 700;
        font-size: 15px;
    }

    .toast-notification p {
        margin: 0;
        font-size: 14px;
        color: #555;
    }

    .toast-notification a {
        display: inline-block;
        margin-top: 10px;
        font-size: 13px;
        text-decoration: none;
        color: #0d6efd;
        font-weight: 600;
    }

    .toast-close {
        position: absolute;
        top: 8px;
        right: 12px;
        border: none;
        background: transparent;
        font-size: 18px;
        color: #777;
        cursor: pointer;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(60px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }






    #cookieConsent {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: 420px;
        background: white;
        border-radius: 20px;
        padding: 1.25rem;
        box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        display: none;
        border: 1px solid rgba(0, 0, 0, 0.05);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    @media (min-width: 768px) {
        #cookieConsent {
            left: 20px;
            right: auto;
            bottom: 20px;
        }
    }
    
    .cookie-content {
        display: flex;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .cookie-icon {
        background: linear-gradient(135deg, #f59e0b, #d97706);
        width: 40px;
        height: 40px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .cookie-text {
        flex: 1;
    }
    
    .cookie-text h4 {
        margin: 0 0 0.25rem 0;
        font-size: 0.95rem;
        font-weight: 700;
        color: #1e293b;
    }
    
    .cookie-text p {
        margin: 0;
        font-size: 0.75rem;
        color: #64748b;
        line-height: 1.4;
    }
    
    .cookie-buttons {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        align-items: center;
        flex-wrap: wrap;
    }
    
    .btn-cookie-accept {
        background: linear-gradient(135deg, #22c55e, #16a34a);
        color: white;
        border: none;
        padding: 6px 18px;
        border-radius: 40px;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .btn-cookie-accept:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
    }
    
    .btn-cookie-refuse {
        background: #f1f5f9;
        color: #64748b;
        border: none;
        padding: 6px 18px;
        border-radius: 40px;
        font-size: 0.75rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }
    
    .btn-cookie-refuse:hover {
        background: #e2e8f0;
        color: #1e293b;
    }
    
    .cookie-link {
        font-size: 0.7rem;
        color: #94a3b8;
        text-decoration: none;
        margin-left: 0.5rem;
        transition: color 0.2s;
    }
    
    .cookie-link:hover {
        color: #4361ee;
        text-decoration: underline;
    }
    
    /* Animation d'entrée */
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    #cookieConsent.show {
        display: block;
        animation: slideUp 0.4s ease-out;
    }







/* Style des popups de notification */
.notification-popup {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.15);
    width: 320px;
    overflow: hidden;
    animation: slideInRight 0.3s ease-out;
    border-left: 4px solid #4361ee;
}

.notification-popup.hiding {
    animation: slideOutRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 8px 12px;
}

.notification-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4361ee, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.notification-title {
    flex: 1;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    font-size: 1rem;
}

.notification-body {
    padding: 0 12px 12px 12px;
    color: #475569;
    font-size: 0.85rem;
    line-height: 1.5;
    cursor: pointer;
}

.notification-footer {
    padding: 8px 12px;
    background: #f8fafc;
    font-size: 0.7rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
}

.notification-badge {
    position: fixed;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    min-width: 20px;
    height: 20px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.notification-pulse {
    animation: pulse 0.5s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

