.spinner-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

.vstm-public-submit-wrap {
  max-width: 680px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 16px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vstm-responsive-form {
  width: 100%;
  max-width: 640px;
}

.vstm-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 8px 14px;
}

.vstm-form-row > label {
  flex: 0 0 155px;
  text-align: right;
  font-weight: 600;
  padding-top: 6px;
}

.vstm-form-field {
  flex: 1 1 280px;
  min-width: 0;
}

.vstm-responsive-form input[type="text"],
.vstm-responsive-form input[type="email"],
.vstm-responsive-form input[type="date"],
.vstm-responsive-form input[type="number"],
.vstm-responsive-form select,
.vstm-responsive-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: #f9f9f9;
  font-size: 15px;
}

.vstm-responsive-form input:focus,
.vstm-responsive-form select:focus,
.vstm-responsive-form textarea:focus {
  background: #fff;
  border-color: #1515e4;
  outline: none;
}

.vstm-field-hint {
  display: block;
  color: #555;
  font-size: 12.5px;
  margin-top: 4px;
  line-height: 1.4;
}

.vstm-form-actions {
  margin-top: 18px;
  padding-left: 169px;
}

.vstm-submit-btn {
  padding: 10px 22px !important;
  font-size: 15px !important;
  font-weight: 600;
  cursor: pointer;
}

.vstm-inline-submit-wrapper {
  margin: 12px 0 18px;
}

.vstm-toggle-btn {
  display: inline-block;
  padding: 9px 16px;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

@media screen and (max-width: 640px) {
  .vstm-public-submit-wrap {
    padding: 16px;
  }
  .vstm-form-row > label {
    flex: 1 1 100%;
    text-align: left;
    padding-top: 0;
  }
  .vstm-form-actions {
    padding-left: 0;
  }
  .vstm-submit-btn {
    width: 100%;
  }
}