/* ============================================================
   AI审核系统 — 商用SaaS风格样式表
   Design: 类钉钉/阿里云控制台 · 专业企业级
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: #1e293b;
  background: #f1f5f9;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: #1557b0; }

/* ============================================================
   1. 布局 Layout
   ============================================================ */
.layout {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #1e293b;
  color: #fff;
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.main-content {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 24px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

/* 顶部维护按钮 */
.topbar-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 16px;
}

.maintenance-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.maintenance-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1a73e8;
}

.page-content {
  padding: 24px;
  flex: 1;
}

/* ============================================================
   2. 侧边栏 Sidebar
   ============================================================ */
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-logo img,
.sidebar-logo svg {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.sidebar-logo span {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 0;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.15s ease;
  border-left: 3px solid transparent;
  user-select: none;
  margin: 1px 0;
}

.nav-item:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.nav-item.active {
  background: rgba(26,115,232,0.18);
  color: #fff;
  border-left-color: #1a73e8;
  font-weight: 600;
}

.nav-item .nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.nav-item .nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-item .nav-badge {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #ef4444;
  color: #fff;
  font-weight: 500;
}

.nav-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 16px;
}

.nav-group {
  margin-top: 12px;
}

.nav-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.nav-group-title:hover {
  color: rgba(255,255,255,0.6);
}

.nav-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-left: 8px;
}

.nav-group.collapsed .nav-item {
  display: none;
}

.nav-group.collapsed .nav-group-title::after {
  background: rgba(255,255,255,0.04);
}

/* 强制展开审核流程 - 覆盖折叠样式 */
.nav-group.expanded .nav-item,
.nav-group:not(.collapsed) .nav-item {
  display: block !important;
}

.sidebar-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.sidebar-footer .nav-item {
  padding: 10px 0;
  border-left: none;
  font-size: 14px;
}

/* ============================================================
   3. 统计卡片 Stats Cards
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.stat-card .stat-info {
  flex: 1;
  min-width: 0;
}

.stat-card .title {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-card .value {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.stat-card .sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* Color variants */
.stat-card.blue .stat-icon {
  background: rgba(26,115,232,0.1);
  color: #1a73e8;
}
.stat-card.yellow .stat-icon {
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
}
.stat-card.green .stat-icon {
  background: rgba(16,185,129,0.1);
  color: #10b981;
}
.stat-card.red .stat-icon {
  background: rgba(239,68,68,0.1);
  color: #ef4444;
}

/* ============================================================
   4. 表格 Data Table
   ============================================================ */
