/* Стили для системы уведомлений */

.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    pointer-events: none;
}

.notification {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: all;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    position: relative;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

.notification-icon {
    font-size: 24px;
    flex-shrink: 0;
    line-height: 1;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notification-message {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 8px;
}

.notification-link {
    font-size: 12px;
    color: var(--text-primary);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.notification-link:hover {
    color: var(--text-secondary);
}

.notification-close {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.notification-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Типы уведомлений */
.notification-info {
    border-left: 3px solid #3b82f6;
}

.notification-success {
    border-left: 3px solid #22c55e;
}

.notification-warning {
    border-left: 3px solid #eab308;
}

.notification-error {
    border-left: 3px solid #ef4444;
}

.notification-new_lot {
    border-left: 3px solid #8b5cf6;
}

.notification-price_drop {
    border-left: 3px solid #f59e0b;
}

.notification-lot_suggestion {
    border-left: 3px solid #ec4899;
}

.notification-trade_stage {
    border-left: 3px solid #06b6d4;
}

/* Адаптивность */
@media (max-width: 768px) {
    .notifications-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .notification {
        padding: 12px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-message {
        font-size: 12px;
    }
}
