/* Prediction by Mike - frontend cards aligned with Kaanaprediction visual language. */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800&family=Oswald:wght@500;600;700&display=swap');

/* ============================================================
   RESET & WRAP
   ============================================================ */
.pbm-wrap,
.pbm-wrap *,
.pbm-yesterday-wrap,
.pbm-yesterday-wrap * {
	box-sizing: border-box;
}

.pbm-wrap {
	font-family: 'Heebo', sans-serif;
	color: #111827;
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
}

.pbm-yesterday-wrap {
	max-width: 100%;
	overflow-x: clip;
}

.pbm-wrap img,
.pbm-wrap svg,
.pbm-yesterday-wrap img,
.pbm-yesterday-wrap svg {
	max-width: 100%;
}

/* ============================================================
   HEADER ROW
   ============================================================ */
.pbm-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px;
	margin: 0 0 24px;
	flex-wrap: wrap;
}


.pbm-title {
	font-family: 'Oswald', sans-serif;
	font-size: 36px;
	line-height: 1.2;
	margin: 0;
	color: #6c2f9d;
	font-weight: 700;
}

.pbm-subtitle {
	color: #6b7280;
	font-size: 14px;
}

.pbm-total {
	padding: 6px 14px;
	border-radius: 6px;
	background: #f6f3fa;
	color: #6c2f9d;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

/* ============================================================
   WINNING TICKETS
   ============================================================ */
.pbm-winning-wrap {
	margin-top: 8px;
}

.pbm-winning-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin: 0 0 20px;
	flex-wrap: wrap;
}

.pbm-winning-actions {
	display: flex;
	justify-content: center;
	margin-top: 20px;
}

.pbm-winning-item.pbm-winning-hidden {
	display: none;
}

.pbm-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 24px;
	flex-wrap: wrap;
}

.pbm-page-numbers {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pbm-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 999px;
	border: 1px solid #d8cee8;
	background: #ffffff;
	color: #3c2354;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.18s ease;
}

.pbm-page-link:hover {
	border-color: #6c2f9d;
	color: #6c2f9d;
	text-decoration: none;
}

.pbm-page-link.is-active {
	background: #6c2f9d;
	border-color: #6c2f9d;
	color: #ffffff;
}

/* ============================================================
   SOCIAL JOIN CTA
   ============================================================ */
.pbm-social-join-wrap {
	background: linear-gradient(140deg, #110a1b 0%, #28113d 55%, #3f1a5c 100%);
	border-radius: 16px;
	padding: 18px;
	box-shadow: 0 14px 28px rgba(21, 9, 33, 0.22);
	border: 1px solid rgba(212, 175, 55, 0.24);
	margin: 12px 0;
}

.pbm-social-join-title {
	font-family: 'Oswald', sans-serif;
	font-size: 20px;
	line-height: 1.2;
	font-weight: 600;
	color: #ffffff;
	margin: 0 0 14px;
	text-align: center;
}

.pbm-social-join-grid {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
}

.pbm-social-btn {
	flex: 1 1 0;
	min-width: 260px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 18px;
	border-radius: 12px;
	font-family: 'Heebo', sans-serif;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff !important;
	text-decoration: none !important;
	transform: translateY(0);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
	position: relative;
	overflow: hidden;
}

.pbm-social-btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.24) 52%, rgba(255, 255, 255, 0) 80%);
	transform: translateX(-120%);
	transition: transform 0.5s ease;
}

.pbm-social-btn:hover::after,
.pbm-social-btn:focus::after {
	transform: translateX(120%);
}

.pbm-social-btn:hover,
.pbm-social-btn:focus {
	transform: translateY(-2px) scale(1.01);
	filter: brightness(1.04);
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.36);
}

.pbm-social-btn:focus-visible {
	outline: 2px solid #d4af37;
	outline-offset: 2px;
}

.pbm-social-btn-telegram {
	background: linear-gradient(135deg, #1589d9 0%, #2ca5f1 100%);
}

.pbm-social-btn-whatsapp {
	background: linear-gradient(135deg, #1ea852 0%, #25d366 100%);
}

.pbm-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #ffffff;
	flex-shrink: 0;
}

.pbm-social-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.pbm-social-label {
	white-space: normal;
	text-align: center;
}

.pbm-social-pulse .pbm-social-btn {
	animation: pbmSocialPulse 2.8s ease-in-out infinite;
}

@keyframes pbmSocialPulse {
	0% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28); }
	50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 0 6px rgba(255, 255, 255, 0.06); }
	100% { box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28); }
}

/* ============================================================
   DATE TABS
   ============================================================ */
.pbm-date-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 18px;
	padding: 7px 10px;
	border-radius: 999px;
	background: #f4f4f6;
	border: 1px solid #ececf1;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.pbm-date-tabs {
	display: flex;
	gap: 10px;
	margin-bottom: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	padding: 0;
	flex-wrap: nowrap;
	flex: 1 1 auto;
	min-width: 0;
}

.pbm-date-tabs::-webkit-scrollbar {
	height: 4px;
}

.pbm-date-tabs::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 4px;
}

.pbm-date-tabs::-webkit-scrollbar-thumb {
	background: #c4b5e0;
	border-radius: 4px;
}

