/* =========================================================
   Premier Nsabodie — auth.css
   Login / register / forgot-password pages.
   Split screen: form on unbleached cotton, brand panel on
   kuntunkuni cloth with the adinkrahene stamp pattern.
   ========================================================= */

/* ---------- Split layout ---------- */
.auth_all {
  display: grid;
  grid-template-columns: minmax(0, 480px) 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- Form panel (left) ---------- */
.auth_forms {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  background: var(--cloth);
}

/* Brand mark: adinkrahene drawn in CSS, no image needed */
.logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--kobene);
  position: relative;
  margin-bottom: 1.6rem;
}

.logo::before,
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.logo::before {
  width: 22px;
  height: 22px;
  border: 3px solid var(--kobene);
}

.logo::after {
  width: 7px;
  height: 7px;
  background: var(--kobene);
}

.auth_title h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.auth_subtitle {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1.8rem;
}

/* ---------- Fields ---------- */
.forms { margin-bottom: 1.15rem; }

.forms label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.forms input[type="text"],
.forms input[type="email"],
.forms input[type="password"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1.5px solid var(--cloth-dim);
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.15s ease;
}

.forms input::placeholder { color: rgba(32, 22, 18, 0.35); }

.forms input:hover { border-color: var(--ink-soft); }

.forms input:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 1px;
  border-color: transparent;
}

/* Show-password row */
.form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
  user-select: none;
}

.form input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--kobene);
  cursor: pointer;
}

/* Submit button fills the column */
.forms button[type="submit"] { width: 100%; }

/* Server message sits above the form */
.auth_message { margin-bottom: 1.3rem; }

/* ---------- Links under the form ---------- */
.auth_split {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--cloth-dim);
  font-size: 0.9rem;
}

.split_one a {
  color: var(--kobene);
  font-weight: 500;
  text-decoration: none;
}

.split_one a:hover,
.split_one a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Brand panel (right) ---------- */
.auth_image {
  position: relative;
  background-color: var(--ink);
  background-image: var(--adinkra-stamp);
  color: var(--cloth);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
}

/* Kobene/kuntunkuni band along the seam, echoing the memorial card */
.auth_image::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: repeating-linear-gradient(
    180deg,
    var(--kobene) 0 18px,
    var(--cloth) 18px 36px
  );
  opacity: 0.85;
}

.auth_quote {
  max-width: 26rem;
}

.auth_quote .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.8rem;
}

.auth_quote p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.35;
}

.auth_quote small {
  display: block;
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  opacity: 0.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .auth_all { grid-template-columns: 1fr; }

  /* Brand panel becomes a slim header band on mobile */
  .auth_image {
    order: -1;
    min-height: 110px;
    align-items: center;
    padding: 1.2rem 1.5rem;
  }

  .auth_image::before {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: auto;
    height: 6px;
    background: repeating-linear-gradient(
      90deg,
      var(--kobene) 0 18px,
      var(--cloth) 18px 36px
    );
  }

  .auth_quote p { font-size: 1.1rem; }
  .auth_quote small { display: none; }
}