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%;
	border: 1px solid var(--text-color-emphasis);
	padding: 0 3rem 3rem;
	margin: 1rem 0;
	clip-path: polygon(0.80% 0.53%, 100.55% -0.59%, 99.4% 99.47%, -3px 100.47%);
}

.auth__container::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0b120f;
	filter: blur(10rem);
}

.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;
}

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

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

.auth__btn {
	/* width: 50%; */
	padding: .5rem 1rem;
	display: block;
	margin: 1rem auto;
	border: 1px solid var(--text-color-emphasis);
	background-color: transparent;
	font-size: clamp(1rem, 1vw, 1.4rem);
	clip-path: polygon(-.4% -.4%, 99.5% 2.3%,  100.5% 100.5%, .6% 95.5%);
	transition: all .2s;
}

.auth__btn:hover {
	background-color: var(--text-color-emphasis);
	border: 1px solid var(--text-color-emphasis);
	clip-path: polygon(0% 0%, 100% 0%,  100% 100%, 0% 100%);
}

.auth__input {
	height: 3.5rem;
	background: hsla(0, 0%, 100%, 0.04);
	box-shadow: 0 2px 5px hsla(253, 67%, 12%, 0.5);
	border-radius: .5rem;
	border: 1px solid hsla(0, 0%, 45%, 0.1);
	padding: 10px;
	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 {
    box-shadow: 0 0 3px hsl(0, 0%, 100%);
    border: none;
}


.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);
}