.pbm-wrap .pbm-date-tabs .pbm-tab {
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid #e4e4e8 !important;
	background: #ffffff !important;
	font-family: 'Heebo', sans-serif;
	font-weight: 600;
	font-size: 14px;
	color: #555555 !important;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
	white-space: nowrap;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pbm-wrap .pbm-date-tabs .pbm-tab:hover,
.pbm-wrap .pbm-date-tabs .pbm-tab:focus {
	border-color: #dddddf !important;
	color: #3f3f3f !important;
	background: #e5e5e5 !important;
	transform: translateY(-1px);
}


.pbm-wrap .pbm-date-tabs .pbm-tab.active,
.pbm-wrap .pbm-date-tabs .pbm-tab[aria-selected="true"] {
	background: rgb(108, 47, 157) !important;
	color: #ffffff !important;
	border-color: rgb(108, 47, 157) !important;
	font-weight: 700;
	transform: scale(1.03);
	box-shadow: 0 8px 18px rgba(108, 47, 157, 0.28), 0 0 0 2px rgba(108, 47, 157, 0.12);
}

.pbm-date-picker-wrap {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.pbm-date-picker {
	appearance: none;
	color-scheme: light;
	-webkit-appearance: none;
	min-height: 34px;
	width: clamp(98px, 26vw, 120px);
	padding: 0 8px;
	border-radius: 999px;
	border: 1px dashed #dadada;
	background: transparent;
	color: #6c2f9d !important;
	-webkit-text-fill-color: #6c2f9d;
	font-family: 'Heebo', sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	outline: none;
	transition: all 0.2s ease;
	cursor: pointer;
}

.pbm-date-picker:hover {
	background: #ececef;
	border-color: #cfcfd4;
}

.pbm-date-picker:focus {
	border-color: #6c2f9d;
	box-shadow: 0 0 0 3px rgba(108, 47, 157, 0.18);
}

.pbm-date-picker::-webkit-calendar-picker-indicator {
	cursor: pointer;
	filter: invert(25%) sepia(28%) saturate(2274%) hue-rotate(258deg) brightness(90%) contrast(92%);
	opacity: 1;
	padding: 6px;
	width: 16px;
	height: 16px;
}

.pbm-date-picker::-webkit-datetime-edit,
.pbm-date-picker::-webkit-datetime-edit-text,
.pbm-date-picker::-webkit-datetime-edit-month-field,
.pbm-date-picker::-webkit-datetime-edit-day-field,
.pbm-date-picker::-webkit-datetime-edit-year-field {
	color: #6c2f9d;
	opacity: 1;
}

.pbm-date-loading {
	margin-top: 10px;
	font-size: 13px;
	color: #6b7280;
}

.pbm-date-results {
	min-height: 72px;
}

/* ============================================================
   BOOKING WIDGET
   ============================================================ */
.pbm-booking-widget {
	--pbm-booking-card-bg: #ffffff;
	--pbm-booking-text-color: #111111;
	--pbm-booking-btn-bg: #111111;
	--pbm-booking-btn-color: #ffffff;
	--pbm-booking-btn-bg-hover: #2a2a2a;
	--pbm-booking-btn-color-hover: #ffffff;
	--pbm-booking-feedback-color: #2f6d3c;
	background: linear-gradient(145deg, var(--pbm-booking-card-bg), #f8f5fc);
	border: 1px solid #e8dff7;
	border-radius: 16px;
	padding: 18px;
	max-width: 420px;
	display: grid;
	gap: 12px;
	box-shadow: 0 10px 26px rgba(108, 47, 157, 0.08);
	justify-items: start;
	color: var(--pbm-booking-text-color);
}

.pbm-booking-align-center {
	margin-left: auto;
	margin-right: auto;
	justify-items: center;
	text-align: center;
}

.pbm-booking-align-right {
	margin-left: auto;
	justify-items: end;
	text-align: right;
}

.pbm-booking-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 800;
	color: #6c2f9d;
}

.pbm-booking-code {
	font-family: 'Oswald', sans-serif;
	font-size: 34px;
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--pbm-booking-text-color);
	background: #fff;
	border: 1px dashed #d4af37;
	border-radius: 12px;
	padding: 12px 14px;
	text-align: center;
}

.pbm-booking-code-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	width: 100%;
	align-items: center;
}

.pbm-booking-copy {
	appearance: none;
	border: 1px solid #d8cdea;
	background: #ffffff;
	color: #4f2173;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.pbm-booking-copy:hover {
	background: #f3ecfb;
	border-color: #6c2f9d;
	color: #3f1a5c;
}

.pbm-booking-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	width: 100%;
}

