.notification-container {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  z-index: 10000;
}

/* Notification */
.notification {
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    pointer-events: auto;
}


.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    border-radius: 2px 0 0 2px;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.notification-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00ff88, #00ccff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #00ff88;
}

.notification-body {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255,255,255,0.9);
}

.notification-time {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 18px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.status-indicator {
    position: fixed;
    bottom: 20px; /* avant c'était top: 20px */
    right: 20px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 10000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.status-online {
    color: #00ff88;
}

.status-offline {
    color: #ff6b6b;
}

/* Animations */
@keyframes slideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.notification.removing {
    animation: slideOut 0.3s ease-in forwards;
}

/* Responsive mobile */
@media (max-width: 480px) {
    .notification-container {
        right: 8px;
        bottom: 8px;
        max-width: calc(100vw - 16px);
    }
    .notification {
        padding: 8px 10px;
        border-radius: 6px;
        font-size: 11px;
    }
    .notification-time { font-size: 9px; }
}
