/* نافذة مشاركة الشهادات (cert-v2.css) — كل الكلاسات lscx-* ومعزولة عن باقي الموقع */
.lscx-ov { position: fixed; inset: 0; z-index: 1700; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(8, 10, 22, 0.72); backdrop-filter: blur(6px); overflow-y: auto; font-family: Cairo, sans-serif; }
.lscx-ov.open { display: flex; }
.lscx-card { position: relative; width: 100%; max-width: 760px; margin: auto; background: #fff; color: #1c1c2e; border-radius: 24px; padding: 22px 22px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; gap: 14px; text-align: center; }
body.dark-mode .lscx-card { background: #111827; color: #dde3f8; border: 1px solid rgba(255, 255, 255, 0.09); }
.lscx-x { position: absolute; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 12px; border: 1px solid #e1e4f2; background: #f5f6fc; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
body.dark-mode .lscx-x { background: #141d2e; border-color: rgba(255, 255, 255, 0.09); }
.lscx-h h3 { margin: 0; font-size: 20px; font-weight: 900; }
.lscx-h p { margin: 4px 0 0; font-size: 13px; color: #565c75; }
body.dark-mode .lscx-h p { color: #8393b5; }
.lscx-stage { border-radius: 14px; overflow: hidden; background: #eef0f8; border: 1px solid #e1e4f2; min-height: 160px; display: flex; align-items: center; justify-content: center; }
body.dark-mode .lscx-stage { background: #05070f; border-color: rgba(255, 255, 255, 0.09); }
.lscx-stage img { display: block; width: 100%; height: auto; }
.lscx-load { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px; font-size: 14px; color: #565c75; }
.lscx-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e3e6f4; border-top-color: #6c63ff; animation: lscxSpin 0.9s linear infinite; }
@keyframes lscxSpin { to { transform: rotate(360deg); } }
.lscx-sh { font-weight: 800; font-size: 14px; }
.lscx-share { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.lscx-s { border: 0; border-radius: 16px; min-height: 66px; color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-family: Cairo, sans-serif; font-weight: 800; font-size: 13px; }
.lscx-s i { font-size: 22px; }
.lscx-s.wa { background: #1fa855; }
.lscx-s.tg { background: #1d8fc7; }
.lscx-s.fb { background: #1877f2; }
.lscx-s.ig { background: linear-gradient(45deg, #c13584, #833ab4 50%, #5851db); }
.lscx-s:hover { filter: brightness(1.08); }
.lscx-hint { font-size: 12.5px; line-height: 1.8; color: #565c75; }
body.dark-mode .lscx-hint { color: #8393b5; }
.lscx-row { display: flex; gap: 10px; }
.lscx-row button { flex: 1; min-height: 46px; border-radius: 14px; border: 1px solid #e1e4f2; background: #f5f6fc; color: inherit; font-family: Cairo, sans-serif; font-weight: 800; font-size: 14px; cursor: pointer; }
body.dark-mode .lscx-row button { background: #141d2e; border-color: rgba(255, 255, 255, 0.09); }
.lscx-ov button:focus-visible { outline: 2px solid #6c63ff; outline-offset: 2px; }
@media (max-width: 520px) { .lscx-card { padding: 18px 14px; border-radius: 20px; } .lscx-s { min-height: 60px; font-size: 12px; } .lscx-row { flex-direction: column; } }
@media (prefers-reduced-motion: reduce) { .lscx-spin { animation-duration: 3s; } }
