/* Global font settings */
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  /* professional, neutral background */
  background-color: #f5f7fa; /* subtle cool-gray */
  color: #000000; /* dark text for light background */
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
}

/*
 * Sidebar
 */

.sidebar {
  min-height: 100vh;
  height: 100vh;
}

.sidebar .offcanvas-body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: fixed;
    top: 0;
    left: 0;
    width: 16.666667%; /* col-lg-2 width */
    height: 100vh;
    z-index: 1000;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: .875rem;
  font-weight: 500;
  color: #000000;
}

.sidebar .nav-link .icon {
  font-size: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
}

.sidebar .nav-link.active {
  color: #000000;
  background-color: rgba(0, 0, 0, 0.1);
  border-left: 3px solid #000000;
  font-weight: 600;
}

.sidebar .nav-link.active .icon {
  color: #000000;
}

.sidebar-heading {
  font-size: .75rem;
  color: #000000;
}

/*
 * Main content adjustments for fixed sidebar
 */

@media (min-width: 992px) { /* lg breakpoint */
  main {
    margin-left: 16.666667%; /* Match sidebar width */
  }
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
}
