:root {
  --pink: #e91e63;
  --pink-dark: #d81b60;
  --pink-soft: #f8bbd0;
  --ink: rgba(0, 0, 0, 0.87);
}
* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 16px/24px Roboto, sans-serif;
  padding-bottom: 44px;
}
.topbar {
  height: 64px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px rgba(0, 0, 0, 0.14),
    0 1px 10px rgba(0, 0, 0, 0.12);
}
.outline-nav {
  height: 28px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  text-transform: uppercase;
  font: 500 12px/18px Roboto, sans-serif;
  letter-spacing: 0.0892857143em;
  padding: 0 12.4444px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease;
}
.outline-nav:hover {
  background: rgba(233, 30, 99, 0.08);
}
.brand {
  width: 151px;
  text-align: center;
  color: var(--pink);
  text-decoration: none;
  font: 400 25px/21px Georgia, serif;
  letter-spacing: 0.12em;
}
.brand small {
  display: block;
  margin-top: 6px;
  color: #d88aa6;
  font: 400 5px/6px Arial, sans-serif;
  letter-spacing: 0.18em;
}
.flag {
  width: 32px;
  height: 20px;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ddd;
}
.flag span {
  display: block;
  height: 33.333%;
}
.flag .w {
  background: #fff;
}
.flag .g {
  background: #159447;
}
.flag .r {
  background: #d9292e;
}
main {
  min-height: 100vh;
  padding: 88px 16px 70px;
}
.login-card {
  width: 449.33px;
  min-height: 454px;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 16px 24px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14),
    0 1px 5px rgba(0, 0, 0, 0.12);
}
.field {
  position: relative;
  height: 52px;
  margin-bottom: 18px;
  border-bottom: 1px solid #aaa;
}
.field label {
  position: absolute;
  left: 0;
  top: 0;
  color: #888;
  font-size: 13px;
  line-height: 18px;
}
.field input {
  width: 100%;
  height: 40px;
  margin-top: 12px;
  padding: 8px 36px 8px 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/20px Roboto, sans-serif;
}
.field:focus-within {
  border-bottom: 2px solid var(--pink);
}
.field:focus-within label {
  color: var(--pink);
}
.eye {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  background: var(--pink);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m2 4.27 2.28 2.28.45.45C3.08 8.3 1.78 10 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.43.42L19.73 22 21 20.73 3.27 3zM12 9c1.66 0 3 1.34 3 3 0 .35-.07.69-.18 1l-3.82-3.82c.31-.11.65-.18 1-.18m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-2.35 3.77l-2.14-2.14c.31-1.05.28-2.21-.19-3.3a6.49 6.49 0 0 0-8.65-3.65L8.11 5.12A11.9 11.9 0 0 1 12 4.5'/%3E%3C/svg%3E")
    center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m2 4.27 2.28 2.28.45.45C3.08 8.3 1.78 10 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.43.42L19.73 22 21 20.73 3.27 3zM12 9c1.66 0 3 1.34 3 3 0 .35-.07.69-.18 1l-3.82-3.82c.31-.11.65-.18 1-.18m0-4.5c5 0 9.27 3.11 11 7.5a11.8 11.8 0 0 1-2.35 3.77l-2.14-2.14c.31-1.05.28-2.21-.19-3.3a6.49 6.49 0 0 0-8.65-3.65L8.11 5.12A11.9 11.9 0 0 1 12 4.5'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.login-btn,
.secondary-btn {
  width: 100%;
  height: 36px;
  border-radius: 4px;
  text-transform: uppercase;
  font: 500 14px/21px Roboto, sans-serif;
  letter-spacing: 0.0892857143em;
}
.login-btn {
  margin: 2px 0 17px;
  border: 0;
  background: var(--pink);
  color: #fff;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.14),
    0 1px 5px rgba(0, 0, 0, 0.12);
}
.login-btn:hover {
  background: var(--pink-dark);
}
.secondary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--pink);
  background: #fff;
  color: var(--pink);
  text-decoration: none;
}
.secondary-btn:hover {
  background: rgba(233, 30, 99, 0.06);
}
.mini-icon {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.divider {
  height: 1px;
  margin: 19px 0 14px;
  background: #e0e0e0;
}
.text-link {
  display: block;
  width: max-content;
  border: 0;
  background: transparent;
  text-align: center;
  color: var(--pink);
  text-decoration: underline;
  margin: 0 auto 14px;
  padding: 0;
  font: 400 16px/24px Roboto, sans-serif;
  cursor: pointer;
}
.text-link:hover {
  color: var(--pink-dark);
}
.form-title {
  text-align: center;
  margin: 0 0 22px;
  color: var(--pink);
  font: 500 22px/30px Roboto, sans-serif;
}
.form-copy {
  margin: -10px 0 22px;
  text-align: center;
  color: #777;
  font-size: 14px;
  line-height: 20px;
}
.back-btn {
  width: 100%;
  height: 36px;
  margin-top: 10px;
  border: 1px solid var(--pink);
  border-radius: 4px;
  background: #fff;
  color: var(--pink);
  text-transform: uppercase;
  font: 500 14px/21px Roboto, sans-serif;
  letter-spacing: 0.06em;
}
.back-btn:hover {
  background: rgba(233, 30, 99, 0.06);
}
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px;
  font: 400 12.8px/19.2px Roboto, sans-serif;
  color: #888;
}
.footer a {
  color: #777;
}
.error {
  font-size: 12px;
  color: #d81b60;
  text-align: center;
}
.header-logo {
  width: auto;
  height: 50px;
  max-width: 100%;
  object-fit: contain;
}
.footer > div:first-child {
  margin-right: auto;
}
@media (max-width: 575.98px) {
  .header-logo {
    height: 46px;
  }
  body {
    padding-bottom: 0;
  }
  .topbar {
    height: 58px;
  }
  .brand {
    font-size: 21px;
    width: 130px;
  }
  .flag {
    width: 28px;
  }
  main {
    padding: 74px 8px 30px;
  }
  .login-card {
    height: auto;
    min-height: 454px;
    padding: 18px 16px;
  }
  .footer {
    position: static;
  }
}

