/* =========================================================================
   LSC Dynamic Form Builder — Frontend Styles
   ========================================================================= */

.lsc-dynamic-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  font-family: inherit;
}

.lsc-dynamic-form .lsc-form-row {
  margin-bottom: 20px;
}

/* Labels */
.lsc-dynamic-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
}

/* All inputs, selects, textareas */
.lsc-dynamic-form input[type="text"],
.lsc-dynamic-form input[type="email"],
.lsc-dynamic-form input[type="tel"],
.lsc-dynamic-form input[type="number"],
.lsc-dynamic-form input[type="password"],
.lsc-dynamic-form input[type="url"],
.lsc-dynamic-form input[type="date"],
.lsc-dynamic-form input[type="time"],
.lsc-dynamic-form input[type="datetime-local"],
.lsc-dynamic-form select,
.lsc-dynamic-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.lsc-dynamic-form input[type="text"]:focus,
.lsc-dynamic-form input[type="email"]:focus,
.lsc-dynamic-form input[type="tel"]:focus,
.lsc-dynamic-form input[type="number"]:focus,
.lsc-dynamic-form input[type="password"]:focus,
.lsc-dynamic-form input[type="url"]:focus,
.lsc-dynamic-form input[type="date"]:focus,
.lsc-dynamic-form input[type="time"]:focus,
.lsc-dynamic-form input[type="datetime-local"]:focus,
.lsc-dynamic-form select:focus,
.lsc-dynamic-form textarea:focus {
  outline: none;
  border-color: #2271b1;
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

/* Textarea */
.lsc-dynamic-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* Fieldset for radio/checkbox */
.lsc-dynamic-form .lsc-fieldset {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 0;
}

.lsc-dynamic-form .lsc-fieldset legend {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  padding: 0 6px;
}

.lsc-dynamic-form .lsc-choice-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 15px;
}

.lsc-dynamic-form .lsc-choice-label:last-child {
  margin-bottom: 0;
}

.lsc-dynamic-form .lsc-choice-label input {
  width: auto;
  margin: 0;
  cursor: pointer;
}

/* Headings */
.lsc-dynamic-form .lsc-form-heading {
  margin: 8px 0 4px;
  color: #222;
  border-bottom: 2px solid #eee;
  padding-bottom: 6px;
}

/* HTML block */
.lsc-dynamic-form .lsc-html-block {
  color: #555;
  font-size: 14px;
  line-height: 1.6;
}

/* Help text */
.lsc-dynamic-form .lsc-field-desc {
  display: block;
  color: #888;
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: normal;
}

/* Submit button */
.lsc-dynamic-form .lsc-fb-submit-btn {
  display: inline-block;
  padding: 12px 32px;
  background: #2271b1;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lsc-dynamic-form .lsc-fb-submit-btn:hover {
  background: #135e96;
}

.lsc-dynamic-form .lsc-fb-submit-btn:disabled {
  background: #aaa;
  cursor: not-allowed;
}

/* Success message */
.lsc-dynamic-form-wrap .lsc-fb-success {
  background: #edfaef;
  border: 1px solid #5cb85c;
  color: #2d6a2d;
  padding: 16px 20px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.5;
}

/* Error message */
.lsc-fb-error {
  background: #fdf2f2;
  border: 1px solid #e74c3c;
  color: #922b21;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
}

/* Required asterisk spacing */
.lsc-dynamic-form label span[aria-hidden="true"] {
  margin-left: 2px;
}

/* =========================================================================
   MULTI-STEP FORMS
   ========================================================================= */

