.custom-dashboard {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  background-color: #fff;
}

/* Sidebar Styles */
.custom-sidebar {
  width: 300px;
  flex-shrink: 0;
  padding: 50px 32px;
  position: fixed;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  border-right: 1px solid #dfe1e6;
  background: #fff;
  z-index: 100;
}

.custom-sidebar.hide {
  transform: translateX(-100%);
}

.custom-sidebar-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 54px;
}

.custom-profile-img {
  max-width: 60px;
  max-height: 60px;
  border-radius: 50%;
}

.custom-profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-user-name {
  color: #141414;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.custom-user-plan {
  color: #5a5c5f;
  font-size: 16px;
  font-weight: 400;
}

.custom-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.custom-sidebar-link {
  color: #5a5c5f;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition-duration: 0.3s;
}

.custom-sidebar-link:hover {
  border-radius: 4px;
  background: #f1f1f1;
}

.custom-sidebar-link.active {
  border-radius: 4px;
  background: #f1f1f1;
}

.custom-menu-section {
  color: #5a5c5f;
  font-size: 16px;
  font-weight: 400;
  margin: 20px 0 10px;
}

.custom-logout-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

/* Custom Scrollbar */
.custom-sidebar-menu-wrapper {
  height: calc(100vh - 272px);
  overflow-y: auto;
}

.custom-sidebar-menu-wrapper::-webkit-scrollbar {
  width: 8px;
}

.custom-sidebar-menu-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.custom-sidebar-menu-wrapper::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}

/* Main Content Styles */
.custom-main-content {
  flex-grow: 1;
  margin-left: 300px;
  transition: margin-left 0.3s ease-in-out;
  overflow: hidden;
}

.custom-main-content.expanded {
  margin-left: 0;
}

.custom-page-title {
  color: #5a5c5f;
  font-size: 24px;
  font-weight: 600;
}

.custom-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid lightgray;
}

.custom-sidebar-toggle {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  display: none;
}

.custom-content {
  height: calc(100vh - 87px);
  overflow-y: auto;
  background: #fff;
  padding: 32px;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.page-content {
  color: #5a5c5f;
  font-size: 16px;
  font-weight: 400;
}

.payment-info-form-wrapper {
  max-width: 700px;
  width: 100%;
}

.payment-info-form-wrapper h3 {
  color: #5a5c5f;
  font-size: 18px;
  font-weight: 600;
  line-height: 132%;
  letter-spacing: -0.36px;
  margin-bottom: 16px;
}

.upgrade {
  color: #775138;
  font-size: 16px;
  font-weight: 400;
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .custom-content {
    padding: 28px;
  }
  .custom-topbar {
    padding: 20px 28px;
  }
  .custom-page-title {
    font-size: 22px;
  }
  .custom-sidebar-toggle {
    display: block;
  }

  .custom-sidebar {
    transform: translateX(-100%);
  }

  .custom-sidebar.show {
    transform: translateX(0);
  }

  .custom-main-content {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .custom-content {
    padding: 24px;
  }

  .custom-page-title {
    font-size: 20px;
  }

  .custom-topbar {
    padding: 16px 24px;
  }
}

@media (max-width: 480px) {
  .custom-topbar {
    padding: 12px 20px;
  }
  .custom-page-title {
    font-size: 18px;
  }

  .custom-content {
    padding: 20px;
  }
}
