.login-container,
.user-registration-container,
.password-reset-complete-container,
.set-new-password-container,
.reset-done-container,
.forgot-password-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: linear-gradient(135deg, #4d79ff, #85e0e0); */
  background: linear-gradient(115deg, #0178bc 0, #00bdda) ;
  padding: 1rem;

  .login-card, 
  .user-registration-card, 
  .password-reset-complete-card, 
  .set-new-password-card, 
  .reset-done-card, 
  .forgot-password-card, 
  .password-reset-complete-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    h2{
    font-weight: 800;
    color: #0178bc;

    }
  }
  .password-reset-complete-card{
  max-width: 30rem;
  }

  .error_message{
    ul{
      padding-left: 0.5rem;
    }
    li {
      list-style-type: none !important;
    }
  }

  .text-danger.small{
    font-weight: 500;
    font-size: 0.8rem;
  }

  .login-card h2 {
    font-weight: 800;
    color: #0178bc;
  }

  .btn-submit {
    background: linear-gradient(115deg, #0178bc 0, #00bdda) ;
    color: white;
    padding: 0.7rem;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
  }

  .btn-submit:hover {
    background-color: #3a63d8;
  }

  .error-text {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }

  .forgot-link, .sign-up, .login_redirect {
    color: #0178bc;
    font-size: 0.9rem;
    text-decoration: none;
  }

  .forgot-link:hover, .sign-up:hover, .login_redirect:hover {
    text-decoration: underline;
  }

  .captcha-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }

  .captcha-refresh {
    font-size: 0.9rem;
    color:#0178bc;
    cursor: pointer;
    text-decoration: none;
  }

  .captcha-refresh i {
    margin-right: 4px;
  }

  .js-captcha-refresh{
  cursor: pointer;
  }
}


body, html {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  height: 100%;
}

.main-panel {
    position: unset;
    float: unset;
    transition: unset;
    width: 100%;

    #contentId{
        margin-top: 0px;
    padding: 0px;
    min-height: unset;
    }

}

.container-fluid {
  display: flex;
  height: 100vh;
  padding-left: 0;
}

.left {
  flex: 3;
  background: #333;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-box {
  width: 80%;
  max-width: 400px;
  text-align: center;
}

.logo {
  width: 120px;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 5px;
}

p {
  margin-bottom: 20px;
  color: #555;
}

.form-group {
  margin-bottom: 15px;
}

/* input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
} */

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
}

button {
  width: 20%;
  padding: 8px;
  background: #0078d7;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.reset-password-button{
  width: 35%;
  padding: 12px;
  background: #0078d7;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #005a9e;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.form-actions {
  display: flex;
  justify-content: space-between;
}

/* ========================= */
/* RESPONSIVE BREAKPOINTS    */
/* ========================= */

/* Tablet (<= 991px) */
@media (max-width: 991px) {
  .container {
    flex-direction: column;
  }

  .left {
    flex: none;
    height: 200px;
  }

  .right {
    flex: none;
    height: auto;
    padding: 20px;
  }

  .login-box {
    max-width: 90%;
  }

  .logo {
    width: 100px;
  }
}

/* Mobile (<= 576px) */
@media (max-width: 576px) {
  .container {
    flex-direction: column;
  }

  .left {
    display: none;  /* hide background image */
  }

  .right {
    flex: none;
    width: 100%;
    justify-content: center;
    padding: 20px;
  }

  .login-box {
    width: 100%;
    max-width: 320px;
    padding: 15px;
  }

  .logo-row {
    gap: 10px;
  }

  .logo {
    width: 80px;
  }

  button {
    font-size: 13px;
    padding: 6px 12px;
  }
}