* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.main__form {
  position: relative;
  width: 100%;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.03),
    0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  transition: box-shadow 0.3s ease;
}

.main__form:focus-within {
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.04),
    0 12px 35px rgba(0, 0, 0, 0.1);
}

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

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

.main__form input[type='text'],
.main__form input[type='email'],
.main__form input[type='tel'] {
  width: 100%;
  padding: 16px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 16px;
  transition:
    border 0.3s,
    box-shadow 0.3s;
}

.main__form input:focus,
.main__form input:hover {
  border: 1px solid #0074ff;
  border-color: #0074ff;
  box-shadow: 0 0 6px rgba(0, 116, 255, 0.3);
  outline: none;
}

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

.form__title {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.4;
  color: #000 !important;
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 8px;
}

.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-top: 20px;
  min-height: 60px;
  background-color: #dd2a30;
  padding: 0 20px;
  box-shadow: 0 0 25px 0 rgba(221, 42, 48, 0.1);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-width: 0;
  border-style: solid;
  border-color: transparent;
  cursor: pointer;
  transition:
    background-color 0.4s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.main__form button:hover {
  background-color: #b30f14;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(179, 15, 20, 0.5);
}

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

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

.checkbox-group label {
  font-weight: normal;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  cursor: pointer;
}

.checkbox-group input {
  accent-color: #0074ff;
}
.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;
}

@media (width <= 768px) {
  .form__title {
    font-size: 18px !important;
  }
  .main__form button {
    font-size: 16px;
  }
}
