/* Container */
.profile-container {
  position: relative;
  display: inline-block;
}

/* Profile button */
.profile-button {
  /*background-color: #ff5a00;*/
  color: white;
  padding: 4px 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Dropdown menu */
.profile-dropdown {
  display: none; /* hidden by default */
  position: absolute;
  right: 0;
  margin-top: 5px;
  width: 150px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Dropdown links/buttons */
.profile-dropdown a,
.profile-dropdown button {
  display: block;
  width: 100%;
  padding: 10px;
  font-size: 14px;
  color: #333;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

.profile-dropdown a:hover,
.profile-dropdown button:hover {
  background-color: #f0f0f0;
}

/* Optional: icon next to profile text */
.profile-button svg {
  width: 22px;
  height: 28px;
  stroke: #333;
}

.logout-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 50;
  color: #fff;
  padding: 6px 17px;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease; /* include transform in transition */
  border: none;
}

@media (max-width: 768px) {
  .logout-button {
    font-size: 10px;
    top: 11px;
    right: 5px;
    padding: 6px 12px;
  }
    .profile-button {
       display: none;
     }
}

/* Hamburger button */
.hamburger-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
}

.hamburger-btn {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    position: fixed;       /* fixed to viewport */
    top: 20px;             /* distance from top */
    right: 20px;           /* distance from right */
    color: #ff5a00;        /* visible color */
    z-index: 1002;         /* above overlay */
    display: none;         /* show only on mobile via media query */
}

/* Fullscreen hamburger menu overlay */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 1002;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger-menu.open {
    display: flex;
}

.hamburger-nav a {
    display: block;
    color: white;
    font-size: 24px;
    margin: 15px 0;
    text-decoration: none;
}

.hamburger-nav a:hover {
    text-decoration: underline;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 36px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Mobile view: max width 768px */
@media (max-width: 768px) {
    .hamburger-btn {
        display: block;
    }
}
