/* Read-only tenant items */
.card.card-sidebar .list-group .regium-readonly {
  pointer-events: none;
  cursor: default;
}
.card.card-sidebar .list-group .regium-readonly:hover {
  text-decoration: none;
}

/* Hide the left “Service Details Overview” toggle card on product details */
[menuitemname="Service Details Overview"] { display: none !important; }


/* Regium 2055 – Lighter Blue (fixed) */
:root{
  /* much lighter gradient */
  --bg1:#E9F2FF;        /* light blue */
  --bg2:#D6E6FF;        /* very light blue */
  /* cards on light background */
  --panel:#FFFFFF;
  --panel-hover:#FFFFFF;
  --stroke:rgba(13,38,76,.18);
  /* dark text everywhere */
  --txt:#0f1b2d;
  --txt-invert:#0f1b2d;
}

/* page background + default text */
body{
  background: linear-gradient(180deg, var(--bg1), var(--bg2)) !important;
  color: var(--txt);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,'Helvetica Neue',Arial,sans-serif;
}

/* keep header/footer subtle on light bg */
.header, .footer { background: transparent; }

/* HERO */
.regium-hero{ padding:20px 10px; }
.regium-title{ font-weight:700; letter-spacing:.3px; color: var(--txt); }
.regium-sub{ opacity:.9; color: var(--txt); }

/* KPI GRID */
.regium-kpis{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
  padding:10px;
}
.kpi-card{
  display:block;
  padding:16px;
  border-radius:16px;
  background: var(--panel) !important;
  border:1px solid var(--stroke) !important;
  color: var(--txt) !important;
  text-decoration:none;
  box-shadow: 0 8px 22px rgba(13,38,76,.10);
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.kpi-card:hover{
  background: var(--panel-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13,38,76,.16);
}
.kpi-top{ display:flex; justify-content:space-between; align-items:center; opacity:.95; }
.kpi-value{ font-size:32px; font-weight:800; margin:6px 0 2px; color: var(--txt); }
.kpi-foot{ font-size:12px; opacity:.8; color: var(--txt); }

/* soft tint borders per tile */
.kpi-card.due     { box-shadow: inset 0 0 0 1px rgba(230,57,70,.28), 0 8px 22px rgba(230,57,70,.08); }
.kpi-card.requests{ box-shadow: inset 0 0 0 1px rgba(52,152,219,.28), 0 8px 22px rgba(52,152,219,.08); }
.kpi-card.props   { box-shadow: inset 0 0 0 1px rgba(46,204,113,.28), 0 8px 22px rgba(46,204,113,.08); }

/* ANNOUNCEMENTS */
.regium-card{
  background: var(--panel) !important;
  border:1px solid var(--stroke) !important;
  border-radius:14px;
  margin:16px 10px;
  color: var(--txt) !important;
}
.card-title{ color:#0c203a; }

/* LEFT SIDEBAR — white cards + dark text */
.sidebar .card,
.card-sidebar,
.sidebar .list-group-item{
  background:#FFFFFF !important;
  color: var(--txt) !important;
  border:1px solid var(--stroke) !important;
  box-shadow: 0 6px 16px rgba(13,38,76,.08);
}
.card-sidebar .card-header{
  background:#F7FAFF !important;
  color: var(--txt) !important;
  border-bottom:1px solid var(--stroke) !important;
}
.sidebar .text-muted{ color:#5B6B80 !important; }

/* Links tuned for light blue */
a{ color:#0D4ED8; }
a:hover{ color:#1D4ED8; }

/* KPI row: responsive grid, no clipping */
.regium-kpis{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:16px;
  overflow:visible;           /* ensure nothing gets clipped */
  white-space:normal;
}
.regium-kpis .kpi-card{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.regium-kpis .kpi-card.credit{
  /* distinct accent, optional */
  border-color:#c7e8d6;
  box-shadow:0 0 0 2px rgba(81, 181, 109, .08);
}
