.section.login {
    background-color: #f7b7fc;
    display: flex;
    padding-bottom: 0px;
    padding-top: 0px;
    height: auto;
    min-height: 943px !important;
    position: relative;
    z-index: 1;
    margin-top: 10px;
} 

.building {
    width: 1500px;
    position: absolute;
    left: -332px;
    bottom: -60px;
    z-index: 0;
}

.characters {
    position: absolute;
    z-index: 1;
    width: 740px;
    left: 35px;
    bottom: 0;
}

.image-container {
  position: relative;
  flex: 1;
  min-width: 0;
}

.login-card {
  flex: 0 0 auto;
  margin-left: auto;
  margin-right: 5%;
  z-index: 2;
}

.login-option-link {
  text-decoration: none !important;
  color: #6a6865;
  
}

@media (max-width: 1024px) {
  .section.login {
    flex-direction: column;
    align-items: center;
  }

  .login-card {
    margin: 20px 0 0 0;
  }

  .image-container {
    width: 100%;
  }
}



/**Login Card Styles **/

    .login-card {
        font-family: 'CanvaSans', sans-serif;
      background-color: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
      padding: 40px 30px;
      max-width: 840px;
      width: 100%;
      text-align: center;
      height: 833px;
      margin-top: 80px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .blc-logo {
        margin-bottom: 50px;
    }

    .form-control--username-box, .form-control--password-box {
      display: flex;
      align-items: center;
      border: 2px solid #e0e0e0;
      padding: 10px 14px;
      margin-bottom: 20px;
      max-width: 598px;
      width: 100%;
      height: 70px;
      border-width: 5px;
      margin-left: 90px;
    }

    .input-group i {
      margin-right: 10px;
      font-size: 18px;
      color: #555;
    }

    .input-group input, .form-group input {
      border: 0 !important;
      outline: none;
      flex: 1;
      font-size: 25px;
      background-color: transparent;
      text-align: center;
      color: #171410;
    }
    
    .input-group input::placeholder {
      color: #171410;
      font-weight: 400;
    }

    .login-btn, #loginbtn {
      background-color: #4960e5;
      color: white;
      border: none;
      padding: 7px 12px;
      text-transform: uppercase;
      
      font-size: 30px;
      font-weight: bold;
      width: 100%;
      border-radius: 8px;
      cursor: pointer;
      margin-bottom: 20px;
      max-width: 355px;
      border-radius: 15px;
      margin-top: 15px;
    }

    .alt-login-text {
      font-size: 24px;
      margin-bottom: 10px;
      color: #333;
    }

    .login-option {
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 15px;
      padding: 8px 12px;
      margin: 6px auto;
      max-width: 240px;
      cursor: pointer;
      font-size: 14px;
      background-color: #e2e2e2;
    }

    .login-option img {
      margin-right: 10px;
    }
    
    .main-content {
      width: 100%;
    }

  .rui-show-password-btn--hidden .showpassword-icon--on {
      display: none;
  }

  .rui-show-password-btn:not(.rui-show-password-btn--hidden) .showpassword-icon--off {
      display: none;
  }

  
  /* Embedded notice block inside login card */

#notice {
  background-color: #fff7cc;
  border-left: 8px solid #ffb100;
  border-radius: 18px;
  padding: 30px 35px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  max-width: 640px;
  width: 100%;
  margin: 0 auto 30px auto;
  font-family: 'OpenSauceOne', sans-serif;
  text-align: center;
}

#notice #modal-header {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  font-family: 'Hagrid-Extrabold', sans-serif;
  background: none;
  padding: 0;
}

#notice #modal-body {
  font-size: 20px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 25px;
  background: none;
  padding: 0;
}

#notice #modal-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: none;
  padding: 0;
}

#notice .singlebutton form {
  margin: 0;
}

#notice .singlebutton button {
  font-family: 'OpenSauceOne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  min-width: 100px;
}

#notice .btn-secondary {
  background-color: #d9d9d9;
  color: #333;
}

#notice .btn-secondary:hover {
  background-color: #c4c4c4;
}

#notice .btn-primary {
  background-color: #4960e5;
  color: white;
}

#notice .btn-primary:hover {
  background-color: #3549c6;
}

#s-page-footer, .rui-login-top-wrapper, .rui-loginpage-intro, .rui-login-bg-container {
  display: none;
}


/***RESPONSIVE CSS***/

@media (max-width: 850px) {
  .form-control--username-box,
  .form-control--password-box {
    max-width: 75%;
  }
}

@media (max-width: 596px) {
  .form-control--username-box,
  .form-control--password-box {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 415px) {
  .form-control--username-box input::placeholder,
  .form-control--password-box input::placeholder {
    margin-left: 100px;
  }
}

@media (max-width: 1024px) {
  .image-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 0;
    pointer-events: none; /* optional: prevents image from intercepting clicks */
  }

  .login-card {
    position: relative;
    z-index: 2;
  }
}
