
.input-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  background: #ffffff00;
  padding: 15px;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;   /* allow wide rows */
  transition: all 0.5s ease;
}

.input-container02 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
  background: #ffffff00;
  padding: 15px;
  width: 100%;
  max-width: 1400px;   /* allow wide rows */
  transition: all 0.5s ease;
  overflow: hidden;
}

.input-container03 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
  background: #ffffff00;
  padding: 15px;
  width: 100%;
  max-width: 1400px;   /* allow wide rows */
  transition: all 0.5s ease;
  overflow: hidden;

}

.input-container04 {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
  background: #ffffff00;
  padding: 15px;
  width: 100%;
  max-width: 1400px;   /* allow wide rows */
  transition: all 0.5s ease;
  overflow: hidden;
  justify-content: center;
}
.input-container {
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
}
.input-container::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}
.input-container02 {
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
}

.input-container02::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}
.input-container03{
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
}

.input-container03::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}
.input-container04 {
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
    justify-content: center;

}

.input-container04::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}



.exp-body{
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
  padding-top: 30px;
}

#experianceForm::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}
.ser-body{
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
}

#servvicedForm::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}
.pro-body {
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
}

#projectedForm::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}
.tem-body {
  position: relative;
  padding: 15px;
  border-radius: 14px;
  z-index: 0;
}

#teamedForm::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2.2px; /* border thickness */
  border-radius: 14px; /* same as container */
  background: linear-gradient(
    90deg,
    rgba(115, 159, 255, 0.86) 0%,
    rgb(190, 149, 255) 50%,
    rgba(255, 141, 192, 0.85) 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  box-sizing: border-box;
}



/* ===============================
   RESPONSIVE DESIGN
=============================== */

/* Tablets */
@media (max-width: 768px) {
  .input-container02 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
  }
}
  
/* Mobiles */
@media (max-width: 480px) {
  .input-container02 {
    grid-template-columns: 1fr; /* Stack inputs */
    gap: 0px;                     /* ✅ Remove gap between inputs */
    padding: 0 -5px;
    margin-bottom: 12px;
    align-items: center;
  }

  .input-container02 input,
  .input-container02 select {
    font-size: 14px;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: -10px; /* Ensure no extra bottom space */
  }

  /* Optional: reduce top/bottom margin in wrappers if used */
  .input-wrapper {
    margin: 0; /* ✅ Remove vertical gap from wrappers */
  }
}

  .containerddd {
    max-width: 1200px;
    margin: auto;
    position: relative;
  }
  .profession-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 8px;
    background: #fff;
    max-width: 1200px;
 }

  .profession-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 6px;
     max-width: 1200px;
  }

  
/* tagdds Container */
.selected-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  padding-top: 4px;
  order: 2;
  pointer-events: none;
}




/* ===============================
   MULTI-PROFESSION INPUT (Auto-expand + Floating Label)
=============================== */

.multi-profession-input {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px;
  padding: 1px 16px 6px;
  border: 2px solid #bbbbbb;
  border-radius: 8px;
  background: rgb(255, 255, 255);
  transition: all 0.3s ease;
  min-height: 50px;
}

.multi-profession-input:focus-within {
  border-color: #00469b;
  box-shadow: 0 0 8px rgba(0, 70, 155, 0.2);
}

/* Input Field */
.multi-profession-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: #00469b;
  min-width: 120px;
  padding: 6px 0;
}


/* Floating Label */
.multi-profession-input label {
  position: absolute;
  top: 16px;
  left: 12px;
  font-size: 18px;
  color: #00469b;
  background: white;
  padding: 0 4px;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 2;
}

/* When input focused or has tagds — move label up */
/* .multi-profession-input:focus-within label,
.multi-profession-input:has(.tagd) label {
  top: -10px;
  font-size: 12px;
  color: #00469b;
  background: white;
} */

/* tagds Container */
.selected-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  padding-top: 4px;
  order: 2;
}

