/* تحديثات 2026 — ارفعي هذا الملف مع صفحات HTML */
/* build: 20260906 */

.site-disclaimer {
  background: var(--green-soft);
  border-bottom: 1px solid rgba(15, 118, 110, .14);
  color: var(--green-ink);
  font-size: .88rem;
  line-height: 1.7;
}
.site-disclaimer .wrap {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .8rem 0;
}
.site-disclaimer .wrap::before {
  content: "!";
  flex: 0 0 1.65rem;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: .12rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.65rem;
  text-align: center;
}
.site-disclaimer p { margin: 0; }
.site-disclaimer strong { color: var(--green-deep); font-weight: 700; }

.disclaimer-card {
  border: 1px solid #FDE68A;
  background: #FFFBEB;
}
.disclaimer-card h2 {
  color: #92400E;
  font-size: 1.15rem;
  margin-bottom: .6rem;
}
.disclaimer-card p { margin: 0; color: #78350F; }

.footer-disclaimer {
  margin: 1.5rem 0 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(153, 246, 228, .22);
  border-radius: 12px;
  background: rgba(15, 118, 110, .18);
  color: #CCFBF1;
  font-size: .88rem;
  line-height: 1.65;
}
.footer-disclaimer strong { color: #F0FDFA; }

.safety-guide {
  background: var(--cream);
}
.safety-guide .section-head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.safety-guide .section-head p {
  margin: 0;
  font-size: .95rem;
}
.safety-grid {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  position: relative;
  padding-inline-end: .5rem;
}
.safety-grid::before {
  content: "";
  position: absolute;
  inset-inline-end: 1.35rem;
  top: 1.1rem;
  bottom: 1.1rem;
  width: 2px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--green-mid) 0%, rgba(20, 184, 166, .15) 100%);
}
.safety-point {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  position: relative;
  z-index: 1;
  transition: border-color .15s;
}
.safety-point:hover { border-color: rgba(15, 118, 110, .22); }
.safety-point::before {
  content: attr(data-num);
  grid-column: 1;
  grid-row: 1 / -1;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  border: 1px solid rgba(15, 118, 110, .14);
  color: var(--green-deep);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}
