.epp-auth-lock {
	overflow: hidden;
}

.epp-auth-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 18px;
}

.epp-auth-modal.is-open {
	display: flex;
}

.epp-auth-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(6, 18, 38, .78);
	backdrop-filter: blur(5px);
}

.epp-auth-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 560px);
	max-height: calc(100vh - 36px);
	overflow: auto;
	padding: 30px 18px 18px;
	border-radius: 24px;
	background: #061226;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.epp-auth-close {
	position: absolute;
	top: 18px;
	right: 20px;
	display: grid;
	place-items: center;
	width: 28px !important;
	min-width: 28px !important;
	height: 28px !important;
	min-height: 28px !important;
	padding: 0 !important;
	border: 0;
	border-radius: 50%;
	background: transparent !important;
	color: #fff;
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	box-shadow: none !important;
	text-shadow: none;
}

.epp-auth-close:hover,
.epp-auth-close:focus-visible {
	background: transparent !important;
	color: #84dc3a;
	outline: none;
}

.epp-auth-brand {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 58px 26px;
	text-align: center;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.epp-auth-brand .epp-auth-wordmark {
	display: block !important;
	width: 310px !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	object-fit: contain !important;
	aspect-ratio: auto !important;
}

.epp-auth-card {
	padding: 24px;
	border-radius: 32px;
	background: #84dc3a;
	color: #061226;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
}

.epp-auth-tabs {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 18px;
	padding: 4px;
	border-radius: 999px;
	background: rgba(6, 18, 38, .16);
}

.epp-auth-tab {
	min-height: 42px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #102033;
	font-size: 14px;
	font-weight: 800;
	cursor: pointer;
}

.epp-auth-tab.is-active {
	background: #fff;
	color: #061226;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.epp-auth-panel {
	display: none;
}

.epp-auth-panel.is-active {
	display: block;
}

.epp-auth-form h2 {
	margin: 0 0 12px;
	color: #061226;
	font-size: 24px;
	line-height: 1.1;
	letter-spacing: 0;
}

.epp-auth-form label {
	display: block;
	margin: 13px 0 7px;
	color: #102033;
	font-weight: 700;
	font-size: 14px;
}

.epp-auth-form input[type="text"],
.epp-auth-form input[type="email"],
.epp-auth-form input[type="password"] {
	width: 100%;
	min-height: 46px;
	padding: 0 14px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #061226;
	font-size: 16px;
	box-shadow: none;
	box-sizing: border-box;
}

.epp-password-wrap {
	position: relative;
}

.epp-password-wrap input[type="text"],
.epp-password-wrap input[type="password"] {
	padding-right: 52px;
}

.epp-password-toggle {
	position: absolute;
	top: 50%;
	right: 10px;
	display: grid !important;
	place-items: center;
	width: 32px !important;
	min-width: 32px !important;
	max-width: 32px !important;
	height: 32px !important;
	min-height: 32px !important;
	max-height: 32px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	color: #273549 !important;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: none !important;
	text-shadow: none;
	font-size: 0 !important;
	line-height: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	opacity: 1 !important;
}

.epp-password-toggle:hover,
.epp-password-toggle:focus-visible {
	background: #eef4f8 !important;
	background-color: #eef4f8 !important;
	background-image: none !important;
	color: #061226 !important;
	outline: none;
}

.epp-password-toggle .epp-eye-icon {
	display: block !important;
	width: 22px !important;
	height: 22px !important;
	fill: none;
	stroke: currentColor !important;
	stroke-width: 2 !important;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.epp-eye-slash {
	display: none;
}

.epp-password-toggle[aria-pressed="true"] .epp-eye-slash {
	display: block;
}

.epp-auth-remember {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 16px 0 18px !important;
}

.epp-auth-submit,
.epp-auth-required-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	border: 0;
	border-radius: 999px;
	background: #049bd3;
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .24);
}

.epp-auth-feedback {
	margin: 0 0 14px;
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
}

.epp-auth-feedback.is-error {
	background: #ffe4e6;
	color: #9f1239;
}

.epp-auth-feedback.is-success {
	background: #dcfce7;
	color: #166534;
}

.epp-password-rule {
	margin: 10px 0 18px;
	color: #173047;
	font-size: 13px;
	font-weight: 700;
}

.epp-auth-links {
	margin: 18px 0 2px;
	text-align: center;
}

.epp-auth-links a {
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.epp-auth-required {
	max-width: 560px;
	margin: 24px auto;
	padding: 24px;
	border-radius: 18px;
	background: #eef8ff;
	color: #07304b;
	text-align: center;
}

.epp-auth-required strong {
	display: block;
	margin-bottom: 8px;
	font-size: 20px;
}

.epp-auth-required p {
	margin: 0 0 16px;
}

@media (max-width: 640px) {
	.epp-auth-modal {
		align-items: stretch;
		padding: 10px;
	}

	.epp-auth-dialog {
		max-height: calc(100vh - 20px);
		padding: 24px 12px 14px;
		border-radius: 20px;
	}

	.epp-auth-card {
		padding: 20px;
		border-radius: 26px;
	}

	.epp-auth-brand {
		margin-bottom: 18px;
	}

	.epp-auth-brand strong {
		font-size: 28px;
	}
}
