@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap');

html {
  margin: 0;
  padding: 0;
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", serif;
}

/* ===== BODY ===== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #fefefe;
  width: 100%;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== HEADER ===== */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  width: 100%;
  background-color: #006144;
  color: #ffffff;
}
.index-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 32px;
  width: 100%;
  background-color: #006144;
  color: #ffffff;
}


/* ===== FOOTER ===== */
footer {
  display: flex;
  justify-content: space-between;
  background-color: #1f2933;
  color: white; 
  padding: 16px;
  width: 100%;
}

.logo {
  font-size: 20px;
  font-weight: 500;
  display:flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  display: flex;
  align-items: center;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: auto;
  height: auto;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
/* ===== MAIN CONTENT ===== */
.form-container {
  background: #ffffff;
  padding: 30px;
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.50);
}
/* REPORTS PAGE */
.report-container {
  background: #ffffff;
  padding: 30px;
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.report-container-big {
  background: #ffffff;
  padding: 30px;
  width: 100%;
  max-width: 750px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}

.report-container-wide-header{
  background: #006144;
  margin: 15px auto 0px;
  padding: 10px 10px;
  width: 99%;
  max-width: auto;
  border-radius: 10px 10px 0 0;
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  display: flex;
  justify-content:flex-start;
}

.report-container-wide-content{
  background: #ffffff;
  margin: 0px auto 15px;
  padding: 2px 10px;
  width: 99%;
  max-width: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  display: flex;
  justify-content:flex-start;
}

.batch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.batch-count {
  color: #006144;
  font-weight: 700;
}

@media (max-width: 576px) {
  .report-container {
  background: #ffffff;
  padding: 30px;
  width: 100%;
  max-width: 350px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;

  }
  
  .report-container-big {
    background: #ffffff;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    margin: auto auto 20px auto;
  }

}

@media (max-width: 1000px) {
  .report-container {
    background: #ffffff;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 20px;

  }
  
  .report-container-big {
    background: #ffffff;
    padding: 20px;
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    margin: auto auto 20px auto;
    
  }
}

/* REPORTS PAGE */

.form-container-employee {
  background: #ffffff;
  padding: 30px;
  width: 100%;  
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.50);
}

.form-container-reports {
  background: #ffffff;
  padding: 30px;
  width: 100%;  
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.50);
}

.container-login {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 15px;
}

.form-box {
  background: #ffffff;
  padding: 30px;
  width: auto;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.50);
  display: none;
}
.form-box.active { /* Show the active form and hide the others */
  display: block;
}

.form-box input{
  margin-bottom: 15px;
  padding: 12px;
  color: #333;
}
.form-box p{
  margin-top: 15px;
}
/* Password wrapper for eye icon */
.password-wrapper {
  position: relative;
  margin-bottom: 15px;
}

.password-wrapper input {
  width: 100%;
  padding-right: 45px;
  margin-bottom: 0;
}

.toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2em;
  user-select: none;
}


/* ===== FORM CARD ===== */

h1 {
  margin-bottom: 20px;
  display: block;
}

h2 {
  text-align: center; 
  font-weight: 500;
  margin-bottom: 20px;
}

h4 {
  margin-top: 20px;
}

/* ===== FORM ELEMENTS ===== */
label {
  display: block;
  margin-top: 10px;
}

input[type="text"],
input[type="file"],
input[type="date"],
input[type="tel"],
input[type="number"], 
input[type="email"],
input[type="password"],
input[type="role"],
select[type="text"]{
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  background: #eee;
  border-radius: 6px;
  border: none;
  outline: none;
}


button {

  padding: 16px;
  width: 100%;
  cursor: pointer;
  background-color: #006144;
  color: white;
}

.emp_btn {
  margin-top: 15px;
}


button:hover {
    background-color: hsl(162, 100%, 25%);
}

.nav-links a:hover{
  color:skyblue;
  cursor: pointer;
}


/* =========INDEX======== */

.image-container{
  background: #ffffff;
  padding: 30px;
  width: 80%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.20);
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.img-item{
  text-align: center;
  flex-direction: column;
}

.img-item a, .logo a{
    text-decoration: none;
    color: inherit;
}

.img-item img{
  max-height: 350px;
  width: auto;
  max-width: 100%;
  border-style: solid;
  transition: transform 0.5s ease;
  transform: scale(0.95); /* default: slightly scaled down */
}

/* When the container is hovered, make non-hovered items appear smaller */
.image-container:hover .img-item img{
  transform: scale(0.9);
}

.img-item img:hover{
  transform: scale(1);
  cursor: pointer;
  z-index: 2;
}

/* Ensure hovered image stays enlarged when container rule applies */
.image-container .img-item img:hover{
  transform: scale(1);
}

.img-item span {
  margin-top: 8px;
  font-size: 30px;
}

/* ===== EMPLOYEE ===== */

.employee-form {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two horizontal sections */
  gap: 24px;
}

.form-section { 
  padding: 20px;

} 

.required {
    color: red;
}

p {
    font-size: 14.5px;
    text-align: center;
    margin-bottom: 10px;
}

p a {
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 1000px) {
  .form-container {
    padding: 15px;
  }
  
  .img-item img {
    max-height: 200px;
    padding: 0 !important;
  }

  main {
    padding: 15px;
  }
  
  .burger-menu {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: hsl(162, 100%, 21%);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: 1;
  }
  
  .nav-links a {
    margin-left: 0;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .nav-links.active {
    max-height: 300px;
  }

  .emp_btn{
    margin: 5px;
  }

  
}

@media (max-width: 576px) {
  .form-container {
    padding: 10px;
  }
  
  .img-item img {
    max-height: 150px;
  }
}









