body{
  background-color: rgb(219, 215, 210);
}


p{
  color: rgb(5, 0, 26);
}


#top-bar {
  display: flex;
  flex-wrap: wrap; /* allows items to wrap on small screens */
  align-items: center;
  padding: 10px;

  /*some load bs*/
  min-height: 65px;        /* Reserve approx height */
  overflow: hidden;        /* Prevent content overflow while loading */
  transition: visibility 0s linear 0s, opacity 0s ease;
  opacity: 0;
}
/* When loaded, show the top bar */
#top-bar.loaded {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
  min-height: auto;        /* Allow natural height */
}




#search-container {
  flex: 1 1 auto; /* allow it to grow/shrink */
  max-width: 266px;
  margin-right: 10px;
}

#search-input {
  box-sizing: border-box;
  width: 266px;
  padding: 8px;
  font-size: 16px;
}

#dropdown {
  position: absolute;
  width: 266px;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 200px;
  overflow-y: auto;
  background-color: white;
  z-index: 1000;
  display: none;
}

.dropdown-item {
  padding: 8px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #eee;
}

.top-bar-button{
  border: 1px solid rgb(5, 0, 26); /* Or any color/width you prefer */

  background-color: rgb(255, 215, 178);
  cursor: pointer;
  font-weight: bold;
  padding: 9px 10px;
  margin: 0 5px;
  white-space: nowrap;
  

  /* ✅ Force correct color and prevent blue link style */
  color: rgb(5, 0, 26); /* Match your text color */
  text-decoration: none;
  font-family: inherit;
  font-size: 16px;
  appearance: none;        /* iOS/Safari */
  -webkit-appearance: none;/* Older Safari */
  letter-spacing: 0.9px;

  transition: background-color 0.2s;
}

.top-bar-button:hover{
    background-color: rgb(177, 130, 77);
}
.top-bar-button:active{
    background-color: rgb(71, 48, 21);
}

/* Mobile responsiveness */
@media (max-width: 500px) {
  #top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  #search-container {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-bottom: 10px;
  }

  #dropdown {
    width: 100%;
  }

  .top-bar-button {
    width: 100%;
    text-align: center;
  }
}

#top-bar hr {
  display: block;
  width: 100%;
  border: none;           /* Remove default border */
  border-top: 1px solid #ccc;  /* Add your custom line */
  margin: 10px;         /* Spacing around the line */
  margin-top:20px;
}
