.storz-public-form input,
.storz-public-form textarea,
.storz-public-form select,
.storz-auth-card input[type="text"],
.storz-auth-card input[type="password"],
.storz-auth-card input[type="email"],
.storz-search-input {
  color: var(--storz-input-text);
}

.storz-form-card {
  width: 100%;
  max-width: var(--storz-form-max-width, 620px);
  margin: 0 auto;
  background: transparent;
  border-radius: var(--storz-card-radius);
  padding: 0;
  box-shadow: none;
  text-align: inherit;
}

body.storz-form-style-card .storz-form-card {
  background: var(--storz-card);
  padding: 26px;
}

body.storz-shadow-soft.storz-form-style-card .storz-form-card {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

body.storz-shadow-strong.storz-form-style-card .storz-form-card {
  box-shadow: 0 16px 42px rgba(0,0,0,.14);
}

body.storz-shadow-none.storz-form-style-card .storz-form-card {
  box-shadow: none;
}

body.storz-form-style-transparent .storz-form-card {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.storz-public-form .storz-field-group,
.storz-auth-card p,
.storz-form-step {
  margin-bottom: 18px;
}

.storz-public-form input,
.storz-public-form textarea,
.storz-public-form select,
.storz-public-form button,
.storz-auth-card input[type="text"],
.storz-auth-card input[type="password"],
.storz-auth-card input[type="email"],
.storz-search-input {
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border-style: var(--storz-border-style);
  border-color: var(--storz-border);
  border-top-width: var(--storz-border-top);
  border-right-width: var(--storz-border-right);
  border-bottom-width: var(--storz-border-bottom);
  border-left-width: var(--storz-border-left);
  border-radius: var(--storz-field-radius);
  box-sizing: border-box;
  background: transparent;
}

.storz-public-form label,
.storz-public-form legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.storz-public-form button,
.storz-auth-card input[type="submit"],
.storz-button-link,
.storz-search-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--storz-primary), var(--storz-secondary));
  color: #fff;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: var(--storz-field-radius);
}

body.storz-button-pill .storz-public-form button,
body.storz-button-pill .storz-auth-card input[type="submit"],
body.storz-button-pill .storz-button-link,
body.storz-button-pill .storz-search-button {
  border-radius: 999px;
}

.storz-choice-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

body.storz-align-left .storz-choice-list {
  align-items: flex-start;
}

.storz-choice-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
}

.storz-choice-list input[type="radio"],
.storz-choice-list input[type="checkbox"],
.storz-auth-card input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.storz-auth-links,
.storz-logout-wrap {
  margin-top: 12px;
}

.storz-auth-links a,
.storz-account-panel a {
  color: var(--storz-primary);
}

.storz-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.storz-form-progress {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.storz-form-progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #d1d5db;
}

.storz-form-progress-dot.is-active {
  background: var(--storz-primary);
}

.storz-form-step {
  display: none;
}

.storz-form-step.is-active {
  display: block;
}

.storz-step-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.storz-step-indicator {
  font-size: 14px;
  color: var(--storz-muted);
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .storz-search-form,
  .storz-step-actions {
    flex-direction: column;
  }
}

.storz-public-form,
.storz-auth-card,
.storz-account-panel {
  width: 100%;
  max-width: var(--storz-form-max-width, 620px);
  margin: 0 auto;
}

.storz-public-form .storz-field-group {
  text-align: inherit;
}

body.storz-align-left .storz-public-form .storz-field-group {
  text-align: left;
}

.storz-public-form input,
.storz-public-form textarea,
.storz-public-form select,
.storz-auth-card input[type="text"],
.storz-auth-card input[type="password"],
.storz-auth-card input[type="email"] {
  max-width: var(--storz-form-max-width, 620px);
  margin-left: 0;
  margin-right: 0;
}

.storz-form-card .storz-search-form {
  max-width: var(--storz-form-max-width, 620px);
  margin: 0 auto;
}


/* v2.4.2 transparent inputs */
.storz-public-form input,
.storz-public-form textarea,
.storz-public-form select,
.storz-auth-card input[type="text"],
.storz-auth-card input[type="password"],
.storz-auth-card input[type="email"],
.storz-search-input {
  background: transparent !important;
  box-shadow: none;
}

.storz-public-form input::placeholder,
.storz-public-form textarea::placeholder,
.storz-auth-card input::placeholder,
.storz-search-input::placeholder {
  color: var(--storz-muted);
}

body.storz-align-left .storz-choice-list {
  align-items: flex-start;
}

body.storz-align-center .storz-choice-list {
  align-items: center;
}

body.storz-align-left .storz-form-progress,
body.storz-align-left .storz-submit-row,
body.storz-align-left .storz-logout-wrap {
  justify-content: flex-start;
}

body.storz-align-center .storz-form-progress,
body.storz-align-center .storz-submit-row,
body.storz-align-center .storz-logout-wrap {
  justify-content: center;
}

.storz-submit-row,
.storz-logout-wrap {
  display: flex;
  justify-content: flex-end;
}

body.storz-align-right .storz-public-form label,
body.storz-align-right .storz-public-form legend,
body.storz-align-right .storz-auth-card label {
  text-align: right;
}
