.main-navigation-dashboard {
  margin: 40px 5px 0;
}

.tabs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dashboard-header {
  margin: 10px 0 10px;
}

.tenant-dashboard {
  font-size: 20px;
  font-weight: 600;
  color: #4d4d4d;
}

/* Sidebar Wrapper */
.sidebar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: #ffffff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  padding: 30px 20px;
}

.sidebar-wrapper.open {
  transform: translateX(0);
  font-family: Poppins;
  font-weight: 400;
}

/* Sidebar toggle button */
.sidebar-toggle-button1 {
  position: absolute;
  top: 15px;
  left: 15px; /* base position */
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 2002;
  transition: left 0.3s ease; /* 👈 now uses left */
}

/* When sidebar is open, move the button */
.sidebar-toggle-button1.moved {
  left: 270px; /* 280px sidebar + 20px gap */
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.isam {
  font-weight: 600;
  font-size: 20px;
  color: #37375c;
}

/* Dropdown */
.system-dropdown {
  width: auto;
  max-width: 250px;
  height: 38px;
  border-radius: 10px;
  padding: 8px 45px 8px 15px; /* extra right padding for bigger arrow */
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;

  /* 🔹 Custom arrow */
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center; /* move a bit right to center properly */
  background-size: 20px 20px; /* <-- width x height */
  cursor: pointer;
}

/* Menu List */
.reports-parent {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reports1 {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reports1:hover {
  background-color: #f5f6fa;
}

.reports1.active {
  background-color: #e6e9f2;
  color: #4339f2; /* 👈 this sets currentColor */
  font-weight: 600;
}

.reports1.active .sidebar-menu1 {
  color: inherit; /* no need to repeat */
}

.reports1.active .vector-icon,
.reports1.open .vector-icon {
  filter: brightness(0) saturate(100%) invert(26%) sepia(96%) saturate(3000%)
    hue-rotate(242deg) brightness(90%) contrast(90%);
}

.reports1.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.submenu-item.disabled {
  pointer-events: none;
  color: #aaa;
  cursor: not-allowed;
}

.icon-parent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vector-icon {
  width: 20px;
  height: 20px;
}

.isam-icon {
  width: 122px;
  height: 29px;
}
.sidebar-menu1 {
  font-size: 16px;
  color: #37375c;
}

.reports1.active,
.reports1.open {
  background-color: #e6e9f2;
  color: #4339f2;
  font-weight: 600;
}

.reports1.open .sidebar-menu1 {
  color: #4339f2;
}

.reports1.active .sidebar-menu1 {
  color: #4339f2;
  font-weight: 600;
}

.submenu {
  margin-left: 44px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 0; /* hidden by default */
  overflow: hidden;
  transition: max-height 0.3s ease; /* smooth slide */
}

.submenu.open {
  max-height: 200px; /* big enough to fit children */
}

.submenu-item {
  font-size: 16px;
  color: #555;
  cursor: pointer;
  padding: 6px 0;
  border-radius: 4px;
  text-decoration: none;
}

.submenu-item:hover {
  color: #4339f2;
}

.submenu-item.active {
  font-weight: 600;
  color: #4339f2;
}

.reports1.has-submenu.open {
  background-color: #e6e9f2;
  color: #4339f2;
  font-weight: 600;
}

.topbar {
  position: relative; /* make it always visible at top */
  top: 0;
  right: 0;
  left: 0; /* stretch across page */
  height: 60px;
  background-color: #f3f5f8;
  display: flex;
  justify-content: flex-end; /* greeting goes to right */
  align-items: flex-end;
  padding: 0 25px;
  box-sizing: border-box;
  color: #4d4d4d;
}

.user-greeting {
  min-width: 200px;
  border-radius: 9px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1.2px solid #e9e9e9;
  padding: 8px 12px;
  display: flex;
  align-items: center;
}
.user-greeting:hover {
  cursor: default;
}

.user-greeting-text {
  font-size: 16px;
  font-weight: 400;
  font-family: Poppins;
}

.text {
  font-family: Poppins;
}
