/* Minimal overrides for dark mode toggle visual states */
html.jazzmin-dark-active,
body.jazzmin-dark-active {
  --card-bg: #1f2937;
  --card-border: #374151;
}

/* Example tweaks for forms and cards when dark is active */
.jazzmin-dark-active .card,
.jazzmin-dark-active .content-wrapper,
.jazzmin-dark-active .main-sidebar {
  background-color: var(--card-bg) !important;
}

.jazzmin-dark-active .card,
.jazzmin-dark-active .content-wrapper {
  border-color: var(--card-border) !important;
}

/* Keep toggle icon visible */
.jazzmin-theme-toggle .nav-link { color: inherit; }

/* Reduce login logo size - make it more manageable */
.login-logo img,
.login-logo svg {
  max-width: 120px !important;
  max-height: 120px !important;
  width: auto !important;
  height: auto !important;
  margin: 0 auto !important;
}

.login-logo {
  margin-bottom: 20px !important;
  text-align: center !important;
}

/* Ensure login box doesn't get pushed down by large logo */
.login-box {
  margin-top: 0 !important;
}

.login-box-msg {
  margin-top: 10px !important;
}
