
/* Left cluster (logo + menu) */
.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.logo {
  max-height: 60px;
}

@media (min-width: 768px) {
	img.logo2 {
    display: none;
	}
}

@media (max-width: 767px) {
	img.logo {
    display: none;
	}
}

.menu-toggle {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Overlay menu */

.overlay-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px); /* start slightly higher */
  margin-top: 12px;
  background: var(--brand-primary-dark); /* var(--brand-primary); */
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  opacity: 0;
  pointer-events: none;   /* makes it unclickable when hidden */
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  min-width: 180px;
}

/* Show state */
.overlay-menu.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.overlay-menu ul {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  text-align: center;
}

.overlay-menu li {
  display: block;
  margin-bottom: 6px;
  padding: 5px 16px;
  color: #333;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  white-space: nowrap; /* prevents breaking */
  transition: background 0.2s, color 0.2s;
}

.overlay-menu a {
  display: block;
  padding: 10px 14px;
  background: #f0eef7; /* light purple accent */
  border-radius: 6px;
  color: var(--brand-primary-dark);      /* brand purple text */
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: .9em;
  transition: background 0.2s, transform 0.1s;
}

.overlay-menu a:hover {
  background: var(--brand-primary-dark);
  color: #fff;
  transform: translateX(3px); /* subtle slide */
}

.overlay-menu h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--brand-primary-dark); /* purple brand accent */
  border-bottom: 2px solid #eee;
  background: white;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

/* Right cluster (login info) */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-right a {
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  padding: 5px 8px;
}

.header-right a:hover {
  text-decoration: underline;
}


.loginheader,
.loginheaderUser {
	padding: 0px 20px 0 25px;
	font-size: var(--font-size-sm);
  float: right;
  text-align: right;
  display:inline;
}

@media (max-width: 800px) {
	.loginheaderUser {
		display: none;
	}
}

// main menu popup
.menu_div {
	float: left;
}

button.bug{
	padding: 2px;
	height: 30px;
	width: 30px;
	float: right;
	margin: 2 0 0 5;
	background: url('../../shared/images/bug_small.png');
}

button.tiny_bug{
	padding: 0px;
	height: 20px;
	width: 20px;
	float: right;
	margin: 2px 0 0 10px;
	background: url('../../shared/images/bug_tiny.png');
}

input.loginBtn {
	height: 30px;
	width: 100px;
	margin-botton: 10px;
}


/* other header components */
.orgheader {
	padding: 0px 20px 0 25px;
	position: absolute;
	right: 20;
	top: 25;
	float: right;
	font-size: 0.8em; //asg 10pt;
    text-align: right;
    display:inline;
}
.bugheader {
	padding: 5px 20px 0 25px;
	position: absolute;
	right: 20;
	top: 45;
	float: right;
    text-align: right;
    display:inline;
}