/* Demo 2 companion auth */
:root { --canvas:#fafafa; --paper:#fff; --ink:#292929; --muted:#616161; --line:#e9e8e7; --rust:#b44922; --rust-deep:#9c3e1d; }
body { min-height:100dvh; padding:0; background:var(--canvas); color:var(--ink); font:14px/1.5 Inter,system-ui,sans-serif; }
a { color:inherit; }
.topbar { position:static; height:auto; background:var(--canvas); box-shadow:none; padding:0 32px; }
.header-inner { width:min(100%,1116px); min-height:88px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); }
.studio-brand { min-width:0; display:inline-flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; }
.studio-brand img,.header-logo { width:40px; height:40px; object-fit:contain; border-radius:50%; box-shadow:0 1px 3px #00000012; }
.studio-brand span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; font-weight:600; letter-spacing:.22em; text-transform:uppercase; }
.outline-nav { display:inline-flex; gap:8px; width:auto; height:34px; border:1px solid #e4e4e4; border-radius:13px; background:var(--paper); color:var(--ink); padding:0 12px; font:600 11px Inter,system-ui,sans-serif; letter-spacing:.05em; text-decoration:none; white-space:nowrap; }
.outline-nav:hover { background:#f6e8e1; }
main { min-height:calc(100dvh - 138px); padding:72px 16px 80px; }
.login-card { width:min(100%,460px); min-height:0; margin:0 auto; padding:34px; border:1px solid var(--line); border-radius:22px; background:var(--paper); box-shadow:0 1px 3px #0000000b; }
.auth-eyebrow { margin:0 0 10px; color:var(--rust); font-size:10px; font-weight:700; letter-spacing:.17em; text-transform:uppercase; }
.auth-title { margin:0 0 26px; font-size:27px; font-weight:600; letter-spacing:-.035em; }
.field { height:auto; margin-bottom:17px; border:0; }
.field label { position:static; display:block; margin-bottom:8px; color:var(--ink); font-size:11px; font-weight:700; }
.field input { width:100%; height:44px; margin:0; padding:0 13px; border:1px solid var(--line); border-radius:12px; background:var(--paper); color:var(--ink); font:13px Inter,system-ui,sans-serif; outline:none; }
.field:focus-within { border:0; }
.field:focus-within label { color:var(--ink); }
.field input:focus { border-color:var(--rust); box-shadow:0 0 0 2px #b4492222; }
.login-btn,.secondary-btn { height:44px; border-radius:12px; font:600 13px Inter,system-ui,sans-serif; letter-spacing:0; text-transform:none; cursor:pointer; }
.login-btn { margin:12px 0 10px; background:var(--rust); color:#fff; border:0; box-shadow:none; }
.login-btn:hover { background:var(--rust-deep); }
.secondary-btn { border:1px solid var(--line); background:var(--paper); color:var(--ink); }
.secondary-btn:hover { background:#f6e8e1; }
.divider { margin:22px 0 0; background:var(--line); }
.error { padding:12px; border-radius:10px; background:#f8e8e1; color:#924737; font-size:12px; text-align:left; }
.footer { position:static; height:auto; min-height:50px; padding:14px 32px; border-top:1px solid var(--line); background:var(--canvas); color:var(--muted); font:12px Inter,system-ui,sans-serif; }
:focus-visible { outline:2px solid var(--rust); outline-offset:3px; }
@media(max-width:600px) { .topbar { height:auto; padding:0 16px; } .header-inner { min-height:72px; } .studio-brand span { max-width:38vw; font-size:10px; letter-spacing:.1em; } main { padding:35px 16px 65px; } .login-card { width:100%; min-height:0; padding:26px 22px; } .footer { position:static; } }
