/* PharmaDevils Course Dashboard — styles are intentionally scoped. */
.pdcf-dashboard {
  --pdcf-blue:#1d59c8; --pdcf-ink:#172b4d; --pdcf-muted:#5c6b83;
  --pdcf-border:#e3e9f3; --pdcf-bg:#f7faff;
  box-sizing:border-box; width:100%; max-width:1320px;
  padding:26px 24px 38px; margin:0 auto 20px;
  border-radius:20px; background:var(--pdcf-bg);
  color:var(--pdcf-ink); font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px; line-height:1.5;
}
.pdcf-dashboard *, .pdcf-dashboard *::before,.pdcf-dashboard *::after { box-sizing:border-box; }
.pdcf-dashboard h1, .pdcf-dashboard h2, .pdcf-dashboard h3 { font-family:inherit; letter-spacing:-.025em; text-transform:none; }
.pdcf-dashboard button, .pdcf-dashboard input { font:inherit; }
.pdcf-dashboard button:focus-visible, .pdcf-dashboard a:focus-visible, .pdcf-dashboard input:focus-visible { outline:3px solid #70abfb; outline-offset:3px; }
.pdcf-dashboard .pdcf-hero {
  background: radial-gradient(ellipse at 100% 0%,rgba(116,176,255,.27) 0,transparent 53%),
              linear-gradient(108deg,#102d69,#1752b7 73%,#2a71de);
  border-radius:19px; padding:35px clamp(24px,4vw,48px) 32px;
  color:#fff; box-shadow:0 12px 30px rgba(20,61,140,.14);
}
.pdcf-dashboard .pdcf-hero__badge { font-size:12px; color:#d2e4ff; letter-spacing:.10em; font-weight:780; display:flex; align-items:center; gap:9px; margin-bottom:10px; }
.pdcf-dashboard .pdcf-hero__dot { width:8px;height:8px;background:#8ec2ff;border-radius:50%; box-shadow:0 0 0 4px rgba(142,194,255,.15); }
.pdcf-dashboard .pdcf-hero h1 { color:#fff; font-size:clamp(25px,3.3vw,39px); line-height:1.16; font-weight:760; margin:0 0 11px; }
.pdcf-dashboard .pdcf-hero p { color:#e3edff; font-size:clamp(14px,1.25vw,17px);max-width:780px;margin:0; }
.pdcf-dashboard .pdcf-hero__stats { display:flex; flex-wrap:wrap; gap:9px; margin-top:23px; }
.pdcf-dashboard .pdcf-hero__stats span { display:inline-block; background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.20);color:#f1f6ff;padding:6px 11px;border-radius:100px;font-size:12px;font-weight:620; }
.pdcf-dashboard .pdcf-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:21px 0 9px; }
.pdcf-dashboard .pdcf-search { width:min(100%,510px); min-width:min(300px,100%); display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #d9e3f1;padding:0 14px;border-radius:11px;box-shadow:0 3px 10px rgba(26,64,122,.035);color:#6e7b90; }
.pdcf-dashboard .pdcf-search:focus-within { border-color:#76a8f9; box-shadow:0 0 0 3px rgba(90,153,249,.15); }
.pdcf-dashboard .pdcf-search__input { background:transparent!important;color:var(--pdcf-ink)!important;border:0!important;box-shadow:none!important;appearance:none; outline:none!important; padding:13px 0!important; height:auto;flex:1; min-width:0; font-size:14px; }
.pdcf-dashboard .pdcf-search__input::placeholder { color:#8b97a9; }
.pdcf-dashboard .pdcf-filters { display:flex; flex-wrap:wrap; gap:5px;padding:4px;background:#eaf1fd;border-radius:11px; }
.pdcf-dashboard .pdcf-filter { cursor:pointer; border:0!important;background:transparent!important;color:#36557e!important;font-size:12px!important;font-weight:680!important;padding:10px 12px!important;line-height:1.1!important;border-radius:8px!important;box-shadow:none!important;white-space:nowrap; }
.pdcf-dashboard .pdcf-filter.is-active { color:#1151b9!important;background:#fff!important;box-shadow:0 2px 6px rgba(12,44,95,.09)!important; }
.pdcf-dashboard .pdcf-section { margin-top:19px; }
.pdcf-dashboard .pdcf-section__head { display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 13px; }
.pdcf-dashboard .pdcf-section__head h2 { color:#15386e; font-weight:750; font-size:23px; margin:0;line-height:1.3; }
.pdcf-dashboard .pdcf-section__head span {font-size:12px;color:#76869d;white-space:nowrap;}
.pdcf-dashboard .pdcf-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.pdcf-dashboard .pdcf-card {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; flex-direction:column; min-width:0; min-height:235px;
  border-radius:16px; border:1px solid var(--pdcf-border); background:#fff;
  box-shadow:0 4px 14px rgba(23,55,107,.035);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pdcf-dashboard .pdcf-card:hover { transform:translateY(-2px); border-color:#c6d8f0; box-shadow:0 9px 21px rgba(24,62,126,.09); }
.pdcf-dashboard .pdcf-card__art { position:absolute; z-index:-1; pointer-events:none; right:-7px; top:10px; height:72%; width:75%; opacity:.16; background-image:var(--pdcf-flag-image, none);background-repeat:no-repeat; background-position:right top; background-size:contain; filter:saturate(1.06); }
.pdcf-dashboard .pdcf-card--flag::after { content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#fff 15%,rgba(255,255,255,.66) 58%,rgba(255,255,255,.1));pointer-events:none; }
.pdcf-dashboard .pdcf-card__body {display:flex;flex-direction:column;flex:1;padding:21px 22px 20px;}
.pdcf-dashboard .pdcf-card__top { display:flex; justify-content:space-between; align-items:center; min-height:22px; }
.pdcf-dashboard .pdcf-card__region { font-size:11px;letter-spacing:.065em;font-weight:800;line-height:1.2;color:#5476b3; }
.pdcf-dashboard .pdcf-card__icon { display:inline-grid;place-items:center;width:33px;height:33px;background:#e5efff;color:#2357a6;font-weight:770;border-radius:10px;font-size:11px; }
.pdcf-dashboard .pdcf-card h3 { font-size:23px;line-height:1.22;color:#18385f;font-weight:760;margin:10px 0 8px; }
.pdcf-dashboard .pdcf-card p {font-size:13px;line-height:1.54;color:#52627a;margin:0 0 17px;max-width:300px;flex:1; }
.pdcf-dashboard .pdcf-card__button { display:inline-flex;align-items:center;justify-content:space-between;gap:10px;align-self:flex-start;min-width:156px;padding:9px 14px;line-height:1.3;border-radius:9px;background:#2868d7;color:#fff!important;font-weight:700;font-size:12px;letter-spacing:0;text-decoration:none!important; transition:background .15s; }
.pdcf-dashboard a.pdcf-card__button:hover {background:#124fae;color:#fff!important;}
.pdcf-dashboard .pdcf-card__button--disabled {background:#f0f4fa;color:#697e9e!important;box-shadow:inset 0 0 0 1px #e1e7f0;cursor:default;font-weight:600; }
.pdcf-dashboard .pdcf-card--dept {min-height:218px;}
.pdcf-dashboard .pdcf-card--dept h3 {font-size:20px;}
.pdcf-dashboard .pdcf-no-results {font-weight:580; padding:24px; border:1px dashed #b7c8e7;border-radius:12px;color:#4a6286;background:#fff;text-align:center;}
.pdcf-dashboard .pdcf-card[hidden], .pdcf-dashboard .pdcf-section[hidden], .pdcf-dashboard .pdcf-no-results[hidden] {display:none!important;}
.pdcf-dashboard .pdcf-footer {border-top:1px solid #e2eaf7;margin-top:28px;padding-top:14px;text-align:center;color:#8291aa;font-size:11px;letter-spacing:.02em;}
.pdcf-dashboard .pdcf-footer span {color:#2e63b9;font-weight:800;letter-spacing:.12em;}
@media (max-width:1020px) {
  .pdcf-dashboard .pdcf-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .pdcf-dashboard .pdcf-toolbar{align-items:stretch;}
  .pdcf-dashboard .pdcf-search{width:100%; max-width:none;}
}
@media (max-width:600px) {
  .pdcf-dashboard {padding:13px 10px 28px;border-radius:13px;}
  .pdcf-dashboard .pdcf-hero {padding:25px 20px;border-radius:13px;}
  .pdcf-dashboard .pdcf-hero h1 {font-size:26px;}
  .pdcf-dashboard .pdcf-hero__stats{gap:7px;margin-top:18px;}
  .pdcf-dashboard .pdcf-hero__stats span{font-size:10px;}
  .pdcf-dashboard .pdcf-search {min-width:0;}
  .pdcf-dashboard .pdcf-filters {width:100%;justify-content:space-between;}
  .pdcf-dashboard .pdcf-filter {padding:9px 11px!important;flex:1;}
  .pdcf-dashboard .pdcf-grid {grid-template-columns:1fr;gap:11px;}
  .pdcf-dashboard .pdcf-card {min-height:205px;}
  .pdcf-dashboard .pdcf-card__body {padding:19px;}
  .pdcf-dashboard .pdcf-card__art{width:64%;}
  .pdcf-dashboard .pdcf-section__head h2 {font-size:20px;}
  .pdcf-dashboard .pdcf-section__head span {display:none;}
}
@media (prefers-reduced-motion:reduce) { .pdcf-dashboard .pdcf-card {transition:none;} }
