body {
  font-family: 'Inter', 'Roboto', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
  margin: 0;
}
.sidebar {
  background: #fff;
  border-right: 1px solid #e5e7eb;
  box-shadow: 2px 0 8px #0001;
  min-width: 210px;
  min-height: 100vh;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.sidebar.closed {
  transform: translateX(-100%);
}
.sidebar.open {
  transform: translateX(0);
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar ul li {
  padding: 18px 24px;
}
.sidebar ul li a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background 0.2s;
}
.sidebar ul li a:hover, .sidebar ul li a.active {
  background: #e0e7ff;
}
.hamburger {
  display: none;
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #2563eb;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s;
}
.main-content {
  margin-left: 220px;
  padding: 32px 24px;
  background: #f6f8fa;
  min-height: 100vh;
}
.card, .login-container, .dashboard-cards, .main-content > form, .main-content > table, .main-content > ul {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px #0001;
  padding: 24px;
  margin-bottom: 24px;
}
.dashboard-cards {
  display: flex;
  gap: 24px;
}
.card {
  min-width: 180px;
  font-size: 1.1em;
  font-weight: 600;
  color: #2563eb;
  text-align: center;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
  background: none;
}
table th, table td {
  padding: 14px 12px;
  border: none;
  text-align: left;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
}
table th {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}
table tr:hover td {
  box-shadow: 0 4px 16px #2563eb22;
}
.btn {
  background: #2563eb;
  color: #fff;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px #2563eb22;
}
.btn:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 16px #2563eb33;
}
input, select, textarea {
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px;
  font-size: 1em;
  margin-bottom: 16px;
  transition: border 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  border: 1.5px solid #2563eb;
  box-shadow: 0 0 0 2px #2563eb22;
  outline: none;
}
.login-container {
  max-width: 370px;
  margin: 100px auto;
  background: #fff;
  padding: 40px 32px 32px 32px;
  border-radius: 16px;
  box-shadow: 0 8px 32px #2563eb22, 0 1.5px 8px #0001;
  position: relative;
  z-index: 1;
  text-align: center;
}
.login-logo {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  color: #fff;
  box-shadow: 0 2px 8px #2563eb33;
  margin-left: auto;
  margin-right: auto;
}
img {
  border-radius: 12px;
  box-shadow: 0 2px 8px #0001;
}
@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 80vw;
    max-width: 320px;
    min-width: 0;
    min-height: 100vh;
    box-shadow: 2px 0 16px #0002;
    transform: translateX(-100%);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    padding: 12px;
  }
  .dashboard-cards { flex-direction: column; gap: 12px; }
  .hamburger {
    display: flex;
  }
  .sidebar-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.18);
    z-index: 900;
    transition: opacity 0.2s;
  }
}
.sidebar-overlay {
  display: none;
}
