/* assets/style.css */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  display: flex;
  background: #f6f8fc;
  color: #333;
}

/* Sidebar */
.sidebar {
  background: #1a4ea0;
  color: white;
  width: 240px;
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
}
.sidebar-header {
  padding: 20px;
  font-size: 22px;
  text-align: center;
  background: #143b78;
}
.sidebar a {
  display: block;
  padding: 14px 20px;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}
.sidebar a:hover, .sidebar a.active {
  background: #2d63be;
}

/* Main content */
.main {
  margin-left: 240px;
  flex-grow: 1;
  padding: 20px;
  transition: margin-left 0.3s ease;
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.topbar h1 {
  font-size: 22px;
  color: #1a4ea0;
}
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* Cards & forms */
.card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
button, .btn {
  background: #1a4ea0;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
button:hover, .btn:hover {
  background: #003e8a;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
th, td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
}
th {
  background: #eef3fd;
  color: #1a4ea0;
  text-align: left;
}

/* Responsive */
@media(max-width:768px){
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 999;
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .hamburger {
    display: block;
  }
  .main {
    margin-left: 0;
  }
}
