/**
 * i Vertical Ticker - Stylesheet
 * Author: Amit Choubey (Padma Technologies)
 */

.i-vertical-ticker-wrap {
  width: 100%;
  position: relative;
  background: var(--ivt-bg, #ffffff);
  border-radius: 8px;
  border: 1px solid var(--ivt-border, #e2e8f0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.i-vertical-header {
  background: var(--ivt-header-bg, linear-gradient(135deg, #002244 0%, #003366 100%));
  color: var(--ivt-header-text, #ffffff);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #e2a812;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.i-vertical-ticker-viewport {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.i-vertical-ticker-track {
  display: flex;
  flex-direction: column;
  width: 100%;
  animation: ivt-scroll-vertical var(--ivt-duration, 35s) linear infinite;
  will-change: transform;
}

.i-vertical-ticker-track:hover {
  animation-play-state: paused;
}

.i-vertical-ticker-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.i-vertical-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px dashed var(--ivt-border, #e2e8f0);
  transition: background-color 0.2s ease;
  box-sizing: border-box;
  width: 100%;
}

.i-vertical-item:hover {
  background-color: #f8fafc;
}

.i-vertical-bullet {
  padding-top: 6px;
  flex-shrink: 0;
}

.i-bullet-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ivt-bullet, #FF5A3C);
  box-shadow: 0 0 6px rgba(255, 90, 60, 0.5);
}

.i-vertical-content {
  flex-grow: 1;
  font-family: 'Hind', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.45;
}

.i-vertical-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--ivt-text, #1e293b);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline;
  word-break: break-word;
}

.i-vertical-link:hover {
  color: var(--ivt-hover, #2F5FE8);
  text-decoration: underline;
}

/* Glowing NEW Badge */
.i-badge-new {
  display: inline-block;
  background: linear-gradient(135deg, var(--ivt-badge-start, #FF5A3C) 0%, var(--ivt-badge-end, #FF8A75) 100%);
  color: var(--ivt-badge-text, #FFFFFF);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  box-shadow: 0 2px 5px rgba(255, 90, 60, 0.35);
  animation: ivt-pulse-glow 1.8s infinite ease-in-out;
}

@keyframes ivt-pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.6);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 8px 3px rgba(255, 90, 60, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 90, 60, 0);
  }
}

@keyframes ivt-scroll-vertical {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(var(--ivt-distance, -50%));
  }
}
