/* ===== ONNTRADE LIVE RISK DISCLAIMER TICKER ===== */

.onn-risk-ticker {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 34px;
  overflow: hidden;
  background: #ffffff;
  border-top: 1px solid #e6effa;
  border-bottom: 1px solid #e6effa;
  color: #0756bd;
  font-family: inherit;
  position: relative;
  z-index: 5;
}

.onn-risk-ticker-label {
  flex: 0 0 auto;
  padding: 0 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #0756bd;
  background: #eef6ff;
  align-self: stretch;
  display: flex;
  align-items: center;
  border-right: 1px solid #dceaff;
}

.onn-risk-ticker-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.onn-risk-ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: onnRiskTickerMove 38s linear infinite;
}

.onn-risk-ticker:hover .onn-risk-ticker-track {
  animation-play-state: paused;
}

.onn-risk-ticker-text {
  flex: 0 0 auto;
  padding: 0 28px;
  font-size: 11px;
  line-height: 34px;
  font-weight: 700;
  color: #174a82;
}

.onn-risk-ticker-text strong {
  color: #0756bd;
}

@keyframes onnRiskTickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .onn-risk-ticker {
    min-height: 32px;
  }

  .onn-risk-ticker-label {
    padding: 0 8px;
    font-size: 9px;
  }

  .onn-risk-ticker-text {
    font-size: 10px;
    line-height: 32px;
    padding: 0 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .onn-risk-ticker-track {
    animation: none;
  }
}

/* ===== END DISCLAIMER TICKER ===== */
