/**
 * Script: GenSight StockTrade Widget Styles
 * Purpose: Provide utilitarian presentation styles for the stock quote widget.
 * Scope: WordPress front-end shortcode widget.
 *
 * Version: v1.0.0+20260706.1100-ET
 * Updated: 2026-07-06 11:00 ET
 */

.gst-stocktrade-widget {
	box-sizing: border-box;
	max-width: 420px;
}

.gst-stocktrade-widget *,
.gst-stocktrade-widget *::before,
.gst-stocktrade-widget *::after {
	box-sizing: inherit;
}

.gst-stocktrade-card {
	border: 1px solid currentColor;
	border-radius: 4px;
	padding: 1rem;
}

.gst-stocktrade-title {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 0.75rem;
}

.gst-stocktrade-row {
	display: flex;
	gap: 0.5rem;
	justify-content: space-between;
	line-height: 1.4;
	margin: 0.35rem 0;
}

.gst-stocktrade-label {
	font-weight: 600;
}

.gst-stocktrade-value {
	font-variant-numeric: tabular-nums;
	text-align: right;
}

.gst-stocktrade-value.is-positive,
.gst-stocktrade-value.is-negative {
	font-weight: 700;
}

.gst-stocktrade-delay,
.gst-stocktrade-status {
	font-size: 0.875rem;
	line-height: 1.4;
	margin-top: 0.75rem;
}

.gst-stocktrade-status:empty,
.gst-stocktrade-status[hidden] {
	display: none;
}

.gst-stocktrade-link {
	display: inline-block;
	font-weight: 600;
	margin-top: 0.75rem;
    font-size: 15px;
    padding: 18px 30px;
    letter-spacing: 1px;
    border-radius: 100px;
    line-height: 1;
	background: rgb(18,16,91,.9);
	color:#fff !important;
}

.gst-stocktrade-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.gst-stocktrade-widget.is-mock .gst-stocktrade-card,
.gst-stocktrade-widget.is-stale .gst-stocktrade-card {
	border-style: dashed;
}

@media (max-width: 480px) {
	.gst-stocktrade-row {
		display: block;
	}

	.gst-stocktrade-value {
		display: block;
		margin-top: 0.15rem;
		text-align: left;
	}
}