/* ── Multi-Step Progress ── */
.lsc-ms-progress-wrap {
  background: var(--color-background-secondary, #f9fafb);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px 14px;
  margin-bottom: 24px;
}
.lsc-ms-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.lsc-ms-bar-wrap {
  flex: 1;
  height: 3px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.lsc-ms-progress-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 0%;
}
.lsc-ms-counter {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  flex-shrink: 0;
}
.lsc-ms-steps {
  display: flex;
  align-items: center;
}
.lsc-ms-step-item {
  display: flex;
  align-items: center;
  flex: 1;
}
.lsc-ms-step-item:last-child {
  flex: 0;
}
.lsc-ms-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e5e7eb;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s;
  position: relative;
  z-index: 1;
}
.lsc-ms-step-dot.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.lsc-ms-step-dot.complete {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}
.lsc-ms-step-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  transition: background 0.3s;
  margin: 0 2px;
}
.lsc-ms-step-line.complete {
  background: #10b981;
}
.lsc-ms-labels {
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.lsc-ms-label-item {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  color: #9ca3af;
  transition: color 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lsc-ms-label-item:last-child {
  flex: 0;
}
.lsc-ms-label-item.active {
  color: #2563eb;
  font-weight: 600;
}
.lsc-ms-label-item.complete {
  color: #10b981;
}

/* Navigation */
.lsc-ms-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}
.lsc-ms-prev {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}
.lsc-ms-prev:hover {
  background: #f3f4f6;
}
.lsc-ms-next {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 22px;
  background: #2563eb;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s;
  margin-left: auto;
}
.lsc-ms-next:hover {
  background: #1d4ed8;
}
.lsc-ms-error {
  margin-bottom: 12px;
}
.lsc-dynamic-form .lsc-pagebreak {
  display: none;
}

/* =========================================================================
   FIELD WIDTH CLASSES
   ========================================================================= */

.lsc-dynamic-form-wrap .lsc-form-row.lsc-field-width-full {
  width: 100%;
  float: none;
  clear: both;
}

.lsc-dynamic-form-wrap .lsc-form-row.lsc-field-width-half {
  width: calc(50% - 8px);
  float: left;
  margin-right: 8px;
}

.lsc-dynamic-form-wrap .lsc-form-row.lsc-field-width-half:nth-of-type(even) {
  margin-right: 0;
  margin-left: 8px;
}

.lsc-dynamic-form-wrap .lsc-form-row.lsc-field-width-third {
  width: calc(33.333% - 11px);
  float: left;
  margin-right: 8px;
}

/* Clear floats after full-width rows */
.lsc-dynamic-form-wrap .lsc-form-row.lsc-field-width-full::before {
  content: "";
  display: table;
  clear: both;
}

/* Clearfix on form */
.lsc-dynamic-form::after {
  content: "";
  display: table;
  clear: both;
}

/* Ensure submit button is always full width */
.lsc-dynamic-form-wrap .lsc-form-row:last-of-type {
  width: 100%;
  float: none;
  clear: both;
}

/* ── Address Autocomplete ── */
.lsc-address-autocomplete-wrap {
  position: relative;
}
.lsc-address-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
}
.lsc-address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 8px 8px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: none;
}
.lsc-address-suggestions.open {
  display: block;
}
.lsc-address-suggestion {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.lsc-address-suggestion:last-child {
  border-bottom: none;
}
.lsc-address-suggestion:hover {
  background: #f0f7ff;
  color: #2563eb;
}
.lsc-address-suggestion svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.lsc-address-suggestion-main {
  font-weight: 600;
}
.lsc-address-suggestion-sub {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}
.lsc-address-searching {
  padding: 12px 14px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
}

/* ── NPS Score ── */
.lsc-nps-wrap {
  width: 100%;
}
.lsc-nps-scale {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}
.lsc-nps-label {
  flex: 1;
  cursor: pointer;
}
.lsc-nps-num {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  transition: all 0.15s;
  width: 100%;
}
.lsc-nps-label:hover .lsc-nps-num {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}
.lsc-nps-input:checked + .lsc-nps-num {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.lsc-nps-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #9ca3af;
}

/* ── Image Choice ── */
.lsc-imagechoice-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
}
.lsc-imagechoice-item {
  cursor: pointer;
  text-align: center;
}
.lsc-imagechoice-input {
  display: none;
}
.lsc-imagechoice-img-wrap {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 6px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  background: #f9fafb;
}
.lsc-imagechoice-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lsc-imagechoice-placeholder {
  font-size: 11px;
  color: #9ca3af;
}
.lsc-imagechoice-input:checked ~ .lsc-imagechoice-img-wrap {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.lsc-imagechoice-label {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
}

/* ── Product Field ── */
.lsc-product-wrap {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
}
.lsc-product-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.lsc-product-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
.lsc-product-price {
  font-size: 16px;
  font-weight: 700;
  color: #2563eb;
}
.lsc-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lsc-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #374151;
  transition: all 0.15s;
}
.lsc-qty-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}
.lsc-qty-input {
  width: 60px;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 6px;
  font-size: 14px;
  font-weight: 600;
}
.lsc-product-subtotal {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  min-width: 60px;
}

/* ── Repeater ── */
.lsc-repeater-wrap {
  width: 100%;
}
.lsc-repeater-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.lsc-repeater-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
}
.lsc-repeater-field {
  flex: 1;
}
.lsc-repeater-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}
.lsc-repeater-field input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  font-size: 13px;
}
.lsc-repeater-remove-row {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lsc-repeater-remove-row:hover {
  background: #fee2e2;
}

/* =========================================================================
   LIVE FORM FIELD STYLE FIXES
   ========================================================================= */

.lsc-dynamic-form-wrap {
  max-width: 760px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  background: #ffffff;
  box-sizing: border-box;
}

.lsc-dynamic-form,
.lsc-dynamic-form * {
  box-sizing: border-box;
}

.lsc-dynamic-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}

.lsc-dynamic-form .lsc-form-row {
  width: 100%;
  margin-bottom: 22px;
}

.lsc-dynamic-form label,
.lsc-dynamic-form .lsc-fieldset legend {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.lsc-dynamic-form input[type="text"],
.lsc-dynamic-form input[type="email"],
.lsc-dynamic-form input[type="tel"],
.lsc-dynamic-form input[type="number"],
.lsc-dynamic-form input[type="password"],
.lsc-dynamic-form input[type="url"],
.lsc-dynamic-form input[type="date"],
.lsc-dynamic-form input[type="time"],
.lsc-dynamic-form input[type="datetime-local"],
.lsc-dynamic-form select,
.lsc-dynamic-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
}

