/* BWC Video Access – Frontend styles */

.bwc-video-wrap { max-width: 860px; margin: 0 auto; }

/* ── embed ratio wrapper ── */
.bwc-embed-wrap {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #000;
}
.bwc-embed-wrap iframe,
.bwc-embed-wrap video {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	border: 0;
}

.bwc-video-desc {
	margin-top: .75rem;
	color: #555;
	font-size: .95em;
}

/* ── code gate ── */
.bwc-code-gate {
	display: flex;
	justify-content: center;
	padding: 3rem 1rem;
}
.bwc-code-box {
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 12px;
	padding: 2rem 2.5rem;
	max-width: 440px;
	width: 100%;
	text-align: center;
	box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.bwc-code-box h3 {
	margin: 0 0 .5rem;
	font-size: 1.3rem;
}
.bwc-code-box p {
	color: #666;
	margin-bottom: 1.2rem;
}
.bwc-code-row {
	display: flex;
	gap: .5rem;
	justify-content: center;
}
.bwc-code-input {
	flex: 1;
	padding: .6rem .9rem;
	font-size: 1.1rem;
	letter-spacing: .1em;
	border: 2px solid #ccc;
	border-radius: 6px;
	text-transform: uppercase;
	text-align: center;
}
.bwc-code-input:focus {
	border-color: #882729;
	outline: none;
}
.bwc-code-submit {
	padding: .6rem 1.2rem;
	background: #882729;
	color: #fff;
	border: none;
	border-radius: 6px;
	font-size: 1rem;
	cursor: pointer;
	transition: background .2s;
}
.bwc-code-submit:hover { background: #6b1e20; }
.bwc-code-submit:disabled { background: #aaa; cursor: not-allowed; }

.bwc-code-msg {
	margin-top: .8rem;
	font-size: .9em;
	min-height: 1.2em;
}
.bwc-code-msg.success { color: #1a7a1a; }
.bwc-code-msg.error   { color: #c0392b; }
