/* =================================================================
   FÁBS AFRICA — customer login / register (split-screen, matches admin login)
   ================================================================= */
:root {
  --black: #0d0d0d;
  --ink: #1b1b1b;
  --line: #e8e5df;
  --muted: #7a776f;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', -apple-system, 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body.s-login-body { margin: 0; font-family: var(--body); font-size: 14px; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
.s-login-body a { color: inherit; text-decoration: none; }
.s-login-body img { max-width: 100%; display: block; }
.s-login-body button, .s-login-body input { font: inherit; color: inherit; }
.s-login-body h1 { margin: 0; font-family: var(--display); }
.s-login-body p { margin: 0 0 .8em; }

.s-login { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.s-login-art { position: relative; overflow: hidden; background: var(--black); }
.s-login-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: .75; }
.s-login-art > div { position: absolute; left: 48px; bottom: 48px; color: #fff; }
.s-login-logo { height: 24px; filter: invert(1) brightness(2); margin-bottom: 8px; }
.s-login-art p { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin: 0; }

.s-login-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.s-login-form form { width: 100%; max-width: 380px; }
.s-login-form h1 { font-size: 32px; font-weight: 800; text-transform: uppercase; margin-bottom: 6px; }
.s-muted { color: var(--muted); margin-bottom: 28px; }

.s-field { display: block; margin-bottom: 16px; }
.s-field > span { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.s-field input {
  width: 100%; height: 44px; padding: 0 14px; border: 1px solid #dcd8d0; border-radius: 6px; background: #fff; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.s-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }

.s-login-body .s-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 8px; padding: 0 20px;
  background: var(--black); color: #fff; border: 1px solid var(--black); border-radius: 6px;
  font-weight: 600; font-size: 13px; cursor: pointer; transition: opacity .2s;
}
.s-login-body .s-btn:hover { opacity: .85; }

.s-switch { margin: 20px 0 0; text-align: center; font-size: 13px; }
.s-switch a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9c5bd; }
.s-back { display: block; text-align: center; margin-top: 14px; font-size: 13px; color: var(--muted); }

.s-login-body .alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.s-login-body .alert-success { background: #e3f4ea; color: #14532d; }
.s-login-body .alert-error { background: #fbe4df; color: #8f2a14; }

@media (max-width: 900px) {
  .s-login { grid-template-columns: 1fr; }
  .s-login-art { display: none; }
}
