@import url('https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400..900;1,400..900&family=Cedarville+Cursive&family=Concert+One&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rokkitt:ital,wght@0,100..900;1,100..900&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "poppins";
}


body {
    
    padding: 0px;
    background: black;
   
  }


.generalized-fertilizer-calculator-page {
   display: flex;
   flex-direction: column; 
   align-items: center;    
   justify-content: center;
   width: 100%;
   height: auto;
   margin: 0;
      
}

.generalized-fertilizer-calculator {
   padding: 1rem;
   color: white;
   border-radius: 0.625rem;
   width: 35rem;
   min-width: 80px; /* Prevents shrinking */
   height: auto; /* Adjusts based on content */
   text-align: center;
   margin-top: 2rem;
   background: #151515; 

}

.generalized-fertilizer-calculator h1 {
   margin-bottom: 4%;
   margin-top: 2%;
   font-size: 18px;
   color: rgba(235, 231, 231, 0.867);
    font-family: "Segoe UI";
   font-weight:700;
   word-spacing: 0.1rem;
   /* line-height: 2.3rem; */
}

.generalized-fertilizer-calculator p {
   font-size: 14px;
   font-weight:500 ;
   color: rgb(229, 227, 227);
    font-family: "Segoe UI";
    margin-bottom: 2%;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */

}
.highlights {
    font-family: "Segoe UI";
   font-weight:600;
   font-size: 16px;
   margin-left: 0.5%;
   margin-right: 0.5%;
   
   color: #a86bf7 ; /* Choose a bright color */
}


.user-crop-details {
   color: white;
   border-radius: 0.625rem;
   width: 35rem;
   min-width: 80px;
   height: auto;
   text-align: center;
   margin-top: 2rem;
   background: #151515;  /* Light black background */
   overflow: hidden;     /* Ensures header stays inside card */
   padding-bottom: 2rem; /* Some spacing at bottom */
}

/* Heading strip */
.crop-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 1rem;
    background: linear-gradient(to right, #7937ce, #4a05a3d3); /* Blue gradient */
}

/* Heading text */
.crop-section-heading h3 {
    font-size: 16px;
    font-weight: 700;
    margin-left: 0.5rem;
    color: #fff;
    font-family: "Segoe UI";
}

/* Heading icon */
.crop-section-heading img {
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 0.3rem;
}

/* Label for fields */
.crop-name-selection label,
.variety-name-selection label {
   display: block;
   text-align: left;
   font-weight: 500;
   font-size: 14px;
   color: rgba(255, 255, 255, 0.84);
   font-family: "Segoe UI";
   margin-left: 2rem;
   margin-top: 1.5rem;
   margin-bottom: 0.8rem;
;
}

/* Dropdown fields */
.input-field {
   width: 90%;
   margin: 0.5rem auto;
   padding: 0.6rem;
   border: 0.1px solid #44444431;
   border-radius: 0.313rem;
   font-size: 14px;
   font-family: "Segoe UI";
   font-weight: 400;
   color: rgba(208, 203, 203, 0.751);
   display: block;
   background: rgba(30, 30, 30, 0.768);


    /* 👇 ye naye add karo */
   appearance: none;       /* Chrome/Edge ke liye */
   -webkit-appearance: none; /* Safari */
   -moz-appearance: none;  /* Firefox */

   padding-right: 2rem; /* arrow ke liye space */

   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}


/* Placeholder / default option */
.input-field option[value=""] {
  color: rgba(188, 184, 184, 0.96);
  font-size: 14px;
   font-family: "Segoe UI";
   font-weight: 400;
}

/* On focus */
.input-field:focus {
  border-color: #7736CC;
  box-shadow: 0 0 1rem #7736CC;
  outline: none;
  background: rgba(33, 33, 33, 0.967);
  font-size: 14px;
   font-family: "Segoe UI";
   font-weight: 400;
}

/* Disabled state */
.input-field:disabled {
  background-color: rgba(245, 241, 241, 0.5);
  border-color: #aaa;
  color: #ccc;
  cursor: not-allowed;
  font-size: 14px;
   font-family: "Segoe UI";
   font-weight: 400;
}


/* Custom scrollbar for dropdown */
.input-field::-webkit-scrollbar {
  width: 8px;               /* scrollbar width */
}

.input-field::-webkit-scrollbar-track {
  background: #1e1e1e;      /* track background */
  border-radius: 10px;
}



/* Firefox scrollbar */
.input-field {
  scrollbar-width: thin;                          /* thin scrollbar */
  scrollbar-color: #6a11cb #1e1e1e;  /* thumb color | track color */
}

/* Dropdown options list background */
.input-field option {
   background-color: #1e1e1e;   /* dropdown list background */
   color: #e2e2e2d6;              /* text color */
   padding: 0.5rem;
   font-size: 14px;              /* option ka text size */
  font-family: "Segoe UI", sans-serif;
  
}





.submit-btn {
  width: 100%;
  padding: 0.5rem 3rem 0.65rem 3rem;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #873ee5, #31046b);
  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: 2rem 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%; }
}



