.modal-auth {
  --auth-accent: #f58b2d;
  --auth-accent-strong: #e84a16;
  --auth-text: #fff7f1;
  --auth-muted: #d7bdb2;
  display: none;
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: var(--auth-text);
  background: radial-gradient(circle at 50% 42%, rgba(232, 74, 22, 0.18), transparent 34%), rgba(12, 2, 2, 0.84);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  touch-action: none;
}
.modal-auth.active {
  display: flex;
}
.modal-auth__content {
  position: relative;
  isolation: isolate;
  width: min(100%, 450px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 38px 44px 34px;
  border: 1px solid rgba(245, 139, 45, 0.62);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(101, 37, 20, 0.86), rgba(35, 7, 6, 0.96)), #3e1409;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.55), 0 0 36px rgba(232, 74, 22, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}
.modal-auth__content::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle at 100% 0, rgba(245, 139, 45, 0.16), transparent 34%), linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 42%);
}
.modal-auth__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--auth-muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.modal-auth__close:hover, .modal-auth__close:focus-visible {
  color: #fff;
  border-color: rgba(245, 139, 45, 0.7);
  background: rgba(245, 139, 45, 0.16);
  outline: none;
  transform: rotate(6deg);
}
.modal-auth__title {
  margin: 0;
  color: var(--auth-text);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
}
.modal-auth__link-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}
.modal-auth__link {
  color: var(--auth-muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.modal-auth__link:hover, .modal-auth__link:focus-visible {
  color: var(--auth-accent);
  text-decoration: none;
  outline: none;
}
.modal-auth .bx-system-auth-form {
  width: 100%;
  color: var(--auth-text);
}
.modal-auth .bx-system-auth-form table {
  width: 100%;
  border-collapse: collapse;
}
.modal-auth .bx-system-auth-form td {
  color: var(--auth-muted);
  font-size: 14px;
}
.modal-auth .bx-system-auth-form input {
  width: 100%;
  margin: 7px 0;
  font: inherit;
}
.modal-auth .bx-system-auth-form p {
  margin-bottom: 8px !important;
  color: #ffb28f;
}
.modal-auth .bx-system-auth-form tr:nth-child(3),
.modal-auth .bx-system-auth-form tr:nth-child(5),
.modal-auth .bx-system-auth-form tr:nth-child(6),
.modal-auth .bx-system-auth-form tr:nth-child(7) {
  display: none;
}
.modal-auth .bx-system-auth-form input[type=text],
.modal-auth .bx-system-auth-form input[type=password] {
  min-height: 46px;
  padding: 10px 14px;
  color: var(--auth-text);
  background: rgba(20, 5, 5, 0.58);
  border: 1px solid rgba(245, 139, 45, 0.32);
  border-radius: 10px;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.28);
  caret-color: var(--auth-accent);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.modal-auth .bx-system-auth-form input[type=text]:hover,
.modal-auth .bx-system-auth-form input[type=password]:hover {
  border-color: rgba(245, 139, 45, 0.62);
  background: rgba(30, 8, 6, 0.7);
}
.modal-auth .bx-system-auth-form input[type=text]:focus,
.modal-auth .bx-system-auth-form input[type=password]:focus {
  border-color: var(--auth-accent);
  background: rgba(30, 8, 6, 0.82);
  box-shadow: 0 0 0 3px rgba(245, 139, 45, 0.14);
}
.modal-auth .bx-system-auth-form input[type=submit] {
  min-height: 44px;
  margin-top: 12px;
  padding: 10px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--auth-accent), var(--auth-accent-strong));
  border: 1px solid rgba(255, 190, 115, 0.46);
  border-radius: 10px;
  box-shadow: 0 9px 24px rgba(232, 74, 22, 0.28);
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.modal-auth .bx-system-auth-form input[type=submit]:hover, .modal-auth .bx-system-auth-form input[type=submit]:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #ffa13d, #ed531a);
  border-color: rgba(255, 211, 156, 0.72);
  box-shadow: 0 12px 28px rgba(232, 74, 22, 0.38);
  outline: none;
  transform: translateY(-1px);
}
.modal-auth .bx-system-auth-form input[type=submit]:active {
  transform: translateY(0);
}

.auth-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
.auth-block .auth-link a,
.auth-block .auth-link svg {
  transition: color 0.2s ease, fill 0.2s ease;
}
.auth-block .auth-link:hover a, .auth-block .auth-link:focus-within a {
  color: #f58b2d;
}
.auth-block .auth-link:hover svg, .auth-block .auth-link:focus-within svg {
  fill: #f58b2d;
}

@media screen and (max-width: 576px) {
  .modal-auth {
    padding: 14px;
  }
  .modal-auth__content {
    width: 100%;
    max-height: calc(100vh - 28px);
    padding: 34px 22px 26px;
    border-radius: 16px;
  }
  .modal-auth__close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }
}

/*# sourceMappingURL=modalAuth.css.map */
