/* Apply — standalone page styles (2026-12-06).
   Mirrors assets/login.css (.lg-*): same tokens, same measurements,
   same mobile-first shape, renamed to the .wz-* classes the apply
   markup uses. Light-only: the page declares color-scheme light, and
   assets/clean-auth.css (loaded just before this file) carries the
   explicit light colors — this file adds layout only and does not
   re-declare clean-auth's color/background rules.
   Tokens only: ink #211d19, green #047857, deep #163300,
   wash #f4f6f2, border #e3e6e0, muted #6b655e.
   No directional (left/right) positioning: the Arabic page is dir=rtl. */

/* --- Form shell --- */
.wz-wrap { width: 100%; max-width: 28rem; margin: 0 auto; padding: 2rem 1rem 3rem; box-sizing: border-box; overflow-wrap: break-word; }
.wz-wrap h1 { margin: 0 0 .35rem; font-size: 1.35rem; color: #163300; }
.wz-wrap .lede { margin: 0 0 1rem; color: #4a443d; line-height: 1.55; }

.wz-next { margin: 0 0 1.25rem; padding-inline-start: 1.25rem; line-height: 1.55; color: #4a443d; }
.wz-next li { margin-bottom: .5rem; }
.wz-next li::marker { color: #047857; font-weight: 700; }

/* --- Panels --- */
.wz-panel { border: 1px solid #e3ddd2; border-radius: .9rem; padding: 1.25rem; margin-bottom: 1rem; }
.wz-panel[hidden] { display: none; }
.wz-panel h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.wz-panel .lede { margin: 0 0 1rem; color: #4a443d; line-height: 1.55; }

/* --- Status boxes (mirror .lg-error / .lg-ok) --- */
.wz-error { background: #fdf0ef; border: 1px solid #e5b6b0; color: #7a1f16; border-radius: .6rem; padding: .75rem .9rem; margin: 0 0 1rem; line-height: 1.5; }
.wz-error[hidden] { display: none; }
.wz-ok { background: #eef6ee; border: 1px solid #bcd8bc; color: #163300; border-radius: .6rem; padding: .75rem .9rem; margin: 0 0 1rem; line-height: 1.5; }
.wz-ok[hidden] { display: none; }

/* --- Fields --- */
.wz-field { margin-bottom: .9rem; }
.wz-field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .25rem; color: #211d19; }
.wz-field input { width: 100%; box-sizing: border-box; font: inherit; padding: .6rem .7rem; border: 1px solid #b9b2a6; border-radius: .5rem; background: #fff; color: #211d19; }
.wz-field input:focus { outline: 2px solid #047857; outline-offset: 1px; border-color: #047857; }
.hint { font-size: .85rem; color: #6b655e; line-height: 1.5; margin: .35rem 0 0; }

/* --- Turnstile --- */
/* Margin + min-height come from clean-auth.css (.wz-turnstile there);
   this file only keeps the widget inside the narrow column. */
.wz-turnstile { width: 100%; max-width: 100%; }

/* --- Buttons --- */
.wz-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%; box-sizing: border-box; font: inherit; font-weight: 700; padding: .7rem 1.3rem; border-radius: .6rem; border: 1px solid transparent; cursor: pointer; min-height: 44px; text-align: center; text-decoration: none; }
.wz-btn:focus-visible { outline: 2px solid #047857; outline-offset: 2px; }
.wz-btn svg { flex: none; }
.wz-btn-primary { background: #047857; color: #fff; }
.wz-btn-primary:disabled { background: #8aa79b; cursor: wait; }
.wz-btn-secondary { background: #fff; color: #163300; border-color: #163300; }
.wz-btn-google { background: #fff; color: #211d19; border-color: #b9b2a6; margin-bottom: .6rem; }

.wz-divider { display: flex; align-items: center; gap: .75rem; color: #6b655e; font-size: .85rem; margin: 1rem 0; }
.wz-divider::before, .wz-divider::after { content: ""; flex: 1; border-top: 1px solid #e3ddd2; }

.wz-actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }

.wz-note { font-size: .88rem; color: #6b655e; line-height: 1.5; margin: .75rem 0 0; }
.wz-note a { color: #047857; }

/* --- Pre-footer + Explore ---
   Mirrored from the inner-page bundle assets/inner-247de4a5.CSS
   (the staged style.css carries no .prefoot/.explore rules at all,
   and the apply pages do not link that bundle). Values are the
   bundle's, with its var(--*) tokens replaced by the literal
   ecosystem tokens above. */
.prefoot { max-width: 72rem; margin: 0 auto; padding: 48px 1.25rem 0; border-top: 1px solid #e3e6e0; }
.foot-cols { display: grid; gap: 1.4rem; margin: 1.5rem 0; font-size: 14px; }
.prefoot .foot-cols { margin: 0; }
.foot-col h2 { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 .55rem; color: #163300; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0 0 .4rem; }
.foot-col a { font-weight: 500; text-decoration: none; color: #211d19; }
.foot-col a:hover { color: #047857; text-decoration: underline; }
.explore { max-width: 72rem; margin: 2.6rem auto 0; padding: 0 1.25rem; }
.explore-in { background: #f4f6f2; border: 1px solid #e3e6e0; border-radius: 12px; padding: 1.5rem 1.6rem 1.7rem; }
.explore-in h2 { margin: 0 0 1rem; color: #163300; }
.explore-grid { display: grid; gap: 1.1rem 1.6rem; margin: 0; padding: 0; list-style: none; max-width: none; }
.explore-grid li { margin: 0; }
.explore-grid a { color: #047857; font-weight: 700; text-decoration: none; }
.explore-grid a:hover { color: #163300; text-decoration: underline; }
.explore-grid p { margin: .15rem 0 0; font-size: 14px; line-height: 1.55; color: #6b655e; }

@media (min-width: 640px) {
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
  .explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .foot-cols { grid-template-columns: repeat(4, 1fr); }
  .prefoot .foot-col { display: flex; flex-direction: column; }
  .prefoot .foot-col ul { flex: 1; display: flex; flex-direction: column; }
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
}
