/* ── Premium Status / Upgrade (Dashboard Card) ────────────────────────── */

.lawyerup-listing-card__premium {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,0.06);
}

/* Active premium badge + expiry */
.lawyerup-premium--active {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.lawyerup-premium__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: linear-gradient(135deg, #d4a85a, #c49645);
	color: #1a1a2e;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 12px;
	border-radius: 20px;
}

.lawyerup-premium__expiry {
	font-size: 13px;
	color: rgba(245,245,247,0.5);
}

/* Upgrade button */
.lawyerup-premium__upgrade-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, #d4a85a, #c49645);
	color: #1a1a2e;
	border: none;
	padding: 12px 24px;
	border-radius: 28px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s ease;
	box-shadow: 0 6px 20px -6px rgba(212, 168, 90, 0.4);
	letter-spacing: 0.02em;
}

.lawyerup-premium__upgrade-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px -6px rgba(212, 168, 90, 0.55);
	filter: brightness(1.08);
}

.lawyerup-premium__upgrade-btn:disabled {
	opacity: 0.7;
	cursor: wait;
	transform: none;
}

.lawyerup-premium__upgrade-btn svg {
	flex-shrink: 0;
}

.lawyerup-premium__why {
	display: block;
	margin: 8px 0 0;
	font-size: 12px;
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: color 0.2s ease;
}

.lawyerup-premium__why:hover {
	color: rgba(255,255,255,0.75);
}

/* Cancel subscription button (subtle text link) */
.lawyerup-premium__cancel-btn {
	background: none;
	border: none;
	padding: 0;
	font-size: 12px;
	color: rgba(255,255,255,0.3);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
	margin-left: auto;
}

.lawyerup-premium__cancel-btn:hover {
	color: rgba(255,100,100,0.7);
}

.lawyerup-premium__cancel-btn:disabled {
	opacity: 0.5;
	cursor: wait;
}

/* Cancellation pending state */
.lawyerup-premium__cancel-date {
	font-size: 13px;
	color: rgba(251,191,36,0.7);
}

.lawyerup-premium__cancel-note {
	font-size: 11px;
	color: rgba(255,255,255,0.3);
	width: 100%;
}

/* ── Success / Cancel Banners ─────────────────────────────────────────── */

.lawyerup-premium-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border-radius: 10px;
	font-size: 14px;
	margin-bottom: 20px;
}

.lawyerup-premium-notice--success {
	background: rgba(74, 222, 128, 0.1);
	border: 1px solid rgba(74, 222, 128, 0.25);
	color: #4ade80;
}

.lawyerup-premium-notice--cancel {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	color: rgba(245,245,247,0.65);
}

/* ── Post-Submission Upsell Card ──────────────────────────────────────── */

.lawyerup-premium-upsell {
	margin-top: 28px;
	padding: 28px;
	background: rgba(212, 168, 90, 0.06);
	border: 1px solid rgba(212, 168, 90, 0.2);
	border-radius: 14px;
	text-align: center;
}

.lawyerup-premium-upsell__icon {
	color: #d4a85a;
	margin-bottom: 10px;
}

.lawyerup-premium-upsell__title {
	font-family: 'Cardo', serif;
	font-size: 22px;
	font-weight: 700;
	color: #f5f5f7;
	margin: 0 0 8px;
}

.lawyerup-premium-upsell__desc {
	font-size: 14px;
	color: rgba(245,245,247,0.65);
	line-height: 1.6;
	margin: 0 0 18px;
	max-width: 440px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Done-Page Plans Table ────────────────────────────────────────────── */

.lawyerup-done-plans {
	margin-top: 8px;
}

/* "Current Plan" disabled button on free column */
.lawyerup-done__current-plan {
	opacity: 0.45;
	cursor: default;
	text-align: center;
}

/* Checkout button inherits .lawyerup-hiw__pricing-btn--gold — add cursor */
.lawyerup-done__checkout-btn {
	cursor: pointer;
	font-family: inherit;
}

.lawyerup-done__checkout-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

/* ── Backlink Exchange ("Get Premium Free") ──────────────────────────── */

/* "or" divider between Stripe upgrade and backlink section */
.lawyerup-backlink__divider {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 16px 0 14px;
}

.lawyerup-backlink__divider::before,
.lawyerup-backlink__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,0.06);
}

.lawyerup-backlink__divider span {
	font-size: 11px;
	color: rgba(255,255,255,0.25);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Container */
.lawyerup-backlink {
	padding: 16px 18px;
	background: rgba(212, 168, 90, 0.04);
	border: 1px solid rgba(212, 168, 90, 0.12);
	border-radius: 10px;
}

/* Header: icon + title */
.lawyerup-backlink__header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #d4a85a;
	margin-bottom: 8px;
}

.lawyerup-backlink__header svg {
	flex-shrink: 0;
	color: #d4a85a;
}

/* Description text */
.lawyerup-backlink__desc {
	font-size: 13px;
	color: rgba(245,245,247,0.5);
	line-height: 1.5;
	margin: 0 0 12px;
}

.lawyerup-backlink__desc strong {
	color: rgba(245,245,247,0.7);
}

/* Input + button row */
.lawyerup-backlink__form {
	display: flex;
	gap: 8px;
}

.lawyerup-backlink__input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 8px;
	color: #f5f5f7;
	font-size: 13px;
	outline: none;
	transition: border-color 0.2s ease;
}

.lawyerup-backlink__input::placeholder {
	color: rgba(255,255,255,0.2);
}

.lawyerup-backlink__input:focus {
	border-color: rgba(212, 168, 90, 0.35);
}

/* Verify / Re-verify button */
.lawyerup-backlink__submit-btn {
	flex-shrink: 0;
	padding: 10px 20px;
	background: linear-gradient(135deg, #d4a85a, #c49645);
	color: #1a1a2e;
	border: none;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.lawyerup-backlink__submit-btn:hover {
	filter: brightness(1.08);
	box-shadow: 0 4px 14px -4px rgba(212, 168, 90, 0.4);
}

.lawyerup-backlink__submit-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

/* "via backlink" label (in active premium row) */
.lawyerup-backlink__via {
	font-size: 11px;
	color: rgba(255,255,255,0.35);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Warning state text */
.lawyerup-backlink__warning {
	font-size: 13px;
	color: rgba(251,191,36,0.8);
	width: 100%;
}

/* Remove backlink premium button (subtle text link) */
.lawyerup-backlink__remove-btn {
	background: none;
	border: none;
	padding: 0;
	font-size: 12px;
	color: rgba(255,255,255,0.2);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
	margin-left: auto;
}

.lawyerup-backlink__remove-btn:hover {
	color: rgba(255,100,100,0.6);
}

.lawyerup-backlink__remove-btn:disabled {
	opacity: 0.5;
	cursor: wait;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 640px) {
	.lawyerup-premium--active {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}

	.lawyerup-premium__upgrade-btn {
		width: 100%;
		justify-content: center;
	}

	.lawyerup-premium-upsell {
		padding: 20px 16px;
	}

	/* Backlink form: stack on mobile */
	.lawyerup-backlink__form {
		flex-direction: column;
	}

	.lawyerup-backlink__submit-btn {
		width: 100%;
		text-align: center;
	}

	.lawyerup-backlink__remove-btn {
		margin-left: 0;
		margin-top: 4px;
	}
}
