:root {
  --primary-color: #006FB8;
  --secondary-color: #00A2B8;
  --text-color: #000;
  --grey: #A2A7B0;
  --background: #F5F7FA;
  --white: #FFFFFF;
  --shadow: 0 4px 15px rgba(11, 42, 63, 0.07);
}


.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Egyenlő elosztás a két elem között */
  padding: 15px 200px;
  /* Biztosít egy kis belső margót */
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-bg {
  background: linear-gradient(to left, var(--primary-color), var(--secondary-color));
}


.header .logo {
  cursor: pointer;
  width: auto;
  height: 50px;
}

/* Menü tartalmazza a gombokat és/vagy a felhasználói információkat */
.menu {
  display: flex;
  align-items: center;
}

/* Belépés gomb */
.menu .login-btn {
  margin-right: 10px;
}

/* Alapértelmezett gombstílus */
.menu button {
  color: white;
  width: 130px;
  height: 50px;
  border: 2px solid #ffffff;
  border-radius: 45px;
  transition: all 0.3s;
  cursor: pointer;
  background: rgba(255, 255, 255, 0);
  font-size: 1em;
  font-weight: 550;
  outline: none;
  margin-left: 10px;
  /* Kis térköz a gombok között */
}

/* Ha a felhasználó be van jelentkezve, a nevét és profilképét egy konténerben jelenítjük meg */
.user-container {
  display: flex;
  align-items: center;
  margin-right: 10px;
  /* Kis hézag a Hírdetek gomb előtt */

}

/* Felhasználói név */
.username {
  margin-right: 10px;
  color: white;
  font-weight: 600;

  font-family: Spartan;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Profilkép stílus */
.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  /* Kép arányainak megtartása */
  margin-right: 10px;
}

/* Értesítések gomb (kör alakú) */
.notifications-btn {
  padding: 0%;
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.notifications-btn:hover:not(:disabled) {
  background-color: #0056b3;
}

.hirdetes-btn:hover:not(:disabled) {
  background-color: #0056b3;
}

.hirdetes-btn {
  background-color: transparent;
  padding: auto;
  width: 130px;
  height: 50px;
  border-radius: 45px;
  cursor: pointer;
  border: 2px solid #ffffff;
}

/* Adminisztráció gomb – a sidebar logikájához igazodva */
.admin-btn {
  background-color: transparent;
  padding: auto;
  width: 150px;
  height: 50px;
  border-radius: 45px;
  cursor: pointer;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 550;
}

/* Piros pötty az új értesítések jelzésére */
.notification-indicator {
  position: absolute;
  top: 5px;
  /* Igazítsd ízlés szerint */
  right: 5px;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
}

/* Hamburger gomb mobilhoz */
.hamburger {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: none;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 4px;
  border-radius: 3px;
  background: #ffffff;
}

/* Mobil teljesképernyős menü overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: none;
  z-index: 1002;
}

.mobile-menu-overlay.open {
  display: block;
}

.mobile-menu-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-top {
  background-color: #ffffff;
  display: flex;
  height: 100px;
  box-sizing: border-box;
  align-items: center;
  justify-content: flex-end;
  padding: 15px;
}

.mobile-logo {
  height: 70px;
}

.mobile-close {
  font-size: 40px;
  line-height: 1;
  background: transparent;
  border: none;
  color: #000000;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
  padding: 0;
}

.mobile-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.mobile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background-origin: border-box;
  background-clip: content-box, border-box;
  background-image: linear-gradient(#fff, #fff), linear-gradient(to left, var(--primary-color), var(--secondary-color));
}

.mobile-name {
  font-family: Spartan;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-top: 8px;
}

.mobile-menu-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mobile-menu-item .mobile-divider{
  align-self: center;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  width: 80%;
  max-width: 320px;
  height: 48px;
  border-radius: 136px;
  color: #000000;
  font-weight: 700;
  border: none;
  cursor: pointer;
  background: transparent;
}
.mobile-menu-btn.active { color: #006FB8; }
.mobile-menu-btn.active svg { stroke: #006FB8; }

.mobile-divider {
  width: 100%;
  max-width: 330px;
  height: 1px;
  background: #E8EBF0;
  margin: 0;
}

.mobile-menu-btn svg {
  width: 20px;
  height: 20px;
  stroke: #000000;
  fill: none;
}

.mobile-menu-btn:active {
  opacity: 0.9;
}

/* Reszponzív nézet mobilon (pl. max-width: 768px) */
@media (max-width: 768px) {
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
  }

  .header-bg .header {
    flex-direction: row !important;
    justify-content: space-between !important;
  }

  .brand .logo {
    height: 70px;
  }

  .logo,
  .menu {
    margin-left: 0;
    padding-left: 0;
  }

  .menu {
    display: none;
  }

  .hamburger {
    display: inline-flex;
    width: 34px;
    height: 34px;
    margin-left: auto;
  }

  /* Gombok, képek szélességét mobilon csökkentheted, ha szeretnéd */
  .menu button {
    width: 100px;
    height: 40px;
  }

  .profile-pic {
    width: 35px;
    height: 35px;
  }

  .notifications-btn {
    width: 40px;
    height: 40px;
  }
}
