* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f3f4f6;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

.loginBody {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 10px; /* space from top and bottom */
  background-image: url("../images/loginBackground.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: -10px;
}
.g-recaptcha {
  transform: scale(0.85);
  transform-origin: 0 0;
}
.header {
  height: 70px;
  width: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.loginlogo {
  height: 100px;
  margin-right: 20px;
}

.headerHeading {
  color: #1d3c72;
  font-size: 26px;
}

/* ---------------- LOGIN CONTAINER ---------------- */
/* .loginContainer {
  display: flex;
  width: 70%;
  height: auto;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  margin: 20px auto; /* ✅ center horizontally */
/* } */

/* .loginContainer {
  width: 100%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
} */
.loginContainer {
  width: 100%;
  max-width: 400px;
  background-color: rgba(255, 255, 255, 0.9); /* semi-transparent white */
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.userManagementContainer {
  width: 90%;
  height: auto;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);

  margin: 20px auto; /* ✅ center horizontally */
  padding: 20px 30px 20px 30px !important;
}
.tableDiv {
  overflow: auto;
}
#userTable_length,
.dataTables_filter {
  margin-bottom: 10px;
}

.background {
  display: flex;
  width: 90%;
  height: auto;
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.left {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
  padding: 20px;
  overflow: hidden;
}

/* Decorative Circles */
.circle {
  position: absolute;
  border-radius: 50%;
}

.circle1 {
  width: 450px;
  height: 450px;
  background-color: #2161cf;
  left: -136px;
  top: -42px;
}

.circle2 {
  width: 100px;
  height: 100px;
  background-color: #2161cf;
  left: 263px;
  top: 384px;
}

.right {
  flex: 1;
  padding: 10px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-x: hidden;
}

.right h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1f2937;
}

.right label {
  font-size: 14px;
  margin-bottom: 5px;
  color: #374151;
}

.inputBox {
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin-bottom: 10px;
  font-size: 14px;
  width: 100%;
}

.right input:focus {
  border-color: #1d3c72;
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.right .forgot {
  text-align: center;
  font-size: 13px;
}
/* dashboard boxes css */
a.card-link {
  text-decoration: none;
  color: inherit;
}

.card.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.card-hover:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #007bff;
}
.card-title {
  font-weight: bold;
}
.dashboardCard {
  background-color: #285095 !important;
  color: white;
}
/* dashboard css ends */
.right .forgot a {
  color: #1d3c72;
  text-decoration: none;
}

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

.signInBtn {
  align-items: end;
  margin-top: 10px;
}
.signUnBtn {
  align-items: end;
  margin-top: 28px;
}
.buttonCss {
  padding: 8px;
  background-color: #1d3c72;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 400;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.sendOTP {
  padding: 8px !important;
  margin-top: 10px;
  background-color: #1d3c72 !important;
  color: white !important;
  border: none !important;
  border-radius: 5px !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  font-size: 12px !important;
  transition: background-color 0.3s !important;
  align-items: end !important;
}

.guestBtn {
  display: flex;
  justify-content: center;
}

#showpassword {
  cursor: pointer;
  user-select: none;
}

.showPasswordText {
  margin-left: 5px;
}

.buttonCss:hover {
  background-color: #1d3c72;
}

.right .signup {
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
  color: #6b7280;
}

.right .signup a {
  color: #1d3c72;
  text-decoration: none;
}

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

.footer {
  position: sticky;
  height: 50px;
  width: 100%;
  background-color: #1d3c72;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  align-items: center;
  margin-top: 10px;
}

/* profile page css */
.profile-container {
  width: 90%;
  margin: 25px auto;
  background: rgb(255, 255, 255);
  padding: 30px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: auto;
}

.profile-container h4 {
  margin-bottom: 15px;
  color: #1d3c72;
}
.table_head {
  background-color: #1d3c72;
  color: white !important;
}

.profile-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.profile-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-info {
  flex: 1;
  max-width: 400px;
  text-align: left;
  font-size: 16px;
  color: #374151;
}

.profile-info p {
  margin-bottom: 20px;
  font-weight: 600;
}

.edit-btn {
  background-color: #1d3c72;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.edit-btn:hover {
  background-color: #15529b;
}

.change-password-container {
  background-color: #ffffff;
  width: 90%;
  margin: 25px 25px;
  padding: 28px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.change-password-container h4 {
  text-align: center;
  color: #1d3c72;
  margin-bottom: 20px;
}

#changePasswordForm .inputBox {
  display: block;
  width: 100%;
  margin-bottom: 15px;
}

#changePasswordForm .buttonCss {
  width: 100%;
}
#contactEmail {
  font-size: 14px;
}

@media (max-width: 600px) {
  .profile-card {
    flex-direction: column;
  }
  .profile-info {
    text-align: center;
    max-width: 100%;
  }
  /* profile page css */
  .profile-container {
    width: 80%;
    margin: 15px auto;
    background: rgb(255, 255, 255);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  .change-password-container {
    background-color: #ffffff;
    width: 80%;
    margin: 30px auto;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }
  .portalColumn {
    margin-top: 20px !important;
  }
  .loginBody {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/loginBackground.jpeg") no-repeat center center;
    background-size: cover;
  }
}

@media (max-width: 770px) {
  .loginBody {
    justify-content: center;
    align-items: flex-start; /* stop it from pushing to top */
    justify-content: flex-start;
  }

  .loginContainer {
    width: 40%;
    padding: 10px;
  }
  .left {
    display: none;
  }

  .right {
    padding: 20px;
  }

  .headerHeading {
    display: none;
  }

  .profileDropdown {
    order: 3;
    margin-left: auto;
  }
  .footer {
    height: 100px;
  }
}

@media (max-width: 500px) {
  .loginContainer {
    width: 95%;
   
  }
  .loginBody {
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/loginBackground.jpeg") no-repeat center center;
    background-size: cover;
    padding: 10px;
  }
   .g-recaptcha {
    transform: scale(0.75);
  }
  .headerHeading {
    display: none;
  }

  .profileDropdown img {
    height: 32px;
    width: 32px;
  }
  .footer {
    height: 100px;
  }
}
