:root {
  --bg-main: #0d1117;
  --bg-sidebar: #161b22;
  --bg-card: #21262d;
  --bg-card-hover: #30363d;
  --border: #30363d;
  --text-main: #e6edf3;
  --text-muted: #8b949e;
  --gold: #e3b341;
  --gold-glow: rgba(227, 179, 65, 0.2);
  --green: #3fb950;
  --green-bg: rgba(63, 185, 80, 0.15);
  --blue: #58a6ff;
  --blue-bg: rgba(88, 166, 255, 0.12);
  --red: #f85149;
  --red-bg: rgba(248, 81, 73, 0.15);
  --purple: #bc8cff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* UTILITY BUTTONS */
.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  border-color: var(--gold);
}

.mobile-only {
  display: none !important;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 24px;
}

.brand-text h1 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  line-height: 1.2;
}

.brand-text .sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-group {
  display: flex;
  align-items: center;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 2px;
  gap: 2px;
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 5px 9px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: var(--gold);
  color: #000;
}

.btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-quiz {
  background: var(--green-bg);
  border: 1px solid var(--green);
  color: var(--green);
}

.btn-quiz:hover {
  background: var(--green);
  color: #000;
}

/* LAYOUT 3 KOLOM DESKTOP */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr 380px;
  flex: 1;
  height: calc(100vh - 57px);
  overflow: hidden;
}

/* SIDEBAR */
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 150;
}

.sidebar-header h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 700;
}

.book-selector {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.book-card {
  padding: 10px 12px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.book-card:hover {
  border-color: #58a6ff;
}

.book-card.active {
  border-color: var(--gold);
  background: rgba(227, 179, 65, 0.08);
}

.book-title-ar {
  font-family: 'Amiri', serif;
  font-size: 1.15rem;
  color: #fff;
  direction: rtl;
}

.book-title-id {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: 2px;
}

.book-author {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.chapter-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.chapter-item {
  padding: 8px 12px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.chapter-item:hover {
  border-color: #58a6ff;
}

.chapter-item.active {
  border-left: 3px solid var(--green);
  background: rgba(63, 185, 80, 0.08);
  color: #fff;
}

.kitab-info-box {
  margin-top: auto;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* READER WORKSPACE */
.reader-workspace {
  background: var(--bg-main);
  padding: 24px 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
}

.chapter-banner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: center;
  position: relative;
}

/* CHAPTER NAVIGATION TOP */
.chapter-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.chapter-banner-content {
  flex: 1;
  min-width: 0;
  text-align: center;
}

.chapter-progress-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(227, 179, 65, 0.35);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.nav-ch-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  user-select: none;
  white-space: nowrap;
}

.nav-ch-btn:hover:not(:disabled) {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-1px);
}

.nav-ch-btn:active:not(:disabled) {
  transform: translateY(0);
}

.nav-ch-btn:disabled,
.nav-ch-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--border);
  background: transparent;
}

.nav-arrow {
  font-size: 1.25rem;
  line-height: 1;
}

/* CHAPTER NAVIGATION FOOTER */
.chapter-nav-footer {
  margin-top: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-ch-btn-card {
  flex: 1;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.22s ease;
  user-select: none;
}

.nav-ch-btn-card:hover:not(:disabled) {
  background: var(--bg-sidebar);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.nav-ch-btn-card:disabled,
.nav-ch-btn-card.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-color: var(--border);
}

.nav-card-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.nav-card-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  flex: 1;
}

.nav-card-text.align-right {
  text-align: right;
}

.nav-card-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.nav-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-footer-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  padding: 0 10px;
}

.nav-book-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.nav-progress-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  padding: 3px 12px;
  border-radius: 12px;
}

.banner-ar {
  font-family: 'Amiri', serif;
  font-size: 1.8rem;
  color: #fff;
  direction: rtl;
  margin-bottom: 6px;
}

