* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;  
  
}
.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: black;
  gap: 10px; /* space between the two cards */
  /* background:linear-gradient(to right,#ef4e9cd8, #d65f6b, #c64fa0c1 ); */
}
.soil-health-report-header-mobile {
  display: none;
}
.soil-health-report-header {
  display: flex; /* or block/grid as per your layout */
}

.container-for-input {
  /* background-color: #f7f7f7; */
  padding: 30px;
  border-radius: 16px;
    
  
  width: 40rem;
  /* max-width: 44rem; */
  height: auto;
  
}

.heading-section{
     background-color: #4444444e;  
     padding: 1rem;  
     border-radius: 0.5rem;
     /* border: solid 1px white; */
     box-shadow: 5px 5px 12px 0px rgba(0, 0, 0, 0.5);
}

/* .glow-wrapper {
  position: relative;
  border-radius: 0.5rem;
  padding: 3px; 
  background: transparent;
}

.glow-wrapper::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 0.5rem;
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet, red);
  filter: blur(10px);
  z-index: 0;
  animation: pulseGlow 4.5s ease-in-out infinite;
  opacity: 0;
}
@keyframes pulseGlow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.heading-section {
  position: relative;
  z-index: 1;
  background-color: #222222; 
  padding: 1.5rem;
  border-radius: 0.5rem;
  color: white;
  text-align: center;
  border: 1px solid #222222eb;
} */
 /* .glow-wrapper {
  position: relative;
  padding: 4px;
  border-radius: 0.5rem;
  background: #000;
  overflow: hidden;
}

.glow-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  padding: 4px;
  background: conic-gradient(
    red,
    orange,
    yellow,
    green,
    blue,
    violet,
    red
  );
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
   
  animation: rotateGlow 8s linear infinite;
  z-index: 1;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.heading-section {
  position: relative;
  z-index: 2;
  background-color: #222;
  padding: 2rem;
  border-radius: 0.5rem;
  color: white;
  text-align: center;
} */




.heading-section h2{
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    
}

.heading-section p{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-top: 2rem;
    line-height: 1.5rem;
    color: white;
}

.highlight {
  font-family: 'Segoe UI';
  font-weight: 600;
  font-size: 16px;
  color: #2472c6;
  /* background: #fce7f3b9;  */
  padding: 1px;
}


#user-personal-details{
    background-color: #2f2d2d43; 
    border-radius: 0.5rem;
    box-shadow: 5px 5px 12px 0px rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
    overflow: hidden;
    border: solid 1px black;
    

}

.img-and-heading{
    display: flex;
    /* text-align: center; */
    justify-content: center;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    align-items: center;
    
    background: linear-gradient(to right, #003c7deb, #000328);
}

.user-details{
  margin-left: 5rem;
  display: grid;
  grid-template-columns: repeat(2, 45%);
}

#user-personal-details h3{
    
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-left: 0.5rem;
    color: rgb(254, 253, 253);
}

#user-personal-details img{
    height: 1.5rem;
    width: 1.5rem;
    margin-top: 2px;
    margin-right: 0.3rem;
}


.input-group-personal {
  /* width: 30%;  */
  margin-bottom: 1.5rem; 
  /* color: rgba(193, 191, 191, 0.239); */
  
  /* gap: 10px; */
}

.input-group-personal label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #b1b0b0d2;
  text-align: left;
  padding-left: 2%;
  margin-bottom: 0.7rem;
  font-family: 'Segoe UI';
}

.input-group-personal .input-field {
  height: auto;
  width: 80%;
  padding: 5%;
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 13px;
  font-weight: 400;
  color: rgb(123, 121, 121);
  opacity: 1;
  font-family: 'Segoe UI';
  background: #58575736;
  
  
}

.input-group-personal .input-field::placeholder {
  color: rgba(255, 255, 255, 0.3); 
  font-weight: lighter;
  font-size: 13px;
  font-family: 'Segoe UI';
  background: #2a27271a;
  
}

.input-group-personal .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
  background: #58575736;
}

.input-group-personal .input-field:disabled {
  background-color: #47454556;
  border-color: #dedada;
  color: #fefefe;
}

.input-field.error {
  border-color: red;
  box-shadow: 0 0 0.513rem rgba(255, 0, 0, 0.5);
}


