/* APP Early Access popup + trigger styling (Lyve.live theme) */

/*
 * The theme applies `* { transform: translateZ(0) }` (a GPU-acceleration hint).
 * A non-none transform on <html>/<body> turns them into the containing block
 * for position:fixed descendants, which breaks fixed overlays — they stretch to
 * the full document height instead of the viewport, pushing the dialog
 * off-screen. Override it so the popup positions correctly.
 */
html,
body {
	transform: none !important;
}

/* Make "Get the App" buttons behave/look like the existing .green-btn pill */
button.green-btn.lyve-ea-trigger {
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* Overlay + modal */
.lyve-ea-overlay,
.lyve-ea-modal {
	position: fixed;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}

.lyve-ea-overlay {
	background: rgba(0, 0, 0, 0.8);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 99998;
}

.lyve-ea-modal {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 99999;
}

.lyve-ea-overlay.open,
.lyve-ea-modal.open {
	opacity: 1;
	visibility: visible;
}

.lyve-ea-modal-inner {
	position: relative;
	width: 100%;
	max-width: 440px;
	max-height: 90vh;
	overflow-y: auto;
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 26px;
	padding: 34px 30px;
	color: #ffffff;
	font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.lyve-ea-close {
	position: absolute;
	top: 14px;
	right: 16px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background .3s ease, color .3s ease;
}

.lyve-ea-close:hover {
	background: #ffffff;
	color: #000000;
}

.lyve-ea-heading h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.lyve-ea-heading p {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
}

.lyve-ea-field {
	margin-bottom: 16px;
}

.lyve-ea-field label,
.lyve-ea-label {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.6);
}

.lyve-ea-field input[type="text"],
.lyve-ea-field input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	background: #000000;
	border: 1px solid #00dd4b;
	border-radius: 100px;
	padding: 13px 18px;
	color: #ffffff;
	font-family: inherit;
	font-size: 15px;
	outline: none;
	transition: border-color .3s ease;
}

.lyve-ea-field input[type="text"]:focus,
.lyve-ea-field input[type="email"]:focus {
	border-color: #ffffff;
}

.lyve-ea-field input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.lyve-ea-platform {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.lyve-ea-platform label {
	position: relative;
	flex: 1 1 auto;
	margin: 0;
}

.lyve-ea-platform input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
}

.lyve-ea-platform label span {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 11px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 100px;
	font-size: 14px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: all .3s ease;
}

.lyve-ea-platform input[type="radio"]:checked + span {
	background: #00dd4b;
	border-color: #00dd4b;
	color: #000000;
}

.lyve-ea-message {
	min-height: 20px;
	margin-bottom: 14px;
	font-size: 14px;
	line-height: 1.4;
}

.lyve-ea-message--error {
	color: #ec4e40;
}

.lyve-ea-message--success {
	color: #00dd4b;
}

.lyve-ea-submit {
	display: block;
	width: 100%;
	background: #00dd4b;
	border: 0;
	border-radius: 100px;
	padding: 15px 35px;
	color: #000000;
	font-family: inherit;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .35s ease;
}

.lyve-ea-submit:hover {
	background: #ffffff;
}

.lyve-ea-submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

@media only screen and (max-width: 650px) {
	.lyve-ea-modal {
		padding: 14px;
	}

	.lyve-ea-modal-inner {
		padding: 26px 20px;
		border-radius: 20px;
	}

	.lyve-ea-heading h2 {
		font-size: 21px;
	}

	.lyve-ea-platform {
		flex-direction: column;
	}
}
