/* Login, password forgotten and country selector in the relaunch look.
   Plain CSS on purpose: main.less goes through lessphp, this page does not need it. */
:root { --hc-gold:#e8c66a; --hc-ink:#0b1633; --hc-ink2:#13254f; --hc-text:#eef2ff; --hc-muted:#a8b3d6; --hc-line:rgba(255,255,255,.12); }
* { box-sizing:border-box; }
html, body.hcAuth { height:100%; margin:0; }
body.hcAuth { font-family: Inter, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif; color:var(--hc-text);
  background: radial-gradient(1100px 800px at 30% 40%, var(--hc-ink2), var(--hc-ink) 70%) fixed; overflow-x:hidden; }
.hcAuth a { color:inherit; }
#hcSky { position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }

.hcWrap { position:relative; z-index:1; display:grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); min-height:100vh; }
.hcLeft { padding:44px 56px; display:flex; flex-direction:column; justify-content:space-between; border-right:1px solid var(--hc-line); }
.hcRight { display:flex; flex-direction:column; justify-content:center; padding:48px 10vw 80px 7vw; position:relative; }

.hcLogo { width:220px; height:auto; color:var(--hc-text); display:block; }
.hcRow { display:flex; gap:18px; margin-bottom:40px; }
.hcRow svg { width:64px; height:64px; overflow:visible; }
.hcRow svg path { fill:transparent; stroke:rgba(238,242,255,.55); stroke-width:1.1; transition: fill .45s, stroke .45s, filter .45s; }
.hcRow svg.on path { fill:var(--hc-gold); stroke:var(--hc-gold); filter: drop-shadow(0 0 10px rgba(232,198,106,.55)); }
.hcTag { font-size:48px; line-height:1.08; font-weight:700; letter-spacing:-1.2px; margin:0; }
.hcTag span { display:block; opacity:0; transform:translateY(10px); animation: hcIn .7s ease forwards; }
.hcTag span:nth-child(1) { animation-delay:.2s; }
.hcTag span:nth-child(2) { animation-delay:.45s; }
.hcTag span:nth-child(3) { animation-delay:.7s; color:var(--hc-gold); }
@keyframes hcIn { to { opacity:1; transform:none; } }
.hcMeta { font-size:13px; color:var(--hc-muted); }
.hcMeta .hcMaker { color:var(--hc-text); font-weight:700; letter-spacing:.04em; text-decoration:none; }
.hcMeta .hcMaker:hover { color:var(--hc-gold); }

.hcCountry { display:inline-flex; align-items:center; gap:10px; padding:6px 14px 6px 6px; border-radius:999px; background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14); font-size:14px; margin-bottom:28px; align-self:flex-start; text-decoration:none; }
.hcCountry img { width:24px; height:24px; border-radius:6px; object-fit:cover; }

.hcCard { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14); border-radius:22px; padding:36px; max-width:440px; width:100%;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow:0 30px 80px rgba(0,0,0,.35);
  opacity:0; animation: hcRise .9s .3s ease forwards; }
@keyframes hcRise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
.hcCard h1 { font-size:28px; margin:0 0 24px; font-weight:700; letter-spacing:-.5px; }
.hcCard label { display:block; font-size:13px; color:var(--hc-muted); margin:0 0 6px; }
.hcCard input[type=text], .hcCard input[type=email], .hcCard input[type=password] { width:100%; height:48px; border-radius:12px; border:1px solid rgba(255,255,255,.18);
  background:rgba(8,15,38,.55); color:var(--hc-text); padding:0 14px; font-size:15px; outline:none; margin:0 0 18px; transition: border-color .2s, box-shadow .2s; }
.hcCard input:focus { border-color:var(--hc-gold); box-shadow:0 0 0 4px rgba(232,198,106,.18); }
.hcCard button, .hcCard input[type=submit] { width:100%; height:50px; border:0; border-radius:12px; margin-top:4px; font-size:16px; font-weight:600; cursor:pointer;
  color:#1a1405; background:linear-gradient(180deg, #f2d585, var(--hc-gold)); box-shadow:0 8px 24px rgba(232,198,106,.28); transition: transform .15s, box-shadow .2s; }
.hcCard button:hover, .hcCard input[type=submit]:hover { transform:translateY(-1px); box-shadow:0 12px 30px rgba(232,198,106,.38); }
.hcCard .hcLink { display:inline-block; margin-top:18px; font-size:14px; text-decoration:underline; text-underline-offset:3px; opacity:.85; }
.hcNote { border-radius:12px; padding:12px 14px; margin:0 0 18px; font-size:14px; line-height:1.4; }
.hcNote.error { background:rgba(213,43,30,.16); border:1px solid rgba(255,120,110,.45); color:#ffd9d5; }
.hcNote.success { background:rgba(70,170,110,.16); border:1px solid rgba(120,220,160,.45); color:#d9ffe7; }

/* Global messages (e.g. wrong password) inside the card. */
.hcCard #globalMessageContainer { list-style:none; margin:0 0 18px; padding:0; position:static; }
.hcCard #globalMessageContainer li { border-radius:12px; padding:12px 14px; font-size:14px; background:rgba(213,43,30,.16); border:1px solid rgba(255,120,110,.45); color:#ffd9d5; }

.hcFooter { position:absolute; bottom:28px; font-size:13px; }
.hcFooter a { color:var(--hc-muted); margin-right:20px; text-decoration:none; }
.hcFooter a:hover { color:var(--hc-text); }

/* Country selector */
.hcCountries { display:grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap:12px; max-width:720px; }
.hcCountries a { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:14px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
  text-decoration:none; font-size:14px; transition: border-color .2s, transform .15s, background .2s; opacity:0; animation: hcRise .6s ease forwards; }
.hcCountries a:hover { border-color:var(--hc-gold); background:rgba(255,255,255,.1); transform:translateY(-1px); }
.hcCountries img { width:28px; height:28px; border-radius:7px; object-fit:cover; }

@media (max-width: 900px) {
  .hcWrap { grid-template-columns:minmax(0,1fr); }
  .hcCard { padding:26px 22px; }
  .hcLeft { padding:28px 24px 0; border-right:0; }
  .hcLeft .hcHero, .hcLeft .hcMeta { display:none; }
  .hcRight { padding:28px 24px 90px; }
  .hcFooter { left:24px; }
}
@media (prefers-reduced-motion: reduce) {
  .hcAuth * { animation:none !important; transition:none !important; }
  .hcTag span, .hcCard, .hcCountries a { opacity:1; transform:none; }
}