@media (min-width: 320px) and (max-width: 399px) {

   
.generalized-fertilizer-calculator-page {
   display: flex;
   flex-direction: column; 
   align-items: center;    
   justify-content: center;
   width: 100%;
   height: auto;
   margin: 0;
      
}

.generalized-fertilizer-calculator {
   padding: 1rem;
   color: white;
   border-radius: 0.625rem;
   width: 20rem;
   min-width: 80px; /* Prevents shrinking */
   height: auto; /* Adjusts based on content */
   text-align: center;
   margin-top: 2rem;
   background: #151515; 

}

.generalized-fertilizer-calculator h1 {
   margin-bottom: 5%;
   margin-top: 2%;
   font-size: 22px;
   color: rgba(235, 231, 231, 0.867);
    font-family: "Segoe UI";
   font-weight:700;
   word-spacing: 0.1rem;
   /* line-height: 2.3rem; */
}

.generalized-fertilizer-calculator p {
   font-size: 18px;
   font-weight:500 ;
   color: rgb(229, 227, 227);
    font-family: "Segoe UI";
    margin-bottom: 2%;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */

}
.highlights {
    font-family: "Segoe UI";
   font-weight:600;
   font-size: 16px;
   margin-left: 0.5%;
   margin-right: 0.5%;
   
   color: #a86bf7 ; /* Choose a bright color */
}


.user-crop-details {
   color: white;
   border-radius: 0.625rem;
   width: 20rem;
   min-width: 80px;
   height: auto;
   text-align: center;
   margin-top: 2rem;
   background: #151515;  /* Light black background */
   overflow: hidden;     /* Ensures header stays inside card */
   padding-bottom: 2rem; /* Some spacing at bottom */
}

/* Heading strip */
.crop-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 1rem;
    background: linear-gradient(to right, #7937ce, #4a05a3d3); /* Blue gradient */
}

/* Heading text */
.crop-section-heading h3 {
    font-size: 20px;
    font-weight: 700;
    margin-left: 0.5rem;
    color: #fff;
    font-family: "Segoe UI";
}

/* Heading icon */
.crop-section-heading img {
    height: 1.7rem;
    width: 1.7rem;
    margin-right: 0.3rem;
}

/* Label for fields */
.crop-name-selection label,
.variety-name-selection label {
   display: block;
   text-align: left;
   font-weight: 500;
   font-size: 17px;
   color: rgba(255, 255, 255, 0.84);
   font-family: "Segoe UI";
   margin-left: 2rem;
   margin-top: 1.5rem;
   margin-bottom: 0.8rem;
;
}

/* Dropdown fields */
.input-field {
   width: 90%;
   margin: 0.5rem auto;
   padding: 0.6rem;
   border: 0.1px solid #44444431;
   border-radius: 0.313rem;
   font-size: 17px;
   font-family: "Segoe UI";
   font-weight: 400;
   color: rgba(208, 203, 203, 0.751);
   display: block;
   background: rgba(30, 30, 30, 0.768);


    /* 👇 ye naye add karo */
   appearance: none;       /* Chrome/Edge ke liye */
   -webkit-appearance: none; /* Safari */
   -moz-appearance: none;  /* Firefox */

   padding-right: 2rem; /* arrow ke liye space */

   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}


/* Placeholder / default option */
.input-field option[value=""] {
  color: rgba(188, 184, 184, 0.96);
  font-size: 12px;
   font-family: "Segoe UI";
   font-weight: 400;
}

/* On focus */
.input-field:focus {
  border-color: #7736CC;
  box-shadow: 0 0 1rem #7736CC;
  outline: none;
  background: rgba(33, 33, 33, 0.967);
  font-size: 17px;
   font-family: "Segoe UI";
   font-weight: 400;
}

/* Disabled state */
.input-field:disabled {
  background-color: rgba(245, 241, 241, 0.5);
  border-color: #aaa;
  color: #ccc;
  cursor: not-allowed;
  font-size: 17px;
   font-family: "Segoe UI";
   font-weight: 400;
}


/* Custom scrollbar for dropdown */
.input-field::-webkit-scrollbar {
  width: 8px;               /* scrollbar width */
}

.input-field::-webkit-scrollbar-track {
  background: #1e1e1e;      /* track background */
  border-radius: 10px;
}



/* Firefox scrollbar */
.input-field {
  scrollbar-width: thin;                          /* thin scrollbar */
  scrollbar-color: #6a11cb #1e1e1e;  /* thumb color | track color */
}

/* Dropdown options list background */
.input-field option {
   background-color: #1e1e1e;   /* dropdown list background */
   color: #e2e2e2d6;              /* text color */
   padding: 0.5rem;
   font-size: 12px;              /* option ka text size */
  font-family: "Segoe UI", sans-serif;
  
}





.submit-btn {
  width: 100%;
  padding: 0.5rem 3rem 0.65rem 3rem;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #873ee5, #31046b);
  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: 2rem 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%; }
}

}


