/* Isolate the original learning pages for the professors-only website. */
a[href*="concours-inspecteurs"],
a[href*="concours-conseillers"],
a[href*="concours-cadres-administration"],
a[href*="examens-professionnels"],
a[href*="offres.html"],
a[href*="connexion.html"] { display: none !important; }

.public-access-banner,
.public-free-access-banner,
.premium-trial-banner,
.premium-banner,
.paywall,
.subscription-wall,
[class*="subscription-gate"],
[class*="access-limit"] { display: none !important; }
.sidebar-link-list { gap: .4rem !important; }
.site-main { background: #f5f9fc !important; }
.enseignants-premium-indicator { font-size: 0 !important; background: #e9faf4 !important; color: #107657 !important; }
.enseignants-premium-indicator::after { content: "Gratuit"; font-size: .78rem; font-weight: 800; }

.exam-qcm-row.btissam-selected, .psych-qcm-choice.btissam-selected { outline: 3px solid #008cc9; outline-offset: -3px; background: #eaf8ff !important; }
.exam-qcm-row.btissam-correct, .psych-qcm-choice.btissam-correct { outline: 3px solid #168a50; outline-offset: -3px; background: #e8f8ef !important; }
.exam-qcm-row.btissam-wrong, .psych-qcm-choice.btissam-wrong { outline: 3px solid #c83d4d; outline-offset: -3px; background: #fff0f2 !important; }
.btissam-qcm-feedback { margin-top: 14px; padding: 13px 16px; border-radius: 10px; font-size: 1rem; font-weight: 750; line-height: 1.45; }
.btissam-qcm-feedback--correct { color: #0c6237; background: #e8f8ef; border: 1px solid #8bd3aa; }
.btissam-qcm-feedback--wrong { color: #8d2432; background: #fff0f2; border: 1px solid #efa7b0; }
.btissam-qcm-feedback--notice { color: #745316; background: #fff8df; border: 1px solid #e8cc72; }
.annales-qcm-choice-row { cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.annales-qcm-choice-row.btissam-selected { box-shadow: inset 4px 0 #008cc9; background: #eaf8ff !important; }
.annales-qcm-choice-row.btissam-correct { box-shadow: inset 4px 0 #168a50; background: #e8f8ef !important; }
.annales-qcm-choice-row.btissam-wrong { box-shadow: inset 4px 0 #c83d4d; background: #fff0f2 !important; }
.btissam-qcm-result-message { margin: 0; font-size: 1.05rem; font-weight: 850; }
.btissam-qcm-correction { margin-top: 12px; padding-top: 12px; border-top: 1px solid currentColor; color: #18324a; font-weight: 500; }
.btissam-qcm-correction h3 { margin: 0 0 8px; color: #003a63; font-size: 1.05rem; }
.btissam-qcm-correction p { margin: .45rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.btissam-qcm-correction-answer { font-weight: 850 !important; }

.didactique-bilingual-notice {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding: .8rem 1rem;
  border: 1px solid #9dd7ee;
  border-radius: 12px;
  color: #075c80;
  background: #eaf8ff;
  font-size: .95rem;
  line-height: 1.5;
}
.didactique-bilingual-notice strong { flex: 0 0 auto; color: #004f73; }
.didactique-ar-line {
  margin: .15rem 0 .7rem !important;
  padding: 0;
  border: 0;
  color: #102b4c;
  background: transparent;
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.65;
  text-align: right;
}
.didactique-ar-line--loading { color: #587785; opacity: .78; }
.didactique-ar-line--error { color: #8d5a12; border-right-color: #d9a027; background: #fff9e7; }
.didactique-ar-line--fallback { color: #24556b; border-right-color: #6bbbd8; background: #f4fbfe; }
li > .didactique-ar-line { margin: .1rem 0 .45rem !important; }
@media (max-width: 640px) {
  .didactique-bilingual-notice { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .didactique-ar-line { font-size: 1rem; line-height: 1.8; }
}
