/* -------- Fit to Elementor container -------- */
#msf-wrapper.msf-el-fit {
  margin: 0 !important;
  padding: 0 !important;   /* let Elementor control outer spacing */
  width: 100%;
}
.elementor .elementor-widget-container #msf-wrapper.msf-el-fit .msf-form,
#msf-wrapper.msf-el-fit .msf-form {
  max-width: 100%;
  width: 100%;
  margin: 0;               /* remove auto top/bottom gap */
  box-sizing: border-box;
}

/* Base */
.msf {
  --bg: #0a0a0a;
  --card: #0f0f10;
  --text: #ffffff;
  --muted: #9aa0a6;
  --border: #0a0a0a;
  --accent: #1CB11D;
  --accent-strong: #1CB11D;

  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.msf-form {
  background: var(--bg);
  border: 5px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  max-width: 740px;   /* used on non-Elementor pages */
  margin: 0 auto;
}

/* Badges */
.msf-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.msf-badges span {
  background: rgba(22, 255, 122, 0.12);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* Steps */
.msf-step {
  display: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.msf-step + .msf-step { margin-top: 16px; }
.msf-step.active { display: block; }

/* Headings */
.msf-step h3,
.msf-step .msf-sub { color: #fff; }

.msf-step h3 { margin: 0 0 10px; }
.msf-sub { color: var(--muted); margin: 4px 0 12px; }

/* Inputs */
.msf-step input[type="text"],
.msf-step input[type="email"],
.msf-step input[type="url"],
.msf-step input[type="tel"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #101215;
  color: var(--text);
  outline: none;
  margin: 8px 0;
}
.msf-step input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(22,255,122,.15);
}

/* Privacy */
.msf-privacy {
  display: block;
  padding-bottom: 10px;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.msf-privacy a { color: var(--accent); }

/* Options (radios/checkboxes) */
.msf-option,
.msf-check {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: #101215;
  padding: 12px 14px;
  border-radius: 10px;
  margin: 8px 0;
  cursor: pointer;
  color: #fff;
  transition: border-color .2s ease, background .2s ease;
}
.msf-option:hover,
.msf-check:hover { border-color: var(--accent); }
.msf-option input,
.msf-check input { accent-color: var(--accent); }

/* Layout helpers */
.msf-grid-2 {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .msf-grid-2 { grid-template-columns: 1fr 1fr; }
}

/* Actions */
.msf-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
.msf-actions.between { justify-content: space-between; }

.msf-actions button {

  padding: 12px 16px;
  background: #0E0E0E;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  border: 2px solid #1CB11D !important;
  cursor: pointer;
}
.msf-prev {
   background: #0E0E0E;
   color: var(--text);
   border: 2px solid #1CB11D;
}
.msf-actions button:hover { background: var(--accent-strong); }
.msf-actions .msf-prev {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.msf-actions .msf-prev:hover { border-color: var(--accent); color: var(--text); }

/* Messages */
.msf-result { margin-top: 14px; }
.msf-success,
.msf-error {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.msf-success { background: rgba(22,255,122,.12); color: var(--accent); }
.msf-error { background: #1a0e0e; color: #ff7b7b; }

/* Small-screen safe padding if the Elementor section is zero-padding */
@media (max-width: 480px) {
  #msf-wrapper.msf-el-fit .msf-form { padding: 16px; }
  .msf-form{padding: 0 !important;}
}

textarea{
  background-color: #0f0f10;
  margin-top: 10px !important;
}

label, legend {
    color: #ffffff;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
}

.timeline{
   margin: 0px 0 !important;
}


/* make field labels align above inputs and look consistent */
.msf-field label {
  display: block;
  margin: 0 0 6px;
  font-weight: 600;
}

/* grid variant for field blocks */
.msf-grid-2--fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* responsive: stack to 1 column on small screens */
@media (max-width: 700px) {
  .msf-grid-2--fields {
    grid-template-columns: 1fr;
  }
}



/* Keep textarea width fixed to the container, allow only vertical grow */
#msf-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  resize: vertical;   /* or use `none` to disable resizing completely */
}

/* If your theme keeps overriding it, force it */
#msf-form textarea { resize: vertical !important; max-width: 100% !important; }

/* Optional: hide the little grip in some WebKit browsers if using `none` */
#msf-form textarea { /* only if you choose to disable completely */
  resize: none !important;
  overflow: auto;           /* keep scrollbars if needed */
}

.msf-error-text{
  padding-bottom: 40px;
}