@media (min-width: 400px) and (max-width: 605px) {

   
.generalized-fertilizer-calculator-page {
   display: flex;
   flex-direction: column; 
   align-items: center;    
   justify-content: center;
   width: 100%;
   height: auto;
   margin: 0;
      
}

.generalized-fertilizer-calculator {
   padding: 1rem;
   color: white;
   border-radius: 0.625rem;
   width: 24rem;
   min-width: 80px; /* Prevents shrinking */
   height: auto; /* Adjusts based on content */
   text-align: center;
   margin-top: 5rem;
   background: #151515; 

}

.generalized-fertilizer-calculator h1 {
   margin-bottom: 4%;
   margin-top: 2%;
   font-size: 22px;
   color: rgba(235, 231, 231, 0.867);
    font-family: "Segoe UI";
   font-weight:700;
   word-spacing: 0.1rem;
   /* line-height: 2.3rem; */
}

.generalized-fertilizer-calculator p {
   font-size: 18px;
   font-weight:500 ;
   color: rgb(229, 227, 227);
    font-family: "Segoe UI";
    margin-bottom: 2%;
    line-height: 2rem;
    /* word-spacing: 0.1rem; */

}
.highlights {
    font-family: "Segoe UI";
   font-weight:600;
   font-size: 16px;
   margin-left: 0.5%;
   margin-right: 0.5%;
   
   color: #a86bf7 ; /* Choose a bright color */
}


.user-crop-details {
   color: white;
   border-radius: 0.625rem;
   width: 24rem;
   min-width: 80px;
   height: auto;
   text-align: center;
   margin-top: 2rem;
   background: #151515;  /* Light black background */
   overflow: hidden;     /* Ensures header stays inside card */
   padding-bottom: 2rem; /* Some spacing at bottom */
}

/* Heading strip */
.crop-section-heading {
    display: flex;
    justify-content: center;
    align-items: center;  
    padding: 1rem;
    background: linear-gradient(to right, #7937ce, #4a05a3d3); /* Blue gradient */
}

/* Heading text */
.crop-section-heading h3 {
    font-size: 20px;
    font-weight: 700;
    margin-left: 0.5rem;
    color: #fff;
    font-family: "Segoe UI";
}

/* Heading icon */
.crop-section-heading img {
    height: 1.7rem;
    width: 1.7rem;
    margin-right: 0.3rem;
}

/* Label for fields */
.crop-name-selection label,
.variety-name-selection label {
   display: block;
   text-align: left;
   font-weight: 500;
   font-size: 17px;
   color: rgba(255, 255, 255, 0.84);
   font-family: "Segoe UI";
   margin-left: 2rem;
   margin-top: 1.5rem;
   margin-bottom: 0.8rem;
;
}

/* Dropdown fields */
.input-field {
   width: 90%;
   margin: 0.5rem auto;
   padding: 0.6rem;
   border: 0.1px solid #44444431;
   border-radius: 0.313rem;
   font-size: 17px;
   font-family: "Segoe UI";
   font-weight: 400;
   color: rgba(208, 203, 203, 0.751);
   display: block;
   background: rgba(30, 30, 30, 0.768);


    /* 👇 ye naye add karo */
   appearance: none;       /* Chrome/Edge ke liye */
   -webkit-appearance: none; /* Safari */
   -moz-appearance: none;  /* Firefox */

   padding-right: 2rem; /* arrow ke liye space */

   background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
   background-repeat: no-repeat;
   background-position: right 0.75rem center;
   background-size: 1rem;
}


/* Placeholder / default option */
.input-field option[value=""] {
  color: rgba(188, 184, 184, 0.96);
  font-size: 12px;
   font-family: "Segoe UI";
   font-weight: 400;
}

/* On focus */
.input-field:focus {
  border-color: #7736CC;
  box-shadow: 0 0 1rem #7736CC;
  outline: none;
  background: rgba(33, 33, 33, 0.967);
  font-size: 17px;
   font-family: "Segoe UI";
   font-weight: 400;
}

/* Disabled state */
.input-field:disabled {
  background-color: rgba(245, 241, 241, 0.5);
  border-color: #aaa;
  color: #ccc;
  cursor: not-allowed;
  font-size: 17px;
   font-family: "Segoe UI";
   font-weight: 400;
}


/* Custom scrollbar for dropdown */
.input-field::-webkit-scrollbar {
  width: 8px;               /* scrollbar width */
}

.input-field::-webkit-scrollbar-track {
  background: #1e1e1e;      /* track background */
  border-radius: 10px;
}



/* Firefox scrollbar */
.input-field {
  scrollbar-width: thin;                          /* thin scrollbar */
  scrollbar-color: #6a11cb #1e1e1e;  /* thumb color | track color */
}

/* Dropdown options list background */
.input-field option {
   background-color: #1e1e1e;   /* dropdown list background */
   color: #e2e2e2d6;              /* text color */
   padding: 0.5rem;
   font-size: 12px;              /* option ka text size */
  font-family: "Segoe UI", sans-serif;
  
}





.submit-btn {
  width: 100%;
  padding: 0.5rem 3rem 0.65rem 3rem;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg,  #873ee5, #31046b);
  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: 2rem 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%; }
}

}