/* study-plan course rows -> description dialog (assets/course-info.js) */
tr.ci-row{cursor:pointer;transition:background .15s}
tr.ci-row:hover,tr.ci-row:focus-visible{background:#F9EFD9}
tr.ci-row:focus-visible{outline:2px solid #8A1C1D;outline-offset:-2px}
.ci-dlg{border:0;padding:0;margin:auto;inset:0;border-radius:16px;width:min(620px,calc(100vw - 32px));max-height:min(80vh,720px);box-shadow:0 24px 60px rgba(36,20,20,.35);color:#2A2122;font-family:inherit}
.ci-dlg::backdrop{background:rgba(30,12,12,.55)}
.ci-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;background:#6E1D23;color:#fff;padding:18px 22px}
.ci-code{font-size:.78rem;font-weight:700;letter-spacing:.04em;opacity:.8}
.ci-head h3{font-size:1.15rem;margin:4px 0 2px;line-height:1.35}
.ci-meta{font-size:.8rem;opacity:.85}
.ci-x{all:unset;cursor:pointer;font-size:1.6rem;line-height:1;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;flex:none}
.ci-x:hover,.ci-x:focus-visible{background:rgba(255,255,255,.15)}
.ci-body{padding:20px 22px 22px;overflow-y:auto;max-height:calc(min(80vh,720px) - 90px)}
.ci-body h4{font-size:.92rem;color:#6E1D23;margin:0 0 8px}
.ci-desc{font-size:.92rem;line-height:1.9;margin:0 0 18px;white-space:pre-line}
.ci-links{display:flex;flex-wrap:wrap;gap:10px}
.ci-btn{display:inline-flex;align-items:center;gap:6px;background:#8A1C1D;color:#fff !important;font-weight:700;font-size:.86rem;padding:10px 18px;border-radius:9px;text-decoration:none}
.ci-btn:hover{background:#6E1516}
.ci-btn.ghost{background:#fff;color:#8A1C1D !important;border:1.5px solid #8A1C1D}
.ci-btn.ghost:hover{background:#F6E9E9}
.ci-msg{font-size:.92rem;color:#6E6463;margin:0}
.ci-err{color:#9a3412}

/* study-plan tables: headings start on the reading side, like the cells under them
   (the per-page CSS hard-codes text-align:left, which misaligns them in Arabic) */
.table-card thead th{text-align:start}
.table-card thead th.c{text-align:center}
.table-card tbody td{text-align:start}
.table-card tbody td.c,.table-card tbody td.cr{text-align:center}

/* study-plan banner: no decorative circles */
.hero::before,.hero::after{display:none}

/* study-plan banner: "Apply now" button under the facts */
.sp-apply{position:relative;z-index:2;display:flex;align-items:center;margin-inline-start:6px}
.sp-apply-btn{display:inline-flex;align-items:center;gap:10px;background:#C9A227;color:#2A1A0F !important;font-weight:700;font-size:1rem;padding:13px 28px;border-radius:10px;text-decoration:none;box-shadow:0 8px 22px rgba(0,0,0,.22);transition:background .18s,transform .18s}
.sp-apply-btn:hover{background:#E0B93A;transform:translateY(-2px)}
.sp-apply-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}
/* "Apply now" matches the fact boxes: full row height, same corners and padding */
.facts .sp-apply{align-self:stretch;margin-inline-start:0}
.facts .sp-apply-btn{height:100%;box-sizing:border-box;padding:14px 26px;border-radius:var(--radius);border:1px solid rgba(201,162,90,.3);font-size:1.15rem;box-shadow:none}
.facts .sp-apply-btn:hover{transform:none}
