html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-size: cover;
}

/* Layout */
.container.my-5 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}

/* Login box */
.login-box {
  width: 100%;
  max-width: 400px;
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.captcha-image {
    border: 1px solid #ccc;
    height: 60px;
}

/* Hide captcha error initially */
.hidden-error {
    display: none;
}

/* Sections */
.login-section {
  flex: 0 0 35%;
  max-width: 35%;
}

.image-section {
  flex: 0 0 65%;
  max-width: 65%;
  overflow: hidden;
  background-color: transparent;
}

.image-section img {
  width: 100%;
  max-height: 550px;
  object-fit: contain;
}

/* Mobile view */
@media (max-width: 767.98px) {
  .image-section {
    display: none !important;
  }

  .login-section {
    flex: 0 0 100%;
    max-width: 100%;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    position: relative;
  }
}

/* Background Blur */
.bg-light-blur {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.bg-light-blur::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../obbg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px) brightness(1.6);
  transform: scale(1.1);
  z-index: 1;
}

.bg-light-blur::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(3px);
  z-index: 2;
}

.bg-light-blur > * {
  position: relative;
  z-index: 3;
}
.password-wrapper{
    position: relative;
}

.toggle-password{
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: #666;
    font-size: 18px;
    line-height: 1;
}

.toggle-password:focus{
    outline: none;
}