.modal-auth {
  display: none;
  position: fixed;
  z-index: 5000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  touch-action: none;
}
.modal-auth.active {
  display: flex;
}
.modal-auth__content {
  border: 1px solid #5A2677;
  border-radius: 14px;
  width: 450px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  background-color: #F3EDF4;
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.modal-auth__close {
  font-weight: bold;
  position: absolute;
  top: -25px;
  right: -25px;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
  transition: 0.5s ease;
}
.modal-auth__close:hover {
  color: rgb(244, 140, 6);
}
.modal-auth__title {
  font-size: 2rem;
  font-weight: bold;
}
.modal-auth__link-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}
.modal-auth__link {
  color: black;
}
.modal-auth__link:hover {
  color: rgb(244, 140, 6);
  text-decoration: none;
}
.modal-auth__link:focus {
  color: rgb(244, 140, 6);
  text-decoration: none;
}
.modal-auth .bx-system-auth-form {
  width: 100%;
}
.modal-auth .bx-system-auth-form table {
  width: 100%;
}
.modal-auth .bx-system-auth-form input {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
}
.modal-auth .bx-system-auth-form p {
  margin-bottom: 0.5rem;
}
.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] {
  padding: 5px 15px;
  background-color: white;
  color: black;
  border: 1px solid #5A2677;
  border-radius: 8px;
  transition-duration: 0.5s;
}
.modal-auth .bx-system-auth-form input[type=text]:hover,
.modal-auth .bx-system-auth-form input[type=password]:hover {
  border-color: rgb(219.112, 125.72, 5.388);
}
.modal-auth .bx-system-auth-form input[type=text]:focus,
.modal-auth .bx-system-auth-form input[type=password]:focus {
  border-color: rgb(219.112, 125.72, 5.388);
}
.modal-auth .bx-system-auth-form input[type=submit] {
  padding: 5px 15px;
  color: white;
  background-color: rgb(244, 140, 6);
  border: 2px solid rgb(244, 140, 6);
  border-radius: 8px;
  transition-duration: 0.5s;
}
.modal-auth .bx-system-auth-form input[type=submit]:hover {
  color: white;
  background-color: rgb(219.112, 125.72, 5.388);
}
.modal-auth .bx-system-auth-form input[type=submit]:focus {
  color: white;
  background-color: rgb(219.112, 125.72, 5.388);
}

.auth-block .auth-link {
  margin-right: 0.5rem;
}
.auth-block .auth-link:hover a {
  color: rgb(244, 140, 6);
}
.auth-block .auth-link:hover svg {
  fill: rgb(244, 140, 6);
}
.auth-block .auth-link:focus a {
  color: rgb(244, 140, 6);
}
.auth-block .auth-link:focus svg {
  fill: rgb(244, 140, 6);
}

a {
  text-decoration: none;
  color: white;
  transition-duration: 0.5s;
}
a:hover {
  color: rgb(244, 140, 6);
}
a:focus {
  color: rgb(244, 140, 6);
}

svg {
  transition-duration: 0.5s;
}
svg:hover {
  fill: rgb(244, 140, 6);
}
svg:focus {
  fill: rgb(244, 140, 6);
}

.orange-btn {
  cursor: pointer;
  text-align: center;
  padding: 5px 15px;
  color: white;
  background-color: rgb(244, 140, 6);
  border: 2px solid rgb(244, 140, 6);
  border-radius: 20px;
  width: fit-content;
  transition-duration: 0.5s;
}
.orange-btn:hover {
  color: white;
  background-color: rgb(219.112, 125.72, 5.388);
}
.orange-btn:focus {
  color: white;
  background-color: rgb(219.112, 125.72, 5.388);
}

.header {
  position: relative;
  z-index: 1500;
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 20px;
}
.header__img {
  width: 200px;
  height: 50px;
}
.header__nav {
  display: flex;
  gap: 35px;
  align-items: center;
}
.header .burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.header .burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}
.header .burger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}
.header .burger.open span:nth-child(2) {
  opacity: 0;
}
.header .burger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}
.header .burger:hover span {
  background-color: rgb(219.112, 125.72, 5.388);
}
.header .mobile-nav {
  position: absolute;
  top: 110%;
  right: 10px;
  background: #222;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: all 0.3s ease;
}
.header .mobile-nav.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.header .mobile-nav a {
  margin: 0;
  width: 100%;
}

@media screen and (max-width: 1199px) {
  .header .burger {
    display: flex;
  }
  .header__nav {
    display: none;
  }
  .auth-block {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }
}
@media screen and (max-width: 576px) {
  .modal-auth__content {
    width: 300px;
  }
}

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