/* ============================================================
   NOC Event Suite v5 — Payment checkout (front-end)
   Brand palette: Light #00A4A3 · Medium #256C71 · Dark #275059
   ============================================================ */

.noc-payment-wrap {
	--noc-pay-light: #00a4a3;
	--noc-pay-mid: #256c71;
	--noc-pay-dark: #275059;
	--noc-pay-radius: 14px;
	--noc-pay-radius-sm: 9px;

	max-width: 560px;
	margin: 2rem auto 3rem;
	padding: 0 1rem;
}

.noc-payment-checkout {
	position: relative;
	overflow: hidden;
	padding: 2rem 1.75rem 1.75rem;
	border-radius: var(--noc-pay-radius);
	background: linear-gradient(150deg, var(--noc-pay-dark) 0%, var(--noc-pay-mid) 55%, var(--noc-pay-light) 100%);
	color: #fff;
	box-shadow:
		0 20px 60px rgba(0, 0, 0, 0.28),
		0 4px 16px rgba(0, 164, 163, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.noc-payment-checkout::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--noc-pay-light), #7de8e8, var(--noc-pay-light));
	background-size: 200% 100%;
	animation: noc-pay-shimmer 3s linear infinite;
}

@keyframes noc-pay-shimmer {
	0%   { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

.noc-payment-checkout__eyebrow {
	display: inline-block;
	margin: 0 0 0.65rem;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.noc-payment-checkout__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
}

.noc-payment-checkout__desc {
	margin: 0 0 1rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
}

.noc-payment-checkout__amount {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem 0.65rem;
	margin: 1.25rem 0 0.75rem;
	padding: 1rem 1.1rem;
	border-radius: var(--noc-pay-radius-sm);
	background: rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 1.05rem;
}

.noc-payment-checkout__amount strong {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.75);
}

.noc-payment-checkout__vat,
.noc-payment-checkout__early,
.noc-payment-checkout__hint {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.82);
}

.noc-payment-checkout__early {
	color: #bbf7d0;
	font-weight: 600;
}

.noc-payment-checkout__panel {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.noc-payment-checkout__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

/* Empty / expired state */
.noc-payment-checkout--empty {
	text-align: center;
	padding: 2.5rem 1.75rem 2rem;
}

.noc-payment-checkout--empty .noc-payment-checkout__desc {
	max-width: 34ch;
	margin-left: auto;
	margin-right: auto;
}

.noc-payment-checkout__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 1.65rem;
	line-height: 1;
}

.noc-payment-checkout--empty .noc-payment-checkout__actions {
	justify-content: center;
}

/* Buttons */
.noc-payment-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.8rem 1.35rem;
	border-radius: var(--noc-pay-radius-sm);
	background: #fff;
	color: var(--noc-pay-dark) !important;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.noc-payment-btn:hover,
.noc-payment-btn:focus-visible {
	transform: translateY(-1px);
	background: #f0fdfa;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
	color: var(--noc-pay-dark) !important;
	text-decoration: none;
}

.noc-payment-btn--ghost {
	background: transparent;
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
	box-shadow: none;
}

.noc-payment-btn--ghost:hover,
.noc-payment-btn--ghost:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	color: #fff !important;
}

/* Alerts inside checkout card */
.noc-payment-wrap .noc-error,
.noc-payment-wrap .noc-success {
	margin-bottom: 1rem;
	background: rgba(255, 255, 255, 0.96);
	color: #111;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.noc-payment-success {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 1.25rem 1.35rem;
	border-radius: var(--noc-pay-radius);
	margin: 2rem auto 3rem;
	max-width: 560px;
	background: linear-gradient(150deg, #065f46 0%, #047857 55%, #10b981 100%);
	color: #fff;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
	line-height: 1.55;
}

.noc-payment-success::before {
	content: "✔";
	font-weight: 700;
	flex-shrink: 0;
}

.noc-payment-success a {
	color: #ecfdf5 !important;
	font-weight: 700;
	text-decoration: underline;
}

.noc-payment-success a:hover {
	color: #fff !important;
	text-decoration: none;
}

.noc-payment-methods-note {
	font-size: 0.84rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
	margin-top: 1rem;
}

.noc-moyasar-form {
	margin-top: 0.5rem;
	padding: 1rem;
	border-radius: var(--noc-pay-radius-sm);
	background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 540px) {
	.noc-payment-wrap {
		margin-top: 1.25rem;
		padding: 0 0.75rem;
	}

	.noc-payment-checkout {
		padding: 1.5rem 1.15rem 1.25rem;
	}

	.noc-payment-checkout--empty {
		padding: 2rem 1.15rem 1.5rem;
	}
}
