/* ── Log in (patterns/login-card.php) ─────────────────────────────────
   Values verbatim from artists-camp-3.0 src/pages/Login.tsx inline
   styles. The WP page drops the SPA form + demo-credentials box; the
   cobalt button goes to wp-login.php instead. */

.ac-login {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 32px);
}

.ac-login__wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ac-login__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.ac-login__logo {
  margin: 0;
}

.ac-login__logo img {
  width: 52px;
  height: 52px;
}

.ac-login__title {
  font-weight: 700;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: -0.015em;
  margin: 0;
}

/* ac-card supplies the white bg, 1px #E8ECF2 border and radius 16; the
   login card's padding, gap and shadow differ from the base card. */
.ac-card.ac-login__card {
  padding: clamp(22px, 4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}

.ac-login__copy {
  margin: 0;
}

/* Source button: full card width, 14px 24px pad, 600/15, radius 8. */
.ac-login__btns {
  display: flex;
}

.ac-login__btns .wp-block-button.ac-login__btn {
  width: 100%;
}

.ac-login__card .wp-block-button.ac-login__btn .wp-block-button__link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
}

/* Source link row: 13.5px, gap 12, wrap; centered here — the WP card
   carries a single link (WP owns password recovery). */
.ac-login__links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
  margin: 0;
}

/* ── Sign-in card (template-login.php) — ported from Login.tsx ───────── */
.ac-login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 7vw, 80px) clamp(16px, 4vw, 32px);
}
.ac-login__inner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ac-login__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.ac-login__mark { width: 52px; height: 52px; }
.ac-login__title {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 36px);
  letter-spacing: -0.015em;
  margin: 0;
}
.ac-login__card {
  background: #ffffff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: clamp(22px, 4vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.05);
}
.ac-login__error {
  font-size: 13.5px;
  color: #d7374f;
  font-weight: 500;
  background: #ffe6e7;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0;
}
#ac-loginform p { margin: 0 0 16px; display: flex; flex-direction: column; gap: 6px; }
#ac-loginform label { font-size: 14px; font-weight: 600; }
#ac-loginform input[type="text"],
#ac-loginform input[type="password"] {
  box-sizing: border-box;
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #cdd4df;
  border-radius: 8px;
  font-size: 15px;
  background: #ffffff;
  outline: none;
  font-family: inherit;
}
#ac-loginform input[type="text"]:focus,
#ac-loginform input[type="password"]:focus { border-color: #2447c6; }
#ac-loginform .login-remember { flex-direction: row; align-items: center; gap: 8px; }
#ac-loginform .login-remember label { font-weight: 500; font-size: 13.5px; color: #516078; }
#ac-loginform .login-submit { margin-bottom: 0; }
#ac-loginform input[type="submit"] {
  background: #2447c6;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease;
}
#ac-loginform input[type="submit"]:hover { background: #1b37a0; }
.ac-login__links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