.safety-point h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: .98rem;
  color: var(--green-deep);
  margin: .15rem 0 .4rem;
  padding: 0;
}
.safety-point p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.7;
}
.safety-point:nth-child(1)::before { content: "١"; }
.safety-point:nth-child(2)::before { content: "٢"; }
.safety-point:nth-child(3)::before { content: "٣"; }
.safety-point:nth-child(4)::before { content: "٤"; }
.safety-point:nth-child(5)::before { content: "٥"; }
.safety-point:nth-child(6)::before { content: "٦"; }
.safety-point:nth-child(7)::before { content: "٧"; }
.safety-point p strong { color: var(--ink); font-weight: 600; }
.safety-point p + p { margin-top: .6rem; }
.safety-point--alert {
  border-color: rgba(220, 38, 38, .18);
  background: linear-gradient(135deg, #fff 0%, #FEF2F2 100%);
}
.safety-point--alert::before {
  background: #FEE2E2;
  border-color: rgba(220, 38, 38, .2);
  color: #B91C1C;
}
.safety-point--alert h3 { color: #B91C1C; }
.safety-emergency {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 !important;
  padding-top: .7rem;
}
.safety-emergency a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: #DC2626;
  color: #fff !important;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .02em;
  transition: background .15s;
}
.safety-emergency a:hover { background: #B91C1C; color: #fff !important; }
.safety-footnote {
  margin: 1.5rem 0 0;
  padding: .9rem 1.1rem;
  border-radius: 12px;
  background: var(--paper);
  border: 1px dashed rgba(15, 118, 110, .25);
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.65;
  text-align: center;
}
.safety-footnote a { font-weight: 600; }

.nahdi-verdict {
  background: var(--paper);
  border: 1px solid rgba(15, 118, 110, .2);
  border-inline-start: 4px solid var(--green);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}
.nahdi-verdict__badge {
  display: inline-block;
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid rgba(15, 118, 110, .14);
  padding: .22rem .7rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.nahdi-verdict p { margin: 0 0 .65rem; color: var(--ink); line-height: 1.75; }
.nahdi-verdict p:last-child { margin-bottom: 0; }
.nahdi-verdict__alt { color: var(--muted) !important; font-size: .92rem; }
.nahdi-compare {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.nahdi-compare table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.nahdi-compare th,
.nahdi-compare td {
  padding: .85rem 1rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.nahdi-compare thead th {
  background: var(--green-deep);
  color: #F0FDFA;
  font-weight: 700;
  font-size: .88rem;
}
.nahdi-compare thead th:first-child { border-radius: 0; }
.nahdi-compare tbody th {
  color: var(--green-deep);
  font-weight: 600;
  background: var(--green-soft);
  width: 28%;
}
.nahdi-compare tbody tr:last-child th,
.nahdi-compare tbody tr:last-child td { border-bottom: none; }
.nahdi-no { color: #B91C1C; font-weight: 600; }
.nahdi-yes { color: var(--green-deep); font-weight: 600; }
.nahdi-links .city-card {
  color: inherit;
  transition: border-color .15s;
}
.nahdi-links .city-card:hover { border-color: var(--green-mid); }
.nahdi-table-note {
  margin: .85rem 0 0;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* دليل سايتوتك — رسم الحبة (HTML + CSS) */
.pill-diagram {
  margin: 1.75rem 0;
  padding: 0;
  background: linear-gradient(165deg, #f0fdfa 0%, #f8faf9 45%, #fff 100%);
  border: 1px solid #cce8e4;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(17, 94, 89, .08);
  overflow: hidden;
}
.pill-draw__banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, var(--green-deep), #0d9488);
  color: #fff;
}
.pill-draw__badge {
  display: inline-block;
  padding: .28rem .75rem;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.pill-draw__banner-text {
  margin: 0;
  font-size: .88rem;
  font-weight: 500;
  opacity: .95;
}
.pill-draw__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem 1.25rem .5rem;
}
.pill-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, .04);
}
.pill-panel__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.pill-panel__num {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  background: var(--green-deep);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  border-radius: 8px;
  flex-shrink: 0;
}
.pill-panel__title h3 {
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.2;
}
.pill-panel__title p {
  margin: .1rem 0 0;
  font-size: .7rem;
  color: var(--muted);
}
.pill-panel__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 260px;
  padding: 1.25rem 1rem 1.5rem;
  background:
    radial-gradient(circle at 50% 55%, rgba(15, 118, 110, .06) 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(15, 118, 110, .04) 19px, rgba(15, 118, 110, .04) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(15, 118, 110, .04) 19px, rgba(15, 118, 110, .04) 20px);
}
.pill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  justify-content: center;
  width: 100%;
}
.pill-chips--row { padding: 0 .25rem; }
.pill-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  background: #fff;
  border: 1px solid #cce8e4;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 2px 8px rgba(15, 118, 110, .06);
  white-space: nowrap;
}
.pill-chip--accent {
  background: var(--green-soft);
  border-color: rgba(15, 118, 110, .2);
  color: var(--green-deep);
}
.pill-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-mid);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, .12);
}

/* سداسي */
.pill-hex-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem 0;
}
.pill-hex {
  position: relative;
  width: 190px;
  height: 165px;
}
.pill-hex__glow {
  position: absolute;
  inset: -12%;
  background: radial-gradient(circle, rgba(15, 118, 110, .12) 0%, transparent 70%);
  pointer-events: none;
}
.pill-hex__shadow {
  position: absolute;
  inset: 0;
  background: #b8b4ac;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transform: translate(5px, 8px);
  opacity: .35;
  filter: blur(2px);
}
.pill-hex__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  background: linear-gradient(155deg, #fff 0%, #f4f2ee 38%, #e8e4dd 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, .12), inset 0 1px 0 rgba(255,255,255,.9);
}
.pill-hex__ring {
  position: absolute;
  inset: 7%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75);
  pointer-events: none;
}
.pill-hex__brand {
  font-family: Arial, Helvetica, sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: #9a9590;
  text-shadow: 0 1px 0 #fff, 0 -1px 1px rgba(110,105,98,.3);
}
.pill-hex__code {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #7a7670;
  text-shadow: 0 1px 0 #fff, 0 -1.5px 1px rgba(110,105,98,.35);
}

