/* =========================
   FOMO TRACK (HORIZONTAL)
========================= */
.pc-fomo-track {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 12px;

    /* better UX */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

/* hide scrollbar */
.pc-fomo-track::-webkit-scrollbar {
    display: none;
}

/* =========================
   CARD BASE (IMPORTANT FIX)
========================= */
.pc-fomo-card {
    flex: 0 0 auto;
    width: 280px;

    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);

    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    overflow: hidden;

    animation: slideIn 0.35s ease-out;
}

/* =========================
   ENTRY ANIMATION
========================= */
@keyframes slideIn {
    from {
        transform: translateX(25px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =========================
   TOP BAR
========================= */
.pc-fomo-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 8px 12px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.pc-fomo-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pc-fomo-badge-success {
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.22);
    padding: 3px 10px;
    border-radius: 999px;
}

.pc-fomo-time {
    font-size: 11px;
    color: rgba(15, 23, 42, 0.45);
    font-weight: 600;
}

/* =========================
   MAIN CONTENT
========================= */
.pc-fomo-main {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
}

.pc-fomo-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.25);
    flex: 0 0 auto;
}

.pc-fomo-copy {
    flex: 1;
    min-width: 0;
}

.pc-fomo-name {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.92);
    font-size: 14px;
}

.pc-fomo-text {
    font-weight: 600;
    color: rgba(15, 23, 42, 0.55);
    font-size: 13px;
}

.pc-fomo-amt {
    font-weight: 900;
    color: #16a34a;
    font-size: 14px;
}

.pc-fomo-sub {
    margin-top: 4px;
    font-size: 12px;
    color: rgba(15, 23, 42, 0.55);

    /* important for clean layout */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pc-fomo-company {
    font-weight: 800;
    color: rgba(15, 23, 42, 0.78);
}

/* =========================
   LIVE PULSE DOT (optional)
========================= */
.pc-fomo-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    animation: pcPulse 1.4s ease-out infinite;
}

@keyframes pcPulse {
    0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
    70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* =========================
   PROGRESS BAR
========================= */
.pc-fomo-progress-wrap {
    height: 3px;
    background: rgba(15, 23, 42, 0.06);
}

.pc-fomo-progress {
    height: 100%;
    width: 100%;
    transform-origin: left;
    background: linear-gradient(90deg, #2563eb, #22c55e);
}

@keyframes pcFomoProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}