.banner-id {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.hint-click {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}

/* SENTENCES */
.sentences-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sentence-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.sentence-card:hover {
  border-color: #444c56;
}

.arabic-line {
  direction: rtl;
  text-align: right;
  font-family: 'Amiri', 'Scheherazade New', serif;
  font-size: 1.85rem;
  line-height: 2.2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.word-span {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  display: inline-block;
  user-select: none;
}

.word-span:hover {
  background: rgba(88, 166, 255, 0.15);
  color: var(--blue);
}

.word-span.active {
  background: var(--gold);
  color: #000 !important;
  font-weight: 700;
  box-shadow: 0 0 12px var(--gold-glow);
}

.translation-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
}

.id-trans {
  color: #e6edf3;
  line-height: 1.5;
}

.id-trans strong {
  color: var(--blue);
}

.pesantren-trans {
  background: var(--bg-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--green);
  font-size: 0.8rem;
  color: #b1bac4;
  font-style: italic;
  line-height: 1.4;
}

.pesantren-trans strong {
  color: var(--green);
  font-style: normal;
}

/* INSPECTOR PANEL (RIGHT DESKTOP) */
.inspector-panel {
  background: var(--bg-sidebar);
  border-left: 1px solid var(--border);
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inspector-header {
  position: sticky;
  top: -18px;
  background: var(--bg-sidebar);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 10px 0;
  border-bottom: 1px solid var(--border);
}

.inspector-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inspector-header h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.inspector-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 50px 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.empty-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

/* INSPECTOR DETAILS CONTENT */
.insp-word-header {
  text-align: center;
  padding: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.insp-arabic-word {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--gold);
  direction: rtl;
}

.insp-root {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.insp-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
}

.section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.tag-pos { background: var(--blue-bg); color: var(--blue); border: 1px solid rgba(88,166,255,0.3); }
.tag-state { background: var(--green-bg); color: var(--green); border: 1px solid rgba(63,185,80,0.3); }
.tag-sign { background: rgba(227,179,65,0.15); color: var(--gold); border: 1px solid rgba(227,179,65,0.3); }

.detail-desc-id {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #e6edf3;
  margin-top: 4px;
}

.detail-desc-ar {
  font-family: 'Amiri', serif;
  direction: rtl;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #c9d1d9;
  background: var(--bg-main);
  padding: 10px;
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--gold);
  margin-top: 6px;
}

/* MODAL KUIS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: var(--bg-sidebar);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 580px;
  max-width: 95vw;
  max-height: 88vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  flex-shrink: 0;
}

.modal-title-group h3 {
  font-size: 0.95rem;
  color: #fff;
}

.quiz-progress {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.modal-close {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
  color: #fff;
}

.modal-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  padding-right: 4px;
}

.quiz-q-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-target-word {
  font-family: 'Amiri', serif;
  font-size: 2.2rem;
  color: var(--gold);
  text-align: center;
  direction: rtl;
  padding: 8px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
}

.quiz-question-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quiz-option-btn {
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #e6edf3;
  text-align: left;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.quiz-option-btn:hover {
  border-color: #58a6ff;
  background: var(--bg-card-hover);
}

.quiz-option-btn.correct {
  background: var(--green-bg) !important;
  border-color: var(--green) !important;
  color: #fff !important;
}

.quiz-option-btn.wrong {
  background: var(--red-bg) !important;
  border-color: var(--red) !important;
  color: #fff !important;
}

.quiz-feedback {
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.5;
  display: none;
}

.quiz-feedback.show {
  display: block;
}

/* GLOSSARY POPUP & INTERACTIVE TERM CHIPS */
.term-chip {
  color: var(--gold);
  border-bottom: 1px dashed var(--gold);
  cursor: pointer;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(227, 179, 65, 0.08);
  font-weight: 600;
  display: inline-block;
  transition: all 0.15s ease;
}

.term-chip:hover {
  background: var(--gold);
  color: #000;
  text-decoration: none;
}

.glossary-card {
  max-width: 540px;
  border: 1px solid rgba(227, 179, 65, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(227, 179, 65, 0.15);
}

.glossary-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}

.gloss-title-ar {
  font-family: 'Amiri', serif;
  font-size: 1.4rem;
  color: var(--gold);
  direction: rtl;
}

.glossary-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 6px 0;
}

