.headerLayouts {
  width: 100%;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbarBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative; /* Tambahkan posisi relatif untuk menentukan posisi dropdown */
}

.avatarImage {
  width: 30px;
  margin-left: auto;
}

.informasiUser {
  position: absolute;
  background: white;
  padding: 10px;
  border-radius: 4px;
  top: calc(100% + 5px);
  right: 0;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 120;
}

.informasiUser ul {
  list-style-type: none;
  padding: 0;
}

.informasiUser ul li {
  padding: 5px 10px;
  cursor: pointer;
}

.informasiUser ul li:hover {
  background-color: #f0f0f0;
}

.menuRight {
  font-size: 24px;
}

.userInfo {
  display: flex;
  flex-direction: column;
  text-align: end;
}

/* Sidebar styles */
.sidebar {
  position: fixed;
  display: flex;
  flex-direction: column;
  width: 250px;
  background: white;
  height: 100vh;
  z-index: 1002;
  margin-top: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar-track {
  width: 8px;
  background-color: transparent;
}
.sidebar::-webkit-scrollbar {
  width: 8px;
  background-color: transparent;
}
.sidebar::-webkit-scrollbar-thumb {
  background-color: #fffffff3 !important;
  border-radius: 4px;
}

.logoSiemas {
  width: 100px;
  cursor: pointer !important;
}

.layoutLogo {
  display: flex;
  justify-content: space-around;
  padding: 5px;
  text-align: center;
  align-content: center;
}

.iconAndroid {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #737791;
  font-size: 26px;
  cursor: pointer;
}

.menuSidebar {
  padding: 8px;
  font-size: 18px;
  line-height: 45px;
}

.contentMenuList {
  color: #737791;
}

.contentMenuListActive {
  color: white;
  background: var(--bg-primary);
  text-decoration: none;
  padding: 4px;
  border-radius: 10px;
}

/* content main layouting */
.mainMaster {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.mainContent {
  flex: 1; /* Biarkan mainContent mengisi ruang kosong */
  padding: 20px;
  margin-left: 250px;
}

.footer {
  background-color: white;
  color: black;
  text-align: center;
  padding: 10px 0;
  width: 100%;
}

.menuLayoutClick ul {
  list-style: none;
  line-height: 40px;
}

.menuLayoutClick ul li {
  color: #f3f3f9;
  opacity: 70%;
  text-decoration: none !important;
}

.menuLayoutClick ul li:hover {
  color: white;
  opacity: 100%;
}

@media (max-width: 600px) {
  .namaUser,
  .username {
    font-size: 12px;
  }

  .avatarImage {
    width: 30px;
    margin-left: auto;
  }

  .sidebar {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 250px;
    background: white;
    height: 100vh;
    z-index: 1002;
    margin-top: 0;
    top: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(-250px);
  }

  .showSidebar {
    transform: translateX(0);
  }

  .logoSiemas {
    width: 80px;
    display: block;
    margin: auto;
    margin-bottom: 14px;
  }

  /* content main */
  .mainContent {
    padding: 20px;
    width: 100%;
    margin-left: 0;
  }
  .contentCard {
    width: 100%;
    display: flex;
    justify-content: right;
    margin: 0;
  }
  /* content main */

  .iconAndroid {
    margin-right: -45px !important;
  }
}

/* Tablet devices (portrait) */
@media (min-width: 601px) and (max-width: 768px) {
  .namaUser,
  .username {
    font-size: 12px;
  }

  .avatarImage {
    width: 30px;
    margin-left: auto;
  }

  .sidebar {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 250px;
    background: white;
    height: 100vh;
    z-index: 1002;
    margin-top: 0;
    top: 0;
    overflow-y: auto;
    transition: transform 0.3s ease;
    transform: translateX(-250px);
  }

  .showSidebar {
    transform: translateX(0);
  }

  .logoSiemas {
    width: 80px;
    display: block;
    margin: auto;
    margin-bottom: 14px;
  }

  .layoutLogo {
    display: flex;
    justify-content: space-around;
    padding: 5px;
    text-align: center;
    align-content: center;
  }

  .iconAndroid {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: white;
    font-size: 26px;
    cursor: pointer;
  }

  .mainContent {
    padding: 20px;
    width: 100%;
    margin-left: 0;
  }
}

/* Tablet devices (landscape) */
@media (min-width: 769px) and (max-width: 1024px) {
  .iconAndroid {
    display: none !important;
  }
}

/* Laptop and Desktop devices */
@media (min-width: 1025px) {
  .iconAndroid {
    display: none !important;
  }
}
