.gcf-root,
.gcf-root * {
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

.gcf-form-card,
.gcf-form-card * {
  box-sizing: border-box;
}

.gcf-form-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px;
  position: relative;
  overflow: visible;
  max-width: 100%;
}

.gcf-form-step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.gcf-form-step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: all 0.3s ease;
}

.gcf-form-step-dot.active {
  background: #8FC93A;
  width: 20px;
  border-radius: 4px;
}

.gcf-form-step-label {
  font-size: 11px;
  font-weight: 600;
  color: #9A929F;
  margin-left: 4px;
}

.gcf-form-title {
  font-size: 18px;
  font-weight: 700;
  color: #342E37;
  margin-bottom: 4px;
}

.gcf-form-sub {
  font-size: 13px;
  color: #9A929F;
  margin-bottom: 24px;
}

.gcf-form-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gcf-form-field-label {
  font-size: 13px;
  font-weight: 600;
  color: #342E37;
  margin-bottom: 8px;
}

/* Slider field */
.gcf-slider-field {
  background: #FBFBFB;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 18px 20px;
}

.gcf-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
}

.gcf-slider-label {
  font-size: 13px;
  font-weight: 500;
  color: #9A929F;
}

.gcf-slider-value {
  font-size: 22px;
  font-weight: 800;
  color: #342E37;
  letter-spacing: -0.02em;
}

.gcf-slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.gcf-slider-range span {
  font-size: 10px;
  font-weight: 600;
  color: #9A929F;
}

#gcf-invoice-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    #8FC93A 0%,
    #8FC93A var(--val, 14%),
    #e0e0e0 var(--val, 14%),
    #e0e0e0 100%
  );
}

#gcf-invoice-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #8FC93A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: grab;
}

#gcf-invoice-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #8FC93A;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  cursor: grab;
}

#gcf-invoice-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
}

/* Button groups */
.gcf-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gcf-btn-group-item {
  padding: 10px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #342E37;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}

.gcf-btn-group-item:hover {
  border-color: #8FC93A;
}

.gcf-btn-group-item.selected {
  background: #8FC93A;
  color: #ffffff;
  border-color: #8FC93A;
}

.gcf-btn-group-item.warning {
  border-color: #FF9786;
  color: #FF9786;
}

.gcf-btn-group-item.warning.selected {
  background: #FF9786;
  color: #ffffff;
  border-color: #FF9786;
}

/* Inputs */
.gcf-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  color: #342E37;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gcf-form-input::placeholder {
  color: #bbbbbb;
  font-weight: 500;
}

.gcf-form-input:focus {
  outline: none;
  border-color: #8FC93A;
  box-shadow: 0 0 0 3px rgba(143, 201, 58, 0.12);
}

.gcf-form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A929F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* Main button */
.gcf-btn-green {
  background: #8FC93A;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(143, 201, 58, 0.25);
  width: 100%;
}

.gcf-btn-green:hover {
  transform: scale(1.03);
}

.gcf-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gcf-link-btn {
  background: none;
  border: none;
  color: #9A929F;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

/* Micro text */
.gcf-form-micro {
  font-size: 11px;
  color: #9A929F;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.gcf-form-micro svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Stickman */
.gcf-form-stickman-wrap {
  position: absolute;
  bottom: -2px;
  right: 16px;
  width: 55px;
  height: 70px;
  animation: gcf-float 5s ease-in-out infinite;
  z-index: 3;
  display:none;
}

.gcf-tie {
  animation: gcf-tie-swing 3s ease-in-out infinite;
  transform-origin: 28px 34px;
}

@keyframes gcf-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes gcf-tie-swing {
  0%, 100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-1.5deg);
  }
}

/* Success */
.gcf-success-card {
  text-align: center;
}

.gcf-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #F0F9E0;
  color: #8FC93A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  font-weight: 800;
}

.gcf-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #342E37;
  margin-bottom: 10px;
}

.gcf-success-text {
  font-size: 14px;
  line-height: 1.6;
  color: #9A929F;
  max-width: 420px;
  margin: 0 auto 22px;
}

.gcf-summary {
  background: #FBFBFB;
  border: 1px solid #eeeeee;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  color: #342E37;
  font-size: 13px;
}

.gcf-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 8px;
}

.gcf-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gcf-summary-row span {
  color: #9A929F;
}

/* Responsive */
@media (max-width: 600px) {
  .gcf-form-card {
    padding: 24px;
  }

  .gcf-btn-group {
    grid-template-columns: 1fr 1fr;
  }

  .gcf-slider-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}