/* ============================================= */
/* HEROUX39 – Market Hub Pro Avanzato          */
/* (Drag & Drop + Notifiche Stealth + Timeline) */
/* ============================================= */
.market-hub-pro {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

.market-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .market-grid {
    grid-template-columns: 1fr;
  }
}

.market-list {
  background: rgba(10, 10, 10, 0.95);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.market-item {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 40ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
  position: relative;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.market-item:active {
  cursor: grabbing;
}

.market-item.dragging {
  opacity: 0.4;
  border: 2px dashed #00f5d4;
  background: rgba(0, 245, 212, 0.1);
}

.market-item.stealth {
  border-left: 4px solid #00f5d4;
  background: rgba(0, 20, 30, 0.6);
}

.market-item.stealth::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(#00f5d4, #ff2d55);
}

.market-pill {
  background: linear-gradient(90deg, #ff2d55, #ff6b9d);
  color: #fff;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  margin-right: 12px;
  display: inline-block;
}

.market-badge {
  background: #ff2d55;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 0 0 3px rgba(255,45,85,0.3);
  margin-left: auto;
}

.market-wall {
  background: linear-gradient(90deg, rgba(0,245,212,0.1), rgba(255,0,255,0.1));
  border: 2px dashed rgba(0,245,212,0.5);
  padding: 32px 20px;
  border-radius: var(--radius, 16px);
  text-align: center;
  cursor: pointer;
  transition: all 40ms;
  margin-top: 24px;
}

.market-wall:hover {
  transform: scale(1.03);
  background: rgba(0,245,212,0.15);
}

.market-timeline {
  background: rgba(10,10,10,0.95);
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid rgba(255,255,255,0.08);
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #555;
}

.timeline-dot.sent { background: #00f5d4; }
.timeline-dot.opened { background: #ffd166; }
.timeline-dot.paid { background: #06d6a0; }

.market-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

.market-btn-export {
  background: rgba(255,255,255,0.08);
  color: #00f5d4;
  border: 1px solid rgba(0,245,212,0.3);
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 40ms;
}

.market-btn-export:hover {
  background: #00f5d4;
  color: #000;
  transform: scale(1.04);
  box-shadow: 0 0 20px rgba(0,245,212,0.3);
}
