/* Noctorial Free Account Gift — checkout frontend
   Colours mirror the existing dark checkout theme. */

/* ---- Payment banner (our own element) ---------------------------------- */
.nfa-payment-banner {
	margin: 12px 0;
	padding: 14px 16px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	color: #F7F6F0;
	text-align: center;
	border: 0.5px solid rgba( 247, 246, 240, 0.10 );
}

.nfa-payment-banner.nfa-state-success {
	background: radial-gradient( 140% 140% at -10% -40%, rgba( 76, 175, 80, 0.35 ) 0%, rgba( 76, 175, 80, 0.00 ) 70% ),
		linear-gradient( 0deg, rgba( 40, 167, 69, 0.10 ), rgba( 40, 167, 69, 0.10 ) ),
		rgba( 19, 23, 29, 0.35 );
	border-color: rgba( 76, 175, 80, 0.35 );
}

.nfa-payment-banner.nfa-state-encourage {
	background: radial-gradient( 140% 140% at -10% -40%, rgba( 17, 110, 251, 0.30 ) 0%, rgba( 17, 110, 251, 0.00 ) 70% ),
		linear-gradient( 0deg, rgba( 17, 110, 251, 0.05 ), rgba( 17, 110, 251, 0.05 ) ),
		rgba( 19, 23, 29, 0.35 );
	border-color: rgba( 119, 163, 235, 0.30 );
}

.nfa-payment-banner.nfa-state-disqualified {
	background: radial-gradient( 140% 140% at -10% -40%, rgba( 230, 162, 60, 0.28 ) 0%, rgba( 230, 162, 60, 0.00 ) 70% ),
		linear-gradient( 0deg, rgba( 230, 162, 60, 0.06 ), rgba( 230, 162, 60, 0.06 ) ),
		rgba( 19, 23, 29, 0.35 );
	border-color: rgba( 230, 162, 60, 0.32 );
}

/* When writing into the existing .ndl-payment-banner element, only tint it. */
.ndl-payment-banner.nfa-in-existing.nfa-state-success {
	border-color: rgba( 76, 175, 80, 0.45 );
}

.ndl-payment-banner.nfa-in-existing.nfa-state-disqualified {
	border-color: rgba( 230, 162, 60, 0.42 );
}

/* ---- Free account card in the summary ---------------------------------- */
.nfa-free-account-item {
	position: relative;
	margin-top: 10px;
	padding: 14px 16px;
	border-radius: 12px;
	background: rgba( 76, 175, 80, 0.06 );
	border: 1px solid rgba( 76, 175, 80, 0.30 );
}

.nfa-free-account-item .nfa-fa-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.nfa-free-account-item .nfa-fa-label {
	font-weight: 700;
	color: #F7F6F0;
	font-size: 0.95em;
}

.nfa-free-account-item .nfa-fa-badge {
	font-size: 0.72em;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #4CAF50;
	background: rgba( 76, 175, 80, 0.15 );
	border: 1px solid rgba( 76, 175, 80, 0.35 );
	border-radius: 999px;
	padding: 2px 8px;
	white-space: nowrap;
}

.nfa-free-account-item .nfa-fa-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.nfa-free-account-item .nfa-fa-desc {
	color: #F7F6F0;
	opacity: 0.85;
	font-size: 0.9em;
}

.nfa-free-account-item .nfa-fa-price {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9em;
	white-space: nowrap;
}

.nfa-free-account-item .nfa-fa-original,
.nfa-free-account-item .nfa-fa-original .amount {
	color: #999;
	text-decoration: line-through;
}

.nfa-free-account-item .nfa-fa-free {
	color: #4CAF50;
	font-weight: 700;
}

/* Cart-line FREE marker (native WC price columns, if ever shown) */
.nfa-free {
	color: #4CAF50;
	font-weight: 700;
}

/* ---- Gift icon on qualifying options ------------------------------------ */
.nfa-qualifying-gift-option {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.nfa-gift-label-host {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: auto !important;
	max-width: 100%;
	line-height: 1 !important;
	white-space: nowrap;
}

.nfa-inline-gift-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 30px;
	height: 30px;
	margin: 0 !important;
	padding: 0 !important;
	border-radius: 50%;
	font-size: 16px;
	line-height: 1 !important;
	vertical-align: middle;
	background: radial-gradient(circle at 35% 30%, rgba(53, 111, 255, 0.32), rgba(8, 20, 49, 0.88));
	border: 1px solid rgba(83, 145, 255, 0.62);
	box-shadow: 0 0 14px rgba(40, 108, 255, 0.22), inset 0 0 10px rgba(60, 126, 255, 0.14);
	flex: 0 0 30px;
	pointer-events: none;
}

@media (max-width: 767px) {
	.nfa-gift-label-host {
		gap: 7px !important;
	}

	.nfa-inline-gift-icon {
		width: 26px;
		height: 26px;
		font-size: 14px;
		flex-basis: 26px;
	}
}
