.form-main-container {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-sizing: border-box;
  font-family: 'Schibsted Grotesk', sans-serif;
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #D5DED8;
  border-top: 4px solid #255C30;
  border-radius: 50%;
  display: none;
}

.spinner.active {
  display: block;
  animation: spin 0.8s linear infinite;
}

.message-modal {
  display: none;
  background: #ffffff;
  padding: 30px 20px;
  border: 1px solid #142019;
  border-top: 4px solid #255C30;
  width: 80%;
  max-width: 320px;
  text-align: center;
  position: relative;
  font-size: 16px;
  line-height: 24px;
}

.message-modal.active {
  display: block;
  animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.message__closer {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-weight: bold;
  color: #58615C;
}

.f1t-form {
  background: transparent;
  box-shadow: none;
}

.f1t-form input[type='text'],
.f1t-form input[type='email'] {
  width: 100%;
  box-sizing: border-box;
}

.f1t-form input[type='tel'] {
  width: 100%;
  box-sizing: border-box;
  padding-left: 90px !important;
}

.f1t-form .iti {
  display: block;
  width: 100%;
}

#regUnavailable {
  margin: 0;
}

.f1t-field--checkbox {
  display: flex;
  align-items: flex-start;
}

.f1t-form input[type='checkbox'] {
  cursor: pointer;
  accent-color: #255C30;
}

.f1t-form button[type='submit'] {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  color: #ffffff;
  background-color: #255C30;
  transition: background-color 0.2s ease;
}

.f1t-form button[type='submit']:hover {
  background-color: #1C4A26;
}
