/* Base Styles */
.custom-form-container {
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-section {
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  background: #f8fafc;
}

.form-section h2,
.form-section h3 {
  color: #1e3a8a;
  margin-top: 0;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.inline-items{
  display: flex;
  justify-content: space-between;
  gap: 24px
}


label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: .8em;
  color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #1e3a8a;
  outline: none;
}

/* Checkboxes & Radio Buttons */
.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: #1e3a8a;
}

/* Service Items */
.service-item {
  padding: 1rem;
  margin: 0.5rem 0;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s;
}

.service-item:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.service-item label {
  margin: 0;
  font-weight: 400;
}

/* Price Calculator */
.price-calculator {
  position: sticky;
  right: 12px;
  top: 2rem;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.service-list {
  max-height: 400px;
  overflow-y: auto;
}


.service-list .service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin: 0.5rem 0;
}

.service-price {
  color: #1e3a8a;
  font-weight: 600;
}

.total-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #e2e8f0;
}

/* Buttons */
button[type="submit"],
.btn-prev,
.btn-next {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

button[type="submit"],
.btn-next {
  background: #1e3a8a;
  color: white;
}

button[type="submit"]:hover,
.btn-next:hover {
  background: #1d4ed8;
}

.btn-prev {
  background: #e2e8f0;
  color: #2c3e50;
}

.btn-prev:hover {
  background: #cbd5e1;
}

/* Conditional Fields */
.conditional-field {
  margin-top: 1rem;
  padding: 1rem;
  background: #f1f5f9;
  border-radius: 6px;
  display: none;
}

.conditional-field.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-form-container {
    padding: 1rem;
    margin: 1rem;
  }

  .price-calculator {
    position: static;
    margin-top: 2rem;
  }

  .form-navigation {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Error States */
.error-message {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

input.error,
textarea.error,
select.error {
  border-color: #dc2626;
}

/**
 * Custom styles
 */
.formsContainer {
  width: 90%;
}

.formsContainer .col {
}

.formsContainer .business-info-form div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.formsContainer .business-info-form div > * {
  min-width: 300px;
}

.form-step {
  display: none;
}

.form-step-1 {
  display: block;
}

.form-step-3{
  display: flex;
  gap: 16px;
}