.fxs-grid {
	display: grid;
	grid-template-columns: repeat(var(--fxs-columns, 2), 1fr);
	gap: 18px;
	margin: 20px 0;
	direction: rtl;
}

@media (max-width: 780px) {
	.fxs-grid {
		grid-template-columns: repeat(1, 1fr) !important;
	}
}

.fxs-card {
	background: #1e2035;
	border-radius: 16px;
	padding: 18px 20px;
	color: #fff;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Vazirmatn, sans-serif;
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
	position: relative;
}

.fxs-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.fxs-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	background: rgba(255,255,255,.06);
}

.fxs-status-target .fxs-badge { color: #2ecc71; }
.fxs-status-stop .fxs-badge { color: #e74c3c; }
.fxs-status-live .fxs-badge { color: #3498db; }

.fxs-status-live .fxs-badge-icon {
	animation: fxs-pulse 1.4s infinite;
}
@keyframes fxs-pulse {
	0% { opacity: .3; }
	50% { opacity: 1; }
	100% { opacity: .3; }
}

.fxs-author {
	display: flex;
	align-items: center;
	gap: 8px;
}
.fxs-author img {
	border-radius: 50%;
	width: 28px;
	height: 28px;
}
.fxs-author-name {
	font-size: 12px;
	color: #a9abc4;
}

.fxs-card-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.fxs-symbol-block {
	display: flex;
	align-items: baseline;
	gap: 10px;
}
.fxs-symbol {
	font-size: 20px;
	font-weight: 800;
}
.fxs-current-price {
	font-size: 18px;
	font-weight: 700;
	color: #e05a67;
}
.fxs-direction {
	font-weight: 700;
	font-size: 15px;
}
.fxs-direction-buy { color: #2ecc71; }
.fxs-direction-sell { color: #e74c3c; }

.fxs-date {
	font-size: 12px;
	color: #7d7f9a;
	margin: 4px 0 14px;
}

.fxs-values-row {
	display: flex;
	justify-content: space-between;
	text-align: center;
	margin-bottom: 10px;
}
.fxs-value { flex: 1; }
.fxs-value-num {
	display: block;
	font-weight: 700;
	font-size: 15px;
}
.fxs-value-label {
	display: block;
	font-size: 11px;
	color: #8b8da8;
	margin-top: 2px;
}
.fxs-value-stop .fxs-value-num { color: #e74c3c; }
.fxs-value-current .fxs-value-num { color: #4a8cff; }
.fxs-value-entry .fxs-value-num { color: #fff; }
.fxs-value-tp .fxs-value-num { color: #2ecc71; }

.fxs-bar-wrap {
	position: relative;
	height: 40px;
	margin-top: 10px;
}
.fxs-bar-line {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(255,255,255,.15);
	transform: translateY(-50%);
}
.fxs-pnl-arrow {
	position: absolute;
	top: -14px;
	height: 2px;
	font-size: 10px;
	white-space: nowrap;
	text-align: center;
}
.fxs-pnl-positive { color: #2ecc71; background: #2ecc71; }
.fxs-pnl-negative { color: #e74c3c; background: #e74c3c; }

.fxs-dot {
	position: absolute;
	top: 50%;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	border: 2px solid #1e2035;
}
.fxs-dot-stop { background: #e74c3c; }
.fxs-dot-tp { background: #2ecc71; }
.fxs-dot-entry { background: #fff; width: 14px; height: 14px; }
.fxs-dot-current { background: #4a8cff; }

.fxs-empty {
	color: #888;
	text-align: center;
	padding: 30px;
}
