/* =====================================================================
   Nordics — Shortages details Offcanvas (glass)
   ===================================================================== */

/* Scope everything to this offcanvas only */
#npd-nordics-overview-short-details-offcanvas.offcanvas {
  /* Make it feel like the other drawers: floating + rounded */
  top: 12px;
  bottom: 12px;
  right: 12px;
  height: calc(100% - 24px);

  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  box-shadow: var(--elev-3);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  color: var(--text-strong);
}

/* Body spacing */
#npd-nordics-overview-short-details-offcanvas .offcanvas-body {
  padding: 14px 16px 16px;
  color: var(--text-strong);
}

/* Buttons inside the drawer */
#npd-nordics-overview-short-details-offcanvas .pi-oc-actions .btn {
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 600;
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-actions .btn-outline-secondary {
  color: var(--text-strong);
  border-color: var(--border-glass);
  background: rgba(255, 255, 255, .04);
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-actions .btn-outline-secondary:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

/* Title + meta */
#npd-nordics-overview-short-details-offcanvas .pi-oc-title {
  font-size: 1.10rem;
  font-weight: 700;
  color: var(--text-strong);
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Divider line that matches the glass UI */
#npd-nordics-overview-short-details-offcanvas .pi-oc-divider {
  border-top: 1px solid var(--divider-glass);
  margin: 12px 0;
}

/* Chip/pill styling (for "Most exposed manufacturer") */
#npd-nordics-overview-short-details-offcanvas .pi-oc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, .06);
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.90rem;
  white-space: nowrap;
}

/* Insights box */
#npd-nordics-overview-short-details-offcanvas .pi-oc-section {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-section-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Bullet list inside insights */
#npd-nordics-overview-short-details-offcanvas .pi-oc-list {
  margin: 0;
  padding-left: 1.05rem;
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-list li {
  margin: 4px 0;
  color: var(--text-strong);
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-list .pi-oc-li-muted {
  color: var(--text-muted);
  font-weight: 500;
}

/* White "content card" for search + grid (so it pops like your examples) */
#npd-nordics-overview-short-details-offcanvas .pi-oc-white-card {
  background: #ffffff;
  border: 1px solid #cfd6e8;
  border-radius: var(--radius-md);
}

#npd-nordics-overview-short-details-offcanvas .pi-oc-grid-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
}

/* Search input inside the white card */
#npd-nordics-overview-short-details-offcanvas .pi-oc-white-card .pi-search-input {
  border-radius: 12px;
}
/* =====================================================================
   Nordics — Details Offcanvas (glass)
   Shared class: .pi-glass-offcanvas
   ===================================================================== */

.pi-glass-offcanvas.offcanvas {
  top: 12px;
  bottom: 12px;
  right: 12px;
  height: calc(100% - 24px);

  border-radius: var(--radius-lg);
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  box-shadow: var(--elev-3);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  color: var(--text-strong);
}

.pi-glass-offcanvas .offcanvas-body {
  padding: 14px 16px 16px;
  color: var(--text-strong);
}

/* Title + meta */
.pi-glass-offcanvas .pi-oc-title {
  font-size: 1.10rem;
  font-weight: 700;
  color: var(--text-strong);
}
.pi-glass-offcanvas .pi-oc-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pi-glass-offcanvas .pi-oc-divider {
  border-top: 1px solid var(--divider-glass);
  margin: 12px 0;
}

/* Chip/pill styling */
.pi-glass-offcanvas .pi-oc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, .06);
  color: var(--text-strong);
  font-weight: 600;
  font-size: 0.90rem;
  white-space: nowrap;
}

/* Insights box */
.pi-glass-offcanvas .pi-oc-section {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.pi-glass-offcanvas .pi-oc-section-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* Bullet list inside insights */
.pi-glass-offcanvas .pi-oc-list {
  margin: 0;
  padding-left: 1.05rem;
}
.pi-glass-offcanvas .pi-oc-list li {
  margin: 4px 0;
  color: var(--text-strong);
}
.pi-glass-offcanvas .pi-oc-list .pi-oc-li-muted {
  color: var(--text-muted);
  font-weight: 500;
}

/* White "content card" */
.pi-glass-offcanvas .pi-oc-white-card {
  background: #ffffff;
  border: 1px solid #cfd6e8;
  border-radius: var(--radius-md);
}

.pi-glass-offcanvas .pi-oc-grid-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pi-glass-offcanvas .pi-oc-white-card .pi-search-input {
  border-radius: 12px;
}
/* Pills inside the glass drawers (override inline _pill styles) */
.pi-glass-offcanvas .rounded-pill {
  color: rgba(248, 250, 252, 0.92) !important;           /* white-ish text */
  background: rgba(255, 255, 255, 0.08) !important;      /* glassy chip bg */
  border-color: rgba(255, 255, 255, 0.18) !important;    /* glass border */
}
/* Offcanvas close button (the X) */
.pi-glass-offcanvas .btn-close {
  filter: invert(1);                      /* makes the X white-ish */
  opacity: 0.85;

  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
}

.pi-glass-offcanvas .btn-close:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.26);
}

.pi-glass-offcanvas .btn-close:focus {
  box-shadow: 0 0 0 0.18rem rgba(255, 255, 255, 0.18);
}
