  /* Basic page layout */
    :root{
    --primary: #27455C;           /* Primary color */
    --nav-text: #3F7297;         /* Nav text color */
    --secondary: #E7F3FF;        /* Secondary light */
    --secondary-dark: #861557;   /* Secondary darker */
    --grey-neg: #F4F4F4;         /* Grey (negative space) */
    --light-grey: #F9F9F9;       /* Light grey */
    --text: #21343b;
    --muted: #6b7c86;
    --white: #ffffff;
    --black: #080808;
    --radius: 8px;
    --gap: 12px;
    font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
  }
  body{
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(180deg, var(--light-grey), #ffffff);
    color: var(--text);
    -webkit-font-smoothing:antialiased;
  }
 
  /* Panel container */
  .filters-panel {
    width: 320px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(39,69,92,0.12);    
    overflow: hidden;
  }
 
  .panel-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 16px;
    background: linear-gradient(0deg, rgba(39,69,92,0.04), rgba(39,69,92,0.00));
    border-bottom: 1px solid #eef4f7;
  }
 
  .filter-panel-title{
    display:flex;
    gap:8px;
    align-items:center;    
  }
  .filter-panel-title h3{
    margin:0;
    font-size:15px;
    color: var(--primary);
    font-weight:600;
  }
  .filter-panel-title small{
    display:block;
    color: var(--muted);
    font-size:12px;
  }
 
  .close-btn{
    background:transparent;
    border:0;
    cursor:pointer;
    padding:6px;
    border-radius:6px;
    color:var(--nav-text);
    font-weight:700;
  }
  .close-btn:focus{ outline:2px solid var(--secondary); }
 
  .filter-panel-body{
    padding: 14px;
    display:flex;
    flex-direction:column;
    gap: var(--gap);    
  }
 
  .reset-row{
    display:flex;
    justify-content:flex-end;
    padding: 8px 14px 0 14px;
  }
  .reset-link{
    font-size:13px;
    color: #871553;
    text-decoration:none;
    font-weight:600;
  }
  .reset-link:hover{ text-decoration:underline; }
 
  .field{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 8px;
    align-self: stretch;
    flex-grow: 0;
  }
  label{    
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: -0.04em;
    color: #464646;
  }
 
  input[type="text"],
  select{
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    gap: 10px;
    width: 100%;
    height: 35px;
    background: #FFFFFF;
    border: 1px solid #8c8c8c;
    border-radius: 5px;
    font-family: 'Segoe UI';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -0.04em;
    color: #464646;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
  }
  input[type="text"]::placeholder{ color: #a9b7c0; }

  select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image:
      linear-gradient(45deg, transparent 50%, #464646 50%),
      linear-gradient(135deg, #464646 50%, transparent 50%),
      linear-gradient(to right, #ffffff, #ffffff);
    background-position: calc(100% - 14px) center, calc(100% - 9px) center, 100% 0;
    background-size: 5px 5px, 5px 5px, 1px 35px;
    background-repeat: no-repeat;
    padding-right: 36px;
  }

  input[type="text"]:focus,
  select:focus{
    border-color: #861557;
    outline: 3px solid #A4507E;
  }
 
  .apply-row{
    padding: 14px;
    border-top: 1px solid #eef4f7;
    background: var(--white);
  }
 
  .btn-apply{
    width:100%;
    height:42px;
    border-radius:8px;
    border:0;
    background: linear-gradient(180deg, var(--secondary-dark), #2b7fd0);
    color:var(--white);
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    box-shadow: 0 6px 14px rgba(52,145,227,0.18);
  }
  .btn-apply:active{ transform: translateY(1px); }
  .btn-ghost{
    width:100%;
    height:42px;
    margin-top:8px;
    border-radius:8px;
    border:1px solid #dceaf8;
    background:var(--secondary);
    color:var(--nav-text);
    font-weight:600;
    font-size:14px;
    cursor:pointer;
  }
 
  /* small helpers for compact layout like screenshot */
  .form-grid{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
    align-self: stretch;
    flex-grow: 0;
  }
 
  /* Responsive: keep panel centered on page demo */
  .demo-wrap{
    display:flex;
    align-items:flex-end;
    justify-content:flex-end;
    gap:20px;
  }
   
.projectSuggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;  
  margin-top: 4px;
  max-height: 200px;
  border: 1px solid #ccc;
  background: white;
  z-index: 10;
  cursor: pointer;  
  overflow-y: auto;
  overflow-x: auto;
  box-sizing: border-box; 
  padding: 0;             
  list-style: none;       
}
 
.projectSuggestions li {
  cursor: pointer;
  font-size: 14px;
  list-style: none;
  padding: 8px 12px;  
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  
}
 
.projectSuggestions li:hover {
  background-color: #f5f5f5;
}

