/**
 * Member-facing sponsor coupon shortcode styles.
 */

.nrl22-sponsor-coupon {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
}

.nrl22-sponsor-coupon__actions {
	margin: 10px 0 0;
}

.nrl22-sponsor-coupon__btn {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	padding: 12px 16px !important;
	box-sizing: border-box;
	background: #b40000 !important;
	color: #fff !important;
	text-decoration: none !important;
	border: none !important;
	border-radius: 4px;
	font-weight: 700 !important;
	font-size: 15px !important;
	line-height: 1.2 !important;
	letter-spacing: 0.02em;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, transform 0.1s ease;
}

.nrl22-sponsor-coupon__btn:hover,
.nrl22-sponsor-coupon__btn:focus {
	background: #d40000 !important;
	color: #fff !important;
	text-decoration: none !important;
}

.nrl22-sponsor-coupon__btn:active {
	background: #8f0000 !important;
	transform: translateY(1px);
}

.nrl22-sponsor-coupon__btn[aria-busy="true"] {
	opacity: 0.75;
	cursor: wait;
	pointer-events: none;
}

.nrl22-sponsor-coupon__notice {
	margin: 0 0 12px;
	padding: 10px 12px;
	border-left: 4px solid #ff4444;
	background: rgba(26, 26, 26, 0.92);
	color: #ffcccc;
	text-align: left;
	font-size: 14px;
	line-height: 1.35;
}

.nrl22-sponsor-coupon__notice--error {
	border-left-color: #ff4444;
	color: #ffcccc;
}

.nrl22-sponsor-coupon__code-block {
	margin: 8px 0 0;
	padding: 14px 12px 12px;
	border: 1px solid rgba(255, 255, 0, 0.55);
	background: rgba(17, 17, 17, 0.92);
	border-radius: 4px;
	text-align: center;
}

.nrl22-sponsor-coupon__code-label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.nrl22-sponsor-coupon__code-value {
	margin: 0 0 10px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
	font-size: 1.35em;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.25;
	color: #ffff00;
	word-break: break-all;
	user-select: all;
	background: transparent;
}

.nrl22-sponsor-coupon__code-expiry {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.85);
}

.nrl22-sponsor-coupon__copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 0, 0.65);
	border-radius: 4px;
	background: transparent;
	color: #ffff00;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nrl22-sponsor-coupon__copy:hover,
.nrl22-sponsor-coupon__copy:focus {
	background: rgba(255, 255, 0, 0.12);
	color: #ffff00;
}

.nrl22-sponsor-coupon__copy.is-copied {
	border-color: #7dff7d;
	color: #7dff7d;
}

.nrl22-sponsor-coupon__msg {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.9);
}
