/* Tropical login/signup: lagoon light with bitcoin gold, oil amber, and weather teal. */
body.island-auth-page{
  --island-ink:#041820;
  --island-panel:#062a36f0;
  --island-text:#f4fbff;
  --island-muted:#c5e4ef;
  --island-bitcoin:#f0d48a;
  --island-oil:#e39a72;
  --island-weather:#7ec8e3;
  --island-action:#d8f08a;
  min-width:0;
  background:var(--island-ink)!important;
  color:var(--island-text);
  font-family:Manrope,sans-serif;
}
.island-auth-page:before{
  content:'';
  position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    linear-gradient(115deg,#031820ee 0%,#03182099 42%,#03182055 100%),
    linear-gradient(0deg,#031820e8 0%,transparent 55%),
    radial-gradient(ellipse 42% 36% at 18% 22%,#f0d48a33,transparent 62%),
    radial-gradient(ellipse 36% 34% at 72% 78%,#e39a722e,transparent 60%),
    radial-gradient(ellipse 40% 30% at 88% 18%,#7ec8e333,transparent 58%),
    url('assets/backgrounds/tropical-markets.webp') center/cover no-repeat;
}
.island-auth-page:after{
  content:'';
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    linear-gradient(90deg,transparent 0%,#7ec8e314 48%,#e39a7212 72%,#f0d48a16 100%);
  animation:island-haze 18s ease-in-out infinite alternate;
}
@keyframes island-haze{
  from{opacity:.55;transform:translate3d(0,0,0)}
  to{opacity:1;transform:translate3d(-1.2%,.6%,0)}
}
@media(prefers-reduced-motion:reduce){
  .island-auth-page:after{animation:none}
}

body.island-auth-page .auth-nav{max-width:1280px;min-height:72px;padding:12px 28px;gap:20px}
.island-auth-page .auth-nav nav{font-size:15px;gap:18px}
.island-auth-page .auth-nav nav>a{
  display:inline-flex;align-items:center;min-height:44px;font-weight:700;
  color:var(--island-text);text-shadow:0 1px 8px #001018aa;
}
.island-auth-page .auth-nav .brand{font-size:24px;color:var(--island-text)}
.island-auth-page .auth-nav .brand span{
  font-family:'Space Grotesk',sans-serif;letter-spacing:-.03em;
  background:linear-gradient(180deg,#fff 8%,var(--island-bitcoin) 55%,#b9974a);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.island-auth-page .community-counts{font-size:12px;color:var(--island-muted)}
.island-auth-page .theme-toggle{
  color:var(--island-text);border-color:#ffffff33;background:#062a36cc;
}

body.island-auth-page .auth-card{
  position:relative;
  width:calc(100% - 48px);max-width:480px;
  margin:16px max(24px,calc((100vw - 1224px)/2)) 32px auto;
  padding:28px 28px 24px;
  background:var(--island-panel)!important;
  border:1px solid #d7f3ff55!important;
  border-radius:18px;
  box-shadow:0 24px 60px #00101855;
  backdrop-filter:blur(14px);
  overflow:hidden;
}
body.island-auth-page .auth-card:before{
  content:'';
  position:absolute;inset:0 auto 0 0;width:4px;
  background:linear-gradient(180deg,var(--island-bitcoin),var(--island-oil),var(--island-weather));
}
body.island-auth-page.signup-page .auth-card{max-width:590px}
body.island-auth-page .auth-card>.eyebrow{
  font:700 11px/1.3 'Space Grotesk',sans-serif;letter-spacing:1.4px;
  color:var(--island-bitcoin);text-transform:uppercase;
}
body.island-auth-page .auth-card h1{
  font:700 34px/1.12 'Space Grotesk',sans-serif;margin:10px 0;color:var(--island-text);
  letter-spacing:-.03em;
}
body.island-auth-page .auth-card>p,
body.island-auth-page .auth-card form>p{
  font-size:14px;line-height:1.55;margin:8px 0 16px;color:var(--island-muted)!important;
}
.island-auth-page .auth-market-strip{
  display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0;list-style:none;
}
.island-auth-page .auth-market-strip li{
  display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 11px;
  border:1px solid #ffffff28;border-radius:999px;font:700 11px/1 Manrope,sans-serif;
  letter-spacing:.04em;text-transform:uppercase;color:var(--island-text);
  background:#04182066;
}
.island-auth-page .auth-market-strip li>i{
  width:8px;height:8px;border-radius:50%;flex-shrink:0;
}
.island-auth-page .auth-market-strip li[data-market="bitcoin"]>i{background:var(--island-bitcoin)}
.island-auth-page .auth-market-strip li[data-market="oil"]>i{background:var(--island-oil)}
.island-auth-page .auth-market-strip li[data-market="weather"]>i{background:var(--island-weather)}

body.island-auth-page .auth-card label{
  font-size:15px;line-height:1.3;font-weight:600;color:#edf8ff;margin:14px 0 7px;
}
body.island-auth-page .auth-card input{
  min-height:48px;padding:12px;font:17px/1.3 Manrope,sans-serif;
  background:#031820d9!important;border:1px solid #b1d9ed66!important;
  border-radius:10px;color:#fff!important;
}
body.island-auth-page .auth-card input:focus-visible{outline:2px solid var(--island-weather);outline-offset:3px}
body.island-auth-page .auth-card .primary-link{
  min-height:48px;margin-top:14px;padding:12px 18px;border-radius:10px;
  background:linear-gradient(180deg,#eaf7b4,var(--island-action) 48%,#9fbf4a);
  color:#15240f;font:700 17px/1.3 Manrope,sans-serif;box-shadow:none;
}
body.island-auth-page .auth-card .auth-secret-field input{padding-right:70px}
body.island-auth-page .auth-card .auth-secret-field .secret-toggle{
  min-height:44px;right:4px;font-size:14px;margin:0;padding:8px 10px;color:var(--island-weather);
}
body.island-auth-page .auth-card .auth-switch{font-size:14px;margin:12px 0 0;color:var(--island-muted)}
.island-auth-page .auth-switch small{font-size:12px}
.island-auth-page .auth-switch a{display:inline-block;padding-block:6px;color:var(--island-weather)}
.island-auth-page .auth-switch .account-link{width:auto;min-height:44px;margin:0;padding:8px 14px;font-size:14px}
.island-auth-page .google-signin{margin:16px 0 8px}
body.island-auth-page .auth-card .google-onboarding{margin-top:18px;padding-top:16px;border-top:1px solid #ffffff22}
.island-auth-page .google-onboarding h2{font-size:19px}
body.island-auth-page .auth-card :is(#auth-error,#google-onboarding-error,#google-onboarding-status):empty{display:none}
body.island-auth-page .auth-card .form-error{color:#ffb4c0!important}
body.island-auth-page.signup-page #auth-form{gap:12px 16px}
body.island-auth-page.signup-page #auth-form label{margin:0 0 7px}
body.island-auth-page.signup-page .auth-card :is(#signup-code-help,.signup-notes){font-size:13px;margin:5px 0 0}
body.island-auth-page.signup-page #auth-form>[type="submit"]{margin:0}

@media(max-width:760px){
  .island-auth-page:before{
    background:
      linear-gradient(#031820cc,#031820e8),
      url('assets/backgrounds/tropical-markets.webp') 35% center/cover no-repeat;
  }
  body.island-auth-page .auth-nav{padding:10px 16px;min-height:64px;gap:10px;flex-wrap:wrap}
  .island-auth-page .auth-nav .community-counts{display:none}
  .island-auth-page .auth-nav .brand{font-size:20px}
  .island-auth-page .auth-nav nav{gap:12px;font-size:14px}
  body.island-auth-page .auth-card,body.island-auth-page.signup-page .auth-card{
    width:calc(100% - 28px);max-width:520px;margin:56px auto 24px;padding:24px 20px;
    background:#062a36f5!important;
  }
  body.island-auth-page .auth-card h1{font-size:30px}
  body.island-auth-page.signup-page #auth-form{grid-template-columns:minmax(0,1fr);gap:13px}
}
@media(min-width:761px) and (max-height:800px){
  body.island-auth-page .auth-card{margin-top:4px;padding:20px 24px}
  body.island-auth-page .auth-card h1{font-size:30px}
  body.island-auth-page .auth-card>p{margin-bottom:10px}
  body.island-auth-page.signup-page #auth-form{gap:10px 14px}
}
