.room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  margin-top: 10px;
  padding: 15px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  border-radius: 6px;
  min-width: 300px;
}

.room-icon {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.left-items {
  display: flex;
  align-items: center;
  /* Add other styling as needed */
}

.star-button {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 7px;
  margin-right: 2px;
  align-self: auto;
}

.star-button.starred {
  color: var(--primary-color);
}

/* Search Bar Styles */
.search-bar {
  display: flex;
  align-items: stretch;
  /* change this from center to stretch */
  justify-content: center;
  margin-bottom: 20px;
}

.search-bar input[type="text"] {
  padding: 10px;
  font-size: 16px;
  border-radius: 5px 0 0 5px;
  border: none;
  border-right: none;
  flex: 1 1 300px;
  background-color: var(--secondary-color);
  height: auto;
  /* Add this */
  overflow: auto;
  /* Add this */
  color: var(--text-color)
}

.search-bar button[type="submit"] {
  background-color: var(--lighter-color);
  color: var(--text-color);
  padding: 10px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  border: none;
  flex: 0 0 40px;
  /* add this line */
}

.search-bar input[type="text"]:focus {
  outline: none;
}

.search-bar button[type="submit"]:hover {
  background-color: var(--accent-color);
}

.search-bar button[type="button"] {
  margin-left: 10px;
  background-color: var(--lighter-color);
  color: var(--text-color);
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  flex: 0 0 40px;
}

.search-bar button[type="button"]:hover {
  background-color: var(--accent-color);
}

.search-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 0;
  padding-bottom: 0;
}