html {
  scrollbar-width: thin;
}

.dashboard {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  background-color: #f8fafb;
}

.dashboard .sidebar {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  align-self: stretch;
  flex: 0 0 auto;
  background: linear-gradient(
    180deg,
    rgba(176, 0, 0, 1) 0%,
    rgba(74, 0, 0, 1) 100%
  );
  z-index: 1000;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hide sidebar by default on small screens with animation */
.dashboard .sidebar.sidebar-closed-mobile {
  transform: translateX(-100%);
  opacity: 0;
}

@media (max-width: 767px) { /* Ensure sidebar is hidden on small screens unless toggled */
  .dashboard .sidebar {
    transform: translateX(-100%);
    opacity: 0;
  }
  .dashboard .sidebar:not(.sidebar-closed-mobile) {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (min-width: 768px) { /* Always show sidebar on medium and larger screens */
  .dashboard .sidebar {
    display: inline-flex !important; /* Use !important to override sidebar-closed-mobile */
    transform: translateX(0) !important;
    opacity: 1 !important;
  }
}

.dashboard .frame {
  display: flex;
  flex-direction: column;
  width: 190px;
  align-items: center;
  padding: 0px 23px;
  position: relative;
}

.dashboard .div {
  display: inline-flex;
  align-items: flex-start;
  gap: 11.46px;
  padding: 11.46px 0px;
  position: relative;
  flex: 0 0 auto;
}

.dashboard .logo-wrapper {
  display: inline-flex;
  align-items: flex-start;
  gap: 11.46px;
  padding: 11.46px;
  position: relative;
  flex: 0 0 auto;
  background-color: #ffffff;
  border-radius: 33px;
}

.dashboard .logo {
  position: relative;
  width: 67px;
  height: 24px;
  aspect-ratio: 2.77;
  object-fit: cover;
}

.dashboard .frame-wrapper {
  display: flex;
  align-items: center;
  gap: 291px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .text-wrapper {
  position: relative;
  width: fit-content;
  margin-top: -1.15px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-2 {
  flex-direction: column;
  width: 198px;
  gap: 4px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0px 10px;
  position: relative;
  overflow-y: auto; /* Added for auto scroll */
  overflow-x: hidden; /* Hide horizontal scrollbar */
  height: calc(100vh - 100px); /* Adjust height to allow scrolling, considering the header frame height */
}

.dashboard .div-2 {
  display: flex;
  height: 35px;
  align-items: center;
  gap: 5px;
  padding: 0px 18px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .div-wrapper {
  display: flex;
  width: 25px;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  padding: 10px;
  position: relative;
  align-self: stretch;
}

.dashboard .icon-wrapper {
  position: relative;
  width: 21px;
  height: 20px;
  margin-top: -2.50px;
  margin-bottom: -2.50px;
  margin-left: -8.00px;
  margin-right: -8.00px;
}

.dashboard .icon {
  position: absolute;
  width: 16px;
  height: 17px;
  top: 2px;
  left: 3px;
}

.dashboard .stats-tittle-wrapper {
  display: flex;
  width: 130.34px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  align-self: stretch;
  margin-right: -18.34px;
}

.dashboard .stats-tittle {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .img {
  position: absolute;
  width: 18px;
  height: 15px;
  top: 2px;
  left: 2px;
}

.dashboard .icon-2 {
  position: absolute;
  width: 14px;
  height: 15px;
  top: 2px;
  left: 4px;
}

.dashboard .icon-3 {
  position: absolute;
  width: 19px;
  height: 15px;
  top: 2px;
  left: 1px;
}

.dashboard .frame-3 {
  width: 130.34px;
  gap: 10px;
  align-self: stretch;
  margin-right: -18.34px;
  display: flex;
  align-items: center;
  padding: 0px 10px;
  position: relative;
}

.dashboard .stats-tittle-2 {
  font-weight: 500;
  color: #ffffff;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .icon-4 {
  position: absolute;
  width: 18px;
  height: 17px;
  top: 2px;
  left: 2px;
}

.dashboard .frame-4 {
  display: flex;
  flex-direction: column;
  width: 100%; /* Make it take full width */
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.dashboard .header {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: flex-end;
  padding: 5.73px 0px;
  position: relative;
  align-self: stretch;
  width: 100%; /* Full width on small screens */
  background-color: transparent;
}

@media (min-width: 768px) { /* Adjust header position and width for medium and larger screens */
  .dashboard .header {
    width: calc(100% - 190px);
    left: 190px;
  }
}

.dashboard .menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.dashboard .opsi {
  display: flex;
  width: 40px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 10px;
  position: relative;
  background-color: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #00000040;
}

.dashboard .list {
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: -2.00px;
  margin-right: -2.00px;
}

.dashboard .tema {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 10px;
  position: relative;
  flex: 0 0 auto;
  background-color: #ffffff;
  border-radius: 34px;
  box-shadow: 0px 0px 4px #00000040;
}

.dashboard .light-mode {
  position: relative;
  width: 24px;
  height: 24px;
}

.dashboard .profile {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 3px 6px;
  position: relative;
  background-color: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #00000040;
}

.dashboard .frame-5 {
  display: flex;
  width: 54px;
  height: 15px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 3px 23px;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    rgba(218, 7, 7, 1) 0%,
    rgba(255, 128, 9, 1) 100%
  );
}

.dashboard .text-wrapper-2 {
  position: relative;
  width: fit-content;
  margin-top: -4.50px;
  margin-bottom: -2.50px;
  margin-left: -11.50px;
  margin-right: -11.50px;
  font-family: "Afacad", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .text-wrapper-3 {
  position: relative;
  width: fit-content;
  font-family: "Afacad", Helvetica;
  font-weight: 400;
  color: #1d293d;
  font-size: 15px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .ellipse {
  position: relative;
  width: 31px;
  height: 31px;
  margin-top: -0.50px;
  margin-bottom: -0.50px;
}

.dashboard .frame-6 {
  display: flex;
  flex-direction: column;
  min-height: 761px;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  overflow-y: auto;
}

.dashboard .frame-6::-webkit-scrollbar {
  width: 0;
  display: none;
}

.dashboard .tahun {
  display: flex;
  width: 122px;
  height: 24px;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  position: relative;
  background-color: #ffffff;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .frame-7 {
  width: 47px;
  display: flex;
  height: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 3px 23px;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
}

.dashboard .text-wrapper-4 {
  position: relative;
  width: fit-content;
  margin-top: -4.00px;
  margin-bottom: -2.00px;
  margin-left: -15.50px;
  margin-right: -15.50px;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #1d293d;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .text-wrapper-5 {
  font-weight: 500;
  color: #810101;
  font-size: 11px;
  white-space: nowrap;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .chevron-down-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 7px;
  position: relative;
  flex: 0 0 auto;
  margin-top: -3.00px;
  margin-bottom: -3.00px;
  margin-right: -3.00px;
}

.dashboard .chevron-down {
  position: relative;
  width: 17px;
  height: 18px;
}

.dashboard .icon-5 {
  position: absolute;
  width: 8px;
  height: 4px;
  top: 7px;
  left: 4px;
}

.dashboard .frame-8 {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  max-height: 500px;
}

.dashboard .frame-9 {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  align-self: stretch;
  flex: 0 0 auto;
}

.dashboard .div-3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
}

.dashboard .userterbaru {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
  padding: 21px 29px;
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .frame-10 {
  display: flex;
  flex-direction: column;
  height: 67px;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .frame-11 {
  display: flex;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .frame-12 {
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.dashboard .ellipse-2 {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}

.dashboard .ellipse-3 {
  position: relative;
  width: 40px;
  height: 40px;
  margin-left: -12px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}

.dashboard .ellipse-4 {
  position: relative;
  width: 40px;
  height: 40px;
  margin-left: -12px;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}

.dashboard .person-wrapper {
  position: relative;
  width: 42px;
  height: 39px;
  margin-left: -12px;
  background-color: #b00000;
  border-radius: 100px;
  overflow: hidden;
}

.dashboard .user-avatar-container {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard .user-avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}



.dashboard .user-position-2,
.dashboard .user-position-3,
.dashboard .user-position-4 {
  margin-left: -12px;
}

.dashboard .user-tooltip {
  position: fixed;
  background-color: #333;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  z-index: 10000;
  pointer-events: none;
}

.dashboard .user-tooltip::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #333;
  margin-right: -1px;
}

.dashboard .user-avatar-container:hover .user-tooltip {
  opacity: 1;
  visibility: visible;
}

.dashboard .person {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 8px;
  left: 9px;
}

.dashboard .div-4 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .text-wrapper-6 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 600;
  color: #45556c;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .line {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 1px;
  margin-bottom: -1.00px;
  object-fit: cover;
}

.dashboard .quantity {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
  padding: 21px 29px;
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .frame-13 {
  display: flex;
  flex-direction: column;
  height: 67px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .frame-14 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .chart {
  position: relative;
  width: 42px;
  height: 42px;
  aspect-ratio: 1;
  object-fit: cover;
}

.dashboard .text-wrapper-7 {
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  color: #1d293d;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .frame-15 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .totaluser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 10px;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .frame-16 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
}

.dashboard .frame-17 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .frame-18 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .stats-tittle-3 {
  margin-top: -1.00px;
  font-weight: 600;
  color: #1d293d;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-size: 12px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-19 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .text-wrapper-8 {
  margin-top: -1.00px;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  color: #1d293d;
  font-size: 20px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .frame-20 {
  display: flex;
  width: 31px;
  height: 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 2px;
  position: relative;
  border-radius: 2px;
  background: linear-gradient(
    97deg,
    rgba(254, 237, 253, 1) 0%,
    rgba(236, 249, 253, 1) 60%,
    rgba(224, 249, 255, 1) 100%
  );
}

.dashboard .text-wrapper-9 {
  margin-top: -2.00px;
  font-weight: 600;
  font-size: 10px;
  white-space: nowrap;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  color: #1d293d;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .total-keseluruhan-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .total-keseluruhan {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #1d293d;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-21 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  margin-bottom: -3.88px;
}

.dashboard .user-chart-container {
  width: 100%;
  height: 120px;
  margin: 10px 0;
  position: relative;
}

.dashboard .frame-22 {
  display: none;
}

.dashboard .frame-23 {
  display: none;
}

.dashboard .text-wrapper-10 {
  font-weight: 700;
  font-size: 12px;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  color: #1d293d;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-24 {
  display: none;
}

.dashboard .text-wrapper-11 {
  margin-left: -2.32px;
  margin-right: -2.32px;
  font-weight: 700;
  font-size: 12px;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  color: #1d293d;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-25 {
  display: flex;
  flex-direction: column;
  width: 87px;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 10px 0px;
  position: relative;
}

.dashboard .umum {
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #1d293d;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .frame-26 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
}

.dashboard .text-wrapper-12 {
  margin-top: -1.00px;
  font-weight: 700;
  color: #1d293d;
  font-size: 12px;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-27 {
  background-color: #2d92ff;
  display: flex;
  width: 16px;
  height: 9px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  border-radius: 2px;
}

.dashboard .text-wrapper-13 {
  font-weight: 600;
  font-size: 6px;
  white-space: nowrap;
  position: relative;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  color: #1d293d;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .rectangle-wrapper {
  display: flex;
  flex-direction: column;
  height: 5px;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  border-radius: 5px;
}

.dashboard .rectangle {
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
  background-color: #2d92ff;
  border-radius: 2px;
}

.dashboard .element-wrapper {
  background-color: #fdba38;
  display: flex;
  width: 16px;
  height: 9px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  border-radius: 2px;
}

.dashboard .rectangle-2 {
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
  background-color: #fdba38;
  border-radius: 2px;
}

.dashboard .daftarlegiatan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 10px;
  position: relative;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

/* Responsive Table Styles */
.table-responsive-container {
  width: 100%;
  overflow-x: auto;
  border-radius: 10px;
  max-height: 350px;
}

.table-responsive {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.table-responsive th,
.table-responsive td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: none;
  font-family: "Montserrat", Helvetica;
  font-size: 11px;
  color: #45556c;
}

.table-responsive th {
  background-color: #f8fafb;
  font-weight: 600;
  color: #1d293d;
  white-space: nowrap;
}

.table-responsive td {
  vertical-align: top;
}

.table-responsive td:first-child {
  white-space: nowrap;
}

.status-indicator {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.status-indicator .frame-39 {
  background-color: #66deb3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator .frame-41 {
  background-color: #868fa0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-indicator .frame-43 {
  background-color: #00b274;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.row-pending {
  background-color: #c0ffe833;
}

.row-processing {
  background-color: #868fa012;
}

.row-completed {
  background-color: #7bb0ff33;
}

.table-responsive tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Mobile responsive for table */
@media (max-width: 767px) {
  .table-responsive-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-responsive {
    min-width: 600px; /* Ensure minimum width for scrolling */
  }

  .table-responsive th,
  .table-responsive td {
    padding: 8px 10px;
    font-size: 10px;
  }
}

.dashboard .frame-28 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .frame-29 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  flex: 1;
  flex-grow: 1;
}

.dashboard .frame-30 {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 10px;
  position: relative;
  flex: 0 0 auto;
}

.dashboard .frame-31 {
  display: inline-flex;
  height: 24px;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  position: relative;
  flex: 0 0 auto;
  background-color: #f8fafb;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .frame-32 {
  width: 63px;
  display: flex;
  height: 12px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 3px 23px;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
}

.dashboard .text-wrapper-14 {
  position: relative;
  width: fit-content;
  margin-top: -4.00px;
  margin-bottom: -2.00px;
  margin-left: -18.00px;
  margin-right: -18.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #868fa0;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .frame-33 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px;
  position: relative;
  flex: 0 0 auto;
  margin-top: -3.00px;
  margin-bottom: -3.00px;
}

.dashboard .frame-34 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .frame-35 {
  display: flex;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  border-radius: 10px;
}

.dashboard .heading-sel {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 10px;
  position: relative;
}

.dashboard .heading {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #45556c;
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .div-wrapper-2 {
  display: flex;
  padding: 10px;
  flex: 1;
  flex-grow: 1;
  align-items: center;
  gap: 10px;
  position: relative;
}

.dashboard .heading-wrapper {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  padding: 10px;
  position: relative;
}

.dashboard .frame-36 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  flex: 1;
  align-self: stretch;
  width: 100%;
  flex-grow: 1;
  border-radius: 10px;
  overflow: hidden;
  overflow-y: scroll;
  max-height: 300px;
}

.dashboard .frame-36::-webkit-scrollbar {
  width: 0;
  display: none;
}

.dashboard .frame-37 {
  display: flex;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #c0ffe833;
}

.dashboard .frame-38 {
  display: inline-flex;
  flex-direction: column;
  height: 32px;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 6px 15px;
  position: relative;
  flex: 0 0 auto;
}

.dashboard .frame-39 {
  background-color: #66deb3;
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 10px;
}

.dashboard .body-sel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  position: relative;
  flex: 0 0 auto;
}

.dashboard .body {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #00b274;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .p {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #00b274;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-40 {
  display: flex;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #868fa012;
}

.dashboard .frame-41 {
  background-color: #868fa0;
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 10px;
}

.dashboard .body-2 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #45556c;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .body-3 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #45556c;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .frame-42 {
  display: flex;
  align-items: flex-start;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #7bb0ff33;
}

.dashboard .frame-43 {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 10px;
}

.dashboard .body-4 {
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #6492f4;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .body-5 {
  position: relative;
  flex: 1;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #6492f4;
  font-size: 10px;
  letter-spacing: 0;
  line-height: normal;
}

.dashboard .subtitles {
  margin-bottom: -4.00px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .frame-44 {
  display: flex;
  height: 26px;
  align-items: flex-end;
  gap: 8px;
  padding: 24px 10px 8px 0px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .data-content {
  display: inline-flex;
  align-items: center;
  padding: 1px 0px;
  position: relative;
  flex: 0 0 auto;
  margin-top: -24.00px;
}

.dashboard .intetity-color {
  position: relative;
  width: 16px;
  height: 16px;
}

.dashboard .ellipse-5 {
  position: relative;
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  background-color: #66deb3;
  border-radius: 4px;
}

.dashboard .content {
  color: #00b274;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .ellipse-6 {
  background-color: #7bb0ff;
  position: relative;
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  border-radius: 4px;
}

.dashboard .content-2 {
  color: #6492f4;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .ellipse-7 {
  background-color: #868fa0;
  position: relative;
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  border-radius: 4px;
}

.dashboard .content-3 {
  color: #45556c;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0;
  line-height: normal;
  white-space: nowrap;
}

.dashboard .sales {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  padding: 10px;
  position: relative;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .card-header {
  flex-direction: column;
  height: 49px;
  align-items: flex-start;
  padding: 10px 25px 10px 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .text-wrapper-15 {
  position: relative;
  align-self: stretch;
  font-family: "Montserrat", Helvetica;
  font-weight: 600;
  color: #1d293d;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .card-body {
  height: 249px;
  align-items: center;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .chart-graphic {
  position: relative;
  flex: 1;
  flex-grow: 1;
  height: 231.14px;
  margin-top: -1.07px;
  margin-bottom: -1.07px;
}

.dashboard .overlap-group {
  position: relative;
  width: 521px;
  height: 231px;
}

.dashboard .group {
  position: absolute;
  width: 521px;
  height: 231px;
  top: 0;
  left: 0;
}

.dashboard .bottom-value {
  position: relative;
  width: 543px;
  height: 231px;
}

.dashboard .text-wrapper-16 {
  position: absolute;
  width: 41px;
  top: 214px;
  left: 396px;
  color: #1d293d;
  letter-spacing: 0;
  line-height: 16.3px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
}

.dashboard .text-wrapper-17 {
  position: absolute;
  width: 35px;
  top: 214px;
  left: 309px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #1d293d;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .text-wrapper-18 {
  position: absolute;
  width: 38px;
  top: 214px;
  left: 223px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #1d293d;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .text-wrapper-19 {
  position: absolute;
  width: 38px;
  top: 214px;
  left: 138px;
  color: #1d293d;
  letter-spacing: 0;
  line-height: 16.3px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
}

.dashboard .text-wrapper-20 {
  position: absolute;
  width: 37px;
  top: 214px;
  left: 484px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #1d293d;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .text-wrapper-21 {
  position: absolute;
  width: 35px;
  top: 214px;
  left: 52px;
  color: #1d293d;
  letter-spacing: 0;
  line-height: 16.3px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
}

.dashboard .jan {
  width: 24px;
  top: 0;
  left: 2px;
  color: #1d293d;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-2 {
  width: 24px;
  top: 41px;
  left: 0;
  color: #1d293d;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-3 {
  width: 23px;
  top: 90px;
  left: 2px;
  color: #1d293d;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-4 {
  width: 24px;
  top: 138px;
  left: 2px;
  color: #1d293d;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-5 {
  width: 23px;
  top: 184px;
  left: 2px;
  color: #1d293d;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .group-2 {
  position: absolute;
  width: 466px;
  height: 188px;
  top: 6px;
  left: 55px;
}

.dashboard .kegiatan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px;
  position: relative;
  flex: 1;
  align-self: stretch;
  flex-grow: 1;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 0px 4px #0000001a;
}

.dashboard .card-header-2 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px 10px 15px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .text-wrapper-22 {
  position: relative;
  width: 205px;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 600;
  color: #1d293d;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 29px;
}

.dashboard .frame-45 {
  display: flex;
  flex-direction: column;
  height: 165px;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
}

.dashboard .chart-graphic-2 {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 138px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: #d3d7e3;
}

.dashboard .bottom-value-wrapper {
  position: absolute;
  width: 21px;
  height: 129px;
  top: 0;
  left: 0;
}

.dashboard .bottom-value-2 {
  position: relative;
  width: 31px;
  height: 129px;
}

.dashboard .jan-6 {
  width: 20px;
  top: 0;
  left: 1px;
  color: #45556c;
  white-space: nowrap;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-7 {
  width: 20px;
  top: 27px;
  left: 0;
  color: #45556c;
  white-space: nowrap;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-8 {
  width: 19px;
  top: 58px;
  left: 1px;
  color: #45556c;
  white-space: nowrap;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-9 {
  width: 20px;
  top: 88px;
  left: 1px;
  color: #45556c;
  white-space: nowrap;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .jan-10 {
  width: 19px;
  top: 118px;
  left: 1px;
  color: #45556c;
  white-space: nowrap;
  position: absolute;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
  letter-spacing: 0;
  line-height: 16.3px;
}

.dashboard .overlap-group-2 {
  position: absolute;
  width: 384px;
  height: 138px;
  top: 0;
  left: 41px;
}

.dashboard .group-3 {
  position: absolute;
  width: 380px;
  height: 138px;
  top: 0;
  left: 4px;
}

.dashboard .frame-46 {
  position: absolute;
  width: 22px;
  height: 105px;
  top: 34px;
  left: 76px;
  background-color: #fdba38;
}

.dashboard .frame-47 {
  position: relative;
  width: 24px;
  height: 86px;
  top: 18px;
  left: 22px;
  background-color: #2d92ff;
}

.dashboard .frame-48 {
  position: absolute;
  width: 22px;
  height: 105px;
  top: 34px;
  left: 154px;
  background-color: #fdba38;
}

.dashboard .frame-49 {
  position: absolute;
  width: 22px;
  height: 105px;
  top: 34px;
  left: 0;
  background-color: #fdba38;
}

.dashboard .frame-50 {
  position: absolute;
  width: 22px;
  height: 105px;
  top: 34px;
  left: 230px;
  background-color: #fdba38;
}

.dashboard .frame-51 {
  position: absolute;
  width: 22px;
  height: 105px;
  top: 34px;
  left: 307px;
  background-color: #fdba38;
}

.dashboard .years {
  display: flex;
  width: 424px;
  height: 22px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}

.dashboard .text-wrapper-23 {
  position: relative;
  width: 52px;
  height: 22px;
  margin-top: -1.00px;
  color: #49546e;
  letter-spacing: -0.20px;
  line-height: 20px;
  white-space: nowrap;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
}

.dashboard .text-wrapper-24 {
  position: relative;
  width: 47px;
  height: 22px;
  margin-top: -1.00px;
  color: #49546e;
  letter-spacing: -0.20px;
  line-height: 20px;
  white-space: nowrap;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  font-size: 10px;
  text-align: center;
}

.dashboard .text-wrapper-25 {
  position: relative;
  width: 63px;
  height: 22px;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #49546e;
  font-size: 10px;
  text-align: center;
  letter-spacing: -0.20px;
  line-height: 20px;
  white-space: nowrap;
}

.dashboard .text-wrapper-26 {
  position: relative;
  width: 62px;
  height: 22px;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #49546e;
  font-size: 10px;
  text-align: center;
  letter-spacing: -0.20px;
  line-height: 20px;
  white-space: nowrap;
}

.dashboard .subtitles-2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0px 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.dashboard .ellipse-8 {
  background-color: #2d92ff;
  position: relative;
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  border-radius: 4px;
}

.dashboard .ellipse-9 {
  background-color: #fdba38;
  position: relative;
  width: 8px;
  height: 8px;
  top: 4px;
  left: 4px;
  border-radius: 4px;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 8px;
  top: 100%;
  left: 0;
  margin-top: 2px;
}

.dropdown-content div {
  color: #1d293d;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-family: "Montserrat", Helvetica;
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
  margin: 2px;
}



.dropdown.show .dropdown-content {
  display: block;
}

.chevron-down-wrapper {
  cursor: pointer;
}

/* Chart Container Styles */
.chart-graphic canvas {
  width: 100% !important;
  height: 200px !important;
}

.chart-graphic-2 canvas {
  width: 100% !important;
  height: 138px !important;
}

#userChart {
  width: 100% !important;
  height: 120px !important;
}

/* Custom scrollbar for sidebar */
.dashboard .frame-2 {
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 0, 0, 0.8) rgba(74, 0, 0, 0.5);
}

.dashboard .frame-2::-webkit-scrollbar {
  width: 8px;
}

.dashboard .frame-2::-webkit-scrollbar-track {
  background: rgba(74, 0, 0, 0.5); /* Darker, semi-transparent from the gradient */
  border-radius: 10px;
}

.dashboard .frame-2::-webkit-scrollbar-thumb {
  background: rgba(176, 0, 0, 0.8); /* Lighter, semi-transparent from the gradient */
  border-radius: 10px;
}

.dashboard .frame-2::-webkit-scrollbar-thumb:hover {
  background: rgba(176, 0, 0, 1); /* Solid on hover */
}

  /* Default for desktop */
  .header {
    width: calc(100% - 190px);
    left: 190px;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .header {
        width: 100%;
        left: 0;
    }
}

/* Explicitly hide sidebar toggle on desktop */
@media (min-width: 768px) {
    #sidebarToggle {
        display: none !important;
    }
    .header-right-items {
        display: flex !important; /* Always show on desktop */
        flex-direction: row !important;
        align-items: center !important;
    }
}

/* Ensure sidebar toggle is visible on mobile */
@media (max-width: 767px) {
    #sidebarToggle {
        display: inline-flex !important;
    }
    .dashboard .menu {
        width: 100%;
        justify-content: space-between;
        padding-right: 0; /* Remove padding on mobile to maximize space */
    }
    .header-right-items {
        display: flex; /* Always show on mobile */
        flex-direction: row;
        align-items: center;
    }
    .dashboard .menu .tema,
    .dashboard .menu .profile {
        margin: 0 5px; /* Adjust margin for better spacing on mobile */
    }
    .dashboard .profile {
        width: auto; /* Allow profile to shrink on mobile */
    }

    /* Adjust main content for mobile to prevent excessive width */
    .dashboard main {
        width: 100%;
        margin-left: 0 !important; /* Override md:ml-[190px] on mobile */
        padding-left: 10px; /* Add some padding to the sides */
        padding-right: 10px;
        box-sizing: border-box; /* Include padding in element's total width */
    }

    /* Ensure images and other media are responsive */
    .dashboard main img,
    .dashboard main video {
        max-width: 100%;
        height: auto;
    }

    /* Adjust search input and add button container for smaller screens */
    .dashboard .flex-wrap {
        flex-wrap: wrap;
    }
    .dashboard .flex-grow.max-w-full.sm\:max-w-xs {
        max-width: 100%; /* Ensure search input takes full width on small screens */
    }
}

/* Force red focus borders for all inputs and selects */
input:focus,
select:focus,
textarea:focus {
  border-color: #dc2626 !important; /* red-600 */
  box-shadow: 0 0 0 1px #dc2626 !important;
  outline: none !important;
}

/* Notification Styles */
.notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 60;
}

.notification-sidebar {
  position: fixed;
  top: 68px;
  right: -400px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 65;
  overflow: hidden;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}

.notification-sidebar.show {
  right: 10px;
}

.notification-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background-color 0.2s;
}

.notification-item:hover {
  background-color: #f9fafb;
}

.notification-item.unread {
  background-color: #eff6ff;
  border-left: 3px solid #3b82f6;
}

.notification-message {
  font-size: 14px;
  color: #1d293d;
  line-height: 1.4;
  margin-bottom: 4px;
}

.notification-time {
  font-size: 12px;
  color: #6b7280;
}

.event-name {
  font-weight: 600;
  color: #1d293d;
}

.notification-list {
  overflow-y: auto;
}

.notification-empty {
  padding: 32px 16px;
  text-align: center;
  color: #6b7280;
}

.notification-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #868fa0;
}

/* Loading spinner animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #f3f4f6;
  border-top: 2px solid #dc2626;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
  margin-right: 8px;
  vertical-align: middle;
}

.spinner:not(.hidden) {
  display: inline-block;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc2626;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: bold;
  min-width: 18px;
  text-align: center;
}

/* Custom styles for Dropzone */
.dropzone {
  border: 2px dashed #e5e7eb;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  padding: 1.5rem;
  transition: background-color 0.2s ease-in-out;
}

.dropzone:hover {
  background-color: #f3f4f6;
}

.dropzone .dz-message {
  color: #6b7280;
}

.dropzone .dz-preview {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  margin: 0.5rem;
  padding: 0.75rem;
  position: relative;
  display: flex;
  align-items: center;
}

.dropzone .dz-preview .dz-image {
  border-radius: 0.375rem;
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.dropzone .dz-preview .dz-details {
  margin-left: 0.75rem;
  flex: 1;
}

.dropzone .dz-preview .dz-filename {
  font-weight: 500;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px; /* Adjust as needed */
}

.dropzone .dz-preview .dz-size {
  font-size: 0.875rem;
  color: #6b7280;
}

.dropzone .dz-preview .dz-progress {
  height: 6px;
  background: #e5e7eb;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.dropzone .dz-preview .dz-upload {
  background: #3b82f6;
  width: 0;
  height: 100%;
  transition: width 0.3s ease-in-out;
}

.dropzone .dz-preview .dz-success-mark,
.dropzone .dz-preview .dz-error-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -26px; /* Half of icon height */
  margin-left: -26px; /* Half of icon width */
  width: 52px;
  height: 52px;
  font-size: 3rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.dropzone .dz-preview.dz-success .dz-success-mark {
  opacity: 1;
  color: #10b981;
}

.dropzone .dz-preview.dz-error .dz-error-mark {
  opacity: 1;
  color: #ef4444;
}

.dropzone .dz-preview .dz-error-message {
  position: absolute;
  top: -5px;
  left: -5px;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  max-width: 200px;
  white-space: normal;
  z-index: 10;
}

.dropzone .dz-preview .dz-remove {
  margin-left: auto;
  color: #ef4444;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.dropzone .dz-preview .dz-remove:hover {
  text-decoration: underline;
}

/* Sidebar Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 97;
  display: none;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
}

/* Active menu item styling */
.dashboard .sidebar a.active {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dashboard .sidebar a.active .stats-tittle {
  color: #ffffff;
  font-weight: 600;
}

/* Responsive styles for medium screens and up */
@media (min-width: 768px) {
  .dashboard .frame-9 {
    flex: 0 0 50%;
  }

  .dashboard .frame-37 {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard .frame-38 {
    width: 100%;
  }

  .dashboard .body-sel {
    width: 100%;
  }
}

/* Responsive styles for mobile */
@media (max-width: 767px) {
  .dashboard .frame-8 {
    flex-direction: column;
    align-items: stretch;
    max-height: none;
  }

  .dashboard .div-3 {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .dashboard .userterbaru {
    width: 100%;
    padding: 15px 20px;
  }

  .dashboard .quantity {
    width: 100%;
    padding: 15px 20px;
  }

  .dashboard .totaluser {
    padding: 10px;
  }

  .dashboard .daftarlegiatan {
    padding: 10px;
  }

  .dashboard .div-4 {
    flex-direction: column;
    gap: 10px;
  }

  .dashboard .sales {
    width: 100%;
    height: auto;
    min-height: 323px;
    padding: 10px;
  }

  .dashboard .kegiatan {
    width: 100%;
    padding: 10px;
  }

  .dashboard .frame-35 {
    flex-direction: column;
    align-items: flex-start;
  }

  .dashboard .heading-sel {
    width: 100%;
  }

  .dashboard .div-wrapper-2 {
    width: 100%;
  }

  .dashboard .heading-wrapper {
    width: 100%;
  }

  .dashboard .frame-36 {
    max-height: 200px;
  }

  .dashboard .frame-25 {
    width: 100%;
  }

  /* Hide chart labels on mobile for better responsiveness */
  .dashboard .sales .text-wrapper-16,
  .dashboard .sales .text-wrapper-17,
  .dashboard .sales .text-wrapper-18,
  .dashboard .sales .text-wrapper-19,
  .dashboard .sales .text-wrapper-20,
  .dashboard .sales .text-wrapper-21,
  .dashboard .sales .jan,
  .dashboard .sales .jan-2,
  .dashboard .sales .jan-3,
  .dashboard .sales .jan-4,
  .dashboard .sales .jan-5 {
    display: none;
  }

  .dashboard .kegiatan .jan-6,
  .dashboard .kegiatan .jan-7,
  .dashboard .kegiatan .jan-8,
  .dashboard .kegiatan .jan-9,
  .dashboard .kegiatan .jan-10 {
    display: none;
  }

  /* Make chart containers fully responsive */
  .dashboard .sales .overlap-group,
  .dashboard .sales .group,
  .dashboard .sales .bottom-value {
    width: 100%;
  }

  .dashboard .kegiatan .overlap-group-2,
  .dashboard .kegiatan .group-3 {
    width: 100%;
  }

  .dashboard .kegiatan .years {
    width: 100%;
  }
}
