body, input, button, p, h1, h2, h3, h4, h5, h6, label, a {
  font-family: 'Poppins', sans-serif !important;
}


body {
  margin: 0;
  padding: 0;
  background-color: #00c4e9; /* 💠 Solid bright blue */
  font-family: 'Poppins', sans-serif;
}

main {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  background-color: #00c4e9; /* 💠 Same solid blue */
  display: flex;
  justify-content: center;
  align-items: center;
}

*:not(.navbar):not(.navbar *) {
    box-sizing: border-box;
}



.container {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container {
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  background: transparent; /* Or keep if you want a box */
  text-align: center; /* ✅ Add this */
}


.form-container h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
  font-family: 'Poppins', sans-serif;
}

.form-container p {
  margin-bottom: 1.5rem;
  color: white;
}

.form-container input {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #979492;
  border-radius: 999px;
  font-size: 1rem;
  background-color: #ffffff !important;
  color: gray;
}

.form-container input::placeholder {
  color: gray;
}

.form-container input:focus {
  outline: none;
  border-color: #000000;
}

.form-container button {
  background-color: #979492; /* Grey */
  color: white;
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-container button:hover {
  background-color: #ffffff; /* white background */
  color: #0cc4e9;            /* your brand blue text */
}


.error {
  color: red;
  font-weight: bold;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0 1rem;
  flex-wrap: wrap;
}

.left-remember label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: white;
  font-size: 0.9rem;
}

.right-forgot a {
  color: #979492;
  text-decoration: none;
  font-size: 0.9rem;
}

.right-forgot a:hover {
  text-decoration: underline;
}

label {
  display: inline-flex; /* keep inline-flex as it is more specific */
  align-items: center;
  gap: 0.5rem; /* choose the larger gap */
  color: white;
  font-size: 0.9rem; /* add this from second block */
}

.form-container p:last-of-type {
  margin-top: 1.5rem;
  text-align: center;
  color: white;
}

.form-container p:last-of-type a {
  color: #979492;
  text-decoration: none;
  margin-left: 0.3rem;
}

.form-container p:last-of-type a:hover {
  text-decoration: underline;
}

/* Input, Select, Button Font Consistency */
input, select, button {
  font-family: 'Poppins', sans-serif !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  color: #333 !important;
}

/* Placeholder Styling */
::placeholder {
  font-family: 'Poppins', sans-serif !important;
  font-weight: bold !important;
  color: #aaa !important;
}

/* Autofill Password Field Styling */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px white inset !important;
  -webkit-text-fill-color: #333 !important;
}

/* Button Text Color */
.form-container button {
    color: #ffffff !important;
}

/* Button Hover Styling */
.form-container button:hover {
  background-color: #7a7673;  /* subtle darker grey for hover */
  color: #ffffff;
  transform: translateY(-2px); /* slight lift */
}


/* ✅ Clean, well-aligned checkbox fix for mobile */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background-color: white;
  cursor: pointer;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0;
}

input[type="checkbox"]:checked {
  background-color: #0cc4e9;
  border-color: #0cc4e9;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #000;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  flex-shrink: 0; /* Prevents stretching */
}


input[type="checkbox"]:checked::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #0cc4e9; /* Blue checkmark */
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}


label.remember-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: white;
  line-height: 1.2; /* Ensures text aligns better */
}

input[type="checkbox"] {
  vertical-align: middle;
}


/* Force black color on both links */
.forgot-link,
.form-container p:last-of-type a {
  color: #000 !important;
  font-weight: bold !important;
  font-size: 0.9rem !important; 
  text-decoration: none;
}

.forgot-link:hover,
.form-container p:last-of-type a:hover {
  text-decoration: underline;
}

.language-switcher-container {
  margin-bottom: 1600px !important;   /* Raise it higher off the bottom */
  text-align: left;
  padding-left: 0px;
}


#languageLabel #languageText {
  color: white !important;
  margin-left: 10px !important;
  display: inline-block !important;
}



@media (max-width: 768px) {
  main {
    flex-direction: column;
    padding: 2rem 1rem;
    height: auto;
  }

  .container {
    flex-direction: column;
    width: 95%;
    margin: 2rem auto;
    background-size: cover;
  }

  .illustration {
    display: none;
  }

  .form-container {
    padding: 1.5rem;
    width: 100%;
  }

  .form-container h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .form-container p {
    text-align: center;
  }

  .form-container button {
    width: 100%;
    padding: 1rem;
  }

  .right-forgot {
    align-self: flex-end;
  }
}

  .form-container button {
    width: 100%;
    padding: 1rem;
  }


  .right-forgot {
    align-self: flex-end;
  }
}

  
  label input[type="checkbox"] {
    margin: 0;
  }
  
  label span {
    white-space: nowrap;
  }

.form-options {
  gap: 1rem;
  flex-wrap: nowrap;
}


.remember-checkbox input[type="checkbox"] {
  margin-right: 5px;
}

footer {
  display: none !important;
}

  #languageLabel #languageText {
  color: white !important;
  margin-left: 10px !important;
  display: inline-block !important;
}
.language-switcher-container {
  color: white !important;
  padding-left: 30px !important; /* or margin-left */
  cursor: pointer; /* move cursor pointer here if you want */
  display: inline-block; /* if needed */
  margin-top: 10px;
}

.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 20px;
  top: 39%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #979492;
  font-size: 1.1rem;
}

.toggle-password i {
  pointer-events: none;
}

p {
  text-align: center;
  font-size: 0.95rem;
  color: white;
}

p a {
  font-weight: bold;
  color: black;
  text-decoration: none;
  margin-left: 4px;
}


