body {
  background: #F7FAFC;
  color: #2D3748;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
}
.main-layout {
  display: flex;
  min-height: 100vh;
  flex-direction: row;
}
.main-content {
  flex: 1;
  margin-left: 220px; /* width of sidebar */
  margin-top: 72px;   /* height of header */
  margin-bottom: 56px; /* height of footer */
  padding: 32px 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(45,55,72,0.08);
  min-height: calc(100vh - 72px - 56px);
  box-sizing: border-box;
}
.sidebar {
  width: 220px;
  background: #2D3748;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 0 0 0;
  min-height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  box-shadow: 2px 0 8px rgba(45,55,72,0.08);
  transition: box-shadow 0.2s;
}
.sidebar .nav-link {
  display: flex;
  align-items: center;
  padding: 16px 32px;
  color: #fff;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 500;
  border-left: 4px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.sidebar .nav-link.active, .sidebar .nav-link:hover {
  background: #4FD1C5;
  color: #2D3748;
  border-left: 4px solid #38B2AC;
}
.sidebar .nav-link .icon {
  margin-right: 12px;
  font-size: 1.3em;
}
.header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(45,55,72,0.08);
  display: flex;
  align-items: center;
    box-sizing: border-box;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: box-shadow 0.2s;
}
.header .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2D3748;
}
.header .user-menu {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}
.header .user-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #38B2AC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: 16px;
  box-shadow: 0 2px 8px rgba(45,55,72,0.10);
  transition: background 0.2s;
}
.header .user-icon:hover {
  background: #38B2AC; /* Updated hover color */
}
.header .dropdown {
  /* Removed dropdown styles */
}
/* Show dropdown when user-menu is hovered or dropdown itself is hovered/focused */
/* Removed dropdown hover styles */
}
.header .dropdown button {
  /* Removed dropdown button styles */
}
/* Logout button next to user icon */
.header .logout-btn {
  background: #805AD5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 22px;
  font-size: 1rem;
  cursor: pointer;
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(45,55,72,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.header .logout-btn:hover, .header .logout-btn:focus {
  background: #38B2AC;
  color: #fff;
  box-shadow: 0 4px 16px rgba(45,55,72,0.12);
}
}
.main {
  /* Deprecated: use .main-content instead */
}
.container {
  /* Deprecated: use .main-content instead */
}
h1, h2 {
  color: #2D3748;
}
.btn {
  background: #38B2AC;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn:disabled {
  background: #A0AEC0;
}
input, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0 16px 0;
  border: 1px solid #CBD5E0;
  border-radius: 4px;
  font-size: 1rem;
}
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}
.table th, .table td {
  border: 1px solid #CBD5E0;
  padding: 8px;
  text-align: left;
}
.table th {
  background: #2D3748;
  color: #fff;
}
.status-active {
  color: #38B2AC;
  font-weight: bold;
}
.footer {
  width: 100%;
  background: #2D3748;
  color: #fff;
  text-align: center;
  padding: 18px 0;
  font-size: 1rem;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(45,55,72,0.08);
}
@media (max-width: 900px) {
  .main-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    min-height: 56px;
    padding: 0;
    position: static;
    box-shadow: none;
  }
  .sidebar .nav-link {
    padding: 12px 8px;
    font-size: 1rem;
  }
  .main-content {
    margin-left: 0;
    margin-top: 56px;
    margin-bottom: 56px;
    min-height: calc(100vh - 56px - 56px);
  }
}
