﻿/* ============================================================
   LIVE EXCHANGE FEED — isolated styles (extracted from modern.css)
   ============================================================ */

.scz-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #f8fafc;
    color: #475569;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.scz-badge i {
    color: #13a879;
    font-size: 12px;
}

/* ============================================================
   PROFESSIONAL LIVE EXCHANGE FEED (Compact Table)
   ============================================================ */
.scz-feed-wrap {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    margin: 0;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.scz-feed-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 12px;
    border-bottom: 2px solid #eaf1fd;
}

.scz-feed-pulse {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #13a879;
    animation: scz-pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes scz-pulse {
    0% { box-shadow: 0 0 0 0 rgba(19, 168, 121, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(19, 168, 121, 0); }
    100% { box-shadow: 0 0 0 0 rgba(19, 168, 121, 0); }
}

.scz-feed-title {
    font-size: 12.5px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.scz-feed-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-left: auto;
    font-weight: 500;
}

.scz-feed-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scz-feed-row {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    background: #fafbfe;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.18s ease;
}

.scz-feed-row:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.scz-cell-order {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 80px;
}

.scz-order-num {
    font-size: 12.5px;
    font-weight: 800;
    color: #1257d8;
    line-height: 1.2;
}

.scz-order-time {
    font-size: 10.5px;
    color: #94a3b8;
    font-weight: 500;
}

.scz-cell-direction {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.scz-dir-line {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    flex-wrap: wrap;
}

.scz-dir-line img {
    border-radius: 50%;
    flex-shrink: 0;
}

.scz-cur {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.scz-dir-arrow {
    color: #1257d8;
    font-size: 11px;
    margin: 0 2px;
}

.scz-amount-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #475569;
}

.scz-amount-line b {
    color: #0f172a;
    font-weight: 700;
    font-size: 12px;
}

.scz-amount-line i {
    color: #94a3b8;
    font-size: 10px;
}

.scz-cell-user {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #475569;
    font-weight: 500;
    white-space: nowrap;
}

.scz-cell-user i {
    color: #1257d8;
    font-size: 14px;
}

.scz-cell-status {
    flex-shrink: 0;
}

.scz-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.scz-badge-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.scz-badge-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.scz-badge-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.scz-badge-default {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* ============================================================
   MOBILE: stack the feed row so the status badge stays INSIDE
   ============================================================ */
@media (max-width: 767px) {
	.scz-feed-wrap {
		overflow: hidden !important;
		padding: 0 !important;
	}
	.scz-feed-row {
		grid-template-columns: 1fr auto !important;
		gap: 6px 10px !important;
		padding: 10px 12px !important;
	}
	.scz-cell-order {
		flex-direction: row !important;
		align-items: baseline !important;
		gap: 8px !important;
		min-width: 0 !important;
	}
	.scz-cell-direction {
		grid-column: 1 / -1 !important;
		flex-direction: row !important;
		flex-wrap: wrap;
		align-items: center !important;
		gap: 6px !important;
	}
	.scz-dir-line { font-size: 12px !important; }
	.scz-cur { max-width: 96px !important; }
	.scz-cell-user {
		grid-column: 1 !important;
		font-size: 11.5px !important;
	}
	.scz-cell-status {
		grid-column: 2 !important;
		justify-self: end !important;
	}
	.scz-badge {
		font-size: 10px !important;
		padding: 4px 8px !important;
		white-space: nowrap;
	}
}