#user-soil-details{
  background-color: #0C0C0C;  
    /* padding: 1.5rem;   */
    border-radius: 0.5rem;
    box-shadow: 5px 5px 12px 0px rgba(0, 0, 0, 0.5);
    margin-top: 2rem;
    overflow: hidden;
}
.img-soil-and-heading{
    display: flex;
    /* text-align: center; */
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: linear-gradient(to right, #003c7deb, #000328);
}

.img-soil-and-heading h3{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: rgb(254, 253, 253);

}

/* .img-soil-and-heading span{
  width: 2rem;
  height: 2rem;
} */

#user-soil-details img{
    height: 2rem;
    width: 2rem;
    margin-top: 2px;
    margin-right: 1.2rem;
}



#soil-properties{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  padding: 2px 40px 2px 15px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1.5rem;
  border-radius: 1rem;
  color:#083e80;
  
  /* color: rgb(254, 253, 253); */
  /* background: white; */
}

.soilPropertiesHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
  margin-left: 0.65rem
}

.soilPropertiesHeading h4{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 15px;

}

.soil-properties-nutrients{
  display: grid;
  grid-template-columns: 34% 34% 40%;
  /* grid-template-columns: repeat(3, 35%); */
  justify-content: space-between;
  
}
#macroNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color: #083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1.7rem;
  

}

.macroNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;

}

.macroNutrientsHeading h4{
  font-size: 15px;
  font-weight: 500;
}

.macronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(3, 30%);
  justify-content: space-between;
}

#microNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color: #083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1.7rem;
  
}

.microNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.microNutrientsHeading h4{
  font-size: 15px;
  font-weight: 500;
}

.micronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(3, 30%);
  justify-content: space-between;
}

.input-group {
  /* width: 30%; Each column takes 45% width for spacing */
  margin-bottom: 1.5rem; /* Adds spacing between rows */

}

/* Ensure labels and inputs inside .input-group are properly aligned */
.input-group label {
  display: block;
  font-weight: 500;
  font-style: normal;
  font-size: 12px;
  color: #908e8ed5;
  text-align: left;
  padding-left: 0.3rem;
  font-family: 'Segoe UI';
  margin-bottom: 5%;
  /* margin-bottom: 0.5rem; Spacing between label and input */
}



.input-group .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  /* padding: 1.5%; */
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 13px;
  font-weight: 400;
  margin-right: 20rem;
  width: 78%;
  padding: 0.7rem;  
  background: #1C1B1B;
  color: rgb(123, 121, 121);
  opacity: 1;
  font-family: 'Segoe UI';
  
  
}

.input-group .input-field::placeholder {
  color: rgba(181, 178, 178, 0.582); /* Greyish color for placeholder */
  font-weight: lighter;
  font-size: 13px;
  font-family: 'Segoe UI';
  background: #1C1B1B;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

#macroNutrients .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
}

#microNutrients .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
}

.input-group .input-field:disabled {
  background-color: #f0f0f0;
  border-color: #dedada;
  color: #fefefe;
}



.submits-btn {
  width: 50%;
  padding: 1.5%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #003c7deb, #000328);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  display: block;
  margin: 3% auto 0 auto;
  /* box-shadow: 0 0 10px rgba(104, 82, 228, 0.5); */
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover effect */
/* .submits-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 74, 137, 0.75), 0 0 25px #223471;
} */

/* Optional glowing border pulse effect */
.submits-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg, #223471, #462354, #003c7deb, #000328);
  background-size: 300%;
  z-index: -1;
  filter: blur(6px);
  animation: glow 6s linear infinite;
}

@keyframes glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.required-star{
  color: rgba(243, 78, 78, 0.688);
  font-weight: 500;
  font-size: 1rem;
  margin-left: 0.1rem;
}

@media (min-width: 600px) and (max-width: 700px) {
  .container-for-input {
    width: 35rem;
  }

    .heading-section h2{
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    
}

.heading-section p{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-top: 2rem;
    line-height: 1.5rem;
    color: white;
}

.highlight {
  font-family: 'Segoe UI';
  font-weight: 700;
  font-size: 15px;
  color: #2472c6;
  padding: 1px;
}


#user-personal-details h3{
    
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-left: 0.5rem;
    color: rgb(254, 253, 253);
}

#user-personal-details img{
    height: 2rem;
    width: 2rem;
    margin-top: 2px;
    margin-right: 0.3rem;
}



 .user-details{
  margin-left: 3rem;
  display: grid;
  grid-template-columns: repeat(2, 45%);
}

.input-group-personal label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 11px;
  color: #b1b0b0d2;
  text-align: left;
  padding-left: 2%;
  margin-bottom: 0.4rem;
  /* margin-left: 15%; */
  /* width: 50%; */
  /* border: solid 1px black; */
  font-family: 'Segoe UI';
  /* margin-bottom: 0.5rem; Spacing between label and input */
}

