/* Endovia Stock Ticker – TradingView-style infinite marquee */

.samcoticker-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  height: 56px;
}

/* Scrolling strip */
.samcoticker-track {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  gap: 28px;
  padding-left: 0; /* important: no empty gap at the start */
}

/* Each stock item */
.samcoticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

/* Name */
.samcoticker-name {
  font-weight: 700;
  color: #0A1A4B;
}

/* Price */
.samcoticker-price {
  font-weight: 400;
  color: #0A1A4B;
}

/* Change */
.samcoticker-chg {
  font-weight: 400;
}

.samcoticker-chg.pos {
  color: #16a34a; /* green */
}

.samcoticker-chg.neg {
  color: #dc2626; /* red */
}

/* Separator */
.samcoticker-sep {
  color: #e5e7eb;
  user-select: none;
}

/* Mobile */
@media (max-width: 640px) {
  .samcoticker-wrap {
    height: 56px;
  }
  .samcoticker-track {
    gap: 20px;
  }
  .samcoticker-item {
    gap: 6px;
  }
}
