:root {
  --hcf-primary: #1e73be;
  --hcf-secondary: #ffffff;
  --hcf-border: #dcdcdc;
  --hcf-bg: #ffffff;
  --hcf-text: #1f2937;
  --hcf-button-radius: 8px;
  --hcf-input-radius: 8px;
}

.hcf-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  direction: rtl;
  color: var(--hcf-text);
}

.hcf-form {
  background: var(--hcf-bg);
  border: 1px solid var(--hcf-border);
  border-radius: 18px;
  padding: 24px;
}

.hcf-field {
  margin-bottom: 16px;
}

.hcf-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.hcf-field input,
.hcf-field select,
.hcf-field textarea {
  width: 100%;
  border: 1px solid var(--hcf-border);
  border-radius: var(--hcf-input-radius);
  padding: 12px 14px;
  background: #fff;
  color: var(--hcf-text);
}

.hcf-field input:focus,
.hcf-field select:focus,
.hcf-field textarea:focus {
  border-color: var(--hcf-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.12);
}

.hcf-btn {
  border: 1px solid transparent;
  border-radius: var(--hcf-button-radius);
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
}

.hcf-btn-primary {
  background: var(--hcf-primary);
  color: var(--hcf-secondary);
}

.hcf-btn-secondary {
  background: #f5f5f5;
  color: #111;
  border-color: #e5e5e5;
}

.hcf-progress {
  height: 8px;
  background: #f1f1f1;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.hcf-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--hcf-primary);
  transition: width .25s ease;
}

.hcf-step {
  display: none;
}

.hcf-step.is-active {
  display: block;
}

.hcf-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
}

.hcf-message {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  display: none;
}

.hcf-message.is-success {
  background: #ecf8ee;
  color: #166534;
  display: block;
}

.hcf-message.is-error {
  background: #fdecec;
  color: #991b1b;
  display: block;
}
