.auth-one-bg {
  background-image: url(../images/auth-one-bg.jpg);
  background-position: center;
  background-size: cover;
}

.auth-one-bg-position {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 380px;
}

.bg-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  right: 0;
  bottom: 0;
  left: 0;
  top: 0;
  opacity: .7;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bg-overlay-system {
  background-color: #405189;
}

.bg-colors {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: absolute;
  height: 100%;
  width: 100%;
}

.shape {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.shape>svg {
  width: 100%;
  height: auto;
  fill: var(--vz-body-bg);
}

.particles-js-canvas-el {
  position: relative;
}

.auth-page-content {
  padding-bottom: 60px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.text-information {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
  font-family: "Montserrat", sans-serif;
}

.logo-system-login {
  width: auto;
  max-width: 150px;
  height: auto;
  max-height: 70px;
}

.btn-eye {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  right: 12px;
  color: #878a99;
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.btn-eye:hover {
  color: #6a5acd;
}

.btn-eye:focus {
  outline: none;
  box-shadow: none;
}

#password {
  border-radius: 0.5rem;
  padding-right: 45px;
}

.footer-system {
  height: 60px;
  margin-top: auto;
}

/* styles login tenant */
.article-bg-image {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: max-content;
  width: 100%;
  position: relative;
  border-radius: 0.75rem 0 0 0.75rem;
  overflow: hidden;
}

.section-login-tenant {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.auth__logo {
  position: absolute;
  max-width: 110px;
  z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.auth__logo.top-left {
  left: 30px;
  top: 30px;
}

.auth__logo.top-right {
  right: 30px;
  top: 30px;
}

.auth__logo.bottom-left {
  top: -35px;
  left: 100%;
  transform: translateX(-50%);
  max-width: 110px;
}

.auth__logo.bottom-right {
  bottom: -35px;
  left: 100%;
  transform: translateX(-50%);
  max-width: 110px;
}

.container-login-tenant {
  max-width: 1115px;
  height: auto;
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.container-form-login {
  border-radius: 0 0.75rem 0.75rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

label {
  color: #495057;
  font-weight: 600 !important;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.form-control {
  border: 1px solid #e9ebec;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  background-color: #fafbfb;
}

.form-control:hover {
  border-color: #b3b9d0;
  background-color: #fff;
}

.form-control:focus {
  border-color: #6a5acd;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.1);
}

.form-control::placeholder {
  color: #adb5bd;
}

.btn-signin {
  background: linear-gradient(135deg, #6a5acd 0%, #483d8b 100%);
  font-weight: 600;
  color: #fff;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(106, 90, 205, 0.3);
}

.btn-signin:hover {
  background: linear-gradient(135deg, #5a4abd 0%, #38307b 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(106, 90, 205, 0.4);
}

.btn-signin:active {
  transform: translateY(0);
}

.btn-signin:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.25);
}

.welcome-text {
  color: #212529;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.text-muted {
  color: #878a99 !important;
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.text-authenticate-link {
  color: #6a5acd;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-authenticate-link:hover {
  color: #483d8b;
  text-decoration: underline;
}

.checkbox-custom {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-custom input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: #6a5acd;
}

.checkbox-custom label {
  cursor: pointer;
  font-weight: 500 !important;
  font-size: 0.9375rem;
  color: #495057;
  margin-bottom: 0;
}

.invalid-feedback {
  font-size: 0.875rem;
  color: #f06548;
  margin-top: 0.5rem;
}

.form-control.is-invalid {
  border-color: #f06548;
  background-color: #fff5f3;
}

.form-control.is-invalid:focus {
  border-color: #f06548;
  box-shadow: 0 0 0 3px rgba(240, 101, 72, 0.1);
}

/* Responsive */
@media (max-width: 1150px) {
  .container-login-tenant {
    max-width: 930px;
  }
}

@media (max-width: 991px) {
  .app {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    position: relative;
    overflow-x: hidden;
    padding: 2rem 0;
  }

  .container-login-tenant {
    max-width: 720px;
  }

  .article-bg-image {
    height: 280px;
    border-radius: 0.75rem 0.75rem 0 0;
  }

  .auth__logo.bottom-left {
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
  }

  .auth__logo.bottom-right {
    bottom: -185%;
    left: 50%;
    transform: translateX(-50%);
  }

  .container-register-tenant .auth__logo.bottom-right {
    bottom: -230%;
  }
}

@media (max-width: 750px) {
  .container-login-tenant {
    max-width: 540px;
  }

  .welcome-text {
    font-size: 1.25rem;
  }
}

@media (max-width: 560px) {
  .section-register-tenant {
    margin: 2.5rem auto;
  }

  .container-login-tenant {
    max-width: 95%;
  }

  .container-form-login {
    padding: 1rem !important;
  }

  .auth__logo.bottom-right {
    bottom: -175%;
  }

  .container-register-tenant .auth__logo.bottom-right {
    bottom: -215%;
  }

  .welcome-text {
    font-size: 1.125rem;
  }
}