/* =============== General Reset =============== */
body {
  font-family: 'Inter', sans-serif;
}

body.page-login {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* Remove default page content wrappers */
body.page-login .main-content,
body.page-login .page-title,
body.page-login .home-cta,
body.page-login footer,
body.page-login .breadcrumb {
  display: none !important;
}

/* =============== Login Layout =============== */
.custom-login-wrapper {
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Left Panel – Login Form */
.custom-login-left {
  flex: 1;
  padding: 60px;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Right Panel – Banner */
.custom-login-right {
  flex: 1;
  padding: 60px;
  background: #0054d1;
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-image: url('/assets/img/bg-pattern.png'); /* optional */
  background-size: cover;
  background-position: center;
}

/* Right Side Content */
.right-content img {
  max-width: 400px;
  margin-bottom: 20px;
}

.right-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.right-content p {
  font-size: 16px;
  max-width: 400px;
  margin: 0 auto;
  color: #e0e0e0;
}

/* Login Form Buttons */
.btn-primary {
  background-color: #d62828 !important;
  border-color: #d62828 !important;
}

/* Responsive for Mobile */
@media (max-width: 768px) {
  .custom-login-wrapper {
    flex-direction: column;
  }

  .custom-login-left,
  .custom-login-right {
    width: 100%;
    padding: 40px 20px;
  }

  .right-content img {
    max-width: 100%;
  }

  .right-content h2 {
    font-size: 22px;
  }
}

.login-form-box {
  width: 100%;
  max-width: 500px;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  margin: 0; /* Remove any auto-centering */
  align-self: flex-start;
}
