.ich-auth-widget {
	font-family: var(--ich-auth-font, "Avenir Next Regular", Sans-serif);
	color: var(--ich-auth-text, #2a2a2a);
}

.ich-auth-shell {
	max-width: 560px;
	margin: 0 auto;
	padding: 4px 0 16px;
	background: transparent;
}

.ich-auth-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 auto 18px;
	max-width: 360px;
	width: 100%;
}

.ich-auth-tab {
	flex: 1 1 0;
	min-width: 0;
	padding: 11px 14px;
	border: 0;
	border-radius: 5px;
	background: var(--ich-auth-tab-inactive, #d6d6d6);
	color: var(--ich-auth-text, #2a2a2a);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	text-decoration: none;
}

.ich-auth-tab.is-active {
	background: var(--ich-auth-tab-active, #e8d8c2);
}

.ich-auth-tab:hover,
.ich-auth-tab:active,
.ich-auth-tab:visited {
	background: var(--ich-auth-tab-inactive, #d6d6d6);
	color: var(--ich-auth-text, #2a2a2a);
	box-shadow: none;
	text-decoration: none;
}

.ich-auth-tab.is-active:hover,
.ich-auth-tab.is-active:active,
.ich-auth-tab.is-active:visited {
	background: var(--ich-auth-tab-active, #e8d8c2);
	color: var(--ich-auth-text, #2a2a2a);
}

.ich-auth-tab:focus-visible {
	outline: none;
}

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

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

.ich-auth-login-view {
	display: none;
}

.ich-auth-login-view.is-active {
	display: block;
}

.ich-auth-form-message {
	display: none;
	margin-top: -6px;
	padding: 10px 12px;
	border-left: 4px solid transparent;
	border-radius: 8px;
	font-size: 13px;
	line-height: 1.6;
	white-space: normal;
}

.ich-auth-form-message.is-visible {
	display: block;
}

.ich-auth-form-message.is-error {
	background: #fff1f1;
	border-left-color: #d93025;
	color: #8d2019;
}

.ich-auth-form-message.is-success {
	background: #eefbf1;
	border-left-color: #1f8f4c;
	color: #166438;
}

.ich-auth-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ich-auth-field input {
	width: 100%;
	padding: 14px 4px 12px;
	border: 0;
	border-bottom: 1px solid var(--ich-auth-input-border, #202020);
	border-radius: 0;
	background: transparent;
	color: var(--ich-auth-text, #2a2a2a);
	font: inherit;
	font-size: 15px;
	line-height: 1.25;
	box-sizing: border-box;
	box-shadow: none;
}

.ich-auth-field input::placeholder {
	color: rgba(42, 42, 42, 0.62);
}

.ich-auth-field input:focus {
	outline: none;
	border-bottom-color: var(--ich-auth-text, #2a2a2a);
}

.ich-auth-remember {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	color: rgba(42, 42, 42, 0.7);
	cursor: pointer;
}

.ich-auth-remember input[type="checkbox"] {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: var(--ich-auth-button-bg, #000000);
}

.ich-auth-captcha {
	min-height: 78px;
	transform-origin: left top;
}

.ich-auth-submit {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 82%;
	max-width: 360px;
	margin: 0 auto;
	padding: 14px 18px;
	border: 0;
	border-radius: 3px;
	background: var(--ich-auth-button-bg, #000000);
	color: var(--ich-auth-button-text, #ffffff);
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
	text-decoration: none;
}

.ich-auth-submit:hover,
.ich-auth-submit:active,
.ich-auth-submit:visited {
	background: var(--ich-auth-button-bg, #000000);
	color: var(--ich-auth-button-text, #ffffff);
	box-shadow: none;
	text-decoration: none;
}

.ich-auth-submit:focus-visible {
	outline: none;
}

.ich-auth-submit[disabled] {
	opacity: 0.65;
	cursor: wait;
	transform: none;
}

.ich-auth-link,
.ich-auth-link-button {
	display: inline-block;
	color: var(--ich-auth-link, #2a2a2a);
	font-size: 14px;
	text-decoration: none;
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	text-align: left;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none;
}

.ich-auth-link:hover,
.ich-auth-link:active,
.ich-auth-link:visited,
.ich-auth-link:focus-visible,
.ich-auth-link-button:hover,
.ich-auth-link-button:active,
.ich-auth-link-button:visited,
.ich-auth-link-button:focus-visible {
	background: transparent;
	color: var(--ich-auth-link, #2a2a2a);
	box-shadow: none;
	outline: none;
}

.ich-auth-forgot-copy {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
}

.ich-auth-back-icon {
	display: inline-block;
	margin-right: 6px;
	font-size: 0.95em;
	line-height: 1;
	vertical-align: middle;
}

.ich-auth-logged-in {
	padding: 18px 20px;
	border-radius: 10px;
	background: #eefbf1;
	color: #166438;
}

.ich-auth-logged-in a {
	color: inherit;
	text-decoration: underline;
}

@media (max-width: 782px) {
	.ich-auth-shell {
		padding: 8px 0 18px;
	}

	.ich-auth-tabs {
		gap: 8px;
		max-width: 320px;
	}

	.ich-auth-tab {
		padding: 10px 12px;
		font-size: 15px;
	}

	.ich-auth-field input {
		padding: 12px 4px 10px;
		font-size: 14px;
	}

	.ich-auth-remember,
	.ich-auth-submit,
	.ich-auth-link {
		font-size: 14px;
	}

	.ich-auth-submit {
		width: 88%;
	}
}
