.modal-outer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to right, #d8e6fe, #fed5ef);
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fta-left {
  position: absolute;
  left: 0;
  top: 0;
  height: auto;
  width: clamp(6rem, 1.636rem + 21.82vw, 18rem);
}

.fta-right {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  height: auto;
  width: clamp(9rem, -3.091rem + 25.45vw, 16rem);
  display: none;
}

.input-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}

.input-title .mirror {
  transform: rotateY(180deg);
}

.input-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.input-container {
  margin: 3rem 0;
}

.input-inner {
  text-align: left;
  width: 90%;
  max-width: 550px;
}

.input-label {
  font-size: 0.875rem;
}

.required {
  display: inline-block;
  color: #ef4444;
  margin-bottom: 0.5rem;
}

.input-email {
  display: block;
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
}

.input-message {
  margin-top: 2rem;
  text-align: center;
}

.input-description {
  font-size: 0.75rem;
}

.button-container {
  text-align: center;
}

/* Media Queries */
@media (min-width: 768px) {
  .fta-right {
    display: inline-block;
  }

  .input-title {
    gap: 1rem;
    font-size: 1.25rem;
  }

  .input-label {
    font-size: 1rem;
  }

  .input-description {
    font-size: 0.875rem;
  }

  .mobile-break {
    display: none;
  }

  .test-start-button {
    animation: bounce 1s infinite;
  }

  .test-start-button:hover {
    animation: none;
  }
}

@media (min-width: 1024px) {
  .input-subtitle {
    font-size: 1.5rem;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.test-start-button {
  border: none;
  background-color: #d9508a;
  color: #fff;
  font-size: 18px;
  padding: 15px 45px 15px 45px;
  letter-spacing: 2px;
  margin: 0 auto;
  transition: all 0.5s;
  box-shadow: 5px 5px 1px rgba(217, 80, 138, 0.3);
  position: relative;
}
.test-start-button:before {
  content: "";
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: 8px;
  margin-top: -9px;
}
.test-start-button:after {
  content: "";
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #d9508a;
  border-right: solid 2px #d9508a;
  position: absolute;
  top: 50%;
  right: 15px;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: all 0.5s;
}
.test-start-button:hover:after {
  border-top: solid 2px #000;
  border-right: solid 2px #000;
  transition: all 0.5s;
}
.test-start-button:hover {
  background-color: #000;
}
.test-start-button.wide {
  display: inline-block;
  width: 19rem;
  max-width: 100%;
}
.test-start-button {
  font-size: 16px;
  letter-spacing: 1px;
}
