@font-face {
  font-family: 'arial_mt_stdlight';
  src: url('fonts/arialmtstd-light.eot');
  src: url('fonts/arialmtstd-light.eot?#iefix') format('embedded-opentype'),
	url('fonts/arialmtstd-light.woff2') format('woff2'),
	url('fonts/arialmtstd-light.woff') format('woff'),
	url('fonts/arialmtstd-light.ttf') format('truetype'),
	url('fonts/arialmtstd-light.svg#arial_mt_stdlight') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
	font-family: 'arial-mt-std';
	src: url('fonts/Arial-MT-Std.ttf') format('truetype');
  }
/* --- General Setup & Resets --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'arial-mt-std', Arial, Helvetica, sans-serif;
	background-color: rgba(255, 255, 255, 0.7);
	color: #6b7280; /* text-slate-700 */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --- Main Layout --- */
.main-container {
	min-height: 100vh;
	padding: 1rem;
}

.content-wrapper {
	max-width: 1150px; 
	/* margin: 0 auto; */
	background-color: #ffffff;
	border-radius: 6px; /* rounded-xl */
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
	0 4px 6px -4px rgba(0, 0, 0, 0.1),
	0 -6px 12px -4px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

/* --- Header --- */
.header {
	padding: 20px;
	border-bottom: 1px solid #000000; /* border-slate-200 */
}
.header h1 {
	font-size: 1.5rem; /* text-2xl */
	font-weight: medium;
	color: #000; /* text-slate-800 */
}
.header p {
	color: #000; /* text-slate-500 */
	margin-top: 0.25rem;
	font-size: 16px; /* text-sm */
}

/* --- Trade List --- */
.trade-list-container {
	display: flex;
	flex-direction: column;
}

/* --- Status Message (Loading/Error) --- */
.status-message {
	color: #64748b;
	text-align: center;
	padding: 2rem;
	font-style: italic;
}

/* --- Trade Row Styling --- */
.trade-row {
	display: grid;
	grid-template-columns: 1fr 1fr; /* Mobile first: 2 columns */
	gap: 0.5rem 1rem;
	padding: 1rem 1.5rem;
	border-bottom: 1px solid #000000; /* border-slate-200 */
	transition: background-color 0.2s ease;
	position: relative;
	padding-left: 2.5rem; /* Space for the timeline indicator */
}

.trade-row:last-child {
	border-bottom: none;
}

.trade-row:hover {
	background-color: #f8fafc; /* hover:bg-slate-50 */
}

/* The colored timeline indicator line */
.trade-row::before {
	content: '';
	position: absolute;
	left: 1.5rem;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 50%;
	border-radius: 2px;
	background-color: #6b7280; /* Default/Neutral color */
}

/* Timeline Indicator Colors */
.trade-row.price-up::before { background-color: #22c55e; } /* Green */
.trade-row.price-down::before { background-color: #ef4444; } /* Red */

/* Row Data Sections */
.trade-data-point .label {
	font-size: 0.75rem; /* text-xs */
	color: #000; /* text-slate-500 */
	margin-bottom: 0.125rem;
	display: block;
}

.trade-data-point .value {
	font-weight: 600;
	font-size: 1rem;
	color: #000000;
}

.trade-data-point .price-value {
	font-weight: 700;
	font-size: 1.125rem;
}

/* .trade-data-point .volume-value {
	font-family: monospace;
} */

.poweredby {
	font-size: 8px;
	color: #999999;
	text-align: right;
	margin: 15px 0;
	padding-right: 8px;
	padding-top: 5px;
	letter-spacing: 2px;
	height: 10px;
	padding: 5px 0;
	max-width: 1150px;
}

.poweredby img {
	height: 10px;
	margin-top: 0px;
}

/* Price Color Classes (for text) */
.price-up .price-value { color: #22c55e; } /* text-green-800 */
.price-down .price-value { color: #ef4444; } /* text-red-800 */

/* --- Responsive Design --- */
@media (min-width: 440px) { /* sm breakpoint */
	.trade-row {
		grid-template-columns: 0.75fr 1fr 1fr; /* 3 columns for desktop */
		align-items: center;
		gap: 1.5rem;
	}
}

/* Add this at the end of your T05Trades.css */

/* Refresh indicator on the right */
.refresh-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.refresh-indicator.refreshing {
    opacity: 1;
}

.refresh-spinner {
    width: 16px;
    height: 16px;
}

.spinner-fg {
    stroke: #3b82f6;
    transition: stroke-dashoffset 0.3s ease;
}

.refresh-indicator.refreshing .spinner-fg {
    stroke: #22c55e;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refresh-time {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
}

/* Subtle flash when data updates */
.trade-row.data-refreshed {
    background-color: rgba(59, 130, 246, 0.08);
}