.data-table-wrapper {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table thead tr {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.data-table th {
  padding: 12px 16px;
  font-weight: 600;
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid #e2e8f0;
}

.data-table td {
  padding: 12px 16px;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

.data-table tbody tr {
  transition: background 0.15s ease;
}

.data-table tbody tr:hover {
  background: #f1f5f9;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Badge tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

.badge-pending {
  background: #fef3c7;
  color: #92400e;
}

.badge-running {
  background: #dbeafe;
  color: #1e40af;
}

.badge-done {
  background: #d1fae5;
  color: #065f46;
}

.badge-failed {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================================
   5. 按钮 Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
  outline: none;
}

.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(26,115,232,0.3);
}

.btn-primary {
  background: #1a73e8;
  color: #fff;
  border-color: #1a73e8;
}
.btn-primary:hover {
  background: #1557b0;
  border-color: #1557b0;
}
.btn-primary:active {
  background: #0d47a1;
}
.btn-primary:disabled {
  background: #93c5fd;
  border-color: #93c5fd;
  cursor: not-allowed;
}

.btn-secondary {
  background: #fff;
  color: #334155;
  border-color: #cbd5e1;
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
.btn-secondary:active {
  background: #f1f5f9;
}

.btn-danger {
  background: #ef4444;
  color: #fff;
  border-color: #ef4444;
}
.btn-danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}
.btn-danger:active {
  background: #b91c1c;
}

.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 6px;
}

.btn + .btn {
  margin-left: 8px;
}

/* ============================================================
   6. 表单 Forms
   ============================================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 6px;
}

.form-label .required {
  color: #ef4444;
  margin-left: 2px;
}

.form-input {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  line-height: 1.5;
}

.form-input::placeholder {
  color: #94a3b8;
}

.form-input:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.form-input.error {
  border-color: #ef4444;
}
.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

.form-input:disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: not-allowed;
}

.form-hint {
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
}

.form-error {
  margin-top: 4px;
  font-size: 12px;
  color: #ef4444;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #334155;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  accent-color: #1a73e8;
  width: 16px;
  height: 16px;
}

/* Select */
.form-select {
  display: block;
  width: 100%;
  padding: 8px 32px 8px 12px;
  font-size: 14px;
  font-family: inherit;
  color: #1e293b;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  line-height: 1.5;
}

.form-select:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

/* ============================================================
   7. 卡片组件 Card
   ============================================================ */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.card-header h2,
.card-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
}

.card-header .card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body {
  font-size: 14px;
  color: #475569;
}

.card-body p {
  margin-bottom: 12px;
}
.card-body p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   8. 时间线 Timeline
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e2e8f0;
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item .timeline-icon {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 1;
}

.timeline-item .timeline-icon.done {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.timeline-item .timeline-icon.running {
  background: #1a73e8;
  border-color: #1a73e8;
  color: #fff;
}

.timeline-item .timeline-icon.failed {
  background: #ef4444;
  border-color: #ef4444;
  color: #fff;
}

.timeline-item .timeline-icon.pending {
  background: #fff;
  border-color: #cbd5e1;
  color: #94a3b8;
}

.timeline-item .content {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.timeline-item .content .time {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.timeline-item .status {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
}

.timeline-item .status.done { color: #10b981; }
.timeline-item .status.running { color: #1a73e8; }
.timeline-item .status.failed { color: #ef4444; }
.timeline-item .status.pending { color: #94a3b8; }

/* ============================================================
   9. 登录页 Login Page
   ============================================================ */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  padding: 24px;
}

.login-card {
  width: 400px;
  max-width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  padding: 40px;
}

.login-brand {
  text-align: center;
  margin-bottom: 32px;
}

.login-brand .brand-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-brand h1 {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.login-brand p {
  font-size: 14px;
  color: #94a3b8;
}

.login-page .form-group:last-child {
  margin-bottom: 0;
}

.login-page .btn {
  width: 100%;
  padding: 10px 20px;
  font-size: 15px;
  margin-top: 8px;
}

.login-page .login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: #94a3b8;
}

/* ============================================================
   10. 面包屑 Breadcrumb
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #64748b;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #1a73e8;
}

.breadcrumb .separator {
  display: inline-flex;
  align-items: center;
  color: #cbd5e1;
  font-size: 12px;
  margin: 0 2px;
}

.breadcrumb .current {
  color: #1e293b;
  font-weight: 500;
}

/* ============================================================
   11. 用户下拉 User Dropdown
   ============================================================ */
.user-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.user-dropdown .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a73e8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

.user-dropdown .user-info {
  margin: 0 10px;
  text-align: right;
  line-height: 1.3;
}

.user-dropdown .user-info .name {
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
}

.user-dropdown .user-info .role {
  font-size: 11px;
  color: #94a3b8;
}

.user-dropdown .dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.user-dropdown .dropdown-trigger:hover {
  background: #f1f5f9;
}

.user-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  min-width: 180px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 1px solid #e2e8f0;
  padding: 6px;
  display: none;
  z-index: 200;
}

.user-dropdown.open .dropdown-menu,
.user-dropdown.active .dropdown-menu {
  display: block;
}

.user-dropdown .dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: #334155;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.user-dropdown .dropdown-menu .dropdown-item:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.user-dropdown .dropdown-menu .dropdown-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 4px 0;
}

.user-dropdown .dropdown-menu .dropdown-item.danger {
  color: #ef4444;
}
.user-dropdown .dropdown-menu .dropdown-item.danger:hover {
  background: #fef2f2;
}

/* ============================================================
   12. 其他组件
   ============================================================ */

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  text-align: center;
}

.empty-state .empty-icon {
  font-size: 64px;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 14px;
  color: #94a3b8;
  max-width: 360px;
  margin-bottom: 20px;
}

/* Loading spinner */
.loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-top-color: #1a73e8;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.loading-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.loading-page .loading-spinner {
  width: 40px;
  height: 40px;
  border-width: 3px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   Utility classes
   ============================================================ */
.text-primary { color: #1a73e8; }
.text-success { color: #10b981; }
.text-warning { color: #f59e0b; }
.text-danger  { color: #ef4444; }
.text-muted   { color: #94a3b8; }

.bg-primary { background-color: #1a73e8; color: #fff; }
.bg-success { background-color: #10b981; color: #fff; }
.bg-warning { background-color: #f59e0b; color: #fff; }
.bg-danger  { background-color: #ef4444; color: #fff; }

.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: 8px; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.flex-1 { flex: 1; }

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }

.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Page header
   ============================================================ */
.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 14px;
  color: #64748b;
}

/* ============================================================
   Badge default (non-status)
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

/* ============================================================
   Collapsible nav group
   ============================================================ */
.nav-chevron {
  margin-left: auto;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-group.collapsed .nav-item {
  display: none;
}

/* 强制展开审核流程 - 覆盖折叠样式 */
#navGroup.expanded .nav-item {
  display: block !important;
}

/* ============================================================
   Logout button (sidebar footer)
   ============================================================ */
.sidebar-footer .logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-footer .logout-btn:hover {
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
}

/* ============================================================
   Responsive adjustments
   ============================================================ */
@media (max-width: 768px) {
  .sidebar {
    width: 64px;
  }
  .sidebar .sidebar-logo span,
  .sidebar .nav-item .nav-label,
  .sidebar .nav-item .nav-badge,
  .sidebar .nav-group-title,
  .sidebar-footer .nav-item .nav-label {
    display: none;
  }
  .sidebar .nav-item {
    justify-content: center;
    padding: 12px;
  }
  .main-content {
    margin-left: 64px;
  }
  .page-content {
    padding: 16px;
  }
  .login-card {
    padding: 32px 24px;
  }
}
