/* Prevent background scroll when overlay open */
.slh-no-scroll {
    overflow: hidden;
  }
  
  /* Overlay container */
  .slh-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050; /* above header */
    display: grid;
    grid-template-rows: 1fr;
    align-items: center;
    justify-items: center;
    transition: opacity 150ms ease;
    opacity: 0;
    pointer-events: none;
  }
  
  .slh-search-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  
  /* Backdrop */
  .slh-search-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 63, 0.75); /* deep navy with opacity */
  }
  
  /* Dialog */
  .slh-search-dialog {
    position: relative;
    width: min(800px, 92vw);
    background: #0d6efd; /* Bootstrap primary */
    border-radius: 0.75rem;
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 1;
  }
  
  /* Header */
  .slh-search-header {
    padding: 0.85rem 1rem 0.75rem 1rem;
    background: #0b5ed7; /* darker primary */
    color: #fff;
  }
  
  /* Body */
  .slh-search-body {
    padding: 1.25rem;
  }
  
  .slh-search-form .form-control {
    border: none;
    outline: none;
  }
  
  .slh-search-form .form-control:focus {
    box-shadow: none;
  }
  
  .slh-search-close {
    color: #fff;
    text-decoration: none;
  }
  
  /* Accessibility hint style */
  kbd {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 0.15rem 0.35rem;
    border-radius: 0.25rem;
  }
  
  /* Responsive */
  @media (max-width: 575.98px) {
    .slh-search-dialog {
      width: 94vw;
    }
  }
  