/**
 * The Bay Wae Tester Access registration styles.
 */

.tbw-tester-register-page {
	background:
		radial-gradient(circle at 18% 18%, rgba(46, 230, 223, 0.18), transparent 26rem),
		radial-gradient(circle at 82% 22%, rgba(217, 164, 65, 0.16), transparent 24rem),
		linear-gradient(135deg, #02060a 0%, #06151d 48%, #140509 100%) !important;
	color: #f6fbff;
}

.tbw-tester-register-page .site,
.tbw-tester-register-page .wp-site-blocks,
.tbw-tester-register-page main,
.tbw-tester-register-page .entry-content {
	background: transparent !important;
}

.tbw-tester-register-page .entry-title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.tbw-tester-card {
	width: min(100% - 2rem, 760px);
	margin: clamp(2rem, 8vw, 6rem) auto;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(5, 20, 28, 0.92), rgba(14, 7, 14, 0.92)),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 6rem);
	box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.45);
	padding: clamp(1.2rem, 4vw, 2.4rem);
	color: #f6fbff;
}

.tbw-tester-kicker {
	margin: 0 0 0.55rem;
	color: #d9a441;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.tbw-tester-card h1 {
	margin: 0;
	color: #f6fbff;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 0.96;
	text-transform: uppercase;
}

.tbw-tester-card p {
	max-width: 62ch;
	color: rgba(246, 251, 255, 0.78);
	line-height: 1.6;
}

.tbw-tester-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 1.4rem;
}

.tbw-tester-form label {
	display: grid;
	gap: 0.38rem;
	color: rgba(246, 251, 255, 0.74);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.tbw-tester-form input {
	width: 100%;
	min-height: 3rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.38);
	color: #f6fbff;
	font-size: 1rem;
	padding: 0 0.9rem;
}

.tbw-tester-form input:focus {
	border-color: rgba(46, 230, 223, 0.8);
	box-shadow: 0 0 0 3px rgba(46, 230, 223, 0.18);
	outline: none;
}

.tbw-tester-button,
.tbw-tester-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #2ee6df, #d9a441);
	color: #02060a !important;
	font-weight: 950;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	padding: 0.72rem 1.15rem;
}

.tbw-tester-button {
	grid-column: 1 / -1;
}

.tbw-tester-link {
	margin-top: 0.6rem;
}

.tbw-tester-card__errors {
	margin: 1rem 0;
	border: 1px solid rgba(226, 70, 63, 0.55);
	border-left: 4px solid #e2463f;
	border-radius: 12px;
	background: rgba(226, 70, 63, 0.14);
	padding: 0.8rem 1rem;
}

.tbw-tester-card__errors p {
	margin: 0.2rem 0;
	color: #fff;
}

@media (max-width: 680px) {
	.tbw-tester-form {
		grid-template-columns: 1fr;
	}
}
