body {
  background-color: #348feb;

}
*{
    font-family: "Raleway", sans-serif;
}
/* .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
} */
form {
  display: flex;
  flex-direction: column;
  width: 725px; /* 1200px for other form? Adjusted for 25% larger size */
  margin: 10px 0;
}
label {
  font-weight: bold;
  margin-bottom: 5px;
  color: white;
}
input[type="text"] {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: none;
}
button {
  padding: 10px;
  font-size: 16px;
  background-color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #297acc;
  color: white;
}

#form-last {
  display: flex;
  flex-direction: column;
  width: 1200px; /* Adjusted for 25% larger size */
  margin: 10px 0;
}
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
.form-group label {
  flex: 1;
}
.form-group input[type="text"] {
  flex: 2;
  margin-right: 10px;
}
.form-group input[type="checkbox"] {
  margin-left: 10px;
}

.container-last {
  /*To do: rename*/
  width: 50%; /* Reduce the width by 25% */
  float: left;
  box-sizing: border-box;
}

.container-images {
  width: 25%;
  float: left;
  padding-left: 20px;
  box-sizing: border-box;
}

.main-content {
  /* To do: Rename */
  display: flex;
}

.container h2 {
  margin-bottom: 15px;
}

.image-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.image-item input[type="checkbox"] {
  display: none;
}

.image-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 5px;
  border-radius: 4px;
}

.image-item img {
  width: 50px; /* Set the size of the image */
  height: auto;
  margin-right: 10px;
}

.image-item p {
  margin: 0;
}

.image-item input[type="checkbox"]:checked + label {
  background-color: rgba(
    0,
    0,
    0,
    0.1
  ); /* Slight opaque background when selected */
}

#error-message {
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}

.form-control.error {
  border: 2px solid red;
}

.highlight-ai {
  border: 2px solid red;
  background-color: #ffe6e6;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 20px;
  color: #333;
}

.step {
  position: relative;
  margin-bottom: 50px;
  padding-left: 80px;
}

.step-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  color: white;
  font-size: 18px;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-left: -63px;
}

.step h1 {
  font-size: 22px;
  margin: 0;
  color: #333;
}

.step::after {
  content: "";
  position: absolute;
  width: 2px;
  height: calc(100% + 20px);
  background-color: #ddd;
  left: 39px;
  top: 40px;
}

.step:last-child::after {
  display: none;
}

.grid {
  display: flex;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.grid-item {
  position: relative;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s;
  background: white;
  width: fit-content;
  border: 2px solid transparant;
}

.grid-item img {
  border-radius: 4px;
  width: 144px;
  height: 144px;
  object-fit: cover;
}

.grid-item.selected {
  border-color: #28a745;
  border-width: 3px;
  border-style: solid;
}

.delete-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #333;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  width: 30px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-button:hover {
  background: #555;
}

button {
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #555;
}

/* input[type="file"] {
    display: none;
  } */

.color-picker {
  margin-top: 20px;
}

.color-picker label {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

#backgroundGrid .grid-item img {
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Style the color picker */
.color-picker {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker label {
  font-size: 16px;
}

#backgroundColor {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
label {
  color: #000000;
}
#backgroundColor::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 50%;
}

#backgroundColor::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}
/* Algemene stijl voor fancy knoppen */
#drop-area {
  width: 100%;
  max-width: 400px;
  padding: 25px;
  border: 2px dashed rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  background: transparent;
}

#drop-area:hover {
  background: rgba(0, 0, 0, 0.05);
}

#drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

#drop-zone i {
  font-size: 42px;
  color: #444;
}

#drop-zone p {
  font-size: 14px;
  color: #222;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

.fancy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid #ddd;
  background-color: white;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s,
    border-color 0.3s;
  gap: 10px;
}
.fancy-button.greenbtn{
      border: 1px solid green ! IMPORTANT;
    background: #6dffab30;
    color: #006a2c;
}
.fancy-button i {
  font-size: 18px;
}
.container.content {
  margin-top: 60px;
}

.fancy-button:hover {
  background: linear-gradient(
    90deg,
    red,
    orange,
    yellow,
    green,
    blue,
    indigo,
    violet
  );
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: white;
  border-color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow-move 1.5s linear infinite;
  border: 2px solid #ddd;
}

@keyframes rainbow-move {
  0% {
    background-position: 100% 50%; /* Begin aan de rechterkant */
  }
  100% {
    background-position: 0% 50%; /* Eindig aan de linkerkant */
  }
}

.switch-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  padding: 0px 03px;
  margin-top: 5px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch-checkbox {
  display: none;
}

.switch-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.4s;
}

.switch-slider::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

.switch-checkbox:checked + .switch-slider {
  background-color: #4caf50;
}

.switch-checkbox:checked + .switch-slider::before {
  transform: translateX(28px);
}

/* Dynamic text color */
.test-label {
  color: black;
  font-weight: 400;
  transition: 0.3s;
}

.prod-label {
  color: grey;
  font-weight: 400;
  transition: 0.3s;
}

.switch-checkbox:checked ~ .test-label {
  color: grey;
}

.switch-checkbox:checked ~ .prod-label {
  color: black;
}