.input-group-personal .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  width: 80%;
  padding: 4%;
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 11px;
  font-weight: 300;
  /* margin-right: 20rem; */
  /* margin-left: -3rem;   */
  color: rgb(0, 0, 0);
  opacity: 1;
  font-family: 'Segoe UI';
  
  
}

.input-group-personal .input-field::placeholder {
  color: rgba(255, 255, 255, 0.3); /* Greyish color for placeholder */
  font-weight: lighter;
  font-size: 11px;
  font-family: 'Segoe UI';
  background: #2a27271a;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group-personal .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

.input-group-personal .input-field:disabled {
  background-color: #47454556;
  border-color: #dedada;
  color: #fefefe;
}

.input-field.error {
  border-color: red;
  box-shadow: 0 0 0.513rem rgba(255, 0, 0, 0.5);
}

  #soil-properties{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 1rem;
  color:#083e80;
}

.soilPropertiesHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.soilPropertiesHeading h4{
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-bottom: 15px;

}

.soil-properties-nutrients{
  display: grid;
  grid-template-columns: repeat(2, 53%);
  justify-content: space-around;
  margin-left: 0.5rem;
}

#macroNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color: #083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  

}

.macroNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;

}

.macroNutrientsHeading h4{
  font-size: 15px;
  font-weight: 500;
}

.macronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(2, 50%);
  justify-content: space-around;
  margin-left: 0.6rem;
}

#microNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color:#083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  
}

.microNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.microNutrientsHeading h4{
  font-size: 15px;
  font-weight: 500;
}

.micronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(2, 50%);
  justify-content: space-around;
  margin-left: 0.6rem;
}

.input-group {
  /* width: 30%; Each column takes 45% width for spacing */
  margin-bottom: 0.8rem; /* Adds spacing between rows */

}

/* Ensure labels and inputs inside .input-group are properly aligned */
.input-group label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 11px;
  color: #908e8ed5;
  text-align: left;
  padding-left: 0.3rem;
  font-family: 'Segoe UI';
  margin-bottom: 5%;
  /* margin-bottom: 0.5rem; Spacing between label and input */
}



.input-group .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  /* padding: 1.5%; */
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 11px;
  font-weight: 300;
  margin-right: 20rem;
  width: 78%;
  padding: 0.5rem;
  background: #1C1B1B;
  color: rgb(128, 123, 123);
  opacity: 1;
  font-family: 'Segoe UI';
  
  
}

.input-group .input-field::placeholder {
  color: rgba(181, 178, 178, 0.582); /* Greyish color for placeholder */
  font-weight: lighter;
  font-size: 11px;
  font-family: 'Segoe UI';
  background:#1C1B1B;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

.input-group .input-field:disabled {
  background-color: #454343;
  border-color: #dedada;
  color: #fefefe;
}

.submits-btn {
  width: 50%;
  padding: 1.5%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #d747a9, #ff4a89);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 12px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  display: block;
  margin: 3% auto 0 auto;
  box-shadow: 0 0 10px rgba(255, 74, 137, 0.5);
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover effect */
.submits-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 74, 137, 0.75), 0 0 25px #8E1F6B;
}

/* Optional glowing border pulse effect */
.submits-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg, #4b1039, #761A58, #e60050,  #bd298d, #FF4A89);
  background-size: 300%;
  z-index: -1;
  filter: blur(6px);
  animation: glow 6s linear infinite;
}

@keyframes glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

}

@media (min-width: 375px) and (max-width: 599px) {
  .container-for-input {
    width: 25rem;
  }


  .heading-section h2{
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    
}

.heading-section p{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-top: 1.5rem;
    line-height: 1.5rem;
     color: white;
}

.highlight {
  font-family: 'Segoe UI';
  font-weight: 500;
  font-size: 14px;
  color:#2472c6;
  padding: 1px;
}

#user-personal-details h3{
    
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-left: 0.5rem;
    color: rgb(254, 253, 253);
}

#user-personal-details img{
    height: 2rem;
    width: 2rem;
    margin-top: 2px;
    margin-right: 0.3rem;
}


  .user-details{
  margin-left: 1.5rem;
  display: grid;
  grid-template-columns: repeat(1, 90%);
}

.input-group-personal label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #dbd7d7de;
  text-align: left;
  padding-left: 2%;
  margin-bottom: 0.4rem;
  /* margin-left: 15%; */
  /* width: 50%; */
  /* border: solid 1px black; */
  font-family: 'Segoe UI';
  /* margin-bottom: 0.5rem; Spacing between label and input */
}

