/* Preview modal + ToolTraq + bundles */

body.bwbc-modal-open {
	overflow: hidden;
}

.bwbc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.bwbc-modal[hidden] {
	display: none !important;
}

.bwbc-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
}

.bwbc-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(500px, 100%);
	max-height: min(92vh, 900px);
	overflow: auto;
	background: #121212;
	color: #fff;
	border: 1px solid #333;
	border-radius: 12px;
	padding: 28px 24px 24px;
}

.bwbc-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.bwbc-modal__title {
	margin: 0 0 16px;
	font-size: 22px;
}
.bwbc-modal__screen .bwbc-modal__title {
	line-height: 1.1;
}

.bwbc-modal__preview-wrap,
.bwbc-modal__live {
	margin-bottom: 16px;
	background: #0b0b0b;
	border-radius: 8px;
	overflow: hidden;
}

.bwbc-modal__plate {
	display: block;
	width: 100%;
	height: auto;
}

.bwbc-live-stack {
	position: relative;
	width: 100%;
}

.bwbc-live-stack__plate {
	display: block;
	width: 100%;
	height: auto;
	position: relative;
	z-index: 1;
	pointer-events: none;
}

.bwbc-live-stack__name,
.bwbc-live-stack__info {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	pointer-events: none;
	overflow: hidden;
}

.bwbc-live-stack__name {
	font-size: clamp(14px, 3.2vw, 28px);
}

.bwbc-live-stack__info {
	font-size: clamp(10px, 1.8vw, 14px);
	opacity: 0.95;
}

.bwbc-modal__confirm-text {
	font-size: 18px;
	font-weight: 600;
	color: var(--e-global-color-accent, #f7b500);
	margin: 0 0 18px;
}

.bwbc-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.bwbc-btn {
	appearance: none;
	border-radius: 6px;
	padding: 12px 16px;
	font-weight: 700;
	cursor: pointer;
	border: 1px solid transparent;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease,
		filter 0.15s ease;
}

/* Kill Hello Elementor pink/red button hovers inside the configurator. */
.bwbc-modal button:hover,
.bwbc-modal button:focus,
.bwbc-modal [type="button"]:hover,
.bwbc-modal [type="button"]:focus,
.bwbc-configurator button:hover,
.bwbc-configurator button:focus,
.bwbc-configurator [type="button"]:hover,
.bwbc-configurator [type="button"]:focus {
	background-color: inherit;
	color: inherit;
}

.bwbc-btn--primary {
	background: var(--e-global-color-accent, #f7b500);
	color: #0b0b0b;
	border-color: var(--e-global-color-accent, #f7b500);
}

.bwbc-btn--primary:hover,
.bwbc-btn--primary:focus {
	background: var(--e-global-color-accent, #f7b500);
	border-color: var(--e-global-color-accent, #f7b500);
	color: #0b0b0b;
	filter: brightness(1.06);
	outline: none;
}

.bwbc-btn--ghost {
	background: transparent;
	color: #fff;
	border-color: #444;
}

.bwbc-btn--ghost:hover,
.bwbc-btn--ghost:focus {
	background: transparent;
	color: #fff;
	border-color: var(--e-global-color-accent, #f7b500);
	outline: none;
}

.bwbc-modal__path-grid {
	display: grid;
	gap: 12px;
}

.bwbc-path {
	display: block;
	text-align: left;
	padding: 16px;
	border: 1px solid #333;
	border-radius: 8px;
	background: #161616;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease;
}

.bwbc-path strong {
	display: block;
	margin-bottom: 6px;
	color: var(--e-global-color-accent, #f7b500);
}

.bwbc-path span {
	color: #bbb;
	font-size: 14px;
}

.bwbc-path:hover,
.bwbc-path:focus {
	background: #161616;
	border-color: var(--e-global-color-accent, #f7b500);
	color: #fff;
	outline: none;
}

.bwbc-path:hover strong,
.bwbc-path:focus strong {
	color: var(--e-global-color-accent, #f7b500);
}

.bwbc-path:hover span,
.bwbc-path:focus span {
	color: #ddd;
}

.bwbc-field {
	display: grid;
	gap: 6px;
	margin-bottom: 12px;
}

.bwbc-field input {
	padding: 10px 12px;
	border-radius: 6px;
	border: 1px solid #333;
	background: #0b0b0b;
	color: #fff;
}

.bwbc-bundles {
	margin: 8px 0 0;
	padding: 12px;
	border: 1px dashed #444;
	border-radius: 8px;
	font-size: 13px;
	color: #ccc;
}

.bwbc-bundles__title {
	margin: 0 0 6px;
	font-weight: 700;
	color: #fff;
}

.bwbc-bundles__list {
	margin: 0;
	padding-left: 18px;
}

.bwbc-tooltraq {
	margin: 0 0 20px;
	padding: 18px;
	border: 1px solid #333;
	border-radius: 10px;
	background: #121212;
	color: #fff;
}

.bwbc-tooltraq__title {
	margin: 0 0 8px;
	color: var(--e-global-color-accent, #f7b500);
}

.bwbc-tooltraq__copy {
	margin: 0 0 12px;
	color: #ddd;
}

@media (max-width: 600px) {
	.bwbc-modal__dialog {
		padding: 22px 16px 16px;
	}
}
