@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --bs-font-sans-serif: "Poppins", Arial, sans-serif;
  --bs-body-font-family: "Poppins", Arial, sans-serif;
  --app-sidebar-width: 260px;
  --app-border: #d7dee8;
  --app-muted: #667085;
}

html {
  font-size: 14px;
}

body {
  background: #f5f7fb;
  color: #1d2939;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.app-shell {
  min-height: 100vh;
}

.app-sidebar {
  flex: 0 0 var(--app-sidebar-width);
  width: var(--app-sidebar-width);
  min-width: var(--app-sidebar-width);
  max-width: var(--app-sidebar-width);
  background: #ffffff;
  border-right: 1px solid var(--app-border);
}

.sidebar-user {
  border-top: 1px solid var(--app-border);
}

.auth-shell {
  background: #f5f7fb;
}

.auth-panel {
  max-width: 420px;
}

.app-brand {
  font-weight: 700;
  letter-spacing: 0;
}

.app-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.settings-logo-preview {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
}

.settings-favicon-preview {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

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

.nav-pills .nav-link {
  color: #344054;
  border-radius: 6px;
}

.metric-card {
  border: 1px solid var(--app-border);
  border-radius: 8px;
}

.metric-label {
  color: var(--app-muted);
  font-size: 0.875rem;
}

.table > :not(caption) > * > * {
  border: 1px solid var(--app-border);
  padding: 0.35rem 0.5rem;
  vertical-align: middle;
}

.table th {
  background: #f2f4f7;
}

.bg-white.border > .table-responsive {
  margin: -1px;
}

.bg-white.border > .table-responsive:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.bg-white.border > .table-responsive:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}

.status-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  margin-right: 0.4rem;
}

.status-dot.success {
  background: #12b76a;
}

.status-dot.warning {
  background: #f79009;
}

.export-body {
  padding: 1.5rem;
  background: #ffffff;
  color: #212529;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.75rem;
}

.export-body table {
  font-size: 0.75rem;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.125rem;
}

.export-body h1 {
  font-size: 1.375rem;
  margin: 0 0 0.75rem;
}

.export-body h2 {
  font-size: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.export-body .summary {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: flex-start;
    overflow-y: auto;
  }
}

@media print {
  .no-print {
    display: none !important;
  }

  .export-body {
    padding: 0;
  }
}

@media (max-width: 991.98px) {
  .app-shell {
    display: block !important;
  }

  .app-sidebar {
    position: static;
    height: auto;
    overflow: visible;
    max-width: none;
    min-width: 0;
    flex-basis: auto;
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--app-border);
  }
}
