/* HubSpot Order Ticker — ticker.css */

.hot-ticker {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0d0f12;
    color: #e8eaed;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    margin: 1.5rem 0;
}

/* ── Notice ── */
.hot-notice {
    padding: 14px 18px;
    font-size: 14px;
}
.hot-notice--error {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
    border-radius: 8px;
}
.hot-notice--error a { color: #fca5a5; }

/* ── Topbar ── */
.hot-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #161a1f;
}
.hot-topbar__left  { display: flex; align-items: center; gap: 10px; }
.hot-topbar__right { display: flex; align-items: center; gap: 12px; }

.hot-logo {
    width: 26px;
    height: 26px;
    background: #00d97e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    flex-shrink: 0;
}
.hot-logo svg { width: 13px; height: 13px; }

.hot-topbar__title {
    font-size: 14px;
    font-weight: 600;
    color: #e8eaed;
}

.hot-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0,217,126,0.12);
    border: 1px solid rgba(0,217,126,0.2);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    color: #00d97e;
}
.hot-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00d97e;
    animation: hot-blink 1.4s infinite;
}
@keyframes hot-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hot-updated {
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    color: #3d4451;
}

/* ── Hero count block ── */
.hot-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 20px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: linear-gradient(180deg, rgba(0,217,126,0.06) 0%, transparent 100%);
}
.hot-hero__val {
    font-size: 72px;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
    color: #00d97e;
    line-height: 1;
    letter-spacing: -2px;
    transition: opacity 0.2s;
}
.hot-hero__label {
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
    color: rgba(0,217,126,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 10px;
}

/* ── Feed header ── */
.hot-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hot-feed-title {
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
    color: #6b7280;
}

/* ── Feed ── */
.hot-feed {
    max-height: 480px;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hot-feed::-webkit-scrollbar { width: 4px; }
.hot-feed::-webkit-scrollbar-track { background: transparent; }
.hot-feed::-webkit-scrollbar-thumb { background: #1e2329; border-radius: 2px; }

.hot-empty {
    text-align: center;
    padding: 2.5rem;
    font-size: 13px;
    font-family: 'IBM Plex Mono', monospace;
    color: #3d4451;
}

/* ── Order row ── */
.hot-order {
    background: #161a1f;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: hot-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transition: border-color 0.15s;
}
.hot-order:hover { border-color: rgba(255,255,255,0.12); }
.hot-order--new  { border-color: rgba(0,217,126,0.25); }

@keyframes hot-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #1e2329;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
    color: #6b7280;
    flex-shrink: 0;
}

.hot-order__body { flex: 1; min-width: 0; }
.hot-order__name {
    font-size: 14px;
    font-weight: 500;
    color: #e8eaed;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hot-order__deal {
    font-size: 11px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 1px;
}
.hot-order__stage {
    font-size: 10px;
    font-family: 'IBM Plex Mono', monospace;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hot-badge--new    { background: rgba(0,217,126,0.12);  color: #00d97e;  border: 1px solid rgba(0,217,126,0.2); }
.hot-badge--proc   { background: rgba(245,158,11,0.12); color: #f59e0b;  border: 1px solid rgba(245,158,11,0.2); }
.hot-badge--closed { background: rgba(59,130,246,0.12); color: #3b82f6;  border: 1px solid rgba(59,130,246,0.2); }
.hot-badge--other  { background: #1e2329; color: #6b7280; border: 1px solid rgba(255,255,255,0.07); }

.hot-order__right { text-align: right; flex-shrink: 0; }
.hot-order__amount {
    font-size: 15px;
    font-weight: 600;
    font-family: 'IBM Plex Mono', monospace;
    color: #e8eaed;
}
.hot-order__time {
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    color: #3d4451;
    margin-top: 2px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .hot-hero__val { font-size: 52px; }
    .hot-order__amount { font-size: 13px; }
}
