/* =================== DASHBOARD PAGE =================== */

/* Kill section gaps */

/* ---- Header Row ---- */
.ld-dash-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 40px 20px;
}

.ld-dash-hdr h1 {
  font-family: 'DM Serif Display', serif !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  color: var(--ld-pd);
  margin: 0 0 4px !important;
}

.ld-dash-hdr p {
  font-size: 0.88rem;
  color: var(--ld-tl);
  margin: 0;
}

.ld-dash-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: transparent;
  border: 1.5px solid var(--ld-bd);
  color: var(--ld-t);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.ld-dash-refresh:hover {
  border-color: var(--ld-p);
  color: var(--ld-p);
}

/* ==========================================
   FULL-BLEED IFRAME
   Breaks out of ALL Power Pages containers
   to fill 100% viewport width.
   ========================================== */
.ld-dash-full {
  /* Break out of any container */
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;

  /* Nearly full viewport height minus header */
  height: calc(100vh - 140px);
  min-height: 600px;

  /* No border radius since it's edge to edge */
  overflow: hidden;
  position: relative;
  background: #1a1f16;
}

.ld-dash-full iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .ld-dash-hdr {
    padding: 20px 16px 16px;
  }

  .ld-dash-hdr h1 {
    font-size: 1.3rem !important;
  }

  .ld-dash-full {
    height: calc(100vh - 120px);
    min-height: 450px;
  }
}
