/* Form layout */
#bricksave-multistep-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

/* Progress bar */
.progressbar {
    display: flex;
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    justify-content: space-between;
}
.progressbar li {
    flex: 1;
    text-align: center;
    color: #ccc;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
}
.progressbar li.active {
    color: #c64010;
    border-color: #c64010;
    font-weight: bold;
}

.step-content h3{
  font-size: 1.8em;
  margin-bottom: 10px;
}


/* Step 1: Radio buttons met plaatjes */
.option-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.3s, background-color 0.3s;
  position: relative;
}

.option-box:hover {
  background-color: #f7f7f7;
  border-color: #FF4027;
}

/* Verberg standaard radio */
.option-box input[type="radio"] {
  display: none;
}

/* Afbeelding */
.option-box img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Tekst naast afbeelding */
.option-box span {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

/* Bij selectie */
.option-box input[type="radio"]:checked + img + span {
  font-weight: bold;
  color: #FF4027;
}

/* Klasse 'selected' gebruiken voor JS feedback */
.option-box.selected {
  border-color: #FF4027;
  box-shadow: 0 0 0 2px rgba(255, 64, 39, 0.1);
}


/* Step 2: Zoeken */
#company-search-wrapper {
    display: none;
}

.company-search-wrapper{
    position: relative;
}

/* Resultatenlijst */
#bricksave-results-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}
#bricksave-results-list li {
    cursor: pointer;
    padding: 8px;
    border-bottom: 1px solid #eee;
}
#bricksave-results-list li:hover {
    background-color: #f0f0f0;
}

/* Form note */
.bricksave-form-note {
    margin-top: 24px;
}


/* Navigation buttons */
.bricksave-form-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.bricksave-form-nav button {
    padding: 12px 24px;
    border: none;
    border-radius: 9999px; /* Volledig afgerond */
    background-color: #F2EEED;
    color: #000000;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.bricksave-form-nav button:hover {
    background-color: #000000;
    color: white;
}


/* Algemene veldstijl */
.bricksave-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.bricksave-input::placeholder {
  color: #aaa;
}

/* Focus + actieve stijl */
.bricksave-input:focus {
  border-color: #FF4027;
  outline: none;
}

/* Email gevalideerd met checkmark */
.bricksave-input.valid {
  border-color: #FF4027;
  background-image: url('checkmark.svg'); /* of inline svg als je dat liever hebt */
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
  padding-right: 40px;
}

/* Resultaatlijst (dropdown) styling */
#bricksave-results-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* ruimte tussen de kolommen */
  margin-bottom: 20px; /* ruimte onder de hele rij */
}

.field-col {
  flex: 1 1 0;
  min-width: 0;
}

/* Zorg dat inputvelden dezelfde look hebben */
.field-col input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field-col input:focus {
  border-color: #FF4027;
  box-shadow: 0 0 0 2px rgba(255, 64, 39, 0.2);
  outline: none;
}

.error-message {
  color: red;
  font-size: 0.85em;
  margin-top: 4px;
}