.input-group-personal .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  width: 100%;
  padding: 4%;
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 13px;
  font-weight: 300;
  color: #dbd7d7de;;
  opacity: 1;
  font-family: 'Segoe UI';
  background: #58575736;
  
  
}

.input-group-personal .input-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-weight: lighter;
  font-size: 13px;
  font-family: 'Segoe UI';
  background: #2a27271a;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group-personal .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

.input-group-personal .input-field:disabled {
  background-color: #47454556;
  border-color: #dedada;
  color: #fefefe;
}

.input-field.error {
  border-color: red;
  box-shadow: 0 0 0.513rem rgba(255, 0, 0, 0.5);
}


  #soil-properties{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 1rem;
  color:#083e80 ;
  /* background: white; */
}

.soilPropertiesHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.soilPropertiesHeading h4{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-bottom: 15px;

}

.soil-properties-nutrients{
  display: grid;
  grid-template-columns: repeat(1, 100%);
  justify-content: start;
  margin-left: 0.5rem;
  /* justify-content: center; */
}
#macroNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color: #083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  

}

.macroNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;

}

.macroNutrientsHeading h4{
  font-size: 16px;
  font-weight: 500;
}

.macronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(1, 100%);
  justify-content: start;
  margin-left: 0.5rem;
}

#microNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color:#083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  
}

.microNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.microNutrientsHeading h4{
  font-size: 16px;
  font-weight: 500;
}

.micronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(2, 50%);
  justify-content: space-evenly;
  margin-left: 0.5rem;
  gap: 1rem;
}

.input-group {
  /* width: 30%; Each column takes 45% width for spacing */
  margin-bottom: 0.8rem; /* Adds spacing between rows */

}

/* Ensure labels and inputs inside .input-group are properly aligned */
.input-group label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  color: #dbd7d7de;;
  text-align: left;
  padding-left: 0.3rem;
  font-family: 'Segoe UI';
  margin-bottom: 5%;
  /* margin-bottom: 0.5rem; Spacing between label and input */
}



.input-group .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  /* padding: 1.5%; */
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 13px;
  font-weight: 300;
  margin-right: 20rem;
  width: 78%;
  padding: 0.5rem;
  background: #1C1B1B;
  color: #dbd7d7de;
  opacity: 1;
  font-family: 'Segoe UI';
  
  
}

.input-group .input-field::placeholder {
  color: rgba(181, 178, 178, 0.582);
  font-weight: lighter;
  font-size: 13px;
  font-family: 'Segoe UI';
  background: #1C1B1B;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

#macroNutrients .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
}

#microNutrients .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca; 
}

.input-group .input-field:disabled {
  background-color: #f0f0f0;
  border-color: #dedada;
  color: #dbd7d7de;;
}

.submits-btn {
  width: 60%;
  padding: 3%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #003c7deb, #010750);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  display: block;
  margin: 3% auto 0 auto;
  /* box-shadow: 0 0 10px rgba(255, 74, 137, 0.5); */
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover effect
.submits-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 74, 137, 0.75), 0 0 25px #8E1F6B;
} */

/* Optional glowing border pulse effect */
.submits-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg,  #223471, #462354, #003c7deb, #000328);
  background-size: 300%;
  z-index: -1;
  filter: blur(6px);
  animation: glow 6s linear infinite;
}

@keyframes glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
}



@media (min-width: 320px) and (max-width: 374px) {
  .container-for-input {
    width: 25rem;
  }


  .heading-section h2{
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: white;
    
}

.heading-section p{
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    margin-top: 1.5rem;
    line-height: 1.5rem;
     color: white;
}

.highlight {
  font-family: 'Segoe UI';
  font-weight: 500;
  font-size: 14px;
  color:#2472c6;
  padding: 1px;
}

#user-personal-details h3{
    
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-left: 0.5rem;
    color: rgb(254, 253, 253);
}

#user-personal-details img{
    height: 2rem;
    width: 2rem;
    margin-top: 2px;
    margin-right: 0.3rem;
}


  .user-details{
  margin-left: 1.5rem;
  display: grid;
  grid-template-columns: repeat(1, 90%);
}

.input-group-personal label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #dbd7d7de;;
  text-align: left;
  padding-left: 2%;
  margin-bottom: 0.4rem;
  /* margin-left: 15%; */
  /* width: 50%; */
  /* border: solid 1px black; */
  font-family: 'Segoe UI';
  /* margin-bottom: 0.5rem; Spacing between label and input */
}

