.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  min-height: 100vh;
  padding: 20px;
}

.form-wrapper .form-container {
  background: #fff;
  width: 100%;
  border-radius: 8px;
  padding: 35px;
  /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
  font-family: Arial, sans-serif;
}

/* Standalone browser view */
.form-container.browser-mode {
  max-width: 60%;
  margin: 0 auto;
}

/* Inside popup iframe */
.form-container.popup-mode {
  max-width: 100%;
  margin: 0;
}

.form-container form {
  margin-top: 30px;
}

.form-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 10px;
}

.form-logo img {
  height: 83px;
  width: 300px;
}

.form-title {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin: 10px;
  line-height: 125%;
}

.form-subtitle,
.form-presenter {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin: 10px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.form-row .form-group {
  flex: 1 1 100%; /* default full width on small screens */
}
.form-wrapper .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group span.hint {
  font-size: 13px;
  color: #8c1d40;
  padding-top: 3px;
}

.form-wrapper .form-group label {
  font-size: 16px;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-wrapper .form-group input,
.form-wrapper .form-group select {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.form-wrapper .required {
  color: red;
}

.form-wrapper .error {
  font-size: 14px;
  color: red;
  margin-top: 4px;
}

.form-wrapper .error_message {
  font-size: 14px;
  color: red;
  font-weight: bold;
  margin-top: 4px;
}

.form-wrapper .success_message {
  font-size: 14px;
  color: green;
  margin-top: 4px;
  font-weight: bold;
}

.form-checkbox {
  font-size: 16px;
  margin-bottom: 12px;
  margin-top: 20px;
  color: #212d3a;
}

.form-checkbox input {
  margin-right: 8px;
}

.form-note {
  font-size: 15px;
  color: #212121;
  margin-top: 20px;
  line-height: 1.4em;
}

.form-note a {
  color: #8c1d40;
  text-decoration: underline;
}

.register-btn {
  width: 100px;
  float: right;
  background: #425563;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 16px;
  font-weight: 600;
}

.register-btn:hover {
  background: #495e6d;
}
@media (min-width: 600px) {
  .form-row .form-group {
    flex: 1; /* side by side only on larger screens */
  }
}