/* tagd Style */
.tagd {
  background: linear-gradient(90deg, #ffb6c1, #add8e6);
  color: #333;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: all;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.tagd span {
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s ease;
}
.tagd span:hover {
  color: red;
}

/* Dropdown */
.dropdown002 {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border: 1px solid #b3d9ff;
  border-radius: 10px;
  margin-top: 4px;
  display: none;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  z-index: 10000;
}

/* Dropdown Options */
.dropdown002 div {
  padding: 10px 12px;
  font-size: 15px;
  color: #00469b;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
}

/* Hover, Active, or Keyboard Highlight */
.dropdown002 div:hover,
.dropdown002 div.active,
.dropdown002 div.highlighted,
.dropdown002 div:focus {
  background: linear-gradient(90deg, #ffb6c1 0%, #add8e6 100%);
  color: #222;
  padding-left: 20px;
  border-radius: 6px;
  outline: none;
}

/* Arrow Animation */
.dropdown002 div::before {
  content: "→";
  position: absolute;
  left: 8px;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.25s ease;
  color: #333;
  font-weight: bold;
}

/* Arrow on Hover or Active */
.dropdown002 div:hover::before,
.dropdown002 div.active::before,
.dropdown002 div.highlighted::before {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .multi-profession-input input {
    font-size: 14px;
    
  }
  .dropdown002 {
    max-height: 180px;
    font-size: 14px;
  }
  .dropdown002 div {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .multi-profession-input {
    padding: 8px 12px;
    margin-bottom: -20px;
  }
  .multi-profession-input input {
    font-size: 13px;
  }
  .multi-profession-input label {
    font-size: 12px;
  }
  .dropdown002 {
    font-size: 13px;
    border-radius: 6px;
  }
}





/* ===============================
   RESPONSIVE DESIGN
=============================== */

/* Tablets */
@media (max-width: 768px) {
  .input-container {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
  }
}
  
/* Mobiles */
@media (max-width: 480px) {
  .input-container02 {
    grid-template-columns: 1fr; /* Stack inputs */
    gap: 20px;                     /* ✅ Remove gap between inputs */
    padding: 0 -22px;
    margin-bottom: 12px;
    align-items: center;
  }

  .input-containe02 input,
  .input-container02 select {
    font-size: 14px;
    padding: 12px 10px;
    border-radius: 8px;
    margin-bottom: -10px; /* Ensure no extra bottom space */
  }

  /* Optional: reduce top/bottom margin in wrappers if used */
  .input-wrapper {
    margin: 0; /* ✅ Remove vertical gap from wrappers */
  }
}



/* ============================
   Floating Label for Search Input
   with White Lower Half on Focus
============================ */

/* Label Base */
.multi-profession-input label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 15px;
  color: #888;
  padding: 0 6px;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 2;
  background: transparent;
}

/* Input Base */
.multi-profession-input input[type="search"] {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Floating Label Effect */
.multi-profession-input input:focus + label,
.multi-profession-input input:valid + label {
  top: -3px;
  font-size: 12px;
  color:#00469b; 
}

/* White Lower Half Background */
.multi-profession-input input:focus + label::after,
.multi-profession-input input:valid + label::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, white 40%, transparent 60%);
  border-radius: 4px;
  transition: all 0.25s ease;
}

/* Remove Focus Shadow */
.multi-profession-input input[type="search"]:focus {
  box-shadow: none;
  outline: none;
}





/* Remove old hobby-wrapper input style (replaced by .multi-hobby-input) */
/* .hobby-wrapper input,
.hobby-wrapper select {
  all: unset;
} */


  /* .tagddd {
    background: #007bff;
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
  }

  .tagddd span {
    cursor: pointer;
    font-weight: bold;
  }

  .dropdown002 {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
  }

  .dropdown002 div {
    padding: 10px;
    cursor: pointer;
  }

  .dropdown002 div:hover,
  .dropdown002 .active {
    background: #007bff;
    color: white;
  } */















  
  /* good now make update same css for this html */