.input-group-personal .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  width: 100%;
  padding: 4%;
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 13px;
  font-weight: 300;
  color: #dbd7d7de;
  opacity: 1;
  font-family: 'Segoe UI';
  background: #58575736;
  
  
}

.input-group-personal .input-field::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-weight: lighter;
  font-size: 13px;
  font-family: 'Segoe UI';
  background: #2a27271a;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group-personal .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

.input-group-personal .input-field:disabled {
  background-color: #47454556;
  border-color: #dedada;
  color: #fefefe;
}

.input-field.error {
  border-color: red;
  box-shadow: 0 0 0.513rem rgba(255, 0, 0, 0.5);
}


  #soil-properties{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  border-radius: 1rem;
  color:#083e80 ;
  /* background: white; */
}

.soilPropertiesHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.soilPropertiesHeading h4{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  padding-bottom: 15px;

}

.soil-properties-nutrients{
  display: grid;
  grid-template-columns: repeat(1, 100%);
  justify-content: start;
  margin-left: 0.5rem;
  /* justify-content: center; */
}
#macroNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color: #083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  

}

.macroNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;

}

.macroNutrientsHeading h4{
  font-size: 16px;
  font-weight: 500;
}

.macronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(1, 100%);
  justify-content: start;
  margin-left: 0.5rem;
}

#microNutrients{
  border: solid 1px #0C0C0C;
  background: #0C0C0C;
  color:#083e80;
  border-radius: 1rem;
  padding: 2px 30px 2px 25px;
  margin-bottom: 2rem;
  margin-left: 1rem;
  margin-right: 1rem;
  
}

.microNutrientsHeading{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1rem;
  align-items: center;
}

.microNutrientsHeading h4{
  font-size: 16px;
  font-weight: 500;
}

.micronutrients-nutrients{
  display: grid;
  grid-template-columns: repeat(2, 50%);
  justify-content: space-evenly;
  margin-left: 0.5rem;
  gap: 1rem;
}

.input-group {
  /* width: 30%; Each column takes 45% width for spacing */
  margin-bottom: 0.8rem; /* Adds spacing between rows */

}

/* Ensure labels and inputs inside .input-group are properly aligned */
.input-group label {
  display: block;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  color: #dbd7d7de;;
  text-align: left;
  padding-left: 0.3rem;
  font-family: 'Segoe UI';
  margin-bottom: 5%;
  /* margin-bottom: 0.5rem; Spacing between label and input */
}



.input-group .input-field {
  /* width: 80%; Input takes full width of its container */
  height: auto;
  /* padding: 1.5%; */
  border: 0.013rem solid #5f5c5c45;
  border-radius: 0.400rem;
  font-size: 13px;
  font-weight: 300;
  margin-right: 20rem;
  width: 78%;
  padding: 0.5rem;
  background: #1C1B1B;
  color: #dbd7d7de;;
  opacity: 1;
  font-family: 'Segoe UI';
  
  
}

.input-group .input-field::placeholder {
  color: rgba(181, 178, 178, 0.582);
  font-weight: lighter;
  font-size: 13px;
  font-family: 'Segoe UI';
  background: #1C1B1B;
  /* opacity: 0.2; Some browsers reduce opacity, this ensures visibility */
}

.input-group .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
  /* box-shadow: 0 0 0.513rem rgba(4, 4, 248, 0.973); */
  outline: none;
}

#macroNutrients .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca;
}

#microNutrients .input-field:focus {
  border-color: #032d5a;
  box-shadow: 0 0 0.513rem #0b67ca; 
}

.input-group .input-field:disabled {
  background-color: #f0f0f0;
  border-color: #dedada;
  color: #fefefe;
}

.submits-btn {
  width: 60%;
  padding: 3%;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #003c7deb, #010750);
  background-size: 600% 600%;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 13px;
  cursor: pointer;
  font-weight: 500;
  text-align: center;
  display: block;
  margin: 3% auto 0 auto;
  /* box-shadow: 0 0 10px rgba(255, 74, 137, 0.5); */
  transition: all 0.3s ease-in-out;
  animation: gradientAnimation 6s ease infinite;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

/* Gradient animation */
@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hover effect
.submits-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 74, 137, 0.75), 0 0 25px #8E1F6B;
} */

/* Optional glowing border pulse effect */
.submits-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(45deg,  #223471, #462354, #003c7deb, #000328);
  background-size: 300%;
  z-index: -1;
  filter: blur(6px);
  animation: glow 6s linear infinite;
}

@keyframes glow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
}

