:root {
    --background: #f8fafc;
    --foreground: #0f172a;
    --muted: #64748b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
  }
 
  
  .search-button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--muted);
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }
  
  .search-button:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .search-icon {
    margin-right: 0.75rem;
    color: var(--accent);
  }
  
  .shortcut-key {
    display: none;
  }
  
  @media (min-width: 768px) {
    .shortcut-key {
      display: inline-flex;
      align-items: center;
      padding: 0.25rem 0.5rem;
      font-size: 1.35rem;
      font-family: "Inter", monospace;
      color: var(--muted);
      background-color: #f1f5f9;
      border: 1px solid #e2e8f0;
      border-radius: 0.25rem;
      margin-left: auto;
    }
  }
  
  .key-icon {
    margin-right: 0.25rem;
  }
  
  .search-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 4rem;
    backdrop-filter: blur(4px);
  }
  
  .search-container {
    background-color: #fff;
    border-radius: 1rem;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
  }
  
  .search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.55rem;
    font-family: "Inter", sans-serif;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    outline: none;
    transition: border-color 0.2s ease-in-out;
  }
  
  .search-input:focus {
    border-color: var(--accent);
  }
  
  .search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 1rem 1.5rem;
  }
  
  .result-group h2 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  
  .result-group ul {
    list-style-type: none;
    padding: 0;
    margin: 0 0 1.5rem;
  }
  
  .result-group li {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease-in-out;
    font-weight: 500;
  }
  
  .result-group li:hover,
  .result-group li.selected {
    background-color: #f1f5f9;
  }
  
  .result-group li.selected {
    outline: 2px solid var(--accent);
  }
  
  .loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--muted);
    font-weight: 500;
  }
  
  .loader {
    animation: spin 1s linear infinite;
    margin-right: 0.75rem;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .hidden {
    display: none;
  }
  
  #noResults {
    text-align: center;
    color: var(--muted);
    padding: 2rem;
    font-weight: 500;
  }
  
  .close-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--muted);
    transition: color 0.2s ease-in-out;
    display: flex;
    align-items: center;
  }
  
  .close-button:hover {
    color: var(--foreground);
  }
  
  .esc-text {
    display: none;
    margin-left: 0.25rem;
    font-size: 1.35rem;
  }
  
  @media (min-width: 768px) {
    .esc-text {
      display: inline;
    }
  }
  
  kbd{
    margin-top: 8px!important;
    margin-bottom: 8px!important;
  }