/* ==========================================================================
   Notifications Stylesheet - Toast notifications
   ========================================================================== */

/* Notifications Container */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

/* Notification */
.notification {
    background: #0f3460;
    border: 2px solid #1a3a5a;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification:before {
    content: '';
    width: 4px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 8px 0 0 8px;
}

/* Notification Types */
.notification--success {
    border-left-color: #00ff88;
}

.notification--success:before {
    background: #00ff88;
}

.notification--danger {
    border-left-color: #ff4444;
}

.notification--danger:before {
    background: #ff4444;
}

.notification--warning {
    border-left-color: #f59e0b;
}

.notification--warning:before {
    background: #f59e0b;
}

.notification--info {
    border-left-color: #00d4ff;
}

.notification--info:before {
    background: #00d4ff;
}

/* Notification Icon */
.notification__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification--success .notification__icon {
    color: #00ff88;
}

.notification--danger .notification__icon {
    color: #ff4444;
}

.notification--warning .notification__icon {
    color: #f59e0b;
}

.notification--info .notification__icon {
    color: #00d4ff;
}

/* Notification Content */
.notification__content {
    flex: 1;
    color: #eee;
    font-size: 14px;
    line-height: 1.4;
}

/* Notification Close */
.notification__close {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    flex-shrink: 0;
}

.notification__close:hover {
    color: #eee;
}

/* Responsive */
@media (max-width: 640px) {
    .notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        min-width: 0;
    }
}

/* Highlight Animation (for signal cards) */
@keyframes highlight {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0.3);
    }
}

.signal-card.highlight {
    animation: highlight 1s ease-in-out 2;
    border-color: #00d4ff;
}