/**
 * Frontend [bookmakers-list] – Chad palette: navy #002664, yellow #fecb00, red #c60c30.
 */

.btd-list {
	--btd-navy: #002664;
	--btd-yellow: #fecb00;
	--btd-yellow-deep: #fad201;
	--btd-red: #c60c30;
	--btd-text: #221b25;
	--btd-muted: #8a9099;
	--btd-line: #ececec;
	--btd-green: #16a34a;
	margin: 1.25rem 0 1.75rem;
	max-width: 100%;
}

.btd-list.is-collapsed .btd-row--extra {
	display: none !important;
}

.btd-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.btd-rows {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 920px;
}

.btd-row {
	display: grid;
	grid-template-columns: minmax(200px, .5fr) minmax(150px, .5fr) minmax(140px, 1.1fr) 130px minmax(180px, .8fr) 120px;
	align-items: center;
	column-gap: 8px;
	padding: 15px 15px 15px 5px;
	background: #fff;
	border: 1px solid var(--btd-line);
	border-radius: 12px;
	box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
	color: var(--btd-text);
	font-size: 0.9rem;
	line-height: 1.35;
	position: relative;
}

.btd-row > * {
	min-width: 0;
	padding: 0 8px;
}

.btd-td-bonus .btd-label {
	display: block;
	font-size: .85rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--btd-muted);
	margin-bottom: 4px;
}

.btd-td-code .btd-label {
	display: block;
	font-size: .65rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--btd-muted);
	margin-bottom: 4px;
}

.btd-val {
	display: block;
	color: var(--btd-text);
}

.btd-td-site {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-left: 10px;
}

.btd-identity {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.btd-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
    height: 70px;
	padding: 6px 8px;
	background: #fff;
	border: 1px solid var(--btd-line);
	border-radius: 8px;
	text-decoration: none;
	box-sizing: border-box;
}

.btd-logo img {
	max-width: 100%;
	max-height: 28px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.btd-logo-text {
	color: var(--btd-navy);
	font-weight: 700;
	font-size: 0.75rem;
}

.btd-logo.has-bg {
	border-color: transparent;
}

.btd-logo.has-bg .btd-logo-text {
	color: #fff;
}

.btd-name {
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--btd-navy);
	text-decoration: none;
	line-height: 1.2;
	min-width: 0;
}

a.btd-name:hover {
	color: var(--btd-red);
}

.btd-score {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	line-height: 1;
}

.btd-star {
	display: inline-flex;
	color: var(--btd-yellow);
}

.btd-star-svg {
	display: block;
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.btd-score-value {
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--btd-navy);
	white-space: nowrap;
}

.btd-td-mobile,
.btd-td-airtel {
	min-width: 0;
	background: none;
}

.btd-td-airtel .btd-label {
	display: none;
}

.btd-list ul.btd-pay,
.entry-content .btd-list ul.btd-pay {
	list-style: none;
	margin: 0;
	padding: 0;
	background: none;
	border-radius: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
}

.btd-list ul.btd-pay > li,
.entry-content .btd-list ul.btd-pay > li {
	margin: 0;
	padding: 0;
	background: none;
	position: static;
}

.btd-list ul.btd-pay > li::before,
.btd-list ul.btd-pay > li::marker,
.entry-content .btd-list ul.btd-pay > li::before,
.entry-content .btd-list ul.btd-pay > li::marker {
	content: none;
	display: none;
}

.btd-pay-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--btd-text);
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.25;
	white-space: nowrap;
}

.btd-pay-item.is-off {
	color: #9aa3ae;
}

.btd-pay-item.is-off .btd-pay-icon {
	opacity: 0.55;
}

.btd-pay-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.btd-pay-svg {
	display: block;
	width: 13px;
	height: 13px;
}

.btd-pay-name {
	white-space: nowrap;
}

.btd-td-bonus .btd-val {
	font-size: 1rem;
	font-weight: 800;
	color: var(--btd-navy);
	line-height: 1.3;
}

.btd-code {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	padding: 7px 10px;
	margin: 0;
	background: #fffdf3;
	border: 1px dashed #002664;
	border-radius: 6px;
	cursor: pointer;
	font: inherit;
	color: var(--btd-navy);
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btd-code:hover {
	background: #fff6cc;
	border-color: var(--btd-yellow);
}

.btd-code.is-copied {
	background: #ecfdf5;
	border-color: var(--btd-green);
	border-style: solid;
	color: #166534;
}

.btd-code-value {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	text-transform: uppercase;
}

.btd-code-copied {
	font-size: 0.72rem;
	font-weight: 700;
}

.btd-code-empty {
	color: var(--btd-muted);
}

.btd-td-actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-right: 4px;
}

.btd-list.is-single .btd-td-actions {
	justify-content: center;
}

.btd-btn {
	display: block;
	width: 100%;
	text-align: center;
	padding: 12px 12px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.8rem;
	text-decoration: none !important;
	line-height: 1.2;
	box-sizing: border-box;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}

.btd-btn--cta {
	background: linear-gradient(90deg, #ffce04 0%, #ffd93e 50%, #ffce04 100%);
	background-size: 180% auto;
	color: var(--btd-navy) !important;
	border: 0;
	box-shadow: 0 2px 8px -2px rgba(254, 203, 0, 0.7);
}

.btd-btn--cta:hover {
	filter: brightness(0.97);
	color: var(--btd-navy) !important;
}

.btd-btn--review {
	background: #fff;
	color: var(--btd-navy) !important;
	border: 1px solid #d5dbe3;
}

.btd-btn--review:hover {
	border-color: var(--btd-navy);
	background: #f4f7fb;
	color: var(--btd-navy) !important;
}

.btd-more {
	display: block;
	width: 100%;
	margin-top: 12px;
	padding: 13px 16px;
	border: 0;
	border-radius: 10px;
	background: var(--btd-navy);
	color: #fff;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	text-align: center;
	transition: background 0.15s ease;
}

.btd-more:hover {
	background: #003a8c;
}

@media (max-width: 767px) {
	.btd-list {
		margin: 0.85rem 0 1.25rem;
	}

	.btd-scroll {
		overflow: visible;
	}

	.btd-rows {
		min-width: 0;
		gap: 12px;
	}

	.btd-row {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-width: 0;
		padding: 0;
		overflow: hidden;
	}

	.btd-row > * {
		padding: 12px 16px;
	}

	.btd-td-site {
		padding: 16px;
		background: #fafafa;
		gap: 12px;
	}

	.btd-logo {
		width: 104px;
		height: 44px;
	}

	.btd-logo img {
		max-height: 30px;
	}

	.btd-name {
		font-size: 1.05rem;
	}

	.btd-td-airtel .btd-label {
		display: block;
	}

	.btd-pay {
		width: 100%;
		max-width: 280px;
		min-width: 0;
		gap: 6px;
	}

	.btd-td-mobile,
	.btd-td-airtel,
	.btd-td-bonus,
	.btd-td-code {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
		border-top: 1px solid #f3f4f6;
	}

	.btd-td-bonus .btd-val {
		font-size: 1.02rem;
	}

	.btd-td-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
		padding: 14px 16px 16px;
		border-top: 1px solid var(--btd-line);
		background: #fafafa;
	}

	.btd-td-actions .btd-btn:only-child {
		grid-column: 1 / -1;
	}

	.btd-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		font-size: 0.9rem;
	}

	.btd-more {
		min-height: 48px;
	}
}
