/* PEDA Training — RTL Arabic design system */
:root {
  --maroon: #9b2d42;
  --maroon-dark: #7c2435;
  --maroon-soft: #f7edef;
  --navy: #2f3f50;
  --ink: #13110b;
  --text: #3a3a3a;
  --muted: #7a7a7a;
  --bg: #ffffff;
  --bg-soft: #fbfcff;
  --line: #eee3e6;
  --ok: #1e7d4f;
  --ok-soft: #e8f5ee;
  --bad: #b3261e;
  --bad-soft: #fdecea;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(47, 63, 80, .08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans Arabic', 'Cairo', Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  direction: rtl;
}
h1, h2, h3, h4, h5, .section-title, .hero-slider .slide-badge {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--maroon); text-decoration: none; }
a:hover { color: var(--maroon-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container { display: flex; align-items: center; gap: 28px; height: 72px; }
.site-header .logo img { height: 46px; display: block; }
.main-nav { display: flex; gap: 4px; align-items: center; flex: 1; }
.main-nav a {
  color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: 8px 14px; border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active { background: var(--maroon-soft); color: var(--maroon); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
.nav-item { position: relative; }
.nav-item .dropdown {
  position: absolute; top: 100%; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); min-width: 230px; padding: 8px;
  display: none; z-index: 60;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.nav-item .dropdown a { display: block; padding: 9px 14px; border-radius: 8px; font-size: .9rem; }

/* hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1f2c3a 60%, var(--maroon-dark) 130%);
  color: #fff; padding: 72px 0 84px; text-align: right;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 12px; }
.hero p { font-size: 1.15rem; opacity: .88; max-width: 640px; }
.hero .btn { margin-top: 26px; }

.btn {
  display: inline-block; background: var(--maroon); color: #fff !important;
  padding: 11px 26px; border-radius: 999px; font-weight: 700; border: none;
  cursor: pointer; font-family: inherit; font-size: 1rem; transition: background .15s;
}
.btn:hover { background: var(--maroon-dark); }
.btn.ghost { background: transparent; border: 2px solid var(--maroon); color: var(--maroon) !important; }
.btn.ghost:hover { background: var(--maroon-soft); }
.btn.small { padding: 7px 18px; font-size: .9rem; }

/* sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-soft); }
.section-title { font-size: 1.7rem; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--muted); margin-bottom: 32px; }

/* category pills */
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.cat-pills a {
  padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  color: var(--navy); font-weight: 600; font-size: .92rem; background: #fff;
}
.cat-pills a.active, .cat-pills a:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* course grid */
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.course-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.course-card .thumb {
  height: 150px; display: flex; align-items: flex-end; padding: 16px;
  background: linear-gradient(135deg, var(--navy), var(--maroon));
  color: #fff; font-weight: 800; font-size: 1.05rem; line-height: 1.5;
}
.course-card .thumb.imaged { background-size: cover; background-position: center; }
.course-card .body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-card .cat { color: var(--maroon); font-size: .8rem; font-weight: 700; }
.course-card h3 { color: var(--navy); font-size: 1.05rem; line-height: 1.5; }
.course-card p { color: var(--muted); font-size: .88rem; flex: 1; }
.course-card .meta { display: flex; gap: 14px; color: var(--muted); font-size: .82rem; border-top: 1px solid var(--line); padding-top: 12px; }

/* breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--maroon); }
.crumbs span.sep { margin: 0 6px; }

/* course page */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 34px 0; }
.page-head h1 { color: var(--navy); font-size: 1.9rem; font-weight: 800; }
.page-head .cat { color: var(--maroon); font-weight: 700; font-size: .9rem; }

.layout { display: grid; grid-template-columns: 1fr 330px; gap: 34px; padding: 40px 0 70px; }
.layout .main { min-width: 0; }

.desc-frame { width: 100%; border: none; border-radius: var(--radius); background: #fff; }

/* curriculum */
.curriculum { display: flex; flex-direction: column; gap: 12px; }
.cur-lesson { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cur-lesson > summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 12px; background: var(--bg-soft);
}
.cur-lesson > summary::-webkit-details-marker { display: none; }
.cur-lesson > summary .num {
  background: var(--maroon); color: #fff; min-width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem;
}
.cur-lesson > summary .count { margin-inline-start: auto; color: var(--muted); font-size: .8rem; font-weight: 500; }
.cur-items { border-top: 1px solid var(--line); }
.cur-items a {
  display: flex; align-items: center; gap: 10px; padding: 12px 24px; color: var(--text);
  font-size: .93rem; border-bottom: 1px solid #f5f0f1;
}
.cur-items a:last-child { border-bottom: none; }
.cur-items a:hover { background: var(--maroon-soft); color: var(--maroon); }
.cur-items .ico { color: var(--maroon); font-size: .95rem; width: 20px; text-align: center; }
.cur-items a.quiz-link { font-weight: 600; }

/* sidebar */
.sidebar .card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; margin-bottom: 20px;
}
.sidebar .card h4 { color: var(--navy); margin-bottom: 14px; font-size: 1rem; }
.stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.stat-row:last-child { border-bottom: none; }
.stat-row b { color: var(--navy); }

/* content pages (lesson/topic) */
.content-body { background: #fff; }
.content-body :is(h1,h2,h3,h4) { color: var(--navy); margin: 1.2em 0 .5em; }
.content-body p { margin-bottom: 1em; }
.content-body ul, .content-body ol { margin: 0 1.4em 1em 0; }
.content-body img { border-radius: 10px; margin: 12px 0; }
.content-body iframe { max-width: 100%; }
.content-body figure { margin: 16px 0; }
.content-body table { border-collapse: collapse; width: 100%; margin: 14px 0; }
.content-body td, .content-body th { border: 1px solid var(--line); padding: 8px 12px; }

.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 40px; }
.pager a {
  flex: 1; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px;
  color: var(--navy); font-size: .9rem; background: #fff;
}
.pager a:hover { border-color: var(--maroon); color: var(--maroon); }
.pager .dirlabel { display: block; color: var(--muted); font-size: .75rem; }

/* sidebar curriculum tree (lesson/topic pages) */
.tree { font-size: .88rem; max-height: 70vh; overflow-y: auto; }
.tree .t-lesson { font-weight: 700; color: var(--navy); padding: 8px 0 4px; }
.tree a { display: block; padding: 5px 14px 5px 0; color: var(--text); border-right: 2px solid var(--line); }
.tree a:hover { color: var(--maroon); }
.tree a.current { color: var(--maroon); font-weight: 700; border-right-color: var(--maroon); }

/* quiz */
.quiz-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.q-item { border-bottom: 1px solid var(--line); padding: 24px 0; }
.q-item:last-child { border-bottom: none; }
.q-num { color: var(--maroon); font-weight: 800; font-size: .85rem; margin-bottom: 6px; }
.q-text :is(h1,h2,h3,h4,h5) { font-size: 1.05rem; color: var(--ink); font-weight: 700; }
.q-answers { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.q-answers label {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .12s, background .12s;
  font-size: .95rem;
}
.q-answers label:hover { border-color: var(--maroon); background: var(--maroon-soft); }
.q-answers input { margin-top: 6px; accent-color: var(--maroon); }
.q-answers label.sel { border-color: var(--maroon); background: var(--maroon-soft); }

.sort-list { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.sort-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: .95rem;
}
.sort-list .handle { color: var(--muted); cursor: grab; }
.sort-list .mv { margin-inline-start: auto; display: flex; gap: 4px; }
.sort-list .mv button {
  border: 1px solid var(--line); background: #fff; border-radius: 6px; width: 30px; height: 28px;
  cursor: pointer; color: var(--navy); font-size: .8rem;
}
.sort-list .mv button:hover { background: var(--maroon-soft); border-color: var(--maroon); }

.matrix-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.matrix-table td { border: 1px solid var(--line); padding: 10px 12px; font-size: .92rem; }
.matrix-table select {
  width: 100%; padding: 8px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .9rem; background: #fff;
}

.cloze-input {
  border: none; border-bottom: 2px solid var(--maroon); padding: 4px 8px; margin: 0 4px;
  font-family: inherit; font-size: .95rem; min-width: 120px; text-align: center; background: var(--maroon-soft);
  border-radius: 6px 6px 0 0;
}
.essay-area {
  width: 100%; min-height: 140px; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px; font-family: inherit; font-size: .95rem; margin-top: 14px; resize: vertical;
}

.quiz-actions { margin-top: 26px; display: flex; gap: 12px; align-items: center; }
.quiz-result {
  border-radius: var(--radius); padding: 26px; margin-bottom: 26px; text-align: center;
}
.quiz-result.pass { background: var(--ok-soft); border: 1px solid #bfe3cf; }
.quiz-result.fail { background: var(--bad-soft); border: 1px solid #f2c4c0; }
.quiz-result .big { font-size: 2.2rem; font-weight: 800; }
.quiz-result.pass .big { color: var(--ok); }
.quiz-result.fail .big { color: var(--bad); }
.q-item.res-ok { border-right: 4px solid var(--ok); padding-right: 16px; }
.q-item.res-bad { border-right: 4px solid var(--bad); padding-right: 16px; }
.q-item.res-pending { border-right: 4px solid #d1a520; padding-right: 16px; }
.res-tag { font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; display: inline-block; margin-bottom: 8px; }
.res-tag.ok { background: var(--ok-soft); color: var(--ok); }
.res-tag.bad { background: var(--bad-soft); color: var(--bad); }
.res-tag.pending { background: #fdf6dd; color: #8a6d00; }
.res-answer { font-size: .88rem; margin-top: 8px; color: var(--muted); }
.res-answer b { color: var(--ok); }

/* footer */
.site-footer { background: var(--navy); color: #cfd8e3; margin-top: 60px; }
.site-footer .container { padding: 44px 20px 30px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; align-items: center; }
.site-footer a { color: #cfd8e3; }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; gap: 22px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.09);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1rem;
}
.socials a:hover { background: var(--maroon); }
.copyright { text-align: center; font-size: .8rem; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }

/* responsive */
@media (max-width: 920px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}
@media (max-width: 720px) {
  .main-nav {
    display: none; position: absolute; top: 72px; right: 0; left: 0;
    background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-item .dropdown { position: static; display: block; box-shadow: none; border: none; padding: 0 16px; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .hero h1 { font-size: 1.7rem; }
  .footer-grid { flex-direction: column; text-align: center; justify-content: center; }
}

/* hero slider */
.hero-slider { position: relative; height: 520px; overflow: hidden; background: var(--navy); }
.hero-slider .slide-item {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; pointer-events: none;
  background-size: cover; background-position: center; display: flex; align-items: center;
}
.hero-slider .slide-item.active { opacity: 1; pointer-events: auto; }
.hero-slider .slide-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(26,16,6,.82) 0%, rgba(26,16,6,.4) 55%, rgba(155,45,66,.25) 100%);
}
.hero-slider .slide-inner { position: relative; z-index: 2; color: #fff; max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.hero-slider .slide-badge {
  display: inline-block; background: rgba(155,45,66,.85); padding: 5px 18px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; margin-bottom: 14px;
}
.hero-slider h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; }
.hero-slider p { font-size: 1.1rem; opacity: .9; max-width: 620px; line-height: 1.9; }
.hero-slider .slide-inner .btn { margin-top: 24px; }
.hero-nav {
  position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 14px; color: #fff;
}
.hero-nav button {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.25); color: #fff; cursor: pointer; font-size: .95rem;
}
.hero-nav button:hover { background: var(--maroon); border-color: var(--maroon); }
.hero-nav .counter { font-size: .85rem; letter-spacing: 2px; opacity: .85; }

/* category cards row */
.catcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.catcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px;
  display: flex; flex-direction: column; gap: 10px; transition: transform .15s, box-shadow .15s;
}
.catcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.catcard h3 { color: var(--navy); font-size: 1rem; }
.catcard p { color: var(--muted); font-size: .85rem; flex: 1; }
.catcard .go { color: var(--maroon); font-weight: 700; font-size: .85rem; }

/* vision */
.vision-wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.vision-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); }
.vision-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.vision-points span {
  background: var(--maroon-soft); color: var(--maroon); font-weight: 700; font-size: .85rem;
  padding: 8px 18px; border-radius: 999px;
}
.vision-points span i { margin-inline-end: 6px; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center;
}
.feature-card .fi {
  width: 58px; height: 58px; border-radius: 16px; background: var(--maroon-soft); color: var(--maroon);
  display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px;
}
.feature-card h3 { color: var(--navy); font-size: 1.02rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .88rem; }

/* video */
.video-frame { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius); box-shadow: var(--shadow); background: #000; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.testi-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.testi-card .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--maroon); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem;
}
.testi-card b { color: var(--navy); display: block; }
.testi-card .role { color: var(--muted); font-size: .78rem; }
.testi-card p { color: var(--text); font-size: .92rem; }

/* faq */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '\2039'; font-size: 1.4rem; color: var(--maroon); transition: transform .2s; transform: rotate(-90deg); }
.faq-list details[open] summary::after { transform: rotate(90deg); }
.faq-list .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: .92rem; }

/* about page */
.about-banner { background: var(--maroon); color: #fff; padding: 56px 0; text-align: center; }
.about-banner h1 { font-size: 2rem; font-weight: 800; }
.about-card { background: #fdf9f0; border: 1px solid #f0e6d4; border-radius: var(--radius); padding: 30px; margin-bottom: 22px; }
.about-card h2 { color: var(--maroon); font-size: 1.2rem; margin-bottom: 14px; }
.about-card p { line-height: 2; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.about-card ul { margin: 0 1.2em 0 0; }
.about-card li { margin-bottom: 8px; }

@media (max-width: 920px) {
  .hero-slider { height: 460px; }
  .hero-slider h1 { font-size: 1.8rem; }
  .vision-wrap { grid-template-columns: 1fr; }
}

/* numbered highlights on course cards */
.card-points {
  list-style: none; display: flex; flex-direction: column; gap: 11px;
  margin: 6px 0 10px; flex: 1; padding: 0;
}
.card-points li {
  display: flex; gap: 12px; font-size: .85rem; color: var(--text);
  align-items: flex-start; line-height: 1.7;
}
.card-points .n {
  flex: 0 0 26px; width: 26px; height: 26px; min-width: 26px; max-width: 26px;
  aspect-ratio: 1 / 1; border-radius: 50%;
  background: var(--maroon); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; line-height: 1; padding: 0;
  margin-top: 1px; box-shadow: 0 2px 6px rgba(155, 45, 66, .25);
}
.card-points li > span:last-child { flex: 1; min-width: 0; padding-top: 1px; }
.course-card .start {
  background: var(--maroon); color: #fff; text-align: center; border-radius: 999px;
  padding: 10px 0; font-weight: 700; font-size: .92rem; margin-top: 8px;
  transition: background .15s;
}
.course-card:hover .start { background: var(--maroon-dark); }
.course-card .body { padding: 18px 20px 22px; gap: 11px; }
.course-card .meta { margin-top: auto; }

/* toasts + loading states */
#pdToasts { position: fixed; bottom: 22px; left: 22px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; direction: rtl; }
.pd-toast {
  display: flex; align-items: center; gap: 10px; background: #2f3f50; color: #fff;
  padding: 13px 18px 15px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.28);
  font-size: .9rem; font-weight: 600; min-width: 260px; max-width: 380px;
  opacity: 0; transform: translateY(14px); transition: opacity .3s, transform .3s;
  position: relative; overflow: hidden;
}
.pd-toast.show { opacity: 1; transform: none; }
.pd-toast i { font-size: 1.1rem; }
.pd-toast.success i { color: #5fd39a; }
.pd-toast.error { background: #7c2435; }
.pd-toast.error i { color: #ffb3ab; }
.pd-toast-bar { position: absolute; bottom: 0; right: 0; height: 3px; background: rgba(255,255,255,.45); width: 100%; animation: pdbar 3.8s linear forwards; }
@keyframes pdbar { to { width: 0; } }
button[disabled], .btn[disabled] { opacity: .65; cursor: wait; }
@media (max-width: 600px) { #pdToasts { left: 12px; right: 12px; } .pd-toast { max-width: none; } }


/* account dashboard */
.acct-layout { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.acct-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 92px; }
.acct-user { display: flex; align-items: center; gap: 12px; padding: 18px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.acct-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy), var(--maroon)); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.acct-nav { display: flex; flex-direction: column; padding: 8px; }
.acct-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px;
  color: var(--navy); font-weight: 600; font-size: .92rem;
}
.acct-nav a i { width: 20px; text-align: center; color: var(--muted); }
.acct-nav a:hover { background: var(--bg-soft); }
.acct-nav a.active { background: var(--maroon); color: #fff; }
.acct-nav a.active i { color: #fff; }
.acct-nav a.danger { color: var(--bad); }
.acct-nav a.danger i { color: var(--bad); }
.acct-count {
  margin-inline-start: auto; background: var(--maroon-soft); color: var(--maroon);
  font-size: .72rem; font-weight: 700; padding: 1px 9px; border-radius: 99px;
}
.acct-nav a.active .acct-count { background: rgba(255,255,255,.25); color: #fff; }
.acct-main { min-width: 0; }
.acct-lbl { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.acct-inp {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .92rem; margin-bottom: 14px;
}
.acct-inp:focus { outline: none; border-color: var(--maroon); }
@media (max-width: 860px) {
  .acct-layout { grid-template-columns: 1fr; }
  .acct-side { position: static; }
  .acct-nav { flex-direction: row; flex-wrap: wrap; }
  .acct-nav a { font-size: .82rem; padding: 8px 12px; }
  .acct-count { display: none; }
}
