@import url('../Google-style/colors_and_type.css');
:root {
  color-scheme: light;
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--popover);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body { margin: 0; }

button, input { font: inherit; }

.auth-page { min-height: 100vh; background: var(--popover); }

.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(420px, .9fr) minmax(520px, 1.1fr); }

.auth-visual { position: relative; display: flex; min-height: 100vh; overflow: hidden; flex-direction: column; padding: 42px clamp(38px, 6vw, 96px) 34px; color: var(--primary-foreground); background: linear-gradient(145deg, var(--accent-foreground) 0%, var(--primary) 56%, var(--primary) 100%); }
.auth-visual::before { position: absolute; top: -180px; right: -180px; width: 520px; height: 520px; border: 1px solid var(--border); border-radius: 50%; content: ""; }
.auth-visual::after { position: absolute; right: 10%; bottom: -230px; width: 500px; height: 500px; border: 1px solid var(--border); border-radius: 50%; content: ""; }

.auth-brand, .auth-mobile-brand { display: inline-flex; width: fit-content; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.auth-brand > span:last-child { display: flex; flex-direction: column; gap: 3px; }
.auth-brand strong { font-size: 17px; letter-spacing: -.03em; }
.auth-brand small { color: color-mix(in srgb, var(--primary-foreground) 100%, transparent); font-size: 10px; }
.auth-brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border-radius: var(--radius); color: var(--primary); background: var(--background); box-shadow: var(--shadow); }
.auth-brand-mark .workspace-icon { width: 22px; height: 22px; stroke-width: 2; }

.auth-visual-copy { position: relative; z-index: 1; max-width: 530px; margin: auto 0 30px; }
.auth-kicker { color: var(--primary); font-size: 10px; font-weight: 750; letter-spacing: .16em; }
.auth-visual .auth-kicker { color: color-mix(in srgb, var(--primary-foreground) 100%, transparent); }
.auth-visual h1 { max-width: 560px; margin: 17px 0 18px; color: var(--primary-foreground); font-size: clamp(42px, 5vw, 72px); font-weight: 700; letter-spacing: -.065em; line-height: 1.08; }
.auth-visual-copy > p { max-width: 470px; margin: 0; color: color-mix(in srgb, var(--primary-foreground) 100%, transparent); font-size: 14px; line-height: 1.9; }

.auth-feature-list { display: grid; gap: 14px; max-width: 450px; margin-top: 36px; }
.auth-feature-list > div { display: flex; align-items: flex-start; gap: 13px; }
.auth-feature-list > div > span { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border: 1px solid var(--border); border-radius: var(--radius); color: color-mix(in srgb, var(--primary-foreground) 100%, transparent); font-size: 9px; font-weight: 700; }
.auth-feature-list p { display: flex; margin: 0; flex-direction: column; gap: 3px; }
.auth-feature-list strong { color: var(--primary-foreground); font-size: 12px; font-weight: 650; }
.auth-feature-list small { color: color-mix(in srgb, var(--primary-foreground) 100%, transparent); font-size: 11px; line-height: 1.5; }

.auth-art { position: absolute; z-index: 0; right: 7%; bottom: 13%; width: min(31vw, 330px); aspect-ratio: 1; }
.auth-art-orbit { position: absolute; display: block; border: 1px solid var(--border); border-radius: 50%; transform: rotate(-18deg); }
.auth-art-orbit-one { inset: 6% 3% 16% 14%; }
.auth-art-orbit-two { inset: 18% 12% 4% 0; transform: rotate(42deg); }
.auth-art-dot { position: absolute; display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--chart-3); box-shadow:var(--shadow); }
.auth-art-dot-one { top: 7%; right: 16%; }
.auth-art-dot-two { bottom: 14%; left: 7%; width: 7px; height: 7px; background: var(--background); box-shadow: none; }
.auth-art-card { position: absolute; top: 23%; left: 24%; display: flex; width: 146px; height: 178px; padding: 17px; flex-direction: column; justify-content: space-between; transform: rotate(-9deg); border: 1px solid var(--border); border-radius: var(--radius); color: var(--foreground); background: var(--background); box-shadow: var(--shadow); }
.auth-art-card span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: var(--radius); color: var(--primary-foreground); background: var(--primary); font-size: 10px; font-weight: 750; }
.auth-art-card strong { font-size: 23px; letter-spacing: -.06em; line-height: .92; }
.auth-art-card small { color: var(--primary); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.auth-visual-footer { position: relative; z-index: 1; margin: 0; color: color-mix(in srgb, var(--primary-foreground) 100%, transparent); font-size: 10px; letter-spacing: .04em; }

.auth-panel { display: grid; min-height: 100vh; place-items: center; padding: 42px 34px; background: var(--popover); }
.auth-panel-inner { width: min(100%, 450px); }
.auth-mobile-brand { display: none; color: var(--foreground); }
.auth-mobile-brand .auth-brand-mark { color: var(--primary-foreground); background: var(--primary); }

.auth-card { padding: 38px 40px 30px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); box-shadow: var(--shadow); }
.auth-card-header h2 { margin: 11px 0 8px; color: var(--foreground); font-size: 29px; font-weight: 700; letter-spacing: -.055em; }
.auth-card-header p { margin: 0; color: var(--muted-foreground); font-size: 12px; line-height: 1.65; }