.lsc-dynamic-form textarea {
  min-height: 110px;
  resize: vertical;
}

.lsc-dynamic-form input:focus,
.lsc-dynamic-form select:focus,
.lsc-dynamic-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.lsc-dynamic-form .lsc-field-desc {
  display: block;
  margin-top: 6px;
  margin-bottom: 0;
  color: #9ca3af;
  font-size: 12px;
  line-height: 1.4;
}

.lsc-dynamic-form .lsc-char-count {
  margin-top: 6px;
  text-align: right;
  color: #9ca3af;
  font-size: 12px;
}

/* Multi select */
.lsc-dynamic-form .lsc-multiselect-field,
.lsc-dynamic-form select[multiple] {
  min-height: 120px !important;
  padding: 10px 14px;
}

/* Radio and checkbox */
.lsc-dynamic-form .lsc-fieldset {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 16px;
  margin: 0;
  background: #ffffff;
}

.lsc-dynamic-form .lsc-fieldset legend {
  padding: 0 8px;
}

.lsc-dynamic-form .lsc-choice-label {
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
}

.lsc-dynamic-form .lsc-choice-label input {
  width: 16px !important;
  height: 16px !important;
  min-height: auto !important;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

/* Toggle switch */
.lsc-toggle-field {
  margin-top: 8px;
}

.lsc-toggle-field-wrap {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0 !important;
}

.lsc-toggle-field-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lsc-toggle-field-slider {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: #d1d5db;
  transition: all .2s ease;
  flex: 0 0 auto;
}

.lsc-toggle-field-slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: all .2s ease;
}

.lsc-toggle-field-input:checked + .lsc-toggle-field-slider {
  background: #2563eb;
}

.lsc-toggle-field-input:checked + .lsc-toggle-field-slider:before {
  transform: translateX(20px);
}

.lsc-toggle-on-label,
.lsc-toggle-off-label {
  font-size: 13px;
  color: #6b7280;
}

.lsc-toggle-on-label {
  display: none;
}

.lsc-toggle-field-input:checked ~ .lsc-toggle-off-label {
  display: none;
}

.lsc-toggle-field-input:checked ~ .lsc-toggle-on-label {
  display: inline;
}

/* Date and time */
.lsc-dynamic-form input[type="time"],
.lsc-dynamic-form input[type="datetime-local"] {
  width: 100% !important;
}

/* Rating */
.lsc-rating-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.lsc-rating-wrap label {
  display: inline-flex !important;
  margin: 0 !important;
  cursor: pointer;
}

.lsc-rating-wrap input {
  display: none;
}

.lsc-rating-wrap svg,
.lsc-rating-wrap span {
  font-size: 26px;
  line-height: 1;
  color: #f59e0b;
}

/* Range slider */
.lsc-range-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.lsc-range-input {
  width: 100% !important;
  flex: 1;
}

.lsc-range-value {
  min-width: 42px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.lsc-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #9ca3af;
  font-size: 12px;
}

/* Opinion scale */
.lsc-scale-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.lsc-scale-label {
  margin: 0 !important;
}

.lsc-scale-label input {
  display: none;
}

.lsc-scale-label span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lsc-scale-label input:checked + span {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* File upload */
.lsc-dynamic-form input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #f9fafb;
  font-size: 13px;
}

/* Color picker */
.lsc-dynamic-form input[type="color"] {
  width: 64px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 4px !important;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
}

/* Signature */
.lsc-signature-wrap,
.lsc-signature-pad {
  width: 100%;
  min-height: 150px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
}

.lsc-signature-clear {
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
}

/* Repeater */
.lsc-repeater-wrap {
  width: 100%;
}

.lsc-repeater-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
}

.lsc-repeater-add,
.lsc-repeater-add-row {
  margin-top: 10px;
  padding: 9px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

/* NPS */
.lsc-nps-scale {
  display: grid !important;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
}

.lsc-nps-num {
  min-height: 42px;
  border-radius: 8px;
}

/* Product */
.lsc-product-wrap {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #f9fafb;
  padding: 16px;
}

.lsc-qty-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lsc-qty-input {
  width: 100% !important;
  text-align: center;
}

/* Responsive */
@media (max-width: 700px) {
  .lsc-dynamic-form-wrap {
    padding: 18px;
  }

  .lsc-scale-wrap,
  .lsc-nps-scale {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Signature field */
.lsc-dynamic-form .lsc-signature-wrap {
  width: 100%;
  position: relative;
}

.lsc-dynamic-form .lsc-signature-canvas {
  display: block;
  width: 100% !important;
  height: 160px !important;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #ffffff;
  cursor: crosshair;
  touch-action: none;
}

.lsc-dynamic-form .lsc-sig-clear {
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.lsc-dynamic-form .lsc-sig-clear:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}