/* =============================================================
   ZM BASKET — Authentication pages (login, reset, etc.)
   ============================================================= */

.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Brand / marketing side */
.auth-aside {
  position: relative;
  background: linear-gradient(150deg, var(--color-primary) 0%, var(--color-dark) 100%);
  color: #fff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.auth-aside::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245,158,11,.35), transparent 70%);
  top: -120px; right: -120px;
  border-radius: 50%;
}
.auth-aside .brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .5px;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}
.auth-aside h2 { color: #fff; font-size: 2rem; max-width: 22ch; position: relative; z-index: 1; }
.auth-aside p { color: rgba(255,255,255,.85); max-width: 40ch; position: relative; z-index: 1; }
.auth-aside ul { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; z-index: 1; }
.auth-aside li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .8rem; color: rgba(255,255,255,.9); }
.auth-aside li svg { flex: 0 0 auto; margin-top: 3px; }

/* Form side */
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-card .auth-logo {
  display: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
.auth-card h1 { font-size: 1.6rem; margin-bottom: .35rem; }
.auth-card .subtitle { color: var(--color-muted); margin-bottom: 1.8rem; }

.input-wrap { position: relative; }
.input-wrap .toggle-pw {
  position: absolute;
  right: .6rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: var(--color-muted); padding: .25rem;
  display: inline-flex;
}
.input-wrap .form-control { padding-right: 2.6rem; }

.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  font-size: .9rem;
}
.auth-foot {
  margin-top: 2rem;
  font-size: .8rem;
  color: var(--color-muted);
  text-align: center;
}

.pw-meter { height: 6px; border-radius: 4px; background: var(--color-border); margin-top: .5rem; overflow: hidden; }
.pw-meter span { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }

@media (max-width: 860px) {
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .auth-card .auth-logo { display: block; }
}
