/* Custom overrides for AdminLTE - minimal and safe */

/* Use flexbox to center the login box without touching global .wrapper */
body.login-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 30px 10px;
}

/* Ensure html/body occupy full height so centering works */
html, body {
  height: 100%;
}

/* Login box sizing */
body.login-page .login-box {
  width: 380px;
  max-width: 100%;
  margin: 0;
}

/* Button shouldn't wrap */
.login-card-body .btn {
  min-width: 90px;
  white-space: nowrap;
}

/* Tweak login card spacing and logo */
.login-card-body {
  padding: 20px;
}
.login-logo a {
  font-size: 30px;
  display: block;
  text-align: center;
}

/* Responsive fallback for very small devices */
@media (max-width: 480px) {
  body.login-page {
    padding-top: 40px;
  }
  body.login-page .login-box {
    width: 100%;
  }
}

/* small-box spacing tweak for dashboard widgets */
.small-box .inner p {
  margin-bottom: 0;
}