.glossary-summary {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.5;
  background: rgba(88, 166, 255, 0.1);
  padding: 10px 12px;
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
}

.glossary-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--bg-main);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.gloss-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.gloss-val {
  font-size: 0.85rem;
  color: #e6edf3;
  line-height: 1.5;
}

.gloss-val-ar {
  font-family: 'Amiri', serif;
  font-size: 1.35rem;
  color: var(--gold);
  direction: rtl;
  margin-top: 2px;
}

/* ======================================================== */
/* 📱 MOBILE OPTIMIZATIONS (RESPONSIVE BREAKPOINTS) */
/* ======================================================== */

@media (max-width: 900px) {
  .mobile-only {
    display: flex !important;
  }

  .hide-on-mobile {
    display: none !important;
  }

  /* LAYOUT GANTI JADI 1 KOLOM */
  .layout {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 57px);
    position: relative;
  }

  /* SIDEBAR JADI SLIDE-OVER DRAWER */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 290px;
    max-width: 82vw;
    z-index: 250;
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.7);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-top-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
  }

  .sidebar-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
  }

  /* BACKDROP GELAP UNTUK DRAWER SIDEBAR */
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    z-index: 240;
    display: none;
  }

  .sidebar-backdrop.active {
    display: block;
  }

  /* READER WORKSPACE DI HP */
  .reader-workspace {
    padding: 14px 14px 100px 14px;
    flex: 1;
  }

  .chapter-banner {
    padding: 12px 14px;
  }

  /* RESPONSIVE NAVIGATION CONTROLS */
  .nav-ch-btn-top {
    padding: 6px 10px;
    min-width: 38px;
    height: 38px;
    justify-content: center;
    border-radius: 50%;
  }

  .nav-ch-btn-top .nav-text {
    display: none;
  }

  .nav-ch-btn-top .nav-arrow {
    font-size: 1.5rem;
    font-weight: 700;
  }

  .chapter-nav-footer {
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
  }

  .nav-ch-btn-card {
    max-width: 100%;
    width: 100%;
    padding: 12px 16px;
  }

  .nav-footer-indicator {
    order: -1;
    margin-bottom: 4px;
  }

  .banner-ar {
    font-size: 1.5rem;
  }

  .banner-id {
    font-size: 0.85rem;
  }

  .arabic-line {
    font-size: 1.65rem;
    line-height: 2.1;
    gap: 6px 10px;
    padding-bottom: 10px;
  }

  .word-span {
    padding: 2px 6px;
  }

  /* INSPECTOR PANEL JADI MODAL BOTTOM SHEET DI HP */
  .inspector-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 80vh;
    border-left: none;
    border-top: 2px solid var(--gold);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 220;
    transform: translateY(105%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
    background: var(--bg-sidebar);
    padding: 10px 16px 24px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .inspector-header {
    position: sticky;
    top: -10px;
    background: var(--bg-sidebar);
    z-index: 15;
    padding: 8px 0;
    margin-top: -4px;
  }

  .inspector-panel.open {
    transform: translateY(0);
  }

  .sheet-handle {
    display: flex;
    justify-content: center;
    padding: 2px 0 8px 0;
    cursor: pointer;
    position: sticky;
    top: -10px;
    background: var(--bg-sidebar);
    z-index: 16;
  }

  .handle-bar {
    width: 44px;
    height: 5px;
    background: #444c56;
    border-radius: 4px;
  }

  .modal-card {
    max-height: 85vh;
    padding: 16px 14px;
    width: 94vw;
    margin: auto;
  }

  .modal-content {
    max-height: 60vh;
  }

  .detail-desc-ar {
    font-size: 1.05rem;
    line-height: 1.7;
  }
}
