/**
 * Bet Shortcodes Plugin Styles
 * Modern design system with formal color scale (100-500) and unified CTA approach
 * 
 * Color System:
 * - color-100: #FFFFFF (lightest background)
 * - color-200: #E3E7E9 (light background/borders)
 * - color-300: #B4BDC3 (medium neutral)
 * - color-400: #2B2C2D (dark text)
 * - color-500: #000000 (darkest)
 * - cta_color: #44bd32 (primary action)
 * - cta_hover_color: #3aaa2a (primary action hover)
 */

/* ============================================================================
   Reset & Base Styles
   ============================================================================ */

.bet-shortcodes * {
	box-sizing: border-box;
}

.bet-shortcodes {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #2B2C2D;
	line-height: 1.6;
	margin-bottom: 16px !important;
}

.terms-and-conditions {
	margin-top: 12px !important;
	color: var(--bet-color-400, #2B2C2D);
	font-size: 10px;
	line-height: 1.3 !important;
	text-align: center;
}

.terms-image,
.promo-terms-image {
	display: block;
	width: 140px;
	height: 32px;
	max-width: 100%;
	object-fit: contain;
	margin: 8px auto 0;
}

.promo-terms-image {
	margin: 0 auto;
}

.terms-and-conditions p {
	margin: 0 0 0.5em;
	opacity: 0.6;
	line-height: 1.3;
}

.terms-and-conditions p:last-child {
	margin-bottom: 0;
}

.bet-shortcodes .offer {
	line-height: 1;
}

/* ============================================================================ 
   Bonus Shortcode
   ============================================================================ */

.bet-bonus {
	margin-bottom: 24px;
}

.bet-bonus.bet-sticky {
	position: relative;
}

.bet-bonus .bonus-list {
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--bet-color-100, #FFFFFF);
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(43, 44, 45, 0.08);
	overflow: hidden;
}

.bet-bonus .bonus-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--bet-color-200, #E3E7E9);
	background: var(--bet-color-100, #FFFFFF);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.bet-bonus .bonus-list li:last-child {
	border-bottom: none;
}

.bet-bonus .bonus-list li:hover {
	background-color: #F8F9FA;
	box-shadow: inset 0 0 0 1px var(--bet-color-200, #E3E7E9);
}

.bet-bonus .bonus-logo {
	flex: 0 0 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bet-color-200, #E3E7E9);
	border-radius: 6px;
	overflow: hidden;
}

.bet-bonus .bonus-logo a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 6px;
	overflow: hidden;
	transition: transform 0.2s ease;
}

.bet-bonus .bonus-logo a:hover {
	transform: scale(1.05);
}

.bet-bonus .bonus-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 4px;
}

