.app-shell{
      --brand:#366599;
      --border:#e5e7eb;
      --ink:#061e50;
      --muted:#6b7280;
      --light:#f8fafc;
    }

    .app-shell .label{
      color: var(--brand);
    }

    .app-shell .btn-primary{
      background:var(--brand);
      border:1px solid var(--brand);
      font-weight:600;
    }

    .app-shell .btn-outline-primary{
      border:1px solid var(--brand);
      color: var(--brand);          /* text color */
      font-weight:600;
    }
    .app-shell .btn-outline-secondary{
      font-weight:600;
    }

    .app-shell .david-info{
      /* color: var(--brand); */
      font-weight:600;
      white-space:nowrap;
      color: var(--ink);
    }

    .app-shell .dt-info{
      /* color: var(--brand); */
      font-weight:600;
      white-space:nowrap;
      color: var(--ink) !important;
    }


    /*
    .app-shell .btn-outline-primary:hover{
      background:var(--brand);
      border:1px solid var(--brand);
    } */

    body { margin: 0; }

    .app-shell {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
    }

    .app-row {
      display: flex;
      min-height: 0;
    }

    #sidebar-sticky-wrapper {
      position: sticky;
      top: 72px;              /* height of your header */
      align-self: flex-start;
      height: calc(100vh - 72px);
    }

    #sidebar-container {
      position: relative;     /* NOT sticky */
      height: 100%;
      overflow-y: auto;
    }

    /* Ensure modals are on top of sticky sidebars */
    .modal {
      z-index: 2000 !important;
      position: fixed; /* ensure fixed positioning */
    }
    .modal-backdrop {
      z-index: 1990 !important;
    }


    
    #main-content {
      flex: 1;
      min-width: 0;
      padding: 0.5rem 0.75rem;
      overflow: auto;
    }

    @media (max-width: 768px) {
      .app-row { flex-direction: column; }
      #sidebar-container { width: 100%; }
      #sidebar-container.hidden { display: none; }
    }

    #annotationTable thead th {
      background-color: var(--brand);
      color: white;
      font-weight: bold;
    }

    #annotationTable th {
    background-color: var(--brand);
    color: white;
    font-weight: bold;
  }
  
  .app-shell .header-link {
      /* text-decoration: underline; */
      color: var(--ink) !important; /* Change color on hover (yellow for visibility) */
  }
  
  .app-shell .header-link:hover {
      /* text-decoration: underline; */
      color: white !important; /* Change color on hover (yellow for visibility) */
  }
  .app-shell .header-group {
      /* background-color: #d9e2f3 !important; */
      /* background-color: #d9e2f3 !important; */
      color: var(--brand) !important;
      font-weight: bold; /* Allows wrapping if the screen is small */
      /* width: 100%; */
  }
  .app-shell .header-container {
    display: flex;
    justify-content: space-between; /* Pushes items to the edges */
    flex-wrap: wrap; /* Allows wrapping if the screen is small */
    /* width: 100%; */
}
.app-shell .info-container {
    display: flex;
    justify-content: flex-start; /* Pushes items to the edges */
    flex-wrap: wrap; /* Allows wrapping if the screen is small */
    /* width: 100%; */
    gap: 10px; /* Adds spacing between items */
}
