/* Oral Vitality Wholesale Access – Gate Styles */

*,
*::before,
*::after {
	box-sizing: border-box;
}

.ovwa-gate-body {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	background-color: var(--ovwa-bg, #FAFAF7);
	color: var(--ovwa-text, #1A1A1A);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.5;
}

.ovwa-gate {
	width: 100%;
	max-width: 480px;
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.ovwa-gate-card {
	width: 100%;
	background: var(--ovwa-card-bg, #FFFFFF);
	border-radius: 16px;
	padding: 48px 40px 40px;
	box-shadow:
		0 1px 2px rgba(0, 0, 0, 0.03),
		0 4px 16px rgba(0, 0, 0, 0.04);
	text-align: center;
}

.ovwa-gate-logo {
	display: block;
	max-width: 200px;
	max-height: 72px;
	width: auto;
	height: auto;
	margin: 0 auto 32px;
	object-fit: contain;
}

.ovwa-gate-heading {
	font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
	font-optical-sizing: auto;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 12px;
	color: var(--ovwa-text, #1A1A1A);
}

.ovwa-gate-description {
	font-size: 15px;
	line-height: 1.65;
	color: var(--ovwa-text, #1A1A1A);
	opacity: 0.65;
	margin: 0 0 32px;
}

.ovwa-gate-form {
	text-align: left;
}

.ovwa-field {
	margin-bottom: 20px;
}

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

.ovwa-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.ovwa-input-wrap input[type="password"],
.ovwa-input-wrap input[type="text"] {
	display: block;
	width: 100%;
	padding: 14px 60px 14px 16px;
	border: 1.5px solid rgba(0, 0, 0, 0.10);
	border-radius: 10px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15px;
	line-height: 1.4;
	background: var(--ovwa-card-bg, #FFFFFF);
	color: var(--ovwa-text, #1A1A1A);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	outline: none;
}

.ovwa-input-wrap input::placeholder {
	color: var(--ovwa-text, #1A1A1A);
	opacity: 0.35;
}

.ovwa-input-wrap input:focus {
	border-color: var(--ovwa-primary, #0B4F4A);
	box-shadow: 0 0 0 3px rgba(11, 79, 74, 0.10);
}

.ovwa-toggle-pw {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 8px 12px;
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: var(--ovwa-primary, #0B4F4A);
	cursor: pointer;
	border-radius: 6px;
	transition: background-color 0.15s ease;
	line-height: 1;
}

.ovwa-toggle-pw:hover {
	background: rgba(11, 79, 74, 0.06);
}

.ovwa-toggle-pw:focus-visible {
	outline: 2px solid var(--ovwa-primary, #0B4F4A);
	outline-offset: 2px;
}

.ovwa-error {
	margin-bottom: 20px;
	padding: 12px 16px;
	background: #FEF2F2;
	color: #991B1B;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

.ovwa-submit {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: var(--ovwa-primary, #0B4F4A);
	color: #FFFFFF;
	border: none;
	border-radius: 10px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.2s ease;
	text-align: center;
}

.ovwa-submit:hover {
	background: var(--ovwa-hover, #083E39);
}

.ovwa-submit:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(11, 79, 74, 0.24);
}

.ovwa-submit:active {
	transform: translateY(0.5px);
}

.ovwa-gate-footer {
	margin-top: 32px;
	padding-bottom: 24px;
	font-size: 13px;
	color: var(--ovwa-text, #1A1A1A);
	opacity: 0.35;
	text-align: center;
}

@media (max-width: 600px) {
	.ovwa-gate {
		padding: 16px;
	}
	.ovwa-gate-card {
		padding: 36px 24px 32px;
		border-radius: 14px;
	}
	.ovwa-gate-heading {
		font-size: 24px;
	}
	.ovwa-gate-description {
		font-size: 14px;
		margin-bottom: 28px;
	}
}

@media (max-width: 380px) {
	.ovwa-gate {
		padding: 12px;
	}
	.ovwa-gate-card {
		padding: 28px 18px 24px;
		border-radius: 12px;
	}
	.ovwa-gate-heading {
		font-size: 22px;
	}
	.ovwa-gate-description {
		font-size: 13px;
	}
	.ovwa-input-wrap input[type="password"],
	.ovwa-input-wrap input[type="text"] {
		font-size: 16px;
	}
}
