/* Lyve signup / signin auth pages */

/* Hide the site chrome on auth pages for a focused view.
   This stylesheet is only enqueued on these templates. */
header,
footer,
.lines-img {
	display: none !important;
}

.lyve-auth-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 56px 20px 80px;
}

.lyve-auth-card {
	width: 100%;
	max-width: 460px;
	margin: 0 auto;
}

.lyve-auth-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 30px;
}

.lyve-auth-logo img {
	height: 30px;
	width: auto;
	display: block;
}

.lyve-auth-heading {
	text-align: center;
	margin-bottom: 26px;
}

.lyve-auth-heading h1 {
	margin: 0 0 10px;
	font-family: 'Subjectivity', 'Plus Jakarta Sans', sans-serif;
	font-size: 28px;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: -0.01em;
}

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

.lyve-auth-card form {
	background: #1a1a1a;
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 26px;
	padding: 30px 28px;
}

.lyve-auth-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.lyve-auth-field {
	margin-bottom: 14px;
}

.lyve-auth-input {
	position: relative;
}

.lyve-auth-input input {
	width: 100%;
	box-sizing: border-box;
	background: #000000;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 100px;
	padding: 13px 18px 13px 46px;
	color: #ffffff;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	outline: none;
	transition: border-color .15s ease;
}

.lyve-auth-input input::placeholder {
	color: rgba(255, 255, 255, 0.35);
}

.lyve-auth-input input:focus {
	border-color: #00dd4b;
}

/* Keep autofilled fields (login email/password) on the same dark theme so
   the signin and signup pages look identical. */
.lyve-auth-input input:-webkit-autofill,
.lyve-auth-input input:-webkit-autofill:hover,
.lyve-auth-input input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
	-webkit-text-fill-color: #ffffff !important;
	caret-color: #ffffff;
	transition: background-color 9999s ease-in-out 0s;
}

.lyve-auth-input input.input-error {
	border-color: #ec4e40 !important;
}

.lyve-auth-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
	z-index: 1;
}

.lyve-auth-icon svg {
	width: 17px;
	height: 17px;
}

.lyve-auth-pw input {
	padding-right: 46px;
}

.lyve-auth-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.4);
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lyve-auth-toggle:hover {
	color: #00dd4b;
}

.lyve-auth-toggle svg {
	width: 18px;
	height: 18px;
}

.lyve-auth-toggle .eye-closed {
	display: block;
}

.lyve-auth-toggle .eye-open {
	display: none;
}

.lyve-auth-toggle.is-visible .eye-closed {
	display: none;
}

.lyve-auth-toggle.is-visible .eye-open {
	display: block;
}

.lyve-auth-hint {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.4);
	margin-top: 6px;
}

.lyve-auth-field-error {
	color: #ec4e40;
	font-size: 11.5px;
	margin-top: 6px;
}

.lyve-auth-error {
	background: rgba(236, 78, 64, 0.12);
	border: 1px solid rgba(236, 78, 64, 0.4);
	color: #ec4e40;
	border-radius: 12px;
	padding: 12px 14px;
	font-size: 13.5px;
	line-height: 1.5;
	margin-bottom: 16px;
	display: none;
}

.lyve-auth-error.show {
	display: block;
}

.lyve-auth-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-top: 20px;
	background: #00dd4b;
	color: #000000;
	border: none;
	border-radius: 100px;
	padding: 15px 25px;
	font-family: 'Subjectivity', 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .3s ease;
	text-decoration: none;
	text-align: center;
}

.lyve-auth-submit:hover {
	background: #ffffff;
	color: #000000;
}

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

.lyve-auth-forgot {
	text-align: right;
	margin-top: -4px;
	margin-bottom: 4px;
}

.lyve-auth-forgot a {
	font-size: 12.5px;
	color: #00dd4b;
	text-decoration: none;
}

.lyve-auth-forgot a:hover {
	text-decoration: underline;
}

.lyve-auth-switch {
	text-align: center;
	margin-top: 20px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.6);
}

.lyve-auth-switch a {
	color: #00dd4b;
	text-decoration: none;
	font-weight: 600;
}

.lyve-auth-switch a:hover {
	text-decoration: underline;
}

/* Success state */
.lyve-auth-success {
	background: #1a1a1a;
	border: 1px solid rgba(0, 221, 75, 0.4);
	border-radius: 26px;
	padding: 40px 30px;
	text-align: center;
}

.lyve-auth-success[hidden] {
	display: none;
}

.lyve-auth-success-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin: 0 auto 20px;
	background: rgba(0, 221, 75, 0.12);
	border: 1px solid rgba(0, 221, 75, 0.5);
	color: #00dd4b;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lyve-auth-success-icon svg {
	width: 28px;
	height: 28px;
}

.lyve-auth-success h2 {
	margin: 0 0 10px;
	font-family: 'Subjectivity', 'Plus Jakarta Sans', sans-serif;
	font-size: 24px;
	font-weight: 900;
	color: #ffffff;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 520px) {
	.lyve-auth-row {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.lyve-auth-card form {
		padding: 24px 20px;
	}
}
