input,
select,
textarea,
button {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  outline: none;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  font: inherit;
  color: inherit;
  width: auto;
  vertical-align: middle;
}

/* Чекбоксы и радио: скрываем системный UI */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 1em;
  height: 1em;
  border: 1px solid currentColor;
  border-radius: 0.2em;
  display: inline-block;
  position: relative;
}

/* Опционально: свой стиль при checked */
input[type="checkbox"]:checked::before {
  content: "✔";
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.8em;
  line-height: 1em;
}

.auth__container {
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	width: min(520px, calc(100vw - 32px));
	padding: 2rem 2.5rem 2.5rem;
	margin: 1rem 0;
	border-radius: var(--radius-xl);
	background: var(--surface-color);
	border: 1px solid var(--border-color);
	box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}

.auth__container::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: radial-gradient(ellipse at 50% 0%, rgba(1, 174, 76, .16), rgba(1, 174, 76, 0) 60%);
	pointer-events: none;
}

.errors {
	margin: 0;
	padding: 1rem 0;
	list-style: none;
}

.auth_logo {
	display: block;
	width: 20rem;
	margin: 0 auto;
	filter: brightness(1.5) invert(60%);
	transition: all 1s;
}

.auth_logo:hover {
	filter: brightness(1.3) drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.8));
	/* box-shadow: 0px 0px 40px rgba(255, 255, 255, 0.8); */
}

.auth__title {
	text-align: center;
	margin-bottom: 1rem;
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
}

.auth-form {
	display: flex;
	flex-direction: column;
	width: 100%;
	gap: 1rem;
	margin-top: 1rem;
}

.captcha_img {
	width: 225px;
	height: 50px;
}

.auth__btn {
	display: block;
	width: 100%;
	height: 52px;
	margin: .75rem 0 0;
	border: 0;
	border-radius: 999px;
	background: var(--accent-gradient);
	color: #fff;
	font-size: 18px;
	font-weight: 600;
	cursor: pointer;
	transition: filter .2s;
}

.auth__btn:hover {
	filter: brightness(1.1) drop-shadow(0 0 14px rgba(1, 174, 76, .45));
}

.auth__input {
	height: 3.25rem;
	background: rgba(255, 255, 255, 0.03);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	padding: 0 16px;
	overflow: hidden;
	transition: all .2s cubic-bezier(.9, 0, .3, .9);
	text-align: start;
	font-size: clamp(1.15rem, 1.6vh, 1.4rem);
}

.auth__input:hover, .auth__input:active, .auth__input:focus {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}


.sign__in-text {
	font-size: clamp(1.05rem, 1.6vh, 1.3rem);
}

.sign__up-link {
	font-size: clamp(1.05rem, 1.6vh, 1.3rem);
	color: var(--text-color-emphasis);
}