 /* ====================== */
 /* Search bar */
 #search-bar-container{
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 14px 0px;

 }

 #search-bar-container form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
 }

 #search-bar-container label {
  font-size: 0.9rem;
  color: #444;
  white-space: nowrap;
 }

 /* Wrapper for icon + input + clear button */
 .search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
 }

 .search-input-wrapper .search-icon {
  position: absolute;
  left: 14px;
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0.5;
 }

 #search-bar-container input[type="text"] {
  width: 100%;
  padding: 10px 36px 10px 38px;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
 }

 #search-bar-container input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
 }

 #search-bar-container input[type="text"]:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
 }

 /* Clear button inside the input */
 .search-input-wrapper .search-clear {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.15s, color 0.15s;
 }

 .search-input-wrapper .search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
 }

 #search-bar-container input[type="submit"] {
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s;
 }

 #search-bar-container input[type="submit"]:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
 }

 /* ========================== */
 /* == Active search badge == */
 .search-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
 }

 .search-badge-clear {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s, color 0.15s;
 }

 .search-badge-clear:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
 }

 /* ========================== */
 /* == Empty state == */
 .empty-state {
  text-align: center;
  padding: 48px 24px;
  color: rgba(255, 255, 255, 0.5);
 }

 .empty-state-icon {
  font-size: 2.5rem;
  margin: 0 0 8px;
 }

 .empty-state-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 6px;
 }

 .empty-state-hint {
  font-size: 0.85rem;
  margin: 0;
 }

 .empty-state-hint a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
 }

 .empty-state-hint a:hover {
  color: white;
 }

/* ========================== */
/* == Responsive == */
@media (max-width: 480px) {
  #search-bar-container {
    margin-bottom: 10px;
  }

  #search-bar-container form {
    flex-direction: column;
    gap: 8px;
  }

  #search-bar-container input[type="text"] {
    width: 100%;
    font-size: 0.9rem;
  }

  #search-bar-container input[type="submit"] {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .search-badge {
    font-size: 0.78rem;
  }
}