
/* Group right-side buttons into one flex container */
.header-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: 0; /* allows them to shrink properly */
}

/* Make login/logout match Update */
#update-btn,
#login-btn,
#logout-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;

  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: white;

  background: transparent;
  border: 1px solid magenta;
  border-radius: 10px;

  text-decoration: none;   /* kills underline on <a> */

  cursor: pointer;
  transition: box-shadow .2s, transform .1s;
  margin: 2rem .35rem;        /* small spacing if they sit next to each other */
}

#update-btn:hover,
#login-btn:hover,
#logout-btn:hover {
  box-shadow: 0 0 10px rgba(255,0,255,.3);
}

#update-btn:active,
#login-btn:active,
#logout-btn:active {
  transform: scale(.98);
}

/* ensure hidden truly hides */
#update-btn[hidden],
#login-btn[hidden],
#logout-btn[hidden] { display: none; }


@media (max-width: 800px) {
  #update-btn,
  #login-btn,
  #logout-btn {
    margin: 0.25rem 0.3rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 500px) {
  #update-btn,
  #login-btn,
  #logout-btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.7rem;
  }
}


