/* Sticky footer */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

.main-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    flex: 1;
}

.main-content > .container-fluid {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.main-content .footer {
    flex-shrink: 0;
    margin-top: auto;
}

/* Dark mode support — disabled */
/*
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a !important;
    }
    
    .bg-gray-200 {
        background-color: #1a1a1a !important;
    }
    
    .card {
        background-color: #2d2d2d !important;
        color: #fff !important;
    }
    
    .text-dark {
        color: #fff !important;
    }
    
    .text-muted {
        color: #aaa !important;
    }
}
*/

  .ls-1 { letter-spacing: .05em; }
  .ls-2 { letter-spacing: .1em; }

/* Fix sidebar hover: only highlight the direct link, not all nested sub-links */
.navbar-vertical .nav-item:hover > .nav-link {
  background-color: rgba(199, 199, 199, 0.2);
  border-radius: 0.375rem;
}
.navbar-vertical .nav-item:hover .nav-link {
  background-color: transparent;
}
.navbar-vertical .nav-item .nav .nav-item:hover > .nav-link {
  background-color: rgba(199, 199, 199, 0.2);
  border-radius: 0.375rem;
}
  .ls-3 { letter-spacing: .2em; }