/* منظر جانبي */
.pill-edge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}
.pill-edge {
  position: relative;
  width: 180px;
  height: 34px;
}
.pill-edge__cap {
  position: absolute;
  left: 0;
  right: 0;
  height: 17px;
  border-radius: 50%;
  border: 1px solid #c4bfb6;
}
.pill-edge__cap--top {
  top: 0;
  z-index: 2;
  background: linear-gradient(180deg, #faf8f5 0%, #ebe7e0 100%);
  box-shadow: 0 2px 6px rgba(15,23,42,.06);
}
.pill-edge__cap--bottom {
  bottom: 0;
  z-index: 0;
  background: linear-gradient(180deg, #ddd8d0 0%, #c8c3bb 100%);
}
.pill-edge__mid {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, #f2f0eb 0%, #e6e2da 100%);
  border-inline: 1px solid #c4bfb6;
  z-index: 1;
}
.pill-edge__shine {
  position: absolute;
  top: 10px;
  left: 10%;
  right: 10%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  z-index: 3;
}
.pill-edge__dim {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--muted);
  font-size: .68rem;
}
.pill-edge__dim span {
  display: block;
  width: 2px;
  height: 22px;
  background: var(--green-mid);
  border-radius: 1px;
  position: relative;
}
.pill-edge__dim span::before,
.pill-edge__dim span::after {
  content: "";
  position: absolute;
  left: -3px;
  width: 8px;
  height: 1.5px;
  background: var(--green-mid);
}
.pill-edge__dim span::before { top: 0; }
.pill-edge__dim span::after { bottom: 0; }

.pill-draw__dose-bar {
  text-align: center;
  padding: .25rem 1.25rem 1rem;
  margin-top: -.35rem;
}
.pill-draw__dose {
  display: inline-block;
  padding: .5rem 1.35rem;
  background: linear-gradient(135deg, var(--green-deep), #0d9488);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: .04em;
  box-shadow: 0 6px 20px rgba(15, 118, 110, .28);
}

.pill-specs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin: 0 1.25rem 1.25rem;
  padding: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  border-inline-start: 5px solid var(--green-deep);
}
.pill-specs__cell {
  padding: .85rem 1rem;
  border-inline-end: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}
.pill-specs__cell:nth-child(1),
.pill-specs__cell:nth-child(2),
.pill-specs__cell:nth-child(3) { grid-column: span 2; }
.pill-specs__cell:nth-child(4) { grid-column: span 3; }
.pill-specs__cell--wide { grid-column: span 3; border-inline-end: 0; }
.pill-specs__cell dt {
  font-size: .7rem;
  font-weight: 700;
  color: var(--green-deep);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: .25rem;
}
.pill-specs__cell dd {
  margin: 0;
  font-size: .84rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
}
.pill-diagram__note {
  margin: 0;
  padding: .85rem 1.25rem;
  background: #fffbeb;
  border-top: 1px solid #fde68a;
  font-size: .86rem;
  color: #78350f;
  line-height: 1.65;
  text-align: center;
}

/* كلمات مفتاحية — دليل سايتوتك 200 */
.ref-kw {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: -.15rem 0 1.1rem;
  padding: 0;
  list-style: none;
}
.ref-kw li {
  display: inline-block;
  background: var(--green-soft);
  border: 1px solid rgba(15, 118, 110, .14);
  color: var(--green-deep);
  padding: .24rem .68rem;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.45;
}

@media (max-width: 768px) {
  .pill-draw__grid { grid-template-columns: 1fr; padding: 1rem; }
  .pill-panel__stage { min-height: 220px; }
  .pill-specs { grid-template-columns: 1fr 1fr; margin: 0 1rem 1rem; }
  .pill-specs__cell,
  .pill-specs__cell--wide { grid-column: span 1 !important; border-inline-end: 0; }
  .pill-hex { width: 165px; height: 143px; }
  .pill-hex__code { font-size: 1.4rem; }
  .pill-chip { font-size: .7rem; padding: .3rem .55rem; }
  .safety-grid::before { display: none; }
  .safety-point {
    grid-template-columns: 2.15rem 1fr;
    gap: .75rem;
    padding: .9rem 1rem;
  }
  .safety-point::before {
    width: 2.15rem;
    height: 2.15rem;
    font-size: .92rem;
    border-radius: 10px;
  }
  .nahdi-compare { font-size: .85rem; }
  .nahdi-compare th,
  .nahdi-compare td { padding: .7rem .75rem; }
}

@media (max-width: 480px) {
  .pill-specs { grid-template-columns: 1fr; }
  .pill-hex { width: 150px; height: 130px; }
  .pill-hex__code { font-size: 1.25rem; }
  .pill-chips--row { flex-direction: column; align-items: center; }
}
