/* Ashomih Forms – Brand: #15549b (blue), #ff399b (pink) */

.ashomih-form {
  max-width: 520px;
  margin: 20px auto;
  padding: 24px;
  border: 1px solid #e9e9ef;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(21,84,155,0.08);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.ashomih-blocked {
  text-align: center;
}
.ashomih-progress {
  width: 100%;
  height: 8px;
  background: #f3f5fa;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}
.ashomih-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #15549b, #ff399b);
  width: 0%;
  transition: width .35s ease;
}
.ashomih-step h3 {
  margin: 0 0 6px;
  color: #15549b;
  font-size: 22px;
}
.ashomih-sub {
  margin: 0 0 16px;
  color: #6b7a90;
  font-size: 14px;
}
.ashomih-form label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: #294261;
}
.ashomih-form input,
.ashomih-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7deea;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.4em;       /* fixes vertical alignment */
  min-height: 46px;         /* ensures enough height */
  appearance: none;         /* normalize select rendering */
  -webkit-appearance: none; /* Safari/Chrome fix */
  -moz-appearance: none;    /* Firefox fix */
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ashomih-form input:focus,
.ashomih-form select:focus {
  border-color: #15549b;
  box-shadow: 0 0 0 3px rgba(21,84,155,0.15);
}
.ashomih-btn {
  margin-top: 16px;
  display: inline-block;
  background: #15549b;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: transform .05s ease, background .2s;
}
.ashomih-btn:hover { background: #10467f; }
.ashomih-btn:active { transform: translateY(1px); }

.ashomih-link {
  margin-top: 16px;
  background: transparent;
  border: none;
  color: #ff399b;
  cursor: pointer;
  font-weight: 600;
  padding: 12px 8px;
}
.ashomih-row { display: flex; gap: 10px; align-items: center; }

.ashomih-error {
  margin-top: 10px;
  color: #c0272d;
  font-size: 14px;
  min-height: 18px;
}

.ashomih-consent {
  font-size: 12px;
  color: #6b7a90;
  margin-top: 10px;
}

@media (max-width: 480px) {
  .ashomih-form { padding: 18px; }
  .ashomih-row { flex-direction: column; align-items: stretch; }
  .ashomih-btn, .ashomih-link { width: 100%; text-align: center; }
}
