@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*::after, *::before {
  box-sizing: inherit;
}

img {
  max-width: 100%;
  height: auto;
  user-select: none;
  pointer-events: none;
  object-fit: contain;
}

a {
  cursor: pointer !important;
}

body {
  min-width: 375px;
  min-height: 657px;
  font-size: 18px !important;
  line-height: 1.2;
  font-family: "Inter", "Arial", sans-serif;
  color: #ffffff;
  background-color: #000000;
}

.wrapper {
  position: relative;
  height: 100vh;
  min-height: 657px;
  padding: 10px 0;
  overflow-y: scroll;
  background-color: #000000;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}
.wrapper::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.card {
  width: 96%;
  max-width: 720px;
  overflow: hidden;
  color: #af9999 !important;
  background-color: #000000 !important;
  border: 3px solid #af9999 !important;
  border-radius: 20px !important;
  opacity: 0;
  animation: fadeIn 0.25s 0.1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.user {
  position: relative;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  overflow: hidden;
  font-weight: 900;
  font-size: 32px;
  color: #ffffff;
  border-radius: 20px 20px 0 0;
}
.user::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: linear-gradient(0deg, #000000 10%, rgba(102, 102, 102, 0) 100%);
  pointer-events: none;
}
.user img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}
.user .user-info {
  position: absolute;
  bottom: 10px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  line-height: 1.2;
}
.user .user-info p {
  margin: 0;
  font-weight: 400;
  font-size: 60%;
}
@media (min-width: 767px) {
  .user {
    aspect-ratio: 328/223;
  }
}

.info {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  height: 64px;
  margin: 0 auto;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.2;
  color: #000000;
  text-decoration: none;
  background-color: #ffffff;
  border: 2px solid #af9999;
  border-radius: 45px;
  transition: all 0.3s ease;
  animation: pulse 3s ease infinite;
}
.info:nth-child(2) {
  animation-delay: 1s;
}
.info:hover {
  color: #ffffff;
  background-color: #000000;
  border-color: currentColor;
}
.info-img {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-right: 32px;
  padding: 10px;
}
.info-content * {
  margin-bottom: 0;
}
.info-title {
  text-align: center;
}
.info-subtitle {
  font-weight: 400;
}

.form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: calc(10px + 0.5vw + 0.5vh);
  color: #000000;
  background-color: #ffffff;
  border: 2px solid #af9999;
  border-radius: 40px;
  box-shadow: 0 20px 2px -2px #af9999;
  gap: calc(10px + 0.5vw + 0.5vh);
}
.form form {
  display: flex;
  flex-direction: column;
  gap: calc(10px + 0.5vw + 0.5vh);
}
.form-header {
  text-align: center;
}
.form-title {
  margin-bottom: 0;
  font-weight: 700;
}
.form-subtitle {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 90%;
}
.form-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 58px;
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  background-color: #000000;
  border: 2px solid #000000;
  border-radius: 45px;
  transition: all 0.2s ease;
}
.form-btn:hover {
  color: #000000;
  background-color: #ffffff;
  border-color: #000000;
}
.form-input input {
  width: 100%;
  height: 100%;
  height: 58px;
  padding: 10px;
  font: inherit;
  text-align: left;
  color: #000000;
  background-color: inherit;
  border: 1px solid #000000;
  border-radius: 45px;
  cursor: pointer;
}
.form-input input::placeholder {
  color: #000000;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: calc(10px + 0.5vw + 0.5vh);
}

.card-inner {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 40px);
  min-height: 607px;
  padding-bottom: 80px;
  gap: calc(10px + 0.5vw + 0.5vh);
}
@media (min-width: 991px) {
  .card-inner {
    padding-bottom: 0;
  }
}

@media (max-width: 575px) {
  .wrapper {
    padding: 0;
  }

  .container {
    padding: 0 !important;
  }

  .card {
    width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
  }

  .card-body {
    padding: 0 !important;
  }

  .menu {
    position: relative;
    top: 65px;
    z-index: 1;
    max-width: 98%;
    margin: 0 auto;
    margin-top: -50px;
  }

  .user,
.user img {
    border-radius: 0;
  }

  .form,
.info {
    max-width: calc(100% - 40px);
  }

  .info {
    height: auto;
    font-size: 14px;
  }
}
.success-block,
.error-block {
  display: none;
}
.success-block.is-visible,
.error-block.is-visible {
  display: block;
}

.error-block {
  font-size: 10px;
  color: red;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  backdrop-filter: blur(20px);
}
.loader-dot {
  width: 60px;
  height: 60px;
  border: 3px solid #ffffff;
  border-top-color: #000000;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.loader.is-hidden {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  from {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.05, 1.05, 1.05);
  }
  to {
    transform: scale3d(1, 1, 1);
  }
}