.test-label {
  color: green;
}
.fancy-button.redbtn {
    border: 1px solid #ff000066;
    font-size: 12px;
}
.fancy-button.redbtn:hover {
  color: black;
  border: 1px solid red !important;
}
.carbuttoncontainer {
  position: fixed;
  left: 30px;
  max-width: 280px;
}
.carbuttoncontainer button {
  font-size: 14px;
}
.checkmarkwrap {
  margin-left: 5px;
  margin-top: 15px;
}
.checkmarkwrap {
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    user-select: none;
    display: flex;
    align-items: base-line;
}

.checkmarkwrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border: 2px solid #000;
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: grid;
  place-content: center;
}
.checkboxwrap input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.checkmarkwrap input[type="checkbox"]::before {
  content: "";
  width: 12px;
  height: 12px;
  transform: scale(0);
  transition: transform 0.15s ease-in-out;
  background-color: #000;
}
.checkboxwrap input[type="checkbox"]::before {
  content: "";
  width: 8px;
  height: 8px;
}

.checkmarkwrap input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkmarkwrap input[type="checkbox"]:disabled, .checkmarkwrap input[type="checkbox"]:disabled  + label{
          opacity: 0.25;
}

.checkmarkwrap input[type="checkbox"] + label{
      opacity: 0.5;
}
.checkmarkwrap input[type="checkbox"]:checked + label{
      opacity: 1;
}
.fancylabel{
    font-weight:400;
    font-size:15px;
    line-height:15px;
}
.checkmarkwrap label {
  cursor: pointer;
}
.overlay, #infobox{
    display:none;
}
.overlay.show {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.85);
  z-index: 9999;
  display: flex;
  align-items: left;
  justify-content: center;
  padding: 40px;
  transition: all 0.2s ease;
}

.overlaybox {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  text-align: center;
  display: none;
  flex-direction: column;
  gap: 20px;
  min-width: 300px;
     height: fit-content;
    margin: auto;
     transition:all 0.2s ease;
     width:fit-content;
}
.overlaybox.open {
     display:flex !important;
}
#loadingbox{
    background:none;
    color:white;
    box-shadow: none;
}
#loadingbox i {
    font-size: 41px;
    margin-bottom: 20px;
}
#loadingbox #duurtlang{
    font-size: 26px;
    width:100%;
}
.overlay-btn {
  font-size: 16px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.overlay-btn.danger {
  background: #c0392b;
  color: white;
}

.overlay-btn.safe {
  background: #2ecc71;
  color: white;
}

.overlay-btn:hover {
  opacity: 0.9;
}

.overlay .close-btn {
  position: absolute;
  top: 30px;
    right: 45px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}
#carDetailsForm svg{

    fill :#638358;
}

.spinnerloading{
    display:none !important;
}
body .loadingbtn .spinnerloading{
    display:block !important;
}
#duurtlang {
  display: inline-block;
  opacity: 0;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 1rem;
  transition: opacity 0.8s ease-in-out;
}
#loadingboxspinner {
  font-size: 3rem;
  display: inline-block;
  animation: rainbowSpin 1s linear infinite, gradientShift 5s linear infinite;
  background: linear-gradient(270deg, red, orange, yellow, lime, cyan, blue, violet, red);
  background-size: 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes rainbowSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes gradientShift {
  0% { background-position: 0% }
  100% { background-position: 100% }
}
.nav-item{
 padding-left: 10px;
    font-size: 19px;
    font-weight: 300;
  }
.nav-item .nav-link{
  padding: 0px 0px;
  }
.nav-item.active .nav-link{
    border-bottom: 2px solid;
     padding: 0px 0px;
}
.sortable-item{
    margin-bottom:5px;
}
.navbar-brand{
    font-size: 24px;
    font-weight: 600;
    margin-right: 30px;
    padding: 0px;
    margin: 0px;
    margin-right: 30px;
    margin-bottom: 3px;
}
  .switch-container {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: Arial, sans-serif;
            font-weight: bold;
            padding:0px 03px;
            margin-left:-14px;
        }

        .switch {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
            padding-bottom:0px;
            margin-bottom: 0px;
        }

        .switch-checkbox {
            display: none;
        }

        .switch-slider {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            border-radius: 30px;
            cursor: pointer;
            transition: 0.4s;
        }

        .switch-slider::before {
            content: "";
            position: absolute;
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
        }

        .switch-checkbox:checked + .switch-slider {
            background-color: #ff0000;
        }

        .switch-checkbox:checked + .switch-slider::before {
            transform: translateX(28px);
        }

        /* Dynamic text color */
        .test-label {
            color: black;
            font-weight:400;
            transition: 0.3s;
        }

        .prod-label {
            color: grey;
            font-weight:400;
            transition: 0.3s;
        }

        .switch-checkbox:checked ~ .test-label {
            color: grey;
        }

        .switch-checkbox:checked ~ .prod-label {
            color: black;
        }
radio-container {
        display: flex;
        gap: 15px;
        align-items: left;
        margin-bottom: 15px;
        flex-direction: column;
    }
    .radio-container label {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        font-size: 14px;
        color: #000;
    }
    .radio-container input[type="radio"] {
        appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #000;
        border-radius: 50%;
        display: inline-block;
        position: relative;
    }
    .radio-container input[type="radio"]:checked::before {
        content: "";
        width: 10px;
        height: 10px;
        background: #000;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

@media (max-width: 1700px){
    .carbuttoncontainer {
        display: block;
        position: relative;
        left: 0px;
        margin-bottom: 30px;
        border-bottom: 1px dashed #c3c3c3;
        padding-bottom: 15px;
        width: 100%;
        max-width: 100%;
    }

}