/* =========================================================
   HEADER.CSS
   ========================================================= */
.site-header {
  background: linear-gradient(90deg, #1e022f, #6b0b46);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 65px;
  width: 100%;
  padding: 0;
  margin: 0;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
  height: 58px;
  padding: 0 10px;
}

.logo {
  font-weight: 400;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  margin-top: 5px;
}

.logo a {
  font-size: 18px;
  font-weight: 700;
  color: #ffd54a;
  text-decoration: none;
  white-space: nowrap;
}

.menu-icon,
.search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.menu-icon img,
.search-icon img {
  width: 20px;
  height: 20px;
  cursor: pointer;
  filter: brightness(0) invert(1);
  margin-top: 10px;
  margin-left: 20px;
  margin-right: 20px;
}

/* SIDE MENU */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 275px;
  height: 100vh;
  background: #fff;
  transition: left 0.3s ease;
  z-index: 2000;
  box-shadow: 2px 0 18px rgba(0, 0, 0, 0.2);
  overflow-y: auto;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}

.side-menu.active {
  left: 0;
}

.menu-header {
  background: linear-gradient(90deg, #1e022f, #6b0b46);
  color: #fff;
  display: flex;
  align-items: center;
  padding: 15px;
}

.menu-logo {
  width: 42px;
  height: 42px;
  background: #022517;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-right: 10px;
}

.menu-title h3 {
  margin: 0;
  font-size: 14px;
}

.menu-title p {
  margin: 0;
  font-size: 10px;
  opacity: 0.85;
}

.menu-close {
  margin-left: auto;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-list li {
  border-bottom: 1px solid #f1f1f1;
}

.menu-list li a {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  color: #333;
  font-size: 15px;
  text-decoration: none;
}

.menu-list .icon {
  width: 28px;
  font-size: 16px;
}

.menu-list .text {
  flex: 1;
}

.menu-list .arrow {
  color: #bbb;
}

.menu-list li.active {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
}

.menu-list li.active a {
  color: #2e7d32;
  font-weight: 600;
}

.menu-list li:hover {
  background: #f8fafc;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1500;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
    padding: 0;
    width: 100%;
  }

  .header-flex {
    height: 56px;
    padding: 0 6px;
  }

  .menu-icon,
  .search-icon {
    width: 40px;
    height: 40px;
  }

  .menu-icon img,
  .search-icon img {
    width: 18px;
    height: 18px;
    margin: 0;
  }

  .logo a {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 60px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  .header-flex {
    height: 54px;
    padding: 0 4px;
  }

  .menu-icon,
  .search-icon {
    width: 36px;
    height: 36px;
  }

  .menu-icon img,
  .search-icon img {
    width: 16px;
    height: 16px;
  }

  .logo a {
    font-size: 12px;
 
  }

  .side-menu {
    width: 84%;
    max-width: 300px;
  }
}