/* صفحة التسجيل — نفس هوية الموقع (أخضر ليلي، عاجي، ذهبي) */
.su-body { min-height: 100vh; background:
  radial-gradient(900px 500px at 85% -10%, rgba(47, 143, 91, .22), transparent 60%),
  radial-gradient(700px 500px at 0% 110%, rgba(201, 162, 74, .10), transparent 60%), var(--night); }
.su-head { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; }
.su-head .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.su-head .brand strong { display: block; font-size: 18px; line-height: 1.1; }
.su-head .brand small { display: block; font-size: 10px; letter-spacing: .3em; color: var(--ivory-3); }
.su-main { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: clamp(10px, 3vw, 36px) 60px; }

/* الجانب التعريفي */
.su-side { position: sticky; top: 24px; padding-top: 18px; }
.su-side h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.25; font-weight: 700; }
.su-side h1 em { font-style: normal; background: linear-gradient(90deg, var(--gold-3), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.su-side-lead { margin-top: 16px; color: var(--ivory-2); font-size: 17px; max-width: 42ch; }
.su-art { margin: 26px 0 8px; padding: 18px 22px 10px; border-radius: 24px; border: 1px solid var(--line-d2); background: linear-gradient(135deg, rgba(47, 143, 91, .18), rgba(10, 35, 24, .4)); }
.su-art .sk-art { display: block; width: 100%; max-height: 190px; }
.su-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.su-points li { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; }
.su-points li::before { content: ""; grid-row: span 2; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: rgba(111, 198, 154, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236FC69A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.su-points b { font-weight: 600; }
.su-points span { color: var(--ivory-3); font-size: 14px; }

/* اللوحة */
.su-panel { position: relative; padding: clamp(22px, 3.4vw, 40px); border-radius: 28px; background: linear-gradient(180deg, rgba(236, 230, 214, .07), rgba(236, 230, 214, .025)); border: 1px solid var(--line-d2); box-shadow: var(--shadow-d); scroll-margin-top: 20px; }
.su-steps { list-style: none; margin: 0 0 26px; padding: 0; display: flex; gap: 8px; }
.su-steps li { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ivory-3); padding-bottom: 12px; border-bottom: 2px solid var(--line-d2); transition: color .3s, border-color .3s; }
.su-steps li span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line-d2); transition: all .3s; }
.su-steps li.is-on { color: var(--ivory); border-color: var(--gold); }
.su-steps li.is-on span { background: var(--gold); color: #1B1406; border-color: var(--gold); }
.su-steps li.is-done { color: var(--seal-3); border-color: var(--seal-3); }
.su-steps li.is-done span { background: rgba(111, 198, 154, .16); border-color: var(--seal-3); color: var(--seal-3); }
.su-form { display: grid; gap: 14px; }
.su-step { display: none; border: 0; margin: 0; padding: 0; min-width: 0; gap: 14px; }
.su-step.is-on { display: grid; animation: su-in .45s var(--ease); }
@keyframes su-in { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.su-step legend { padding: 0; margin-bottom: 18px; font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.su-legend-k { display: block; font-size: 12.5px; font-weight: 600; color: var(--gold); margin-bottom: 6px; }

/* بطاقات القطاعات */
.su-sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.su-sector { position: relative; display: grid; gap: 4px; padding: 14px 14px 16px; border-radius: 18px; cursor: pointer; border: 1px solid var(--line-d2); background: rgba(10, 35, 24, .45); transition: border-color .25s, transform .3s var(--spring), background .25s, box-shadow .3s; }
.su-sector:hover { transform: translateY(-3px); border-color: rgba(201, 162, 74, .45); }
.su-sector input { position: absolute; opacity: 0; pointer-events: none; }
.su-sector-art { display: block; aspect-ratio: 2 / 1; margin-bottom: 8px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #12482D, #0A2A1B); padding: 6px; }
.su-sector-art svg { width: 100%; height: 100%; }
.su-sector b { font-size: 16px; font-weight: 600; }
.su-sector small { font-size: 12.5px; color: var(--ivory-3); line-height: 1.6; }
.su-sector:has(input:checked) { border-color: var(--gold); background: rgba(201, 162, 74, .08); box-shadow: 0 0 0 4px rgba(201, 162, 74, .12); }
.su-sector:has(input:checked)::after { content: ""; position: absolute; top: 10px; inset-inline-start: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1406' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; animation: su-pop .35s var(--spring); }
.su-sector:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
@keyframes su-pop { from { transform: scale(0); } to { transform: scale(1); } }
.su-questions { margin-top: 8px; padding: 16px; border-radius: 16px; border: 1px dashed var(--line-d2); display: grid; gap: 10px; animation: su-in .4s var(--ease); }
.su-q-title { color: var(--ivory-2); font-size: 14px; }
.su-q { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; }
.su-q input { position: absolute; opacity: 0; }
.su-switch { flex: none; width: 40px; height: 22px; border-radius: 22px; background: rgba(236, 230, 214, .14); position: relative; transition: background .25s; }
.su-switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); transition: transform .3s var(--spring); }
.su-q input:checked + .su-switch { background: var(--seal-2); }
.su-q input:checked + .su-switch::after { transform: translateX(-18px); }
.su-q input:focus-visible + .su-switch { outline: 2px solid var(--gold); outline-offset: 2px; }

/* حقول خاصة */
.su-slug input { padding-inline-end: 14px; padding-inline-start: 150px; }
.su-slug-suffix { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-15%); font-style: normal; font-size: 14px; color: var(--ivory-3); pointer-events: none; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-slug span { inset-inline-start: auto; inset-inline-end: 14px; }
.su-hint { margin: -4px 0 0; font-size: 13px; color: var(--ivory-3); }
.su-hint.ok { color: var(--seal-3); } .su-hint.bad { color: #F09A9A; }
.su-pass input { padding-inline-start: 74px; }
.su-eye { position: absolute; inset-inline-start: 10px; top: 50%; transform: translateY(-50%); border: 0; background: rgba(236, 230, 214, .08); color: var(--ivory-2); border-radius: 8px; padding: 6px 10px; font: inherit; font-size: 12.5px; cursor: pointer; }
.su-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: -4px; }
.su-meter i { height: 4px; border-radius: 4px; background: rgba(236, 230, 214, .1); transition: background .3s; }
.su-meter[data-score="1"] i:nth-child(-n+1) { background: #D9805A; }
.su-meter[data-score="2"] i:nth-child(-n+2) { background: var(--gold); }
.su-meter[data-score="3"] i:nth-child(-n+3), .su-meter[data-score="4"] i { background: var(--seal-3); }
.su-legal { font-size: 12.5px; color: var(--ivory-3); }
.su-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 4px; }
.su-nav [data-next] { margin-inline-start: auto; min-width: 190px; }
.su-help { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ivory-3); }
.su-help a { color: var(--gold-2); }

/* النجاح */
.su-done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 18px 4px 6px; animation: up .6s var(--ease); }
.su-done-seal svg { width: 84px; height: 84px; }
.su-done-seal circle { fill: rgba(111, 198, 154, .08); stroke: var(--seal-3); stroke-width: 2; stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw .9s var(--ease) forwards; }
.su-done-seal path { fill: none; stroke: var(--gold-2); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .7s var(--ease) forwards; }
.su-done h2 { font-size: clamp(22px, 2.6vw, 30px); }
.su-done-sub { color: var(--ivory-2); }
.su-done-url { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-d2); background: rgba(10, 35, 24, .55); font-size: 15px; color: var(--gold-2); }
.su-done-note { font-size: 13px; color: var(--ivory-3); }

@media (max-width: 920px) {
  .su-main { grid-template-columns: 1fr; }
  .su-side { position: static; }
  .su-art, .su-points { display: none; }
}
@media (max-width: 560px) {
  .su-sectors { grid-template-columns: 1fr; }
  .su-sector { grid-template-columns: 96px 1fr; column-gap: 12px; align-items: center; }
  .su-sector-art { grid-row: span 2; margin: 0; }
  .lf-row { grid-template-columns: 1fr; }
  .su-nav [data-next] { min-width: 0; flex: 1; }
}
[hidden] { display: none !important; }
.su-pass input { padding-inline-start: 14px; padding-inline-end: 76px; }
.su-eye { inset-inline-start: auto; inset-inline-end: 10px; }
.su-next { list-style: none; margin: 4px 0 2px; padding: 0; width: 100%; display: grid; gap: 10px; text-align: start; counter-reset: s; }
.su-next li { position: relative; display: grid; gap: 2px; padding: 12px 14px 12px 14px; padding-inline-start: 52px; border-radius: 14px; border: 1px solid var(--line-d2); background: rgba(10, 35, 24, .4); counter-increment: s; }
.su-next li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line-d2); color: var(--ivory-3); }
.su-next li.is-done::before { content: "✓"; background: rgba(111, 198, 154, .16); border-color: var(--seal-3); color: var(--seal-3); }
.su-next li.is-on { border-color: rgba(201, 162, 74, .45); }
.su-next li.is-on::before { background: var(--gold); border-color: var(--gold); color: #1B1406; animation: su-pulse 1.8s ease-in-out infinite; }
.su-next b { font-weight: 600; font-size: 15px; } .su-next span { color: var(--ivory-3); font-size: 13px; }
@keyframes su-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 74, .45); } 50% { box-shadow: 0 0 0 6px rgba(201, 162, 74, 0); } }
.btn-wa { gap: 10px; background: linear-gradient(135deg, #2BD36F, #1EAE58); color: #fff; box-shadow: 0 10px 26px -10px rgba(37, 211, 102, .6); text-decoration: none; }