.pbm-booking-widget .pbm-booking-btn,
.pbm-booking-widget a.pbm-booking-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	background: var(--pbm-booking-btn-bg, #111111) !important;
	color: var(--pbm-booking-btn-color, #ffffff) !important;
	padding: 12px 18px;
	border-radius: 10px;
	font-weight: 800;
	font-size: 14px;
	line-height: 1.2;
	box-shadow: 0 10px 20px rgba(17, 17, 17, 0.24);
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}


.pbm-booking-widget .pbm-booking-btn:hover,
.pbm-booking-widget a.pbm-booking-btn:hover,
.pbm-booking-widget .pbm-booking-btn:focus,
.pbm-booking-widget a.pbm-booking-btn:focus {
	background: var(--pbm-booking-btn-bg-hover, #2a2a2a) !important;
	color: var(--pbm-booking-btn-color-hover, #ffffff) !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 24px rgba(17, 17, 17, 0.28);
	filter: none;
}

.pbm-booking-widget .pbm-booking-btn:active,
.pbm-booking-widget a.pbm-booking-btn:active {
	transform: translateY(0);
	box-shadow: 0 8px 14px rgba(17, 17, 17, 0.24);
	filter: brightness(0.96);
}

.pbm-booking-widget .pbm-booking-btn:visited,
.pbm-booking-widget a.pbm-booking-btn:visited {
	color: var(--pbm-booking-btn-color, #ffffff) !important;
}

.pbm-booking-copy:active {
	transform: translateY(1px);
}

.pbm-booking-feedback {
	font-size: 12px;
	font-weight: 700;
	color: var(--pbm-booking-feedback-color, #2f6d3c);
	min-height: 18px;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.pbm-grid,
.pbm-date-group {
	display: grid;
	grid-template-columns: repeat(2, minmax(300px, 1fr));
	gap: 18px;
}

.pbm-layout-list .pbm-grid,
.pbm-layout-list .pbm-date-group {
	grid-template-columns: 1fr;
}

/* ============================================================
   PREDICTION CARD
   ============================================================ */
.pbm-card {
	display: block;
	background: #fff;
	border: 1px solid #eee;
	border-top: 4px solid #6c2f9d;
	border-radius: 18px;
	padding: 16px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	color: #111;
	text-decoration: none;
}

.pbm-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 32px rgba(108, 47, 157, 0.12);
}

.pbm-card-won {
	border-top-color: #16a34a;
}

.pbm-card-lost {
	border-top-color: #dc2626;
}

.pbm-card-vip {
	border-color: #d9c28c;
	box-shadow: 0 12px 26px rgba(52, 24, 79, 0.16);
	background: linear-gradient(180deg, #fffdf8 0%, #fff7e6 100%);
}

.pbm-card-locked {
	position: relative;
	border: 1px solid #d4af37;
	background: linear-gradient(140deg, #1b1029 0%, #32194b 55%, #4a246a 100%);
	color: #f7f3ff;
}

.pbm-card-locked .pbm-league,
.pbm-card-locked .pbm-card-date,
.pbm-card-locked .pbm-time,
.pbm-card-locked .pbm-name {
	color: #f4e8ff;
}

.pbm-card-locked .pbm-line {
	background: rgba(255, 255, 255, 0.18);
}

.pbm-badge-value-locked {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	border: 1px dashed rgba(255, 255, 255, 0.38);
	backdrop-filter: blur(2px);
}

.pbm-vip-cta {
	background: linear-gradient(135deg, #d4af37 0%, #f3d777 100%);
	color: #1a1028;
	font-weight: 800;
	border-radius: 999px;
	padding: 6px 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.pbm-vip-lock-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 10px;
	font-size: 12px;
	color: #ffe6a3;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pbm-vip-lock-icon {
	font-size: 13px;
	line-height: 1;
}

.pbm-vip-lock-sep {
	opacity: 0.6;
}

/* MATCH ROW */
.pbm-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
}

.pbm-row > * {
	min-width: 0;
}

/* TEAMS */
.pbm-team {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.pbm-team-right {
	justify-content: flex-end;
	text-align: right;
	flex-direction: row-reverse;
}

/* LOGOS */
.pbm-logo {
	flex-shrink: 0;
	width: 42px;
	height: 42px;
	object-fit: contain;
	border-radius: 50%;
	background: #f0ebf8;
	border: 1px solid #e8dff7;
	padding: 4px;
}

.pbm-logo-initial {
	background: #6c2f9d;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 16px;
	padding: 0;
}

.pbm-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

/* MATCH CENTRE */
.pbm-mid {
	text-align: center;
	padding: 0 6px;
	min-height: 86px;
}

.pbm-league {
	color: #6c2f9d;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 2px;
}

.pbm-card-date {
	font-size: 12px;
	font-weight: 700;
	color: #6b7280;
	margin-bottom: 3px;
}

.pbm-time {
	font-family: 'Oswald', sans-serif;
	font-size: 26px;
	line-height: 1.1;
	font-weight: 600;
	min-height: 29px;
}

.pbm-time-sub {
	font-family: 'Heebo', sans-serif;
	font-size: 11px;
	font-weight: 700;
	color: #6b7280;
	line-height: 1.2;
	margin-top: 3px;
}

.pbm-score {
	font-size: 12px;
	color: #6b7280;
	margin-top: 2px;
}

.pbm-score-main {
	font-family: 'Oswald', sans-serif;
	font-size: 32px;
	line-height: 1;
	font-weight: 700;
	color: #111827;
	margin-top: 2px;
	min-height: 32px;
}

.pbm-live-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 5px;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fee2e2;
	color: #b91c1c;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	min-height: 20px;
}

@media (hover: none), (pointer: coarse) {
	.pbm-card:hover,
	a.pbm-card-link:hover .pbm-card {
		transform: none;
		box-shadow: none;
	}
}

.pbm-live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #dc2626;
	box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
	animation: pbmLivePulse 1.4s infinite;
}

@keyframes pbmLivePulse {
	0% {
		box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55);
	}
	70% {
		box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
	}
}

/* DIVIDER */
.pbm-line {
	height: 1px;
	margin: 14px 0;
	background: #eee;
}

/* PICKS ROW */
.pbm-picks {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

/* TIP badge - solid black */
.pbm-badge-tip {
	background: #111;
	color: #fff;
	padding: 8px 14px;
	border-radius: 8px;
	font-family: 'Heebo', sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.03em;
}

/* VALUE badge â€” gold */
.pbm-badge-value {
	background: #d4af37;
	color: #111;
	padding: 8px 14px;
	border-radius: 8px;
	font-family: 'Heebo', sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.pbm-odds {
	border: 1px solid #ddd;
	padding: 7px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 700;
	color: #374151;
}

/* OUTCOME badge on card */
.pbm-outcome-badge {
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.pbm-outcome-won {
	background: #dcfce7;
	color: #166534;
}

.pbm-outcome-lost {
	background: #fee2e2;
	color: #991b1b;
}

.pbm-outcome-void {
	background: #e5e7eb;
	color: #374151;
}

.pbm-outcome-pending {
	background: #fef3c7;
	color: #92400e;
}

/* CARD SUMMARY TEXT */
.pbm-card-summary {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #4b5563;
	text-align: center;
}

/* EMPTY STATE */
.pbm-empty {
	padding: 20px;
	border: 1px dashed #d1d5db;
	border-radius: 12px;
	background: #fff;
	text-align: center;
	color: #6b7280;
}

/* ============================================================
   MATCH DETAIL PAGE
   ============================================================ */
.pbm-match-detail {
	font-family: 'Heebo', sans-serif;
	display: grid;
	gap: 18px;
}

.pbm-match-hero {
	background: #ffffff;
	border: 1px solid #ececf3;
	border-radius: 16px;
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 14px;
}

.pbm-match-center {
	text-align: center;
}

.pbm-kickoff-date {
	font-size: 12px;
	color: #9ca3af;
	margin-bottom: 2px;
}

.pbm-kickoff {
	font-size: 15px;
	font-weight: 700;
	color: #111;
	margin: 4px 0;
}

.pbm-scoreline {
	font-family: 'Oswald', sans-serif;
	font-size: 40px;
	line-height: 1;
	margin-top: 8px;
}

.pbm-status {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-top: 4px;
}

.pbm-status-upcoming  { background: #f3f4f6; color: #374151; }
.pbm-status-live      { background: #fee2e2; color: #dc2626; }
.pbm-status-finished  { background: #ecfeff; color: #0e7490; }

.pbm-detail-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 18px;
}

.pbm-detail-card {
	background: #ffffff;
	border: 1px solid #ececf3;
	border-radius: 16px;
	padding: 18px;
}

.pbm-detail-card h3 {
	margin: 0 0 10px;
	font-size: 17px;
}

/* ============================================================
   YESTERDAY'S RESULTS WIDGET
   ============================================================ */
.pbm-yesterday-wrap {
	font-family: 'Heebo', sans-serif;
	color: #111;
	width: 100%;
}

.pbm-yesterday-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.pbm-yesterday-title {
	font-family: 'Oswald', sans-serif;
	font-size: 26px;
	color: #6c2f9d;
	margin: 0;
	font-weight: 700;
}

.pbm-yesterday-date {
	font-size: 13px;
	color: #6b7280;
}

.pbm-yesterday-list {
	display: grid;
	gap: 12px;
}

.pbm-yesterday-empty p {
	padding: 14px;
	color: #6b7280;
	text-align: center;
}

.pbm-yr-card {
	background: #fff;
	border: 1px solid #eee;
	border-left: 4px solid #6c2f9d;
	border-radius: 12px;
	padding: 14px 16px;
}

.pbm-yr-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.pbm-yr-team {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pbm-yr-team-right {
	justify-content: flex-end;
	flex-direction: row-reverse;
}

.pbm-yr-team .pbm-logo {
	width: 32px;
	height: 32px;
	font-size: 13px;
}

.pbm-yr-name {
	font-size: 13px;
	font-weight: 700;
}

.pbm-yr-score {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: 'Oswald', sans-serif;
	font-size: 22px;
	font-weight: 600;
	text-align: center;
}

.pbm-yr-num {
	min-width: 16px;
	text-align: center;
}

.pbm-yr-dash {
	color: #9ca3af;
	font-size: 18px;
}

.pbm-yr-league {
	font-size: 11px;
	font-weight: 700;
	color: #6c2f9d;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 8px;
}

.pbm-yr-predictions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.pbm-yr-pred {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pbm-yr-tip {
	background: #111;
	color: #fff;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
}

.pbm-yr-outcome {
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.pbm-yr-outcome-won     { background: #dcfce7; color: #166534; }
.pbm-yr-outcome-lost    { background: #fee2e2; color: #991b1b; }
.pbm-yr-outcome-pending { background: #fef3c7; color: #92400e; }

/* ============================================================   PMPRO RESTRICTED CONTENT MESSAGE
   ============================================================ */
.pbm-pmpro-restricted {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 400px;
	padding: 32px 20px;
	background: linear-gradient(135deg, #f7f4fb 0%, #fff8e1 100%);
	border-radius: 8px;
	font-family: 'Heebo', sans-serif;
}

.pbm-pmpro-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	background: #ffffff;
	border-radius: 16px;
	padding: 48px 40px;
	max-width: 480px;
	width: 100%;
	box-shadow: 0 10px 40px rgba(108, 47, 157, 0.12);
	border: 1px solid #ede9f6;
	text-align: center;
}

.pbm-pmpro-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, #6c2f9d 0%, #8b4db8 100%);
	border-radius: 50%;
	color: #ffffff;
	flex-shrink: 0;
}

.pbm-pmpro-icon svg {
	width: 100%;
	height: 100%;
	padding: 16px;
}

.pbm-pmpro-content {
	flex: 1;
}

.pbm-pmpro-heading {
	font-family: 'Oswald', sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 12px;
	color: #6c2f9d;
}

.pbm-pmpro-description {
	font-size: 16px;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
	margin-bottom: 4px;
}

.pbm-pmpro-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 32px;
	background: linear-gradient(135deg, #6c2f9d 0%, #8b4db8 100%);
	color: #ffffff;
	font-family: 'Oswald', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 15px rgba(108, 47, 157, 0.3);
	margin-top: 8px;
}

.pbm-pmpro-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(108, 47, 157, 0.4);
	background: linear-gradient(135deg, #7d3fad 0%, #9c5cc8 100%);
	color: #ffffff;
	text-decoration: none;
}

.pbm-pmpro-button:focus {
	outline: 2px solid #d4af37;
	outline-offset: 2px;
}

.pbm-pmpro-button svg {
	width: 16px;
	height: 16px;
	stroke-width: 2.5;
	flex-shrink: 0;
}

/* ============================================================   RESPONSIVE â€“ TABLET
   ============================================================ */
@media (max-width: 1024px) {
	.pbm-grid,
	.pbm-date-group {
		grid-template-columns: 1fr;
	}

	.pbm-detail-grid {
		grid-template-columns: 1fr;
	}

	.pbm-title {
		font-size: 28px;
	}
}

/* ============================================================
   RESPONSIVE â€“ MOBILE
   ============================================================ */
@media (max-width: 640px) {
	.pbm-title {
		font-size: 22px;
	}

	.pbm-head {
		margin-bottom: 16px;
	}

	.pbm-tab {
		padding: 10px 16px;
		font-size: 13px;
	}

	.pbm-date-nav {
		padding: 6px 8px;
		gap: 8px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x proximity;
		justify-content: flex-start;
	}

	.pbm-date-nav::-webkit-scrollbar {
		height: 4px;
	}

	.pbm-date-nav::-webkit-scrollbar-track {
		background: transparent;
	}

	.pbm-date-nav::-webkit-scrollbar-thumb {
		background: #d7d7dd;
		border-radius: 999px;
	}

	.pbm-date-picker-wrap {
		flex: 0 0 auto;
		scroll-snap-align: start;
		margin-left: 4px;
	}

	.pbm-date-picker {
		width: clamp(78px, 28vw, 92px);
		min-height: 32px;
		font-size: 11px;
		padding: 0 4px;
	}

	.pbm-date-tabs {
		gap: 8px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		flex: 0 0 auto;
		min-width: 0;
		max-width: 100%;
		padding-bottom: 0;
	}

	.pbm-booking-widget {
		max-width: 100%;
		padding: 14px;
	}

	.pbm-booking-code {
		font-size: 28px;
	}

	.pbm-booking-code-wrap {
		grid-template-columns: 1fr;
	}

	.pbm-booking-copy,
	.pbm-booking-btn {
		width: 100%;
	}

	.pbm-card {
		padding: 14px;
		border-radius: 14px;
	}

	.pbm-row {
		grid-template-columns: 1fr auto 1fr;
		gap: 6px;
	}

	.pbm-logo {
		width: 34px;
		height: 34px;
	}

	.pbm-name {
		font-size: 12px;
	}

	.pbm-time {
		font-size: 20px;
		min-height: 22px;
	}

	.pbm-mid {
		min-height: 72px;
	}

	.pbm-card-date {
		font-size: 11px;
	}

	.pbm-league {
		font-size: 10px;
	}

	.pbm-badge-tip,
	.pbm-badge-value {
		padding: 6px 10px;
		font-size: 12px;
	}

	.pbm-odds {
		padding: 6px 10px;
		font-size: 11px;
	}

	.pbm-match-hero {
		grid-template-columns: 1fr auto 1fr;
		padding: 14px;
	}

	.pbm-scoreline {
		font-size: 32px;
	}

	.pbm-yr-teams {
		grid-template-columns: 1fr auto 1fr;
	}

	.pbm-yr-name {
		font-size: 12px;
	}

	.pbm-yr-score {
		font-size: 18px;
	}

	.pbm-social-join-wrap {
		padding: 14px;
	}

	.pbm-social-join-title {
		font-size: 18px;
	}

	.pbm-social-join-grid {
		flex-direction: column;
		align-items: stretch;
	}

	.pbm-social-btn {
		min-width: 0;
		width: 100%;
	}

	.pbm-pmpro-restricted {
		min-height: 300px;
		padding: 24px 16px;
	}

	.pbm-pmpro-card {
		padding: 32px 24px;
		max-width: 100%;
	}

	.pbm-pmpro-icon {
		width: 64px;
		height: 64px;
	}

	.pbm-pmpro-heading {
		font-size: 24px;
	}

	.pbm-pmpro-description {
		font-size: 15px;
	}

	.pbm-pmpro-button {
		font-size: 15px;
		padding: 12px 24px;
	}
}

/* Ultra-small â€“ stack cards vertically and rearrange team layout */
@media (max-width: 400px) {
	.pbm-row {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
	}

	.pbm-team,
	.pbm-team-right {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}

	.pbm-mid {
		order: -1;
	}

	.pbm-yr-teams {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 6px;
	}

	.pbm-pmpro-card {
		flex-direction: column;
		gap: 16px;
	}

	.pbm-pmpro-icon {
		width: 56px;
		height: 56px;
	}

	.pbm-pmpro-heading {
		font-size: 22px;
	}

	.pbm-pmpro-description {
		font-size: 14px;
	}

	.pbm-pmpro-button {
		font-size: 14px;
		padding: 12px 20px;
	}
}

/* ============================================================
   PREDICTION CARD — LINK WRAPPER + CATEGORY BADGES
   Added: Pro API upgrade
   ============================================================ */

/* Card as anchor — remove underline, inherit colour */
a.pbm-card-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
a.pbm-card-link:hover {
	text-decoration: none;
	color: inherit;
}
a.pbm-card-link .pbm-card {
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.15s ease;
}
a.pbm-card-link:hover .pbm-card {
	box-shadow: 0 8px 28px rgba(108,47,157,.18);
	transform: translateY(-2px);
}

/* Base category badge */
.pbm-badge-cat {
	display: inline-block;
	padding: 5px 11px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	background: #e6f7ff;
	color: #0077b6;
	border: 1px solid #b0dff7;
}

/* Category-specific colour overrides */
.pbm-badge-cat--match-winner   { background: #eee2ff; color: #6C2F9D; border-color: #d2b0f0; }
.pbm-badge-cat--over-goals     { background: #fff3cd; color: #856404; border-color: #f0c84a; }
.pbm-badge-cat--under-goals    { background: #d1ecf1; color: #0c5460; border-color: #88d2e0; }
.pbm-badge-cat--btts-yes       { background: #d4edda; color: #155724; border-color: #8fd4a1; }
.pbm-badge-cat--btts-no        { background: #f8d7da; color: #721c24; border-color: #f0a5ad; }
.pbm-badge-cat--double-chance  { background: #fde9d9; color: #8a3a08; border-color: #f7b98a; }
.pbm-badge-cat--draw-no-bet    { background: #e8f4ff; color: #1a5fb4; border-color: #a0c8f8; }
.pbm-badge-cat--correct-score  { background: #fff0f0; color: #b30000; border-color: #f8a0a0; }
.pbm-badge-cat--ht-ft          { background: #f3e8ff; color: #5b2191; border-color: #d0a8f0; }
.pbm-badge-cat--asian-handicap { background: #e0f9f9; color: #006060; border-color: #80d8d8; }
.pbm-badge-cat--free           { background: #f0f2f5; color: #555; border-color: #d0d4dc; }
.pbm-badge-cat--vip            { background: #fef9e7; color: #9a7d0a; border-color: #f0d860; }

/* ============================================================
   PAYMENT MODALS (Ghana/Nigeria flow)
   ============================================================ */
body.pbm-pay-modal-open {
	overflow: hidden;
}

.pbm-pay-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0,0,0,0.45);
	backdrop-filter: blur(3px);
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
}

.pbm-pay-modal {
	width: min(100%, 350px);
	background: #ffffff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25);
	animation: pbmPayPop .25s ease;
	max-height: calc(100dvh - 24px);
}

.pbm-pay-modal-nigeria {
	width: min(100%, 360px);
	border-radius: 22px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.pbm-pay-modal-top {
	height: 4px;
	background: linear-gradient(to right,#6C2F9D,#8a3fd1,#2aa9ff);
}

.pbm-pay-modal-nigeria .pbm-pay-modal-top {
	background: linear-gradient(to right,#5f0ea8,#7b2ff7,#00a8ff);
}

.pbm-pay-modal-content {
	padding: 22px;
	max-height: calc(100dvh - 40px);
	overflow-y: auto;
}

.pbm-pay-modal-content-compact {
	padding: 20px;
}

.pbm-pay-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
}

.pbm-pay-modal-header h2 {
	margin: 0 0 4px;
	font-size: 28px;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.2;
}

.pbm-pay-modal-header p {
	margin: 0;
	font-size: 14px;
	color: #8a8a8a;
}

.pbm-pay-modal-nigeria .pbm-pay-modal-header h2 {
	font-size: 18px;
	color: #181818;
	margin-bottom: 3px;
}

.pbm-pay-modal-nigeria .pbm-pay-modal-header p {
	font-size: 13px;
	color: #8d8d8d;
}

.pbm-pay-close {
	background:none;
	border:none;
	font-size:28px;
	line-height: 1;
	color:#999;
	cursor: pointer;
}

.pbm-pay-modal-nigeria .pbm-pay-close {
	font-size: 26px;
	color: #9d9d9d;
}

.pbm-pay-country-option {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 16px;
	min-height: 82px;
	border: 1px solid #e6e6e6;
	border-radius: 16px;
	background: #ffffff;
	margin-bottom: 14px;
	cursor: pointer;
	transition: 0.25s ease;
	text-align: left;
	font-family: "Segoe UI", sans-serif;
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
}

.pbm-pay-country-option:hover {
	transform: translateY(-1px);
	border-color: #6C2F9D;
	background: #faf7ff;
}

.pbm-pay-country-left {
	display: flex;
	align-items: center;
	gap: 14px;
	text-align: left;
	flex: 1;
	min-width: 0;
}

.pbm-pay-country-left > span:last-child {
	display: block;
}

.pbm-pay-country-left strong {
	font-size: 18px;
	color: #1d1d1d;
	margin-bottom: 3px;
	display: block;
}

.pbm-pay-country-left small {
	display: block;
	font-size: 13px;
	color: #9a9a9a;
	margin-top: 0;
}

/* Elementor/shortcode trigger button for membership levels page. */
.pbm-nigeria-payment-trigger-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	text-align: left;
}

.pbm-nigeria-payment-trigger-wrap.pbm-align-center {
	justify-content: center;
	text-align: center;
}

.pbm-nigeria-payment-trigger-wrap.pbm-align-right {
	justify-content: flex-end;
	text-align: right;
}

.pbm-nigeria-payment-trigger-wrap.is-list {
	flex-direction: column;
}

.pbm-nigeria-payment-block {
	width: 100%;
}

.pbm-nigeria-levels {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.pbm-nigeria-levels table {
	width: 100%;
	min-width: 0;
}

.pbm-nigeria-payment-heading {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: #1a1a1a;
	font-family: "Segoe UI", sans-serif;
}

.pbm-nigeria-payment-heading-flag {
	font-size: 20px;
	line-height: 1;
}

.pbm-nigeria-payment-trigger {
	width: 100%;
	border: none;
	padding: 16px;
	border-radius: 16px;
	background: linear-gradient(to right,#5f0ea8,#7b2ff7);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 12px 30px rgba(108,47,157,0.25);
	transition: .25s ease;
	text-align: center;
	font-family: "Segoe UI", sans-serif;
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}

.pbm-nigeria-payment-trigger.is-auto {
	width: auto;
	min-width: 220px;
}

.pbm-nigeria-payment-trigger:hover {
	transform: translateY(-1px);
	opacity: .95;
}

.pbm-nigeria-payment-trigger:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.pbm-nigeria-trigger-inner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	line-height: 1.2;
	flex-wrap: wrap;
}

.pbm-nigeria-trigger-flag {
	font-size: 18px;
	line-height: 1;
}

.pbm-nigeria-trigger-label {
	color: #ffffff;
}

.pbm-pay-flag {
	font-size: 24px;
}

.pbm-pay-arrow {
	font-size: 24px;
	color: #999;
	flex-shrink: 0;
	margin-left: 10px;
}

.pbm-pay-cancel-btn {
	width:100%;
	margin-top:10px;
	border:none;
	padding:16px;
	border-radius:14px;
	background:#f3f4f7;
	color:#666;
	font-size:16px;
	font-weight:600;
	cursor:pointer;
	transition:0.2s ease;
}

.pbm-pay-cancel-btn:hover {
	background:#ececf1;
}

.pbm-pay-header-left {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
		min-width: 0;
		max-width: 100%;
.pbm-pay-header-icon {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: #f4edff;
	color: #6C2F9D;
	font-size: 18px;
}

.pbm-pay-amount-card {
	background:linear-gradient(135deg,#f8f2ff,#f4efff);
	border:1px solid #e7d7ff;
	border-radius:18px;
	padding:18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.pbm-pay-amount-card small {
	font-size: 12px;
	color: #8f8f8f;
}

.pbm-pay-package {
	font-size: 13px;
	color: #8d8d8d;
	font-weight: 400;
	margin: 0;
	line-height: 1.2;
}

.pbm-pay-price {
	margin: 4px 0;
	font-size: 36px;
	color: #6c2f9d;
	font-weight: 800;
}

.pbm-pay-flag-big {
	font-size: 30px;
}

.pbm-pay-info-box {
	background:#fafafa;
	border:1px solid #ececec;
	border-radius:16px;
	padding:15px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.pbm-pay-info-box span {
	font-size:13px;
	color:#9b9b9b;
	min-width: 92px;
}

.pbm-pay-info-box strong {
	font-size: 15px;
	text-align: right;
	color: #1d1d1d;
	font-weight: 700;
	line-height: 1.3;
}

.pbm-pay-copy-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pbm-copy-mini {
	border: none;
	background: #f3ebff;
	color: #6C2F9D;
	border-radius: 8px;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.pbm-copy-mini:hover {
	background: #e7d7ff;
}

.pbm-pay-notice {
	margin: 16px 0;
	padding: 14px;
	border-radius: 15px;
	font-size: 13px;
	line-height: 1.5;
	border: 1px solid #e6dbff;
	background: #f7f4ff;
	color: #6e6e6e;
}

.pbm-pay-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	border: none;
	cursor: pointer;
	padding: 15px;
	border-radius: 14px;
	font-size: 15px;
	font-weight: 700;
	transition: .25s ease;
	min-height: 50px;
	width: 100%;
	line-height: 1.25;
	text-align: center;
}

.pbm-pay-btn-telegram {
	background:linear-gradient(to right,#5f0ea8,#7b2ff7);
	color:#fff;
	box-shadow:0 12px 30px rgba(108,47,157,0.25);
	border-radius:16px;
	margin-bottom:14px;
}

.pbm-pay-btn-primary {
	width: 100%;
	background: linear-gradient(to right,#5f0ea8,#7b2ff7);
	color: #fff;
	box-shadow:0 12px 30px rgba(108,47,157,0.25);
	margin-top: 10px;
}

.pbm-pay-btn-secondary {
	background:#f1f2f6;
	color:#666;
	border: 1px solid #e7e9ef;
	flex: 1;
}

.pbm-pay-btn-ghost {
	background:#f1f2f6;
	color: #666;
	border: 1px solid #e7e9ef;
	padding:15px;
	font-size:15px;
}

.pbm-pay-btn-telegram:hover,
.pbm-pay-btn-primary:hover,
.pbm-pay-btn-secondary:hover,
.pbm-pay-btn-ghost:hover {
	transform: translateY(-1px);
	opacity: .95;
}

.pbm-pay-proof-form {
	border: 1px solid #ece4f8;
	background: #fff;
	border-radius: 14px;
	padding: 12px;
	margin-bottom: 10px;
}

.pbm-pay-proof-form label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #5f566d;
	margin-bottom: 8px;
}

.pbm-pay-proof-form input[type="text"],
.pbm-pay-proof-form input[type="file"] {
	width: 100%;
	margin-top: 4px;
	border: 1px solid #ddd2ee;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px;
	background: #fff;
}

.pbm-pay-feedback {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 700;
	color: #473f55;
	min-height: 18px;
}

.pbm-pay-modal-actions {
	display: flex;
	gap: 0;
	margin-top: 0;
}

.pbm-pay-modal-actions .pbm-pay-btn {
	width: 100%;
}

@keyframes pbmPayPop {
	from {
		opacity: 0;
		transform: scale(.96) translateY(8px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@media (max-width: 640px) {
	.pbm-pay-modal {
		border-radius: 16px;
		width: min(100%, 350px);
		max-height: calc(100dvh - 24px);
	}

	.pbm-pay-modal-nigeria {
		width: min(100%, 360px);
	}

	.pbm-pay-modal-content,
	.pbm-pay-modal-content-compact {
		padding: 16px;
		max-height: calc(100dvh - 28px);
	}

	.pbm-pay-modal-header h2 {
		font-size: 24px;
	}

	.pbm-pay-modal-nigeria .pbm-pay-modal-header h2 {
		font-size: 18px;
	}

	.pbm-pay-country-option {
		padding: 18px 16px;
		min-height: 78px;
	}

	.pbm-pay-country-left strong {
		font-size: 16px;
	}

	.pbm-pay-country-left small {
		font-size: 12px;
	}

	.pbm-pay-amount-card {
		padding: 14px;
	}

	.pbm-pay-price {
		font-size: 30px;
	}

	.pbm-pay-info-box {
		padding: 12px 13px;
	}

	.pbm-pay-copy-wrap {
		gap: 8px;
	}

	.pbm-copy-mini {
		padding: 6px 8px;
		font-size: 11px;
	}

	.pbm-pay-modal-actions {
		grid-template-columns: 1fr;
		display: grid;
	}

	.pbm-pay-btn {
		min-height: 48px;
		font-size: 14px;
		padding: 13px;
		width: 100%;
	}

	.pbm-nigeria-payment-trigger-wrap,
	.pbm-nigeria-payment-trigger-wrap.pbm-align-center,
	.pbm-nigeria-payment-trigger-wrap.pbm-align-right {
		justify-content: stretch;
		text-align: left;
	}

	.pbm-nigeria-payment-trigger,
	.pbm-nigeria-payment-trigger.is-auto {
		width: 100%;
		min-width: 0;
	}

	.pbm-nigeria-payment-heading {
		font-size: 18px;
		margin-bottom: 10px;
	}

	.pbm-pay-modal-overlay {
		align-items: center;
		padding-top: max(10px, env(safe-area-inset-top));
		padding-bottom: max(10px, env(safe-area-inset-bottom));
	}
}

@media (max-width: 390px) {
	.pbm-pay-modal-overlay {
		padding: 10px;
	}

	.pbm-pay-modal-content,
	.pbm-pay-modal-content-compact {
		padding: 14px;
	}

	.pbm-pay-modal-header {
		margin-bottom: 14px;
	}

	.pbm-pay-btn {
		min-height: 46px;
		font-size: 13px;
	}
}

/* Popup hard-lock styles to prevent theme/plugin overrides. */
[data-pbm-modal="country"].pbm-pay-modal-overlay {
	background: rgba(0,0,0,0.45) !important;
	backdrop-filter: blur(3px) !important;
}

[data-pbm-modal="nigeria"].pbm-pay-modal-overlay {
	background: rgba(0,0,0,0.55) !important;
	backdrop-filter: blur(4px) !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal {
	font-family: "Segoe UI", sans-serif !important;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
}

.pbm-pay-modal-overlay .pbm-pay-country-option {
	border: 1px solid #e6e6e6 !important;
	border-radius: 16px !important;
	background: #fff !important;
	padding: 18px 16px !important;
	min-height: 82px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	box-sizing: border-box !important;
	font-family: "Segoe UI", sans-serif !important;
}

.pbm-pay-modal-overlay .pbm-pay-country-option:hover {
	border-color: #6C2F9D !important;
	background: #faf7ff !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal-country {
	width: min(100%, 350px) !important;
	border-radius: 20px !important;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal-country .pbm-pay-modal-content {
	padding: 22px !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal-country .pbm-pay-modal-header h2 {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal-country .pbm-pay-modal-header p {
	font-size: 14px !important;
	color: #8a8a8a !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal-country .pbm-pay-country-left strong {
	font-size: 18px !important;
	color: #1d1d1d !important;
}

.pbm-pay-modal-overlay .pbm-pay-modal-country .pbm-pay-country-left small {
	font-size: 13px !important;
	color: #9a9a9a !important;
}

/* Strict country modal lock to mirror payment popup phase 1 UI. */
[data-pbm-modal="country"].pbm-pay-modal-overlay {
	padding: 20px !important;
	align-items: center !important;
	justify-content: center !important;
	overflow-y: auto !important;
}

[data-pbm-modal="country"] .pbm-pay-modal-country {
	width: 350px !important;
	max-width: 100% !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
}

[data-pbm-modal="country"] .pbm-pay-modal-top {
	height: 4px !important;
	background: linear-gradient(to right,#6C2F9D,#8a3fd1,#2aa9ff) !important;
}

[data-pbm-modal="country"] .pbm-pay-modal-content {
	padding: 22px !important;
}

[data-pbm-modal="country"] .pbm-pay-modal-header {
	margin-bottom: 18px !important;
	align-items: flex-start !important;
}

[data-pbm-modal="country"] .pbm-pay-modal-header h2 {
	font-size: 28px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	margin: 0 0 4px !important;
	color: #1a1a1a !important;
}

[data-pbm-modal="country"] .pbm-pay-modal-header p {
	font-size: 14px !important;
	margin: 0 !important;
	color: #8a8a8a !important;
}

[data-pbm-modal="country"] .pbm-pay-close {
	font-size: 28px !important;
	line-height: 1 !important;
	color: #999 !important;
	padding: 0 !important;
}

[data-pbm-modal="country"] .pbm-pay-country-option {
	padding: 18px 16px !important;
	min-height: 82px !important;
	margin-bottom: 14px !important;
	border: 1px solid #e6e6e6 !important;
	border-radius: 16px !important;
	background: #fff !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	box-sizing: border-box !important;
}

[data-pbm-modal="country"] .pbm-pay-country-left {
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	flex: 1 !important;
	min-width: 0 !important;
}

[data-pbm-modal="country"] .pbm-pay-flag {
	font-size: 24px !important;
	line-height: 1 !important;
}

[data-pbm-modal="country"] .pbm-pay-country-left strong {
	font-size: 18px !important;
	line-height: 1.2 !important;
	margin: 0 0 3px !important;
	color: #1d1d1d !important;
}

[data-pbm-modal="country"] .pbm-pay-country-left small {
	font-size: 13px !important;
	line-height: 1.3 !important;
	margin: 0 !important;
	color: #9a9a9a !important;
}

[data-pbm-modal="country"] .pbm-pay-arrow {
	font-size: 24px !important;
	line-height: 1 !important;
	color: #999 !important;
	width: 14px !important;
	text-align: center !important;
	margin-left: 10px !important;
	flex-shrink: 0 !important;
}

[data-pbm-modal="country"] .pbm-pay-cancel-btn {
	margin-top: 10px !important;
	padding: 16px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	border-radius: 14px !important;
	border: none !important;
	background: #f3f4f7 !important;
	color: #666 !important;
}

[data-pbm-modal="country"] .pbm-pay-cancel-btn:hover {
	background: #ececf1 !important;
}

@media (max-width: 640px) {
	[data-pbm-modal="country"].pbm-pay-modal-overlay {
		padding: 14px !important;
		align-items: center !important;
	}

	[data-pbm-modal="country"] .pbm-pay-modal-country {
		width: min(100%, 350px) !important;
	}

	[data-pbm-modal="country"] .pbm-pay-modal-content {
		padding: 18px !important;
	}
}

@media (max-width: 390px) {
	[data-pbm-modal="country"].pbm-pay-modal-overlay {
		padding: 10px !important;
		align-items: center !important;
	}

	[data-pbm-modal="country"] .pbm-pay-modal-content {
		padding: 14px !important;
	}

	[data-pbm-modal="country"] .pbm-pay-modal-header h2 {
		font-size: 24px !important;
	}
}

.pbm-pay-modal-overlay .pbm-pay-cancel-btn,
.pbm-pay-modal-overlay .pbm-pay-btn-secondary,
.pbm-pay-modal-overlay .pbm-pay-btn-ghost,
.pbm-pay-modal-overlay .pbm-pay-btn-whatsapp {
	background: #f1f2f6 !important;
	color: #666 !important;
	border: 1px solid #e7e9ef !important;
}

.pbm-pay-modal-overlay .pbm-pay-btn-telegram,
.pbm-pay-modal-overlay .pbm-pay-btn-primary {
	background: linear-gradient(to right,#5f0ea8,#7b2ff7) !important;
	color: #fff !important;
	box-shadow: 0 12px 30px rgba(108,47,157,0.25) !important;
}

.pbm-pay-modal-overlay .pbm-pay-info-box {
	background: #fafafa !important;
	border: 1px solid #ececec !important;
	border-radius: 16px !important;
}

.pbm-pay-modal-overlay .pbm-copy-mini {
	background: #f3ebff !important;
	color: #6C2F9D !important;
	border-radius: 8px !important;
}

.pbm-pay-modal-overlay .pbm-copy-mini:hover {
	background: #e7d7ff !important;
}

.pbm-pay-modal-overlay .pbm-pay-notice {
	background: #f7f4ff !important;
	border: 1px solid #e6dbff !important;
	border-radius: 15px !important;
	color: #6e6e6e !important;
}