.bet-bonus .bonus-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bet-bonus .bonus-sportsbook {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
	max-width: max-content;
	color: var(--bet-color-400, #2B2C2D);
}

.bet-bonus .bonus-sportsbook a {
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.bet-bonus .bonus-sportsbook a:hover {
	opacity: 0.7;
}

.bet-bonus .bonus-description {
	font-size: 14px;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
	color: var(--bet-color-400, #2B2C2D);
}

.bet-bonus .bonus-button {
	flex: 0 0 auto;
	margin-left: auto;
	align-self: flex-start;
}

/* Button System: All primary CTA buttons (13px font-size, no letter-spacing, uppercase)
   use CSS variables for colors (--bet-cta-color, --bet-cta-hover-color, --bet-cta-text-color)
   with 0.2s ease transitions and consistent 6px border-radius. Hover adds -2px Y transform
   and increases box-shadow for visual feedback. Secondary text links use 0.5px letter-spacing
   with opacity transitions. */
.bet-bonus .bonus-button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	padding: 10px 12px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(43, 44, 45, 0.12);
	transition: all 0.2s ease;
	white-space: nowrap;
	background: var(--bet-cta-color, #44bd32);
	color: var(--bet-cta-text-color, #FFFFFF);
}

.bet-bonus .bonus-button a:hover {
	background: var(--bet-cta-hover-color, #3aaa2a);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(43, 44, 45, 0.15);
	opacity: 1;
}

.bet-bonus .bonus-button a:active {
	transform: translateY(0);
}

@media (max-width: 1024px) {
	.bet-bonus .bonus-list li {
		gap: 12px;
		padding: 14px 16px;
	}

	.bet-bonus .bonus-logo {
		flex: 0 0 50px;
		height: 50px;
	}

	.bet-bonus .bonus-description {
		font-size: 13px;
	}

	.bet-bonus .bonus-button a {
		min-width: 100px;
		padding: 9px 12px;
		font-size: 11px;
	}
}

@media (max-width: 640px) {
	.bet-bonus .bonus-list li {
		flex-wrap: nowrap;
		gap: 12px;
		padding: 12px;
		align-items: flex-start;
	}

	.bet-bonus .bonus-logo {
		flex: 0 0 50px;
		height: 50px;
	}
	
	.bet-bonus .bonus-text {
		flex: 1 1 auto;
		min-width: 0;
	}

	.bet-bonus .bonus-sportsbook {
		font-size: 10px;
	}

	.bet-bonus .bonus-description {
		font-size: 12px;
		margin: 2px 0 0 0;
	}
	
	.bet-bonus .bonus-button {
		flex: 0 0 auto;
		margin-left: auto;
	}

	.bet-bonus .bonus-button a {
		width: auto;
		min-width: auto;
		font-size: 12px;
		padding: 10px 12px;
	}
}

/* ============================================================================
   Promo Shortcode
   ============================================================================ */

.bet-promo {
	margin-bottom: 28px;
}

.bet-promo .promo-wrapper {
	display: flex;
	min-height: 280px;
	position: relative;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
	overflow: hidden;
}

.bet-promo .promo-left {
	flex: 1;
	padding: 40px;
	background: var(--bet-promo-left-bg, linear-gradient(135deg, var(--bet-color-400, #2B2C2D) 0%, var(--bet-color-500, #000000) 100%));
	color: var(--bet-cta-text-color, #FFFFFF);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 15px;
}

.bet-promo .promo-left::before {
	content: "";
	position: absolute;
	inset: -20px;
	background-image: var(--bet-promo-left-bg-image, none);
	background-size: cover;
	background-position: center;
	filter: blur(48px);
	opacity: 0.5;
	pointer-events: none;
}

.bet-promo .promo-left > * {
	position: relative;
	z-index: 1;
}

.bet-promo .promo-logo {
	width: 100px;
	height: 100px;
	border-radius: 6px;
	border-width: 0px;
	overflow: hidden;
	margin-bottom: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.bet-promo .promo-logo:hover {
	transform: scale(1.05);
}

.bet-promo .promo-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bet-promo .promo-content {
	flex: 1;
}

.bet-promo .promo-name {
	font-size: 28px;
	font-weight: 900;
	margin: 0 0 8px 0;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
	line-height: 1.1;
	color: #FFFFFF;
}

.bet-promo .promo-description {
	font-size: 13px;
	line-height: 1.4;
	margin-bottom: 12px;
	opacity: 0.95;
	max-width: 90%;
	color: var(--bet-color-200, #E3E7E9);
}

.bet-promo .promo-code-display {
	background: rgba(255, 255, 255, 0.12);
	padding: 10px 12px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #FFFFFF;
}

.bet-promo .promo-code-display .code-value {
	font-weight: 600;
	font-size: 14px;
	display: inline;
}

.bet-promo .promo-code-display .code-label {
	white-space: nowrap;
}

.bet-promo .promo-copy-button {
	width: 24px;
	height: 24px;
	padding: 4px;
	border: 0;
	border-radius: 4px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	flex: 0 0 auto;
}

.bet-promo .promo-copy-button:hover,
.bet-promo .promo-copy-button:focus-visible {
	background: rgba(255, 255, 255, 0.16);
}

.bet-promo .promo-copy-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.bet-promo .promo-copy-button svg {
	width: 100%;
	height: 100%;
}

.bet-promo .promo-copy-button .copied-icon {
	display: none;
}

.bet-promo .promo-copy-button.is-copied .copy-icon {
	display: none;
}

.bet-promo .promo-copy-button.is-copied .copied-icon {
	display: block;
}

.bet-promo .promo-actions {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.bet-promo .promo-actions .promo-button {
	margin: 0;
}

.bet-promo .promo-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 16px;
	border-radius: 6px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 13px;
	line-height: 1.2;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	margin-right: 10px;
	margin-bottom: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.bet-promo .promo-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 1;
}

.bet-promo .promo-button:active {
	transform: translateY(-1px);
}

.bet-promo .sb-button {
	background: rgba(255, 255, 255, 0.12);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.bet-promo .sb-button:hover {
	background: rgba(255, 255, 255, 0.2);
}

.bet-promo .promo-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.bet-promo .promo-right {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 30px;
	background: var(--bet-color-100, #FFFFFF);
	min-width: 350px;
	max-width: 375px;
	border-left: 1px solid var(--bet-color-200, #E3E7E9);
	gap: 15px;
}

.bet-promo .promo-value-box {
	text-align: center;
}

.bet-promo .promo-value-box .value {
	display: block;
	font-size: 36px;
	font-weight: 900;
	margin-bottom: 6px;
	color: var(--bet-color-400, #2B2C2D);
	line-height: 1;
}

.bet-promo .promo-value-box .offer-name {
	display: block;
}

.bet-promo .promo-value-box .offer {
	display: block;
	font-size: 14px;
	color: var(--bet-color-300, #B4BDC3);
	font-weight: 600;
}

.bet-promo .promo-value-box .exclusive-offer {
	text-decoration: none;
	display: block;
}

.bet-promo .promo-value-box .exclusive-offer .offer {
	color: var(--bet-cta-color, #44bd32);
	margin-bottom: 8px;
}

.bet-promo .promo-value-box .exclusive-offer:hover .offer {
	color: var(--bet-cta-hover-color, #3aaa2a);
}

.bet-promo .main-button {
	background: var(--bet-cta-color, #44bd32);
	color: var(--bet-cta-text-color, #FFFFFF) !important;
	width: 100%;
	text-align: center;
	box-shadow: 0 2px 8px rgba(68, 189, 50, 0.15);
}

.bet-promo .main-button:hover {
	background: var(--bet-cta-hover-color, #3aaa2a);
	box-shadow: 0 4px 12px rgba(68, 189, 50, 0.2);
}

@media (max-width: 1024px) {
	.bet-promo .promo-left {
		padding: 24px;
		gap: 12px;
	}

	.bet-promo .promo-right {
		max-width: none;
		padding: 20px;
		min-width: 230px;
		gap: 12px;
	}

	.bet-promo .promo-logo {
		width: 90px;
		height: 90px;
	}

	.bet-promo .promo-name {
		font-size: 24px;
	}

	.bet-promo .promo-description {
		font-size: 13px;
		margin-bottom: 8px;
	}

	.bet-promo .promo-value-box .value {
		font-size: 32px;
	}
}

@media (max-width: 768px) {
	.bet-promo .promo-wrapper {
		flex-direction: column;
		min-height: auto;
	}
	
	.bet-promo .promo-left {
		padding: 28px;
		align-items: center;
		text-align: center;
		gap: 12px;
	}

	.bet-promo .promo-logo {
		margin-bottom: 0;
	}
	
	.bet-promo .promo-name {
		font-size: 24px;
	}

	.bet-promo .promo-description {
		font-size: 13px;
		max-width: 100%;
		margin-bottom: 12px;
	}

	.bet-promo .promo-code-display {
		margin-bottom: 12px;
	}

	.bet-promo .promo-actions {
		justify-content: center;
	}

	.bet-promo .promo-code-display {
		margin-bottom: 0;
	}

	.bet-promo .promo-button {
		/* margin-right: 0; */
		margin-left:auto;
		margin-right:auto;
		margin-bottom: 8px;
		padding: 10px 16px;
	}
	
	.bet-promo .promo-right {
		border-left: none;
		border-top: 1px solid var(--bet-color-200, #E3E7E9);
		padding: 24px;
		min-width: auto;
		flex-direction: column;
		gap: 16px;
		justify-content: center;
	}
	
	.bet-promo .promo-value-box {
		margin-bottom: 0;
	}

	.bet-promo .promo-value-box .value {
		font-size: 32px;
	}
	
	.bet-promo .main-button {
		width: 100%;
		min-width: auto;
		background: var(--bet-cta-color, #44bd32);
	}
}

@media (max-width: 480px) {
	.bet-promo .promo-left {
		padding: 20px;
	}

	.bet-promo .promo-logo {
		width: 90px;
		height: 90px;
		border-width: 3px;
	}

	.bet-promo .promo-name {
		font-size: 20px;
	}

	.bet-promo .promo-description {
		font-size: 12px;
	}

	.bet-promo .promo-right {
		flex-direction: column;
		padding: 16px;
		gap: 16px;
	}

	.bet-promo .promo-value-box .value {
		font-size: 28px;
	}

	.bet-promo .main-button {
		width: 100%;
	}
}

/* ============================================================================
   Tabs Shortcode
   ============================================================================ */

.bet-tabs {
	border-radius: 8px;
	margin-bottom: 28px;
}

.bet-tabs .bsc-tab-content {
	overflow: hidden;
	background: var(--bet-color-100, #fff);
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.bet-tabs .bsc-tab-content-wrap {
	display: none;
}

.bet-tabs .bsc-tab-content-wrap.active {
	display: block;
	animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.bet-tabs .tab-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bet-tabs .tab-list li {
	display: flex;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid var(--bet-color-200, #f0f0f0);
	background: var(--bet-color-100, #fff);
	position: relative;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	gap: 16px;
}

.bet-tabs .tab-item {
	display: flex;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid var(--bet-color-200, #f0f0f0);
	background: var(--bet-color-100, #fff);
	position: relative;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
	gap: 16px;
}

.bet-tabs .tab-list li:nth-child(even) {
	background: #fafafa;
}

.bet-tabs .tab-list li:last-child {
	border-bottom: none;
}

.bet-tabs .tab-list li:hover {
	background-color: #f5f5f5;
	box-shadow: inset 0 0 0 1px var(--bet-color-200, #e8e8e8);
}

.bet-tabs .tab-number {
	flex: 0 0 32px;
	height: 32px;
	width: 32px;
	line-height: 32px;
	text-align: center;
	font-weight: 800;
	color: var(--bet-color-500, #000000);
	font-size: 14px;
	background: transparent;
	border-radius: 50%;
	border: 1px solid var(--bet-color-300, #000000);
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.bet-tabs .tab-list li:hover .tab-number {
	background: var(--bet-color-200, #fafafa);
	transform: scale(1.1);
}

.bet-tabs .tab-logo {
	flex: 0 0 70px;
	height: 70px;
	border-radius: 6px;
	overflow: hidden;
	background: var(--bet-color-200, #E3E7E9);
}

.bet-tabs .tab-logo a {
	display: flex;
	width: 100%;
	height: 100%;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(43, 44, 45, 0.12);
	transition: all 0.3s ease;
	align-items: center;
	justify-content: center;
}

.bet-tabs .tab-logo a:hover {
	transform: scale(1.08);
	box-shadow: 0 4px 12px rgba(43, 44, 45, 0.15);
}

.bet-tabs .tab-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	padding: 4px;
}

.bet-tabs .tab-inner-content {
	display: flex;
	flex: 1;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
}

.bet-tabs .column {
	text-align: center;
	flex: 1;
	min-width: 0;
}

.bet-tabs .column.tab-usp {
	text-align: left;
	flex: 0.9;
}

.bet-tabs .column.tab-button {
	text-align: right;
	flex: 0.9;
}

.bet-tabs .casino-name {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
	line-height: 1.3;
	color: var(--bet-color-400, #2B2C2D);
}

.bet-tabs .casino-name a {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.bet-tabs .casino-name a:hover {
	opacity: 0.7;
}

.bet-tabs .review {
	display: block;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
	text-decoration: none;
	color: var(--bet-color-400, #2B2C2D);
	transition: opacity 0.2s ease;
}

.bet-tabs .review:hover {
	opacity: 0.7;
}

.bet-tabs .offer {
	display: block;
	font-size: 22px;
	font-weight: 900;
	margin-bottom: 4px;
	color: var(--bet-color-500, #000000);
	letter-spacing: -0.5px;
}

.bet-tabs .tab-offer-link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s ease;
}

.bet-tabs .tab-offer-link:hover {
	opacity: 0.8;
}

.bet-tabs .tab-bonus p {
	margin: 0;
	font-size: 13px;
	color: #666;
	font-weight: 500;
	line-height: 1.4;
}

.bet-tabs .play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	background: var(--bet-cta-color, #44bd32);
	color: var(--bet-cta-text-color, #FFFFFF);
	text-decoration: none;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 13px;
	border-radius: 6px;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(68, 189, 50, 0.15);
	min-width: 108px;
}

.bet-tabs .play:hover {
	background: var(--bet-cta-hover-color, #3aaa2a);
	opacity: 1;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(68, 189, 50, 0.2);
}

.bet-tabs .play:active {
	transform: translateY(0);
}

@media (max-width: 1024px) {
	.bet-tabs .tab-list li {
		gap: 14px;
		padding: 18px;
	}

	.bet-tabs .tab-number {
		flex: 0 0 36px;
		height: 36px;
		width: 36px;
		line-height: 36px;
		font-size: 14px;
	}

	.bet-tabs .tab-logo {
		flex: 0 0 60px;
		height: 60px;
	}

	.bet-tabs .tab-inner-content {
		gap: 8px;
	}

	.bet-tabs .play {
		padding: 10px 14px;
		font-size: 12px;
		min-width: 104px;
	}
}

@media (max-width: 768px) {
	.bet-tabs .tab-list li {
		flex-direction: column;
		padding: 16px;
		gap: 12px;
		align-items: center;
	}
	
	.bet-tabs .tab-number {
		align-self: flex-start;
	}
	
	.bet-tabs .tab-logo {
		flex: 0 0 60px;
		height: 60px;
	}
	
	.bet-tabs .tab-inner-content {
		flex-direction: column;
		width: 100%;
		gap: 8px;
		align-items: center;
	}
	
	.bet-tabs .column {
		width: 100%;
		text-align: center;
	}
	
	.bet-tabs .column.tab-usp {
		text-align: center;
		flex: 1;
	}

	.bet-tabs .casino-name {
		text-align: center;
		font-size: 11px;
		margin-bottom: 4px;
	}
	
	.bet-tabs .review {
		display: none;
		margin: 0;
		font-size: 14px;
		text-align: center;
	}

	.bet-tabs .offer {
		font-size: 18px;
		margin-bottom: 2px;
	}

	.bet-tabs .tab-bonus p {
		font-size: 12px;
	}

	.bet-tabs .play {
		width: 100%;
		min-width: auto;
		padding: 10px 14px;
		font-size: 13px;
	}
}

/* ============================================================================
   Utilities & Accessibility
   ============================================================================ */

.bet-shortcodes a {
	transition: all 0.2s ease;
}

.bet-shortcodes a:focus {
	outline: 2px solid #44bd32;
	outline-offset: 2px;
	border-radius: 2px;
}

.bet-shortcodes img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Performance optimization - use GPU acceleration for transforms */
.bet-shortcodes * {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Print styles */
@media print {
	.bet-shortcodes {
		box-shadow: none;
		margin-bottom: 0;
	}

	.bet-shortcodes a {
		text-decoration: underline;
	}
}

.bet-shortcodes a,
.bet-shortcodes a:visited,
.bet-shortcodes a:hover,
.bet-shortcodes a:focus,
.bet-shortcodes a:active {
	text-decoration: none !important;
}