body {
  background: #f4f7fb;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#0f172a,#1d4ed8,#0ea5e9);
}

.login-card {
  width: 100%;
  max-width: 420px;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.app-shell {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  width: 260px;
  min-width: 260px;
  background: #111827;
  color: #fff;
  padding: 16px 14px;
  display: block;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
  flex: 0 0 40px;
}

.sidebar-logo-fallback {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex: 0 0 40px;
}

.sidebar-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.sidebar-divider {
  border-color: rgba(255,255,255,.12);
  margin: 10px 0 12px 0;
}

.sidebar-menu {
  display: block;
  margin: 0;
  padding: 0;
}

.sidebar-menu a {
  display: block;
  color: #d1d5db;
  text-decoration: none;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 0 0 4px 0;
  font-weight: 600;
  line-height: 1.2;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: #1f2937;
  color: #fff;
}

.sidebar-menu .logout-link {
  color: #f87171;
  margin-top: 10px;
}

.main-area,
.content-area {
  flex: 1;
  min-width: 0;
  padding: 24px;
}

.topbar {
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 6px 20px rgba(15,23,42,.06);
  margin-bottom: 24px;
}

.stat-card {
  border: none;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.card-soft {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  background: #fff;
}

.table-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
  overflow-x: auto;
}

.thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.form-section {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.report-card {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
  background: #fff;
  height: 100%;
}

.report-toolbar {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
}

.summary-box {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px;
}

@media print {
  .sidebar,
  .no-print,
  .topbar,
  .btn,
  .report-toolbar {
    display: none !important;
  }

  .main-area,
  .content-area {
    padding: 0 !important;
  }

  body {
    background: #fff !important;
  }
}