.glass-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	z-index: 1090;
}

.glass-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1100;
}

.glass-modal-card {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92),
		rgba(245, 245, 255, 0.90));
	border-radius: 18px;
	padding: 26px;
	width: 520px;
	max-width: calc(100vw - 32px);
	/* Content can grow taller than the viewport once the PayPal card-entry form expands inside it
	   (billing address fields etc.) -- cap the card's height and let IT scroll internally instead of
	   pushing the Pay button off the bottom of the screen with nothing to scroll. */
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	/* ✨ Floating depth */
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 8px 20px
		rgba(120, 80, 255, 0.35);
	/* ✨ Inner light */
	border: 1px solid rgba(255, 255, 255, 0.6);
	/* ✨ Subtle glow */
	position: relative;
}

.glass-modal-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 18px;
	background: radial-gradient(circle at top, rgba(255, 255, 255, 0.7),
		transparent 60%);
	pointer-events: none;
}

.tp-glass-loader {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 20px;
}

.tp-glass-left, .tp-glass-right {
	background: rgba(255, 255, 255, 0.6);
	backdrop-filter: blur(14px);
	border-radius: 14px;
	padding: 20px;
}

.tp-glass-avatar {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #e0e0e0;
	margin: auto;
}

.tp-glass-line {
	height: 14px;
	border-radius: 6px;
	background: #ddd;
	margin-bottom: 8px;
}

.tp-glass-title {
	height: 16px;
	background: #ddd;
	border-radius: 6px;
	margin-bottom: 12px;
}

.tp-glass-tag {
	width: 90px;
	height: 24px;
	border-radius: 8px;
	background: #ddd;
}

.tp-glass-tags {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.tp-glass-highlight {
	height: 80px;
	border-radius: 12px;
	background: #d6f0c5;
	margin-bottom: 18px;
}

.tp-glass-divider {
	height: 1px;
	background: #eee;
	margin: 16px 0;
}

.w30 {
	width: 30%
}

.w40 {
	width: 40%
}

.w60 {
	width: 60%
}

.w70 {
	width: 70%
}

.w80 {
	width: 80%
}

.w90 {
	width: 90%
}

.shimmer {
	position: relative;
	overflow: hidden;
}

.shimmer::after {
	content: "";
	position: absolute;
	top: 0;
	left: -150px;
	width: 150px;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7),
		transparent);
	animation: glasswave 1.3s infinite;
}

@keyframes glasswave { 100% {
	left: 100%;
}

}
.skeleton-card {
	display: flex;
	gap: 16px;
	padding: 20px;
	border-radius: 12px;
	background: #f3f4f6;
}

.skeleton-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #e5e7eb;
}

.skeleton-lines {
	flex: 1;
}

.skeleton-line {
	height: 14px;
	background: #e5e7eb;
	border-radius: 8px;
	margin-bottom: 10px;
}

/* Shared "choose how you'd like to pay" picker (recharge wallet, plan checkout, pay-a-request,
   tutor pay) -- see payment-provider-picker.js. Kept in this shared sheet rather than per-page so
   every checkout point renders it identically. */
.payment-provider-picker {
	padding: 2px 0 4px;
}

.provider-choice-btn {
	border: 1.5px solid rgba(120, 80, 255, 0.18);
	background: rgba(255, 255, 255, 0.7);
	border-radius: 14px;
	min-width: 150px;
	min-height: 96px;
	padding: 18px 20px;
	gap: 8px;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.provider-choice-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(120, 80, 255, 0.18);
	border-color: rgba(120, 80, 255, 0.4);
}

.provider-choice-btn-active {
	border-color: #7c5cff;
	background: rgba(124, 92, 255, 0.06);
	box-shadow: 0 10px 22px rgba(120, 80, 255, 0.18);
}

.provider-choice-logo {
	height: 26px;
	max-width: 100px;
	object-fit: contain;
}

.provider-choice-badge {
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 10px;
	letter-spacing: 0.02em;
	padding: 3px 10px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}