/**
 * Stage CUE License Manager — storefront / My Account / Shop
 * Official site: https://stageq.ru/
 * Luxury dark tech aesthetic aligned with Astra palette.
 */

@keyframes stagecue-fade-up {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes stagecue-shimmer {
	0% {
		background-position: 0% 50%;
	}
	100% {
		background-position: 100% 50%;
	}
}

@keyframes stagecue-glow {
	0%,
	100% {
		box-shadow: 0 0 0 1px rgba(0, 133, 255, 0.25), 0 12px 40px rgba(7, 6, 20, 0.35);
	}
	50% {
		box-shadow: 0 0 0 1px rgba(0, 133, 255, 0.55), 0 16px 48px rgba(0, 133, 255, 0.18);
	}
}

.stagecue-store,
.stagecue-account,
.stagecue-license-checkout,
.woocommerce-account,
.woocommerce-checkout,
.woocommerce-cart,
.woocommerce-shop {
	--stagecue-accent: var(--ast-global-color-0, #0085FF);
	--stagecue-accent-hover: var(--ast-global-color-1, #0177E3);
	--stagecue-on-accent: var(--ast-global-color-2, #FFFFFF);
	--stagecue-tint: var(--ast-global-color-3, #E7F6FF);
	--stagecue-panel: var(--ast-global-color-4, #212A37);
	--stagecue-ink: var(--ast-global-color-5, #0F172A);
	--stagecue-muted: #9AA6B2;
	--stagecue-deep: var(--ast-global-color-7, #070614);
	--stagecue-line: rgba(255, 255, 255, 0.12);
	--stagecue-radius: 4px;
	--stagecue-shadow: 0 18px 50px rgba(7, 6, 20, 0.45);
	--stagecue-frame: linear-gradient(135deg, rgba(0, 133, 255, 0.55), rgba(231, 246, 255, 0.08), rgba(0, 133, 255, 0.25));
}

/* ——— Shared luxury frame ——— */
.stagecue-store .woocommerce ul.products li.product,
.stagecue-store .woocommerce-cart-form,
.stagecue-store .cart-collaterals .cart_totals,
.stagecue-store form.checkout,
.stagecue-store .woocommerce-MyAccount-navigation,
.stagecue-store .woocommerce-MyAccount-content,
.stagecue-store .woocommerce-order,
.stagecue-license-fields.stagecue-panel,
.stagecue-license-detail,
.stagecue-order-block,
.stagecue-empty-state,
.stagecue-licenses-wrap {
	position: relative;
	border-radius: var(--stagecue-radius);
	animation: stagecue-fade-up 0.55s ease both;
}

.stagecue-store .woocommerce ul.products li.product,
.stagecue-store .woocommerce-cart-form,
.stagecue-store .cart-collaterals .cart_totals,
.stagecue-store .woocommerce-MyAccount-navigation,
.stagecue-store .woocommerce-MyAccount-content > *,
.stagecue-license-fields.stagecue-panel,
.stagecue-license-detail,
.stagecue-order-block,
.stagecue-empty-state {
	background:
		linear-gradient(160deg, rgba(0, 133, 255, 0.16), transparent 40%),
		linear-gradient(180deg, #212A37 0%, #0F172A 100%);
	border: 1px solid transparent;
	background-clip: padding-box;
	box-shadow: var(--stagecue-shadow);
}

.stagecue-store .woocommerce ul.products li.product::before,
.stagecue-license-fields.stagecue-panel::before,
.stagecue-license-detail::before,
.stagecue-order-block::before,
.stagecue-store .woocommerce-MyAccount-navigation::before,
.stagecue-store .cart-collaterals .cart_totals::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: var(--stagecue-frame);
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
	opacity: 0.9;
}

/* ——— Animated headings ——— */
.stagecue-store .woocommerce-products-header__title,
.stagecue-store .entry-title,
.stagecue-store h1.product_title,
.stagecue-store .woocommerce-MyAccount-content > h2,
.stagecue-store .cart_totals h2,
.stagecue-store .woocommerce-billing-fields h3,
.stagecue-store .woocommerce-additional-fields h3,
.stagecue-license-fields h3,
.stagecue-license-detail h2,
.stagecue-order-block h2,
.stagecue-panel__eyebrow {
	font-family: "Barlow Semi Condensed", sans-serif;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: linear-gradient(90deg, #FFFFFF 0%, #E7F6FF 40%, #0085FF 100%);
	background-size: 180% auto;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
	animation: stagecue-fade-up 0.7s ease both, stagecue-shimmer 6s linear infinite alternate;
}

.stagecue-panel__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	margin-bottom: 0.4rem;
	display: inline-block;
}

/* ——— Shop products ——— */
.stagecue-store .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5rem;
}

.stagecue-store .woocommerce ul.products li.product {
	padding: 1.1rem;
	margin: 0 !important;
	width: 100% !important;
	float: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}

.stagecue-store .woocommerce ul.products li.product:hover {
	transform: translateY(-6px);
	animation: stagecue-glow 2.8s ease-in-out infinite;
}

.stagecue-store .woocommerce ul.products li.product .woocommerce-loop-product__title,
.stagecue-store .woocommerce ul.products li.product h2,
.stagecue-store .woocommerce ul.products li.product h3 {
	color: #FFFFFF !important;
	font-family: "Barlow Semi Condensed", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 1.05rem;
}

.stagecue-store .woocommerce ul.products li.product .price {
	color: #E7F6FF !important;
	font-weight: 600;
}

.stagecue-store .woocommerce a.button,
.stagecue-store .woocommerce button.button,
.stagecue-store .woocommerce input.button,
.stagecue-store .woocommerce #respond input#submit,
.stagecue-licenses-table .button,
.stagecue-license-detail .button,
.stagecue-order-block .button,
.stagecue-file-actions .button {
	border: none !important;
	border-radius: var(--stagecue-radius) !important;
	background: linear-gradient(135deg, #0085FF 0%, #0177E3 100%) !important;
	color: #fff !important;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	box-shadow: 0 8px 22px rgba(0, 133, 255, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.stagecue-store .woocommerce a.button:hover,
.stagecue-store .woocommerce button.button:hover,
.stagecue-licenses-table .button:hover,
.stagecue-license-detail .button:hover,
.stagecue-order-block .button:hover,
.stagecue-file-actions .button:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
	box-shadow: 0 12px 28px rgba(0, 133, 255, 0.4);
	color: #fff !important;
}

/* ——— Cart / checkout tables & coupons ——— */
.stagecue-store .woocommerce-cart-form,
.stagecue-store .cart-collaterals .cart_totals {
	padding: 1.4rem;
	color: #fff;
}

.stagecue-store .cart_totals table td,
.stagecue-store .shop_table td,
.woocommerce-cart .shop_table td,
.woocommerce-checkout .shop_table td {
	color: #E7F6FF !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	background: transparent !important;
}

/* All WooCommerce table headers: dark readable gamma */
.stagecue-store table.shop_table thead th,
.stagecue-store .shop_table thead th,
.stagecue-store .woocommerce-cart-form table.shop_table thead th,
.stagecue-store .cart_totals table thead th,
.stagecue-store .woocommerce-checkout-review-order-table thead th,
.stagecue-store #order_review table.shop_table thead th,
.woocommerce-cart table.shop_table thead th,
.woocommerce-checkout table.shop_table thead th,
.woocommerce-account table.shop_table thead th,
.stagecue-account table.shop_table thead th {
	background: #0B1220 !important;
	color: #FFFFFF !important;
	border-color: rgba(0, 133, 255, 0.35) !important;
	border-bottom: 1px solid rgba(0, 133, 255, 0.35) !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Cart / order review body rows stay on dark panel */
.stagecue-store table.shop_table,
.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
	color: #FFFFFF !important;
}

.stagecue-store table.shop_table tbody tr,
.woocommerce-cart table.shop_table tbody tr,
.woocommerce-checkout table.shop_table tbody tr {
	background: transparent !important;
}

.stagecue-store .cart_totals table th,
.stagecue-store .woocommerce-checkout-review-order-table tfoot th,
.stagecue-store #order_review table.shop_table tfoot th,
.woocommerce-checkout .shop_table tfoot th {
	background: rgba(11, 18, 32, 0.85) !important;
	color: #FFFFFF !important;
	border-color: rgba(255, 255, 255, 0.12) !important;
}

.stagecue-store .cart_totals table td,
.stagecue-store .woocommerce-checkout-review-order-table tfoot td,
.stagecue-store #order_review table.shop_table tfoot td {
	background: rgba(11, 18, 32, 0.55) !important;
	color: #E7F6FF !important;
}

/* Licenses list: keep dark header (override shop_table transparent th above). */
.stagecue-store .stagecue-licenses-table thead th,
.stagecue-account .stagecue-licenses-table thead th,
.stagecue-licenses-wrap .stagecue-licenses-table thead th {
	background: #0B1220 !important;
	color: #FFFFFF !important;
	border-bottom: 1px solid rgba(0, 133, 255, 0.35) !important;
}

/* Coupon notice (“Have a coupon?”) — dark readable panel */
.stagecue-store .woocommerce-form-coupon-toggle .woocommerce-info,
.stagecue-store .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-cart .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
	background: linear-gradient(180deg, #1A2330 0%, #0B1220 100%) !important;
	border: 1px solid rgba(0, 133, 255, 0.35) !important;
	border-top-color: #0085FF !important;
	color: #E7F6FF !important;
	box-shadow: none !important;
}

.stagecue-store .woocommerce-info::before,
.woocommerce-checkout .woocommerce-info::before,
.woocommerce-cart .woocommerce-info::before {
	color: #0085FF !important;
}

.stagecue-store .woocommerce-info a,
.woocommerce-checkout .woocommerce-info a,
.woocommerce-cart .woocommerce-info a,
.stagecue-store .woocommerce-form-coupon-toggle a {
	color: #FFFFFF !important;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.stagecue-store .woocommerce-info a:hover,
.woocommerce-checkout .woocommerce-info a:hover,
.woocommerce-cart .woocommerce-info a:hover {
	color: #0085FF !important;
}

/* Coupon form fields */
.stagecue-store form.checkout_coupon,
.stagecue-store .woocommerce-form-coupon,
.woocommerce-cart .coupon,
.woocommerce-checkout form.checkout_coupon {
	background: rgba(7, 6, 20, 0.45);
	border: 1px solid rgba(0, 133, 255, 0.28);
	border-radius: var(--stagecue-radius);
	padding: 1rem 1.1rem;
	margin: 0 0 1.25rem;
}

.stagecue-store .coupon input.input-text,
.stagecue-store form.checkout_coupon input.input-text,
.woocommerce-cart .coupon input.input-text,
.woocommerce-checkout form.checkout_coupon input.input-text {
	background: #0B1220 !important;
	border: 1px solid rgba(0, 133, 255, 0.4) !important;
	color: #FFFFFF !important;
	border-radius: var(--stagecue-radius);
}

.stagecue-store .coupon input.input-text::placeholder,
.stagecue-store form.checkout_coupon input.input-text::placeholder,
.woocommerce-cart .coupon input.input-text::placeholder,
.woocommerce-checkout form.checkout_coupon input.input-text::placeholder {
	color: #9AA6B2 !important;
	opacity: 1;
}

.stagecue-store .coupon .button,
.stagecue-store form.checkout_coupon .button,
.woocommerce-cart .coupon .button,
.woocommerce-checkout form.checkout_coupon .button,
.stagecue-store .woocommerce-cart-form .button[name="update_cart"] {
	background: #0085FF !important;
	border-color: #0085FF !important;
	color: #FFFFFF !important;
}

/* ——— My Account navigation ——— */
.stagecue-account .woocommerce-MyAccount-navigation,
.stagecue-store .woocommerce-MyAccount-navigation {
	overflow: hidden;
}

.stagecue-account .woocommerce-MyAccount-navigation ul,
.stagecue-store .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0.35rem;
}

.stagecue-account .woocommerce-MyAccount-navigation a,
.stagecue-store .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 0.9rem 1.1rem;
	margin: 0.2rem 0;
	border-radius: var(--stagecue-radius);
	border: 1px solid transparent;
	color: #E7F6FF !important;
	text-decoration: none;
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.stagecue-account .woocommerce-MyAccount-navigation .is-active a,
.stagecue-account .woocommerce-MyAccount-navigation a:hover,
.stagecue-store .woocommerce-MyAccount-navigation .is-active a,
.stagecue-store .woocommerce-MyAccount-navigation a:hover {
	background: linear-gradient(90deg, rgba(0, 133, 255, 0.28), rgba(0, 133, 255, 0.05));
	border-color: rgba(0, 133, 255, 0.35);
	color: #FFFFFF !important;
	transform: translateX(4px);
}

.stagecue-store .woocommerce-MyAccount-content,
.stagecue-account .woocommerce-MyAccount-content {
	padding: 0.25rem 0 0;
	color: #fff;
}

/* WooCommerce wraps order # / date / status in <mark> — keep readable on dark panels */
.stagecue-store .woocommerce-MyAccount-content mark,
.stagecue-account .woocommerce-MyAccount-content mark,
.stagecue-store .woocommerce-order-overview mark,
.stagecue-store .woocommerce-order mark,
.stagecue-store .woocommerce-view-order mark,
.woocommerce-account mark.order-number,
.woocommerce-account mark.order-date,
.woocommerce-account mark.order-status {
	background: rgba(0, 133, 255, 0.22) !important;
	color: #FFFFFF !important;
	padding: 0.1em 0.4em;
	border-radius: 3px;
	font-weight: 700;
}

.stagecue-store .woocommerce-MyAccount-content .woocommerce-Addresses,
.stagecue-store .woocommerce-MyAccount-content .woocommerce-orders-table,
.stagecue-store .woocommerce-MyAccount-content .woocommerce-order-details {
	background:
		linear-gradient(160deg, rgba(0, 133, 255, 0.12), transparent 42%),
		linear-gradient(180deg, #212A37 0%, #0F172A 100%);
	border: 1px solid rgba(0, 133, 255, 0.25);
	border-radius: var(--stagecue-radius);
	box-shadow: var(--stagecue-shadow);
	padding: 1.25rem;
	animation: stagecue-fade-up 0.55s ease both;
}

/* ——— My Account: Addresses ——— */
.stagecue-store .woocommerce-Addresses,
.woocommerce-account .woocommerce-Addresses {
	overflow: hidden;
}

.stagecue-store .woocommerce-Addresses > p,
.woocommerce-account .woocommerce-Addresses > p,
.stagecue-store .woocommerce-MyAccount-content > p,
.woocommerce-account .woocommerce-Address + p,
.stagecue-store .woocommerce-Addresses .woocommerce-Address + .woocommerce-Address {
	color: #B6C2CC;
}

.stagecue-store .woocommerce-Addresses .u-columns,
.woocommerce-account .woocommerce-Addresses .u-columns,
.stagecue-store .woocommerce-Addresses .col2-set,
.woocommerce-account .woocommerce-Addresses .col2-set {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.1rem;
	margin: 1.1rem 0 0;
}

.stagecue-store .woocommerce-Addresses .u-column1,
.stagecue-store .woocommerce-Addresses .u-column2,
.stagecue-store .woocommerce-Addresses .col-1,
.stagecue-store .woocommerce-Addresses .col-2,
.woocommerce-account .woocommerce-Addresses .u-column1,
.woocommerce-account .woocommerce-Addresses .u-column2,
.woocommerce-account .woocommerce-Addresses .col-1,
.woocommerce-account .woocommerce-Addresses .col-2 {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.stagecue-store .woocommerce-Address,
.woocommerce-account .woocommerce-Address {
	background:
		linear-gradient(165deg, rgba(0, 133, 255, 0.16), transparent 48%),
		linear-gradient(180deg, #1A2330 0%, #0B1220 100%);
	border: 1px solid rgba(0, 133, 255, 0.28);
	border-radius: var(--stagecue-radius);
	box-shadow: 0 14px 36px rgba(7, 6, 20, 0.4);
	overflow: hidden;
	animation: stagecue-fade-up 0.55s ease both;
	min-height: 100%;
}

.stagecue-store .woocommerce-Address header,
.stagecue-store .woocommerce-Address .woocommerce-Address-title,
.stagecue-store .woocommerce-Address title,
.woocommerce-account .woocommerce-Address header,
.woocommerce-account .woocommerce-Address .woocommerce-Address-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.55rem 1rem;
	margin: 0;
	padding: 1rem 1.15rem;
	background: linear-gradient(90deg, rgba(0, 133, 255, 0.22), rgba(0, 133, 255, 0.05));
	border-bottom: 1px solid rgba(0, 133, 255, 0.28);
	border-radius: 0;
}

.stagecue-store .woocommerce-Address header h3,
.stagecue-store .woocommerce-Address .woocommerce-Address-title h3,
.stagecue-store .woocommerce-Address-title title,
.woocommerce-account .woocommerce-Address header h3,
.woocommerce-account .woocommerce-Address .woocommerce-Address-title h3,
.stagecue-store .woocommerce-MyAccount-content .woocommerce-Address h3 {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	color: #FFFFFF !important;
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.stagecue-store .woocommerce-Address header a,
.stagecue-store .woocommerce-Address .edit,
.stagecue-store .woocommerce-Address-title .edit,
.woocommerce-account .woocommerce-Address header a,
.woocommerce-account .woocommerce-Address .edit,
.stagecue-store .woocommerce-MyAccount-content .woocommerce-Address a.edit {
	color: #7EC8FF !important;
	background: rgba(0, 133, 255, 0.18) !important;
	border: 1px solid rgba(0, 133, 255, 0.45) !important;
	border-radius: 3px;
	padding: 0.35rem 0.7rem !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	text-transform: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
	white-space: nowrap;
}

.stagecue-store .woocommerce-Address header a:hover,
.stagecue-store .woocommerce-Address .edit:hover,
.woocommerce-account .woocommerce-Address header a:hover,
.woocommerce-account .woocommerce-Address .edit:hover,
.stagecue-store .woocommerce-MyAccount-content .woocommerce-Address a.edit:hover {
	color: #FFFFFF !important;
	background: rgba(0, 133, 255, 0.4) !important;
	border-color: #0085FF !important;
	transform: translateY(-1px);
}

.stagecue-store .woocommerce-Address address,
.woocommerce-account .woocommerce-Address address {
	display: block;
	margin: 0;
	padding: 1.15rem 1.2rem 1.25rem;
	background: transparent !important;
	border: 0 !important;
	color: #E7F6FF !important;
	font-style: normal !important;
	font-size: 0.95rem;
	line-height: 1.65;
}

.stagecue-store .woocommerce-Address address .woocommerce-customer-details--phone,
.stagecue-store .woocommerce-Address address .woocommerce-customer-details--email {
	display: block;
	margin-top: 0.35rem;
	color: #9AA6B2;
}

/* Edit address form on dark My Account */
.stagecue-store .woocommerce-MyAccount-content form.edit-account,
.stagecue-store .woocommerce-MyAccount-content form[name="edit_address"],
.woocommerce-account form.woocommerce-address-fields,
.woocommerce-edit-address .woocommerce-address-fields {
	background:
		linear-gradient(160deg, rgba(0, 133, 255, 0.12), transparent 42%),
		linear-gradient(180deg, #212A37 0%, #0F172A 100%);
	border: 1px solid rgba(0, 133, 255, 0.25);
	border-radius: var(--stagecue-radius);
	box-shadow: var(--stagecue-shadow);
	padding: 1.35rem 1.4rem 1.5rem;
	color: #FFFFFF;
}

.stagecue-store .woocommerce-MyAccount-content form .form-row label,
.woocommerce-account form.woocommerce-address-fields .form-row label {
	color: #E7F6FF !important;
}

.stagecue-store .woocommerce-MyAccount-content form .input-text,
.stagecue-store .woocommerce-MyAccount-content form select,
.woocommerce-account form.woocommerce-address-fields .input-text,
.woocommerce-account form.woocommerce-address-fields select {
	background: rgba(7, 6, 20, 0.55) !important;
	border: 1px solid rgba(0, 133, 255, 0.35) !important;
	color: #FFFFFF !important;
	border-radius: var(--stagecue-radius);
}

.stagecue-store .woocommerce-MyAccount-content form .button,
.woocommerce-account form.woocommerce-address-fields .button {
	background: linear-gradient(135deg, #0085FF, #0177E3) !important;
	border: 0 !important;
	color: #FFFFFF !important;
	border-radius: var(--stagecue-radius);
	box-shadow: 0 10px 24px rgba(0, 133, 255, 0.28);
}

@media (max-width: 781px) {
	.stagecue-store .woocommerce-Addresses .u-columns,
	.woocommerce-account .woocommerce-Addresses .u-columns,
	.stagecue-store .woocommerce-Addresses .col2-set,
	.woocommerce-account .woocommerce-Addresses .col2-set {
		grid-template-columns: 1fr;
	}
}

/* ——— Checkout license panel ——— */
.stagecue-license-fields.stagecue-panel {
	margin: 2rem 0;
	padding: 1.6rem;
	color: #FFFFFF;
	animation: stagecue-fade-up 0.55s ease both, stagecue-glow 4.5s ease-in-out infinite;
}

.stagecue-license-fields.stagecue-panel,
.stagecue-license-fields.stagecue-panel * {
	color: inherit;
}

.stagecue-panel__header {
	margin-bottom: 1rem;
}

.stagecue-license-fields h3 {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	font-weight: 600;
}

.stagecue-steps {
	margin: 0 0 1.1rem;
	padding: 0.9rem 0.9rem 0.9rem 1.5rem;
	border-radius: var(--stagecue-radius);
	border-left: 3px solid #0085FF;
	background: rgba(0, 133, 255, 0.12);
	color: #E7F6FF !important;
	list-style: decimal;
}

.stagecue-steps li {
	margin: 0.28rem 0;
	color: #E7F6FF !important;
}

.stagecue-hint,
.stagecue-mapped-note,
.stagecue-license-fields .description {
	display: block;
	margin: 0.35rem 0 0.85rem;
	color: #B6C2CC !important;
	font-size: 0.92em;
	line-height: 1.5;
}

.stagecue-license-fields .form-row label,
.stagecue-license-fields label {
	color: #FFFFFF !important;
	font-weight: 500;
}

.stagecue-license-fields .form-row label .required,
.stagecue-license-fields label .required {
	color: #0085FF !important;
}

.stagecue-upload-status {
	display: block;
	margin-top: 0.55rem;
	font-size: 0.92em;
	line-height: 1.4;
	color: #B6C2CC;
}

.stagecue-upload-status.is-loading {
	color: #E7F6FF;
}

.stagecue-upload-status.is-success {
	color: #7CFFB2;
	font-weight: 600;
}

.stagecue-upload-status.is-error {
	color: #FF8E8E;
	font-weight: 600;
}

.stagecue-required-hint label {
	font-weight: 600;
}

.stagecue-license-fields .form-row input.input-text,
.stagecue-license-fields .form-row select,
.stagecue-license-fields input.input-text,
.stagecue-license-fields select,
.stagecue-store .woocommerce form .form-row input.input-text,
.stagecue-store .woocommerce form .form-row textarea,
.stagecue-store .woocommerce form .form-row select {
	border-radius: var(--stagecue-radius) !important;
	border: 1px solid rgba(231, 246, 255, 0.22) !important;
	background: #070614 !important;
	color: #FFFFFF !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.stagecue-license-fields .form-row input.input-text:focus,
.stagecue-license-fields .form-row select:focus,
.stagecue-store .woocommerce form .form-row input.input-text:focus,
.stagecue-store .woocommerce form .form-row textarea:focus,
.stagecue-store .woocommerce form .form-row select:focus {
	border-color: #0085FF !important;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 133, 255, 0.35) !important;
}

.stagecue-license-fields select option {
	background: #0F172A;
	color: #FFFFFF;
}

/* ——— Licenses table ——— */
.stagecue-licenses-table {
	border-collapse: separate !important;
	border-spacing: 0;
	border: 1px solid rgba(0, 133, 255, 0.28) !important;
	border-radius: var(--stagecue-radius);
	overflow: hidden;
	background: #212A37;
	box-shadow: var(--stagecue-shadow);
	color: #FFFFFF;
	animation: stagecue-fade-up 0.55s ease both;
}

.stagecue-licenses-table thead th {
	background: #0B1220 !important;
	color: #FFFFFF !important;
	border: none !important;
	border-bottom: 1px solid rgba(0, 133, 255, 0.35) !important;
	font-family: "Barlow Semi Condensed", sans-serif;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.stagecue-licenses-table td,
.stagecue-licenses-table th {
	padding: 0.85rem 1rem !important;
	vertical-align: middle;
	border-color: rgba(255, 255, 255, 0.1) !important;
	color: #FFFFFF !important;
}

.stagecue-licenses-table tbody tr {
	transition: background 0.2s ease;
}

.stagecue-licenses-table tbody tr:nth-child(even) {
	background: rgba(0, 133, 255, 0.08);
}

.stagecue-licenses-table tbody tr:hover {
	background: rgba(0, 133, 255, 0.16);
}

.stagecue-licenses-table a {
	color: #E7F6FF !important;
	font-weight: 600;
}

/* ——— Detail / order blocks ——— */
.stagecue-license-detail,
.stagecue-order-block,
.stagecue-empty-state {
	margin-top: 0.5rem;
	padding: 1.5rem;
	color: #FFFFFF;
}

.stagecue-license-detail .stagecue-panel__eyebrow,
.stagecue-order-block .stagecue-panel__eyebrow {
	color: transparent !important;
}

.stagecue-license-detail h2,
.stagecue-order-block h2,
.stagecue-license-detail h3 {
	margin: 0 0 0.75rem;
	font-weight: 600;
}

.stagecue-license-detail .woocommerce-table,
.stagecue-license-detail table.shop_table {
	border: 0 !important;
	background: transparent;
}

.stagecue-license-detail .woocommerce-table th,
.stagecue-license-detail table.shop_table th {
	width: 38%;
	color: #B6C2CC !important;
	font-weight: 600;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	font-family: "Barlow Semi Condensed", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.85rem;
}

.stagecue-license-detail .woocommerce-table td,
.stagecue-license-detail table.shop_table td {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	color: #FFFFFF !important;
}

.stagecue-status-message {
	margin: 0 0 1.1rem;
	padding: 0.85rem 1rem;
	border-radius: var(--stagecue-radius);
	border-left: 3px solid #0085FF;
	background: rgba(0, 133, 255, 0.14);
	color: #E7F6FF !important;
}

.stagecue-status-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.55rem;
	border-radius: var(--stagecue-radius);
	background: rgba(0, 133, 255, 0.22);
	color: #E7F6FF !important;
	font-size: 0.82em;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.stagecue-status-badge.is-ready {
	background: rgba(0, 133, 255, 0.28);
	color: #FFFFFF !important;
}

.stagecue-status-badge.is-awaiting {
	background: rgba(182, 194, 204, 0.18);
	color: #E7F6FF !important;
}

.stagecue-status-badge.is-revoked {
	background: rgba(155, 32, 32, 0.28);
	color: #FFD0D0 !important;
}

.stagecue-file-actions {
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.stagecue-file-actions li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--stagecue-radius);
	background: rgba(7, 6, 20, 0.45);
	color: #FFFFFF !important;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.stagecue-file-actions li:hover {
	border-color: rgba(0, 133, 255, 0.45);
	transform: translateY(-2px);
}

.stagecue-file-actions li strong,
.stagecue-file-actions li a:not(.button) {
	color: #E7F6FF !important;
}

.stagecue-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-bottom: 1rem;
	color: #0085FF !important;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s ease, transform 0.2s ease;
}

.stagecue-back-link:hover {
	color: #E7F6FF !important;
	transform: translateX(-3px);
}

.stagecue-empty-state {
	text-align: center;
	color: #B6C2CC !important;
	padding: 2rem 1.5rem;
}

/* ——— Thank-you: license preparing notice ——— */
.stagecue-thankyou-license-notice {
	margin: 1.25rem 0 1.5rem;
	padding: 1.15rem 1.25rem;
	border-radius: var(--stagecue-radius, 4px);
	border: 1px solid rgba(0, 133, 255, 0.4);
	background:
		linear-gradient(135deg, rgba(0, 133, 255, 0.2), rgba(0, 133, 255, 0.05)),
		linear-gradient(180deg, #212A37 0%, #0F172A 100%);
	box-shadow: 0 12px 32px rgba(7, 6, 20, 0.35);
	animation: stagecue-fade-up 0.55s ease both;
	color: #FFFFFF;
}

.stagecue-thankyou-license-notice__text {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.55;
	color: #E7F6FF !important;
	font-weight: 500;
}

.stagecue-thankyou-license-notice__link {
	margin: 0.75rem 0 0;
}

.stagecue-thankyou-license-notice__link a {
	display: inline-block;
	color: #FFFFFF !important;
	background: linear-gradient(135deg, #0085FF, #0177E3);
	border-radius: 3px;
	padding: 0.45rem 0.9rem;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.9rem;
	box-shadow: 0 8px 20px rgba(0, 133, 255, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stagecue-thankyou-license-notice__link a:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 133, 255, 0.4);
	color: #FFFFFF !important;
}

@media (max-width: 768px) {
	.stagecue-store .woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.stagecue-license-fields.stagecue-panel,
	.stagecue-license-detail,
	.stagecue-order-block {
		padding: 1.1rem;
	}

	.stagecue-file-actions li {
		flex-direction: column;
		align-items: flex-start;
	}
}
