/*!
 * Theme: Default
 * Package: NioLand
 * Version: 1.0.0
 * Updated: 02.24.2023
 * Author: Softnio
 * Author URI: http://themeforest.net/user/softnio
**/
/** WRITE YOUR OWN STYLE **/
/* Active state for header nav */
.nk-header .nk-nav .nk-nav-link.active,
.nk-header .nk-nav .nk-nav-link.active .nk-nav-text {
  color: var(--bs-primary) !important;
}

/* Hide submenus briefly after click to close mega on SPA route change */
.nk-header .nk-header-menu.nk-hide-sub .nk-nav-sub {
  display: none !important;
}

/* Ensure footer doesn't flash during route transitions */
.nk-app-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nk-pages {
  flex: 1 0 auto;
  min-height: 80vh;
  /* ensure space while new route mounts to avoid footer flash */
}

/* Route transition helper to reduce previous-page flash */
.route-container {
  opacity: 1;
  transition: opacity .15s ease-in;
}

.route-container.is-loading {
  opacity: 0.02;
  /* keep layout but hide previous content */
}