.retool-ui-form-wrap {
  max-width: 480px;
  margin: 1.25rem 0;
}

.retool-ui-form-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.retool-ui-form {
  background: #fff;
  border: 1px solid #e2e4e7;
  border-radius: 6px;
  padding: 1rem 1.15rem 1.15rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.retool-ui-form .retool-ui-field {
  margin-bottom: 0.75rem;
}

.retool-ui-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.92rem;
}

.retool-ui-form input[type="email"] {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font-size: 1rem;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  box-sizing: border-box;
}

.retool-ui-captcha-field {
  margin: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.retool-ui-captcha {
  display: inline-block;
}
.retool-ui-captcha-refresh {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 1px solid #c3c4c7;
  color: #4a4a55;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  font-weight: 500;
}

.retool-ui-captcha-refresh:hover,
.retool-ui-captcha-refresh:focus {
  background: #f2f3f7;
  color: #1a1a1a;
  border-color: #8a8a99;
  outline: none;
}

.retool-ui-captcha-refresh-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.retool-ui-form input[type="email"]:focus {
  outline: 2px solid #2271b1;
  outline-offset: 1px;
  border-color: #2271b1;
}

.retool-ui-form .retool-ui-submit {
  background: #2271b1;
  color: #fff;
  border: 0;
  padding: 0.6rem 1.1rem;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.retool-ui-form .retool-ui-submit:hover {
  background: #135e96;
}

.retool-ui-form .retool-ui-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

.retool-ui-form .retool-ui-login-hint {
  font-size: 0.92rem;
  color: #4a4a55;
  text-align: center;
  display: inline-block;
}

.retool-ui-form .retool-ui-login-hint .retool-ui-login-link {
  color: #2271b1;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.2rem;
}

.retool-ui-form .retool-ui-login-hint .retool-ui-login-link:hover,
.retool-ui-form .retool-ui-login-hint .retool-ui-login-link:focus {
  color: #135e96;
  text-decoration: underline;
}

.retool-ui-form .retool-ui-message {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  min-height: 1.2em;
}
.retool-ui-form .retool-ui-message.is-success {
  color: #185826;
}

.retool-ui-form .retool-ui-message.is-error {
  color: #a1301a;
}

.retool-ui-form .retool-ui-message.is-info {
  color: #1a1a1a;
}

.retool-ui-actions {
  margin-top: 0.8rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.retool-ui-actions .retool-ui-resend,
.retool-ui-actions .retool-ui-cancel {
  border: 0;
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.retool-ui-actions .retool-ui-resend {
  background: #2271b1;
  color: #fff;
}

.retool-ui-actions .retool-ui-resend:hover {
  background: #135e96;
}

.retool-ui-actions .retool-ui-cancel {
  background: transparent;
  color: #4a4a55;
  border: 1px solid #c3c4c7;
}

.retool-ui-actions .retool-ui-cancel:hover {
  background: #f2f3f7;
}

.retool-ui-actions .retool-ui-login-btn {
  display: inline-block;
  background: #2271b1;
  color: #fff;
  border: 0;
  padding: 0.5rem 0.95rem;
  font-size: 0.9rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.retool-ui-actions .retool-ui-login-btn:hover,
.retool-ui-actions .retool-ui-login-btn:focus {
  background: #135e96;
  color: #fff;
  text-decoration: none;
}

.retool-ui-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
