/* ==========================================================================
   SkyTrade Aviation - Buttons
   .btn--gold is an exact mirror of elevatedButtonTheme in theme.dart:
   gold bg, navy text, 52px min height, 8px radius, 14px/700 label text.
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--st-space-xs);
	min-height: var(--st-button-min-height);
	padding: 0 var(--st-space-lg);
	border-radius: var(--st-button-radius);
	border: 1px solid transparent;
	font-family: var(--st-font-body);
	font-size: var(--st-button-font-size);
	font-weight: var(--st-button-font-weight);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
	text-decoration: none;
	white-space: nowrap;
}

.btn:disabled,
.btn[aria-disabled="true"] {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.btn--gold {
	background-color: var(--st-button-bg);
	color: var(--st-button-fg);
}

.btn--gold:hover,
.btn--gold:focus {
	background-color: var(--st-gold-light);
	color: var(--st-navy);
}

.btn--outline-gold {
	background-color: transparent;
	color: var(--st-gold);
	border-color: var(--st-gold);
}

.btn--outline-gold:hover,
.btn--outline-gold:focus {
	background-color: rgba(201, 168, 76, 0.1);
	color: var(--st-gold-light);
}

.btn--ghost {
	background-color: transparent;
	color: var(--st-white-60);
	border-color: var(--st-navy-mid);
}

.btn--ghost:hover,
.btn--ghost:focus {
	color: var(--st-white);
	border-color: var(--st-white-60);
}

.btn--sm {
	min-height: 40px;
	padding: 0 var(--st-space-md);
	font-size: 12px;
}

.btn--block {
	width: 100%;
}

.btn--loading {
	position: relative;
	color: transparent !important;
}

.btn--loading::after {
	content: "";
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: skytrade-spin 0.7s linear infinite;
	color: var(--st-navy);
}

@keyframes skytrade-spin {
	to { transform: rotate(360deg); }
}
