/* ============================================================
   TECTRONIX — صفحات الحساب (دخول، تسجيل، كلمة المرور)
   ============================================================ */

.auth-wrap{
  min-height:68vh;display:flex;align-items:center;justify-content:center;
  padding:56px 20px 76px;
  background:
    radial-gradient(60% 50% at 50% 0%,rgba(1,65,37,.07),transparent 70%),
    var(--bg)
}
.auth-card{
  width:100%;max-width:480px;background:#fff;
  border:1px solid var(--line);border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);padding:40px 38px 34px
}
.auth-card.wide{max-width:620px}

.auth-head{text-align:center;margin-bottom:28px}
.auth-head > i{
  width:66px;height:66px;border-radius:50%;margin:0 auto 16px;
  display:grid;place-items:center;font-size:1.6rem;color:var(--gold);
  background:linear-gradient(135deg,var(--green),var(--green-2));
  box-shadow:0 8px 22px rgba(1,65,37,.25)
}
.auth-head h1{font-size:1.55rem;margin-bottom:8px}
.auth-head p{color:var(--muted);font-size:.97rem;margin:0}

/* الحقول */
.auth-card .field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}
.auth-card label{font-weight:700;font-size:.95rem;color:var(--ink)}
.auth-card label i{color:#d14343;font-style:normal}
.auth-card input[type=text],
.auth-card input[type=email],
.auth-card input[type=tel],
.auth-card input[type=password]{
  width:100%;font-family:var(--font);font-size:1rem;color:var(--ink);
  background:#fbfcfb;border:1.6px solid var(--line);border-radius:var(--r-sm);
  padding:12px 15px;transition:var(--t)
}
.auth-card input:focus{
  border-color:var(--green);background:#fff;outline:0;
  box-shadow:0 0 0 4px rgba(1,65,37,.09)
}
.auth-card .hint{color:var(--muted);font-size:.86rem;line-height:1.7}

/* حقل كلمة المرور مع زر الإظهار */
.pw{position:relative;display:flex}
.pw input{padding-inline-start:46px !important}
.eye{
  position:absolute;inset-inline-start:6px;top:50%;transform:translateY(-50%);
  background:none;border:0;cursor:pointer;color:var(--muted);
  font-size:.98rem;padding:8px;border-radius:8px;transition:var(--t)
}
.eye:hover{color:var(--green);background:rgba(1,65,37,.06)}

.auth-card .btn{margin-top:6px}
.auth-alt{
  margin-top:22px;padding-top:20px;border-top:1px solid var(--line);
  text-align:center;font-size:.94rem;color:var(--muted)
}
.auth-alt a{color:var(--green);font-weight:700}
.auth-alt a:hover{color:var(--gold-ink)}

/* التنبيهات */
.note{
  display:flex;gap:13px;border-radius:var(--r);padding:16px 18px;
  margin-bottom:22px;font-size:.95rem;line-height:1.8
}
.note i{font-size:1.2rem;margin-top:3px;flex:none}
.note b{display:block;margin-bottom:3px}
.note span{display:block}
.note ul{margin:4px 0 0;padding-inline-start:18px;list-style:disc}
.note li{margin-bottom:3px}
.note.ok{background:rgba(192,160,80,.11);border:1px solid rgba(192,160,80,.4);color:var(--gold-ink)}
.note.ok i{color:var(--gold-ink)}
.note.bad{background:#fff5f5;border:1px solid #f3c2c2;color:#8d2626}
.note.bad i{color:#d14343}
.note.info{background:rgba(1,65,37,.05);border:1px solid var(--line);color:var(--muted)}
.note.info i{color:var(--green)}

@media(max-width:520px){
  .auth-card{padding:30px 22px 26px}
  .auth-head h1{font-size:1.35rem}
}

/* شبكة حقول التسجيل */
.f-grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
@media(max-width:560px){.f-grid2{grid-template-columns:1fr}}
.auth-card .err{color:#c23a3a;font-size:.86rem;font-weight:600;line-height:1.7}
.auth-card .err a{color:var(--green);text-decoration:underline}
/* فخّ السبام — مخفي بالقصّ لا بالإزاحة.
   المحدِّد مطابق لقاعدة الحقول العامة في الدقة حتى لا تُلغي عرضه
   (قاعدة .auth-card input[type=text] كانت تعيده إلى width:100%
    فيتمدّد خارج الصفحة ويُنشئ تمريراً أفقياً). */
.auth-card input.hp-reg{
  position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap
}

/* الموافقات في صفحة التسجيل — نفس نمط نموذج الطلب */
.consents{display:grid;gap:12px;margin:8px 0 18px}
.consent{
  display:flex;gap:12px;align-items:flex-start;cursor:pointer;
  border:1.6px solid var(--line);border-radius:var(--r);padding:14px 16px;
  font-size:.93rem;line-height:1.8;transition:var(--t);background:#fff
}
.consent:hover{border-color:rgba(192,160,80,.55)}
.consent input{width:19px;height:19px;margin-top:3px;flex:none;accent-color:var(--green);cursor:pointer}
.consent a{color:var(--green);text-decoration:underline;text-underline-offset:3px;font-weight:600}
.consent small{display:block;color:var(--muted);font-size:.86rem;margin-top:4px}
.consent.req b{display:inline-block;background:rgba(209,67,67,.1);color:#b03535;
  font-size:.77rem;padding:1px 9px;border-radius:999px;margin-inline-start:4px}
.consent.req{border-color:rgba(1,65,37,.22)}
