
.form-steps-wrapper {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #232323;
  border: 2.5px solid #333;
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
  padding: 56px 140px;
  max-width: 1400px;
  margin: 48px auto 0 auto;
}
.step-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4.5rem;
  gap: 40px;
  padding: 0;
}
.primary-btn {
  padding: 14px 44px;
  font-size: 1.15rem;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 2px 12px 0 rgba(255,81,1,0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  background: linear-gradient(90deg, #ff5101 60%, #ff7b01 100%);
  color: #fff;
}
.primary-btn:hover, .primary-btn:focus {
  background: linear-gradient(90deg, #ff7b01 0%, #ff5101 100%);
  color: #fff;
  box-shadow: 0 4px 24px 0 rgba(255,81,1,0.18);
  outline: none;
}
.primary-btn.back-btn {
  background: #232323;
  color: #ff5101;
  border: 2px solid #ff5101;
  box-shadow: none;
}
.primary-btn.back-btn:hover,
.primary-btn.back-btn:focus {
  background: #ff5101;
  color: #fff;
}
.kitchen-progress-section .progress-bar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  padding-top: 32px;
}
.kitchen-progress-section .progress-bar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 700px;
  padding: 0 10px;
  margin-bottom: 0;
}
.kitchen-progress-section .progress-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 25px;
  right: 25px;
  height: 4px;
  background-color: #444;
  z-index: 0;
  transform: translateY(-50%);
}
.kitchen-progress-section .step {
  background: #fff;
  color: #000;
  border-radius: 50%;
  border: 2px solid #ccc;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s, color 0.3s;
}
.kitchen-progress-section .step.active {
  border-color: #ff5101;
  color: #ff5101;
  background-color: #fff;
}
.kitchen-progress-section .step-labels {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 700px;
  padding: 10px;
  font-size: 15px;
  font-weight: 500;
}
.kitchen-progress-section .step-labels > div {
  width: 50px;
  text-align: center;
}
/* Shape selection styles */
.shape-select-row .select-label {
  width: 100%;
  display: block;
  cursor: pointer;
}
.kitchen-form {
  margin-bottom: 48px;
}
.shape-select-row .card {
  border: 2px solid #bbb !important;
  border-radius: 18px;
  padding: 24px 8px 0 8px;
  background: #f3f3f3;
  min-height: 210px;
  position: relative;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.06);
  transition: box-shadow 0.3s, border 0.3s, background 0.3s;
}
.shape-select-row .card:hover,
.shape-select-row input[type="radio"]:checked ~ .card {
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.13);
  border: 2.5px solid #888 !important;
  background: #fff;
}
.shape-select-row input[type="radio"] {
  display: none;
}
.shape-select-row .radio-corner {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}
.shape-select-row .custom-radio {
  display: flex;
  justify-content: center;
  align-items: center;
}
.shape-select-row .custom-radio span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #888;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.shape-select-row input[type="radio"]:checked ~ .card .custom-radio span {
  border-color: #888;
}
.shape-select-row .custom-radio span::after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: #888;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  opacity: 0;
  transition: opacity 0.2s;
}
.shape-select-row input[type="radio"]:checked ~ .card .custom-radio span::after {
  opacity: 1;
}
.shape-select-row .shape-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px auto;
}
.shape-select-row .shape-name {
  font-weight: 600;
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}
.row.shape-select-row {
  margin-bottom: 32px;
}
.card.text-center {
  margin-bottom: 12px;
}
/* White gradient for label text */
.step-section.step-4 label {
  background: linear-gradient(90deg, #fff 60%, #e0e0e0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
/* White input text */
.step-section.step-4 input[name="first_name"] {
  font-weight: 600;
  color: #fff;
  background: #292929 !important;
}
/* Size fields */
#size-fields-col {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.size-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 28px;
}
.size-label, label {
  font-weight: 600;
  margin-bottom: 10px;
  color: #ff7b01 !important;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}
.size-input, .form-control, textarea.form-control {
  width: 100%;
  border-radius: 25px;
  border: 2px solid #444;
  padding: 14px 22px;
  font-size: 1.13rem;
  background: #292929 !important;
  color: #fff !important;
  margin-bottom: 0;
  box-shadow: 0 2px 12px 0 rgba(255,81,1,0.08);
  transition: border 0.2s, box-shadow 0.2s;
}
.size-input:focus, .form-control:focus, textarea.form-control:focus {
  border-color: #ff5101 !important;
  background: #232323 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px 0 rgba(255,81,1,0.13);
}
.field-error {
  color: #ff3b3b;
  font-size: 0.98rem;
  margin-top: 4px;
  min-height: 20px;
}
/* MOBILE RESPONSIVE FIXES */
@media (max-width: 767.98px) {
  .form-steps-wrapper {
    padding: 12px 2px;
    max-width: 100%;
  }
  .step-section {
    padding: 0 2px;
  }
  .shape-select-row .card,
  .card-content,
  .article-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    margin: 0 0 16px 0;
    padding: 18px 8px 0 8px;
  }
  .shape-select-row .shape-img {
    width: 80px;
    height: 80px;
  }
  .step-buttons {
    flex-direction: column;
    gap: 16px;
    margin-top: 2rem;
  }
  .row.shape-select-row > div,
  .row > .col-md-3,
  .row > .col-md-4,
  .row > .col-12 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 16px;
  }
}
.step3-card {
  border: 2px solid #ffb380 !important;      /* soft orange solid border */
  background: #fffaf5 !important;            /* very light orange background */
  box-shadow: 0 2px 12px 0 rgba(255,81,1,0.04);
  transition: border 0.2s, background 0.2s, box-shadow 0.2s;
}
.step3-card:hover,
input[type="radio"]:checked ~ .step3-card {
  border: 2.5px solid #ff5101 !important;    /* vivid orange on hover/selected */
  background: #fff3e6 !important;
  box-shadow: 0 4px 24px 0 rgba(255,81,1,0.10);
}
.step3-card .option-name {
  font-weight: 500;
  font-size: 17px;
  color: #ff5101;
  letter-spacing: 0.5px;
  text-align: center;
  margin: 12px 0 6px 0;
  background: none !important;
}
