:root {
  --auth-primary:#0f9b8e; --auth-primary-dark:#0b7a70; --auth-accent:#34d399;
  --auth-ink:#102a2b; --auth-muted:#687c7d; --auth-border:#dcebea; --auth-soft:#f5faf9;
  --auth-danger:#c53b3b; --auth-success:#258a59; --auth-radius:22px;
}

.signup-section { width:min(100%,1180px); min-height:calc(100vh - 76px); margin:0 auto; padding:clamp(44px,7vw,82px) 20px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.signup-section h1 { margin:0 0 10px; color:var(--auth-ink); font-size:clamp(2rem,4vw,3rem); line-height:1.08; font-weight:850; letter-spacing:-.045em; }
.signup-section h1::after { content:""; display:block; width:56px; height:4px; margin:14px auto 0; border-radius:999px; background:linear-gradient(90deg,var(--auth-primary),var(--auth-accent)); }
.signup-section>p { margin:14px 0 28px; color:var(--auth-muted); font-size:clamp(.95rem,1.5vw,1.08rem); }
.signup-container { width:min(100%,520px); box-sizing:border-box; padding:clamp(24px,4vw,38px); margin:0 auto; position:relative; overflow:hidden; background:rgba(255,255,255,.98); border:1px solid var(--auth-border); border-radius:var(--auth-radius); box-shadow:0 24px 65px rgba(16,42,43,.10); }
.signup-container::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,var(--auth-primary),var(--auth-accent)); }
.signup-container form { display:flex; flex-direction:column; text-align:left; }
.signup-container form label { margin:0 0 8px; color:var(--auth-ink); font-size:.88rem; font-weight:700; }
.signup-container form input { box-sizing:border-box; width:100%; min-height:50px; margin:0 0 16px; padding:13px 15px; color:var(--auth-ink); background:#fbfdfd; border:1px solid #cfdcdc; border-radius:13px; font:inherit; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.signup-container form input::placeholder { color:#8b9a9b; }
.signup-container form input:focus { outline:none; border-color:var(--auth-primary); background:#fff; box-shadow:0 0 0 4px rgba(15,155,142,.12); }
.error-message { display:none; min-height:18px; margin:-8px 0 12px; color:var(--auth-danger); text-align:left; font-size:.82rem; }
.input-group { position:relative; width:100%; }
.input-group input { padding-right:52px!important; }
.toggle-password { position:absolute; top:50%; right:11px; z-index:2; width:38px; height:38px; transform:translateY(-50%); display:grid; place-items:center; color:#708081; background:transparent; border:0; border-radius:10px; cursor:pointer; }
.toggle-password:hover { color:var(--auth-ink); background:var(--auth-soft); }
.cta-button { width:100%; min-height:52px; box-sizing:border-box; margin-top:4px; padding:14px 18px; color:#fff; background:linear-gradient(135deg,var(--auth-primary),var(--auth-primary-dark)); border:1px solid transparent; border-radius:14px; box-shadow:0 10px 24px rgba(15,155,142,.20); font:750 1rem/1.2 inherit; cursor:pointer; transition:transform .18s ease,box-shadow .18s ease,filter .18s ease; }
.cta-button:hover:not(:disabled) { transform:translateY(-2px); box-shadow:0 15px 30px rgba(15,155,142,.25); filter:saturate(1.05); }
.cta-button:disabled { opacity:.65; cursor:wait; }
.google-signup-btn { width:100%; min-height:52px; box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:12px; padding:12px 18px; color:#1d2d2e; background:#fff; border:1px solid #d2dcdc; border-radius:14px; font:650 1rem/1.2 inherit; cursor:pointer; box-shadow:0 3px 10px rgba(16,42,43,.05); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease; }
.google-signup-btn:hover:not(:disabled) { transform:translateY(-1px); border-color:rgba(15,155,142,.42); background:#fbfefe; box-shadow:0 10px 22px rgba(15,155,142,.10); }
.google-signup-btn:disabled { opacity:.68; cursor:wait; }
.google-mark { width:30px; height:30px; flex:0 0 30px; display:grid; place-items:center; font-size:21px; }
.google-mark i { line-height:1; background:conic-gradient(from -45deg,#4285f4 0 25%,#34a853 25% 50%,#fbbc05 50% 75%,#ea4335 75%); -webkit-background-clip:text; background-clip:text; color:transparent; }
.auth-divider { display:flex; align-items:center; gap:14px; margin:22px 0; color:#7c8d8e; font-size:.72rem; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.auth-divider::before,.auth-divider::after { content:""; flex:1; height:1px; background:var(--auth-border); }
.status-text { min-height:22px; margin-top:12px; font-size:.86rem; font-weight:650; }
.status-text.success { color:var(--auth-success); }
.status-text.error { color:var(--auth-danger); }
.status-text.loading { color:var(--auth-primary-dark); }
.signup-container>form>p { margin:16px 0 0; color:var(--auth-muted); font-size:.9rem; text-align:center; }
.signup-container>form>p a { color:var(--auth-primary-dark); font-weight:750; text-decoration:none; }
.signup-container>form>p a:hover { text-decoration:underline; }
:focus-visible { outline:3px solid rgba(52,211,153,.42); outline-offset:3px; }

@media (max-width:600px) {
  .signup-section { min-height:auto; padding:40px 14px 56px; }
  .signup-container { padding:28px 18px; border-radius:18px; }
  .signup-section>p { margin-bottom:22px; }
}
@media (max-width:380px) {
  .signup-section { padding-inline:10px; }
  .signup-container { padding:24px 14px; }
  .google-signup-btn,.cta-button { min-height:50px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
