:root {
  color: #16150f;
  background: #f2f0e9;
  font-family: "Instrument Sans", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
button, input { font: inherit; }
.login-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px clamp(20px, 5vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.login-brand { color: inherit; text-decoration: none; font: 700 18px "Plus Jakarta Sans", sans-serif; }
.login-language { display: flex; gap: 4px; padding: 3px; border: 1px solid #ddd9cc; border-radius: 999px; background: #fff; }
.login-language button { width: auto; min-height: 0; margin-top: 0; border: 0; border-radius: 999px; padding: 7px 10px; background: transparent; color: #6f6b5e; cursor: pointer; font-size: 12px; font-weight: 700; }
.login-language button[aria-pressed="true"] { background: #16150f; color: #fff; }
.login-shell { padding: clamp(34px, 8vw, 90px) 20px 72px; }
.login-card { width: min(100%, 510px); margin: 0 auto; padding: clamp(28px, 7vw, 48px); border: 1px solid #e6e3d8; border-radius: 28px; background: #fff; box-shadow: 0 22px 70px rgba(22, 21, 15, .08); }
.login-success { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 15px; color: #fff; background: #7a9a00; font-size: 23px; }
h1, h2 { font-family: "Plus Jakarta Sans", sans-serif; letter-spacing: -.025em; }
h1 { margin: 0 0 18px; font-size: clamp(29px, 7vw, 39px); line-height: 1.08; }
h2 { margin: 0 0 14px; font-size: clamp(22px, 5vw, 28px); line-height: 1.2; }
p { color: #5c594e; line-height: 1.6; }
label { display: block; margin: 25px 0 8px; color: #6f6b5e; font-size: 11px; font-weight: 700; letter-spacing: .09em; }
input { width: 100%; min-height: 54px; border: 1px solid #cdc8b8; border-radius: 14px; padding: 13px 15px; background: #fff; color: #16150f; font-size: 17px; }
input:focus { outline: 3px solid rgba(122, 154, 0, .2); border-color: #7a9a00; }
button, .login-primary-link { width: 100%; min-height: 52px; margin-top: 16px; border: 0; border-radius: 999px; padding: 14px 22px; background: #16150f; color: #fff; cursor: pointer; font-weight: 700; text-align: center; text-decoration: none; }
button:disabled { cursor: wait; opacity: .58; }
button.secondary { background: #eeece3; color: #16150f; }
button.text-button { width: auto; min-height: 38px; margin: 0; padding: 7px 2px; border-radius: 0; background: transparent; color: #4f6710; }
.login-secondary-actions { display: flex; justify-content: space-between; gap: 18px; margin-top: 12px; }
.login-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.login-store-links { display: grid; gap: 10px; margin: 24px 0; }
.login-store-links a { padding: 14px 18px; border: 1px solid #cdc8b8; border-radius: 14px; color: #16150f; text-align: center; text-decoration: none; font-weight: 600; }
.login-status { min-height: 24px; margin: 18px 0 0; color: #9b2c23; font-size: 14px; }
.login-help { margin: 24px 0 0; border-top: 1px solid #eeece3; padding-top: 20px; font-size: 13px; text-align: center; }
.login-help a { color: inherit; }
.login-spinner { width: 40px; height: 40px; margin-bottom: 20px; border: 4px solid #e6e3d8; border-top-color: #7a9a00; border-radius: 50%; animation: login-spin .9s linear infinite; }
.login-primary-link { display: block; }
@keyframes login-spin { to { transform: rotate(360deg); } }
@media (max-width: 520px) { .login-choice-grid { grid-template-columns: 1fr; } .login-card { border-radius: 22px; padding: 28px 22px; } }
