body {
  margin: 0;
  display: flex;
  font-family: 'Segoe UI', sans-serif;
  background-color: #e0e0e0;
  color: #333333;
}

.sidebar {
  width: 14vw;
  background-color: #e0e0e0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  box-sizing: border-box;
  align-items: center;
}

.logo {
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #ccc;
}

.logo-img {
  width: 80%;
  height: auto;
  margin-top: 10px;
  object-fit: contain;
}

.tab {
  width: 100%;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
}

.tab i {
  margin-right: 10px;
}

.tab:hover {
  background-color: #d5d5d5;
}

.tab.active {
  background-color: #037ac0;
  color: white;
  border-radius: 5px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

.logout {
  margin-top: auto;
  margin-bottom: 10%;
  background-color: #800020;
  color: #fff;
  width: 100%;
  text-align: left;
}

.logout:hover {
  background-color: #a52a2a;
}

.main-body {
  flex: 1;
  padding-top: 20px;
  background-color: #e0e0e0;
  display: flex;
  flex-direction: column;
}

.main-section {
  background: linear-gradient(to left, white 70%, #d3d3d3 100%);
  border-radius: 16px;
  padding: 40px;
  height: 95vh;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: white;
  color: black;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  padding: 10px 10px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.dashboard-name {
  font-size: 20px;
  font-weight: bold;
  margin-right: 20px;
  color: #333;
}

.search-bar {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 200px;
}

.header-center {
  display: flex;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.menu-tab {
  font-weight: 500;
  cursor: pointer;
  color: #333;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

.menu-tab:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: flex-end;
}

.icon-tab {
  font-size: 18px;
  color: #333;
  cursor: pointer;
}

.profile-tab {
  margin-left: 10px;
}

.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ccc;
}