@font-face {
  font-family: Montserrat;
  src: url("../fonts/Montserrat-Regular.ttf");
  font-style: normal;
  font-weight: 400;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main__form {
  font-family: "Montserrat", sans-serif;
}

.iti__dropdown-content {
  color: #000;
}

.iti {
  width: 100%;
  margin-top: 8px;
}

.form__subtitle {
  color: #000;
  text-align: center;
  margin: 10px auto;
  font-weight: 700;
  font-size: 16px;
}

.main__form input::placeholder {
  color: #b1b2b3;
}
.main__form input[type="text"],
.main__form input[type="email"],
.main__form input[type="tel"] {
  width: 100%;
  padding: 8px 16px;
  margin: 6px 0;
  border-radius: 10px;
  border: 1px solid #b1b2b3;
  font-size: 16px;
  line-height: 30px;
  color: #fff;
  background-color: transparent;
  transition:
    border 0.3s,
    box-shadow 0.3s;
}

.main__form input:not([type="checkbox"]):focus,
.main__form input:hover {
  border: 1px solid #ffe8ae;
  border-color: rgb(255, 232, 174);
  box-shadow: 0 0 16px rgba(255, 232, 174, 0.3);
  outline: none;
}

.main__form label {
  display: block;
  margin-top: 12px;
  font-weight: 500;
  color: #333;
}

.form__title {
  color: #f2d98a;
  text-align: center;
  font-family: Manrope, Montserrat, Inter, sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 22px;
}

.form__sub {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
}

.main__form button {
  width: 100%;
  margin-block: 20px;
  height: 60px;
  border-radius: 64px;
  background: #f2d98a;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #061224;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.main__form button:hover {
  box-shadow: 0 16px 40px -14px rgba(212, 175, 55, 0.6);
}

.main__form button[type="submit"]:disabled {
  background-color: #aaa;
  cursor: not-allowed;
  transform: translateY(0);
  opacity: 0.7;
}

.checkbox-group {
  display: none;
  margin: 14px 0;
}

.checkbox-group label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #a6b1c9;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  cursor: pointer;
}

.checkbox-group input {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding-bottom: 4px;
  border: 1px solid #b1b2b3;
  border-radius: 2px;
  background-color: transparent;
  accent-color: #f2d98a;
  cursor: pointer;
}
.checkbox-group input:checked {
  background-color: #f2d98a;
}
.checkbox-group input:checked::after {
  content: "";
  display: block;
  width: 6px;
  height: 10px;
  border: solid #061224;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.top-message {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0074ff;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  z-index: 9999;
  font-size: 14px;
  transition:
    top 0.5s,
    opacity 0.5s;
  opacity: 0;
}

.top-message.show {
  top: 20px;
  opacity: 1;
}