.auth-tabs { display: flex; gap: 22px; margin: 30px 0 23px; border-bottom: 1px solid var(--border); }
.auth-tab { position: relative; padding: 0 0 12px; border: 0; color: var(--muted-foreground); background: transparent; font-size: 13px; font-weight: 600; cursor: pointer; }
.auth-tab::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; border-radius: 2px; background: transparent; content: ""; }
.auth-tab:hover, .auth-tab.is-active { color: var(--primary); }
.auth-tab.is-active::after { background: var(--primary); }

.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 8px; }
.auth-field[hidden] { display: none; }
.auth-field label { display: flex; align-items: baseline; justify-content: space-between; color: var(--foreground); font-size: 12px; font-weight: 600; }
.auth-field label::after { color: var(--muted-foreground); font-size: 10px; font-weight: 400; }
.auth-password-control { position: relative; min-width: 0; }
.auth-password-control > input { padding-right: 47px; }
.auth-password-toggle { position: absolute; top: 50%; right: 7px; display: grid; width: 32px; height: 32px; place-items: center; transform: translateY(-50%); border: 0; border-radius: var(--radius); color: var(--primary); background: transparent; cursor: pointer; }
.auth-password-toggle:hover { color: var(--primary); background: var(--sidebar); }
.auth-password-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--ring) 18%, transparent); outline-offset: 1px; }
.auth-password-toggle svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.auth-field input { width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--border); border-radius: var(--radius); outline: 0; color: var(--foreground); background: var(--background); font-size: 13px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.auth-field input::placeholder { color: var(--muted-foreground); }
.auth-field input:hover { border-color: var(--border); }
.auth-field input:focus { border-color: var(--primary); background: var(--background); box-shadow:var(--pf-control-focus-ring); }
.auth-captcha-field { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 10px; align-items: end; }
.auth-captcha-field[hidden] { display: none; }
.auth-captcha-card { display: flex; min-height: 46px; padding: 7px 10px; flex-direction: column; align-items: flex-start; justify-content: center; border: 1px solid var(--border); border-radius: var(--radius); color:var(--muted-foreground); background: var(--sidebar); text-align: left; cursor: pointer; }
.auth-captcha-card:hover { border-color: var(--primary); background: var(--sidebar); }
.auth-captcha-card span { color: var(--muted-foreground); font-size: 9px; }
.auth-captcha-card strong { margin-top: 2px; color: var(--primary); font-size: 16px; letter-spacing: .08em; }
.auth-captcha-card small { margin-top: 1px; color: var(--primary); font-size: 9px; }
.auth-remember { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; }
.auth-remember[hidden] { display: none; }
.auth-remember > input { width: 16px; height: 16px; flex: 0 0 16px; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.auth-remember-copy { display: flex; flex-direction: column; gap: 2px; }
.auth-remember-copy strong { color: var(--foreground); font-size: 11px; font-weight: 650; line-height: 1.35; }
.auth-remember-copy small { color: var(--muted-foreground); font-size: 10px; line-height: 1.45; }
.auth-submit { display: inline-flex; width: 100%; height: 46px; align-items: center; justify-content: center; margin-top: 3px; border: 0; border-radius: var(--radius); color: var(--primary-foreground); background: var(--primary); box-shadow: var(--shadow); font-size: 13px; font-weight: 650; cursor: pointer; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.auth-submit:hover { background: var(--primary); box-shadow: var(--shadow); transform: translateY(-1px); }
.auth-submit:disabled { cursor: wait; opacity: .62; transform: none; }
.auth-status { min-height: 18px; color: var(--destructive); font-size: 11px; line-height: 1.55; }
.auth-status.is-success { color: var(--chart-5); }

.auth-bonus-note { display: flex; align-items: center; gap: 11px; margin-top: 21px; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--sidebar); }
.auth-bonus-note > span { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: var(--radius); color: var(--primary); background: var(--secondary); font-size: 11px; font-weight: 750; }
.auth-bonus-note p { display: flex; margin: 0; flex-direction: column; gap: 3px; }
.auth-bonus-note strong { color: var(--foreground); font-size: 11px; font-weight: 650; }
.auth-bonus-note small { color: var(--primary); font-size: 10px; line-height: 1.5; }
.auth-panel-footer { display: flex; justify-content: space-between; gap: 16px; margin: 19px 2px 0; color: var(--muted-foreground); font-size: 10px; }
.auth-panel-footer a { color:var(--muted-foreground); text-decoration: none; }
.auth-panel-footer a:hover { color: var(--primary); }

@media (max-width: 1050px) {
  .auth-shell { grid-template-columns: minmax(340px, .75fr) minmax(440px, 1.25fr); }
  .auth-visual { padding-right: 46px; padding-left: 46px; }
  .auth-art { right: -3%; bottom: 10%; width: 270px; }
}

@media (max-width: 780px) {
  .auth-shell { display: block; }
  .auth-visual { display: none; }
  .auth-panel { min-height: 100vh; padding: 28px 18px; }
  .auth-mobile-brand { display: inline-flex; margin: 0 auto 30px; font-size: 15px; font-weight: 700; }
  .auth-card { padding: 30px 24px 25px; border-radius: var(--radius); }
}

@media (max-width: 420px) {
  .auth-panel { padding: 20px 13px; }
  .auth-mobile-brand { margin-bottom: 22px; }
  .auth-card { padding: 26px 19px 22px; }
  .auth-card-header h2 { font-size: 25px; }
  .auth-captcha-field { grid-template-columns: minmax(0, 1fr) 132px; }
  .auth-panel-footer { align-items: flex-start; flex-direction: column; gap: 6px; }
}
