.sol-wrap {
  direction: rtl;
  font-family: inherit;
  line-height: 1.7;
  text-align: center;
  color: var(--sol-text, #22303f);
}
.sol-card {
  background: var(--sol-bg, #e8eef5);
  border-radius: 14px;
  padding: 32px 28px 36px;
  max-width: 680px;
  margin: 0 auto;
  box-sizing: border-box;
}
.sol-head { text-align: center; margin-bottom: 26px; }
.sol-title {
  color: var(--sol-primary, #1e3a5f);
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.5;
}
.sol-subtitle {
  color: #5a6b80;
  font-size: 15px;
  margin: 0 auto;
  max-width: 480px;
  line-height: 1.8;
}
.sol-section { margin-bottom: 18px; }
.sol-section + .sol-section { border-top: 1px solid #d7e0ea; padding-top: 6px; }
.sol-section-title {
  color: var(--sol-primary, #1e3a5f);
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 14px;
  line-height: 1.6;
  text-align: center;
}
.sol-field { margin-bottom: 18px; display: block; }
.sol-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--sol-primary, #1e3a5f);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
  line-height: 1.6;
  text-align: center;
  word-break: break-word;
}
.sol-req { color: #e34a4a; }
.sol-opt { color: #8a97a8; font-weight: 400; font-size: 12px; }
.sol-input {
  width: 100%;
  max-width: 100%;
  display: block;
  background: var(--sol-field-bg, #fff);
  border: 1px solid #dbe3ec;
  border-radius: var(--sol-radius, 8px);
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--sol-text, #22303f);
  text-align: center;
  box-sizing: border-box;
  outline: none;
  margin: 0;
}
.sol-input::placeholder { color: #9aa7b6; }
.sol-input:focus { border-color: var(--sol-primary, #1e3a5f); }
select.sol-input { appearance: none; background-image: none; height: auto; }
textarea.sol-input { resize: vertical; min-height: 110px; }
input.sol-file.sol-input { padding: 10px 12px; font-size: 14px; }
.sol-radios { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; padding: 8px 2px; }
.sol-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sol-text, #22303f);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.sol-radio input { margin: 0; }
.sol-agree { margin-top: 26px; padding-top: 18px; border-top: 1px solid #d7e0ea; }
.sol-agree-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--sol-text, #22303f);
  text-align: center;
}
.sol-agree-label input { margin: 0; width: 17px; height: 17px; flex: none; }
.sol-agree-label a { color: var(--sol-primary, #1e3a5f); font-weight: 700; text-decoration: underline; }
.sol-btn {
  width: 100%;
  display: block;
  background: var(--sol-primary, #1e3a5f);
  color: #fff;
  border: none;
  border-radius: var(--sol-btn-radius, 8px);
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  margin-top: 18px;
  box-sizing: border-box;
}
.sol-btn:hover { opacity: .92; }
.sol-alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: 14px; line-height: 1.8; text-align: center; }
.sol-alert div + div { margin-top: 4px; }
.sol-success { background: #e3f5e9; color: #1c6b3c; }
.sol-error { background: #fdeaea; color: #a72b2b; }
@media (max-width: 600px) {
  .sol-card { padding: 22px 16px 26px; border-radius: 10px; }
  .sol-title { font-size: 21px; }
  .sol-subtitle { font-size: 14px; }
}
/* ---------- Submit button colors ---------- */
.sol-btn {
  background: var(--sol-btn-bg, var(--sol-primary, #1e3a5f));
  color: var(--sol-btn-text, #fff);
  transition: background-color .2s ease, opacity .2s ease, transform .15s ease;
}
.sol-btn:hover { background: var(--sol-btn-hover, var(--sol-btn-bg, var(--sol-primary, #1e3a5f))); opacity: 1; }
.sol-btn:active { transform: translateY(1px); }
.sol-btn:disabled { cursor: default; opacity: .75; }

/* ---------- Sending overlay ---------- */
.sol-overlay[hidden] { display: none; }
.sol-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 33, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .25s ease;
}
.sol-overlay.is-open { opacity: 1; }
.sol-overlay-card {
  background: var(--sol-field-bg, #fff);
  color: var(--sol-text, #22303f);
  border-radius: 14px;
  padding: 28px 26px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(15, 23, 33, .18);
  transform: translateY(8px);
  transition: transform .3s ease;
}
.sol-overlay.is-open .sol-overlay-card { transform: translateY(0); }
.sol-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border: 2px solid rgba(0, 0, 0, .10);
  border-top-color: var(--sol-btn-bg, var(--sol-primary, #1e3a5f));
  border-radius: 50%;
  animation: sol-spin .8s linear infinite;
}
@keyframes sol-spin { to { transform: rotate(360deg); } }
.sol-steps { list-style: none; margin: 0; padding: 0; text-align: right; }
.sol-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.9;
  color: #9aa7b6;
  opacity: .6;
  transition: color .3s ease, opacity .3s ease;
}
.sol-step::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
  transition: transform .3s ease;
}
.sol-step.is-active { color: var(--sol-text, #22303f); opacity: 1; font-weight: 600; }
.sol-step.is-active::before { transform: scale(1.25); }
.sol-step.is-done { color: var(--sol-btn-bg, var(--sol-primary, #1e3a5f)); opacity: 1; }
.sol-progress {
  height: 3px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .08);
  margin-top: 18px;
  overflow: hidden;
}
.sol-progress-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--sol-btn-bg, var(--sol-primary, #1e3a5f));
  transition: width .6s ease;
}

/* ---------- Success panel ---------- */
.sol-done {
  text-align: center;
  padding: 34px 22px 30px;
  animation: sol-fade-up .45s ease both;
}
.sol-check {
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid var(--sol-btn-bg, var(--sol-primary, #1e3a5f));
  position: relative;
  animation: sol-pop .4s ease both .1s;
}
.sol-check::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 17px;
  width: 18px;
  height: 9px;
  border-left: 2px solid var(--sol-btn-bg, var(--sol-primary, #1e3a5f));
  border-bottom: 2px solid var(--sol-btn-bg, var(--sol-primary, #1e3a5f));
  transform: rotate(-45deg);
  animation: sol-fade-up .35s ease both .35s;
}
.sol-done-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--sol-primary, #1e3a5f);
  line-height: 1.6;
}
.sol-done-text {
  margin: 0 auto;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--sol-text, #22303f);
}
@keyframes sol-fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sol-pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .sol-overlay, .sol-overlay-card, .sol-done, .sol-check, .sol-check::after { transition: none; animation: none; }
  .sol-spinner { animation-duration: 1.6s; }
}
