/* ==========================================================================
   Tribunal Burguer JukeBox — página pública (clientes / QR Code)
   Fundo = foto do jukebox; centro = "tela" do jukebox com o formulário.
   ========================================================================== */

/* Reseta o tema do WP nesta página: tira margens e fundos do conteúdo. */
.tbjb-stage {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	background-color: #140d0a;
	background-image: var(--tbjb-bg);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 4vh 5vw 5vh;
	box-sizing: border-box;
	overflow-y: auto;
	z-index: 999;
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* Esconde o restante do tema atrás do palco (cabeçalho/rodapé do WP). */
body:has(.tbjb-stage) {
	margin: 0 !important;
	overflow: hidden;
}

/* A "tela" do jukebox: vidro escuro com brilho âmbar/neon. */
.tbjb-screen {
	width: 100%;
	max-width: 380px;
	margin-top: 2vh;
	padding: 22px 22px 24px;
	border-radius: 18px;
	background: radial-gradient(120% 120% at 50% 0%, rgba(28, 18, 12, 0.86) 0%, rgba(10, 6, 4, 0.92) 100%);
	border: 2px solid rgba(255, 184, 92, 0.55);
	box-shadow:
		0 0 0 4px rgba(0, 0, 0, 0.35),
		0 0 28px rgba(255, 150, 50, 0.45),
		inset 0 0 32px rgba(255, 170, 70, 0.12);
	backdrop-filter: blur(2px);
	text-align: center;
	color: #ffe9c7;
}

.tbjb-logo {
	display: block;
	width: 110px;
	height: 110px;
	margin: 0 auto 8px;
	border-radius: 50%;
	filter: drop-shadow(0 0 14px rgba(255, 140, 40, 0.55));
}

.tbjb-brand {
	display: flex;
	flex-direction: column;
	line-height: 1.05;
	margin-bottom: 4px;
}

.tbjb-brand-jb {
	font-size: 2.5rem;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #ff8a3d;
	text-shadow: 0 0 16px rgba(255, 110, 30, 0.85), 0 0 4px rgba(255, 220, 150, 0.6);
}

.tbjb-prompt {
	margin: 10px 0 20px;
	font-size: 1rem;
	color: #ffdca8;
	opacity: 0.92;
}

.tbjb-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tbjb-form input[type="text"] {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 14px;
	font-size: 1rem;
	color: #fff6e6;
	background: rgba(0, 0, 0, 0.45);
	border: 1.5px solid rgba(255, 184, 92, 0.4);
	border-radius: 10px;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.tbjb-form input[type="text"]::placeholder {
	color: rgba(255, 220, 180, 0.5);
}

.tbjb-form input[type="text"]:focus {
	border-color: #ffb45c;
	box-shadow: 0 0 12px rgba(255, 160, 60, 0.5);
}

.tbjb-btn {
	margin-top: 4px;
	padding: 14px 18px;
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #2a1402;
	background: linear-gradient(180deg, #ffd089 0%, #ff9a3d 100%);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(255, 130, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	transition: transform 0.08s, filter 0.15s;
}

.tbjb-btn:hover {
	filter: brightness(1.06);
}

.tbjb-btn:active {
	transform: translateY(1px) scale(0.99);
}

.tbjb-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

.tbjb-msg {
	min-height: 1.2em;
	margin: 8px 0 0;
	font-size: 0.95rem;
	font-weight: 600;
}

.tbjb-msg.tbjb-ok {
	color: #8dffa0;
	text-shadow: 0 0 8px rgba(80, 255, 120, 0.5);
}

.tbjb-msg.tbjb-err {
	color: #ff9a9a;
	text-shadow: 0 0 8px rgba(255, 80, 80, 0.4);
}

/* Telas maiores: a "tela" sobe um pouco e fica sobre o arco do jukebox. */
@media (min-height: 740px) {
	.tbjb-screen {
		margin-top: 7vh;
	}
}

@media (min-width: 600px) {
	.tbjb-stage {
		background-position: center center;
	}
	.tbjb-screen {
		max-width: 360px;
	}
}
