.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}
.modal--hidden {
  display: none;
}
.modal__content {
  position: relative;
  border-radius: 12px;
  background: #000000;
  padding: 3rem;
  width: 90%;
  max-width: 520px;
  color: #fff;
  z-index: 0;
  overflow: hidden;
}
.modal__content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fe2e5728 0%, #24f0e928 100%);
  z-index: -2;
}
.modal__content::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(90deg, #fe2e57 0%, #24f0e9 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: '';
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 35px;
}
.modal__form input {
  box-sizing: border-box;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 23px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.modal__form input {
  border: 1px solid #ff567f;
  background-color: #000000;
  border-radius: 42px;
  color: #fff;
  outline: none;
}
.modal__form input::placeholder {
  color: #ffffff4d;
}
.modal__title {
  display: inline-block;
  text-align: center;
  font-weight: 500;
  font-size: 40px;
  background: linear-gradient(92.12deg, #ffffff 0%, #717171 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
}
.modal__subtitle {
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  margin-top: 0;
}
.modal__textarea {
  border: 1px solid #ff567f;
  background-color: #000000;
  border-radius: 22px;
  color: #fff;
  outline: none;
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  min-height: 200px;
  margin-top: 50px;
}
