/**
 * Subscription Activation Bridge — pricing cards.
 * Visual style mirrors the requested navy/white card design (RTL).
 */

.sab-pricing {
	--sab-navy: #16265b;
	--sab-red: #e8413a;
	--sab-border: #d9dee8;
	--sab-muted: #6b7280;

	max-width: 620px;
	margin: 0 auto;
	font-family: inherit;
	direction: rtl;
}

.sab-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--sab-border);
	border-radius: 16px;
	padding: 22px 24px;
	margin: 0 0 30px;
	box-shadow: 0 6px 18px rgba(22, 38, 91, 0.06);
}

.sab-card--popular {
	border-color: var(--sab-navy);
	box-shadow: 0 8px 22px rgba(22, 38, 91, 0.12);
}

.sab-badge {
	position: absolute;
	top: -16px;
	right: 24px;
	background: var(--sab-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 6px 18px;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(232, 65, 58, 0.35);
}

.sab-card__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 20px;
}

.sab-card__title {
	color: var(--sab-navy);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.4;
}

.sab-card__subtitle {
	color: var(--sab-muted);
	font-size: 15px;
	margin-top: 8px;
}

.sab-card__prices {
	text-align: left;
	white-space: nowrap;
}

.sab-price {
	color: var(--sab-navy);
	font-size: 24px;
	font-weight: 800;
}

.sab-price__unit {
	font-size: 16px;
	font-weight: 700;
}

.sab-price-old {
	color: var(--sab-red);
	font-size: 15px;
	margin-top: 6px;
	text-decoration: line-through;
}

.sab-buy {
	display: block;
	width: 100%;
	border: 0;
	cursor: pointer;
	background: var(--sab-navy);
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	padding: 16px;
	border-radius: 12px;
	transition: opacity 0.15s ease;
}

.sab-buy:hover {
	opacity: 0.92;
}

.sab-buy:disabled {
	opacity: 0.6;
	cursor: default;
}

.sab-pricing-empty {
	max-width: 620px;
	margin: 0 auto;
	padding: 18px;
	text-align: center;
	color: #6b7280;
	border: 1px dashed #d9dee8;
	border-radius: 12px;
}

/* ----------------------------- Modal ----------------------------- */

.sab-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
}

.sab-modal.is-open {
	display: block;
}

.sab-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.sab-modal__box {
	position: relative;
	direction: rtl;
	background: #fff;
	width: calc(100% - 32px);
	max-width: 420px;
	margin: 12vh auto 0;
	border-radius: 16px;
	padding: 26px 24px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sab-modal__close {
	position: absolute;
	top: 12px;
	left: 14px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #94a3b8;
}

.sab-modal__title {
	color: var(--sab-navy, #16265b);
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 18px;
}

.sab-form__error {
	color: #e8413a;
	font-size: 14px;
	min-height: 18px;
	margin: 6px 0 10px;
}

.sab-field {
	display: block;
	margin-bottom: 14px;
}

.sab-field > span {
	display: block;
	font-size: 14px;
	margin-bottom: 6px;
	color: #374151;
}

.sab-field input {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #d9dee8;
	border-radius: 10px;
	font-size: 15px;
	direction: rtl;
}

.sab-field input:focus {
	outline: none;
	border-color: #16265b;
}
