/* Header styles for modern look and fixed positioning */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  box-shadow: 0 2px 8px #b4000014;
  padding: 0 2rem;
  box-sizing: border-box;
}
.header-left {
  display: flex;
  align-items: center;
}
.header-logo {
  width: 32px;
  height: 32px;
  margin-right: 1rem;
}
.header-org-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}
.header-signout-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
.header-signout-btn:hover {
  background: #f3f6fa;
}

/* Add top padding to main content to avoid overlap */
#component-container, .modern-card {
  margin-top: 35px !important;
}

.header-tabs {
  display: flex;
  gap: 0.5rem;
  height: 100%;
  align-items: flex-end;
}
/* Dedicated style for header tab buttons to avoid inheriting .modern-btn background */
.header-tab-btn {
  background: none !important;
  border: none;
  outline: none;
  font-size: 0.95rem; /* Reduce font size */
  font-weight: 500;
  color: #888;
  padding: 0.35rem 1.2rem 0.15rem 1.2rem; /* Slightly smaller padding */
  border-radius: 0;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-bottom 0.2s, font-weight 0.2s, background 0.2s;
  cursor: pointer;
  margin-bottom: -1px;
}
.header-tab-btn:hover {
  color: #222;
  background: none !important; /* Remove hover background */
}
.header-tab-btn.selected {
  color: #222;
  font-weight: 700;
  border-bottom: 3px solid #FFC93B; /* Yellow underline */
  background: none !important; /* Remove yellow background */
  z-index: 1;
}
