/* ==================================================
   FULL CUSTOM SPECIFIEK
   ================================================== */

.mxfc-step {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.mxfc-step h3,
.mxfc-full-width,
.mxfc-info,
.mxfc-error-holder,
.mxfc-upload,
.mxfc-actions,
.mxfc-section-title {
  grid-column: 1 / -1;
}

/* Stap 1 */
.mxfc-step[data-step="1"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mxfc-step[data-step="1"] .mxfc-type-options,
.mxfc-step[data-step="1"] .mxfc-row,
.mxfc-step[data-step="1"] .mxfc-motor-photo-upload {
  grid-column: 1 / -1;
}

.mxfc-type-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px 24px;
}

.mxfc-row {
  display: grid;
  gap: 20px 24px;
}

.mxfc-row-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mxfc-row-1 {
  grid-template-columns: 1fr;
}

/* Stap 2 */
.mxfc-step-2 .mxfc-style-row,
.mxfc-step-2 .mxfc-colors-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.mxfc-field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mxfc-field-group button {
  width: fit-content;
}

/* Info icoon */
.mxfc-label-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.mxfc-info-icon {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ea5b0c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  cursor: help;
}

.mxfc-info-tooltip {
  display: none;
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  background: #111;
  color: #fff;
  padding: 10px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  z-index: 50;
}

.mxfc-info-icon:hover .mxfc-info-tooltip {
  display: block;
}

/* Stap 3 */
.mxfc-step-3 {
  grid-template-columns: 1fr;
}

.mxfc-logo-upload,
.mxfc-inspiration-upload {
  grid-column: 1 / -1;
}

/* Upload */
.mxfc-dropzone {
  border: 2px dashed #3b82f6;
  background: #f8fbff;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 32px 24px;
  text-align: center;
}

.mxfc-dropzone p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.4;
}

.mxfc-dropzone small {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
}

.mxfc-upload-list li {
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 10px;
  margin-bottom: 6px;
}

.mxfc-dropzone.is-dragover {
  background: #eef4ff;
  border-color: #2563eb;
}

.mxfc-upload-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.mxfc-remove-file {
  margin-left: 8px;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  min-width: auto;
  line-height: 1;
}

/* Option cards */
.mxfc-option-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: transparent;
}

.mxfc-option-card-inner img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
}

.mxfc-option-card-title {
  color: inherit;
  font-weight: 600;
  text-align: center;
}

/* Stap 4 / 5 / 6 */
.mxfc-step-4,
.mxfc-step-5,
.mxfc-step-6 {
  grid-template-columns: 1fr;
}

.mxfc-card-options,
.mxfc-swingarm-options,
.mxfc-install-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  border: none;
  padding: 0;
  margin: 0 0 28px;
  width: 100%;
}

.mxfc-card-options legend,
.mxfc-swingarm-options legend,
.mxfc-install-options legend {
  grid-column: 1 / -1;
  font-weight: 700;
  margin-bottom: 4px;
}

.mxfc-step-4 .mxfc-card-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mxfc-swingarm-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mxfc-install-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Stap 6 */
.mxfc-fork-options {
  grid-template-columns: repeat(auto-fit, minmax(180px, 230px));
}

.mxfc-fork-choice-wrap {
  grid-column: 1 / -1;
  margin: -8px 0 28px;
}

.mxfc-fork-choice-wrap input[type="text"] {
  width: 100%;
}

.mxfc-fork-examples-btn {
  margin-top: 10px;
}

.mxfc-image-left-options {
  grid-template-columns: 125px repeat(auto-fit, minmax(180px, 1fr));
  align-items: stretch;
}

.mxfc-option-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mxfc-option-image img {
  width: 125px;
  height: 125px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Mobiel */
@media (max-width: 768px) {
  .mxfc-step,
  .mxfc-step[data-step="1"],
  .mxfc-type-options,
  .mxfc-row-2,
  .mxfc-step-2 .mxfc-style-row,
  .mxfc-step-2 .mxfc-colors-row,
  .mxfc-step-4 .mxfc-card-options,
  .mxfc-swingarm-options,
  .mxfc-install-options,
  .mxfc-fork-options,
  .mxfc-image-left-options {
    grid-template-columns: 1fr;
  }

  .mxfc-field-group button {
    width: 100%;
  }

  .mxfc-option-image {
    justify-content: flex-start;
  }

  .mxfc-option-card-inner img,
  .mxfc-option-image img {
    width: 110px;
    height: 110px;
  }

  .mxfc-info-tooltip {
    left: 0;
    top: 24px;
    transform: none;
    width: 220px;
  }
}

/* Stap 3 netter */
.mxfc-step-3 {
  gap: 18px;
}

.mxfc-step-3 .mxfc-info {
  margin-bottom: 8px;
}

.mxfc-section-title {
  margin: 18px 0 0;
  padding-top: 8px;
  font-size: 20px;
  font-weight: 700;
}

.mxfc-step-3 label {
  margin-bottom: 0;
}

/* Upload blokken */
.mxfc-logo-upload,
.mxfc-inspiration-upload {
  margin-top: 4px;
}

.mxfc-upload-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}

/* File input verbergen */
.mxfc-dropzone input[type="file"] {
  display: none !important;
}