:root {
  --brand-color: #25D366;
}

body {
  background-color: #f4f6f9;
}

.brand-navbar, .app-navbar {
  background-color: var(--brand-color) !important;
}

.btn-brand {
  background-color: var(--brand-color);
  border-color: var(--brand-color);
}
.btn-brand:hover {
  filter: brightness(0.92);
  color: #fff;
}

.app-wrapper, .app-body {
  min-height: calc(100vh - 56px);
  width: 100%;
}

.app-sidebar {
  width: 240px;
  min-width: 240px;
  background-color: #1f2937;
  color: #fff;
  min-height: calc(100vh - 56px);
}

.app-sidebar .nav-link {
  color: #cbd5e1;
  border-radius: 6px;
  margin: 2px 8px;
  padding: 8px 12px;
}
.app-sidebar .nav-link:hover,
.app-sidebar .nav-link.active {
  background-color: rgba(255,255,255,0.12);
  color: #fff;
}

.app-content, .app-main {
  min-width: 0;
}

.stat-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.stat-icon {
  font-size: 28px;
  opacity: 0.85;
}

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-color), #128C7E);
}
.login-card {
  max-width: 420px;
  width: 100%;
  border: none;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}

@media (max-width: 991.98px) {
  .app-sidebar {
    position: fixed;
    left: -260px;
    top: 56px;
    z-index: 1030;
    transition: left 0.2s ease;
  }
  .app-sidebar.open {
    left: 0;
  }
}
