/* =====================================================================
   منصة ميكرز — صفحات الدخول والتسجيل
   ===================================================================== */
body.auth {
  min-height: 100vh;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  font-family: "Tajawal", "Cairo", sans-serif;
}
.auth-wrap { width: 100%; padding: 30px 0; }

.auth-card {
  background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg);
  overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr;
}

/* الجانب الترويجي */
.auth-side {
  background: var(--grad-primary); color: #fff; padding: 50px 44px;
  position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.auth-side::before { content: ""; position: absolute; top: -100px; inset-inline-end: -80px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.12); }
.auth-side::after { content: ""; position: absolute; bottom: -120px; inset-inline-start: -60px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.08); }
.auth-side > * { position: relative; z-index: 2; }
.auth-side .brand { display: flex; align-items: center; gap: 10px; font-family: "Cairo"; font-weight: 900; font-size: 1.4rem; }
.auth-side .brand .brand-badge { background: rgba(255,255,255,.18); box-shadow: none; }
.auth-side h2 { color: #fff; font-size: 1.9rem; margin: 28px 0 14px; }
.auth-side .feat { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 600; }
.auth-side .feat i { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0; }

/* الجانب النموذج */
.auth-form { padding: 50px 46px; }
.auth-form h3 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-form .form-control { border-radius: 12px; padding: .75rem 1rem; border: 1px solid var(--line); }
.auth-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(79,70,229,.15); }
.auth-form .input-icon { position: relative; }
.auth-form .input-icon i { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.auth-form .input-icon .form-control { padding-inline-end: 2.8rem; }
.divider-or { display: flex; align-items: center; gap: 14px; color: var(--muted); margin: 22px 0; }
.divider-or::before, .divider-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn-social { border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--body); font-weight: 700; padding: .7rem; transition: all var(--t); }
.btn-social:hover { border-color: var(--primary); background: var(--bg-soft); }

@media (max-width: 860px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .auth-form { padding: 38px 26px; }
}
