/* ==========================================================================
   Connect Card — auth pages (login / forgot / reset password)
   Builds on the tokens and .cc-btn styles from landing-v2.css
   ========================================================================== */
body.cc-auth-body { margin: 0; background: var(--cc-paper); font-family: var(--cc-body); color: var(--cc-text); }
.cc-auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.cc-auth *, .cc-auth *::before, .cc-auth *::after { box-sizing: border-box; }
.cc-auth a { text-decoration: none; }

/* left brand panel */
.cc-auth-brand { position: relative; background: var(--cc-ink); color: #b9b9b2; padding: 44px 56px; display: flex; flex-direction: column; overflow: hidden; }
.cc-auth-brand::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; }
.cc-auth-brand > * { position: relative; }
.cc-auth-logo img { height: 28px; width: auto; display: block; }
.cc-auth-brand h2 { font-family: var(--cc-head); color: #fff; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; font-weight: 800; letter-spacing: -.025em; margin: auto 0 16px; max-width: 460px; }
.cc-auth-brand h2 em { font-style: normal; color: var(--cc-sun); }
.cc-auth-brand p { font-size: 16.5px; line-height: 1.6; max-width: 420px; margin: 0; }
.cc-auth-card { width: 78%; max-width: 420px; margin: 40px 0 0 -4%; transform: rotate(-7deg); filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.cc-auth-brand .cc-auth-foot { margin-top: auto; padding-top: 28px; font-size: 13.5px; color: #77776f; }

/* right form panel */
.cc-auth-main { display: flex; flex-direction: column; padding: 32px 24px; }
.cc-auth-top { display: flex; justify-content: space-between; align-items: center; max-width: 440px; width: 100%; margin: 0 auto; }
.cc-auth-top .cc-back { color: var(--cc-ink) !important; font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
.cc-auth-top .cc-back:hover { color: var(--cc-blue-ink) !important; }
.cc-auth-top .cc-auth-logo-m { display: none; }
.cc-auth-top .cc-auth-logo-m img { height: 20px; width: auto; display: block; }
.cc-auth-form { width: 100%; max-width: 440px; margin: auto; padding: 40px 0; }
.cc-auth-form h1 { font-family: var(--cc-head); color: var(--cc-ink); font-size: 38px; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; margin: 0 0 10px; }
.cc-auth-form .cc-auth-lead { font-size: 16px; line-height: 1.6; margin: 0 0 30px; }

.cc-field { margin-bottom: 18px; }
.cc-field label { display: block; font-weight: 700; font-size: 14px; color: var(--cc-ink); margin-bottom: 8px; }
.cc-field .cc-row { display: flex; justify-content: space-between; align-items: baseline; }
.cc-field .cc-row a { font-size: 13.5px; font-weight: 600; color: var(--cc-blue-ink); }
.cc-input-wrap { position: relative; }
.cc-input { width: 100%; height: 52px; padding: 0 16px; border: 2px solid var(--cc-line); border-radius: 12px; background: #fff; font-family: var(--cc-body); font-size: 16px; color: var(--cc-ink); transition: border-color .15s, box-shadow .15s; }
.cc-input::placeholder { color: #a9a69c; }
.cc-input:focus { outline: none; border-color: var(--cc-ink); box-shadow: 4px 4px 0 var(--cc-blue); }
.cc-input.is-invalid { border-color: #d93025; }
.cc-input-wrap .cc-input { padding-right: 52px; }
.cc-eye { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--cc-muted); border-radius: 8px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cc-eye:hover { color: var(--cc-ink); background: var(--cc-paper); }
.cc-error { display: block; margin-top: 7px; font-size: 13.5px; color: #c5221f; font-weight: 600; }
.cc-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--cc-ink-2); cursor: pointer; user-select: none; margin: 4px 0 24px; }
.cc-check input { width: 18px; height: 18px; accent-color: var(--cc-ink); }
.cc-auth-form .cc-btn { width: 100%; height: 54px; font-size: 16px; }
.cc-auth-alt { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--cc-line); font-size: 14.5px; text-align: center; }
.cc-auth-alt a { color: var(--cc-ink); font-weight: 700; border-bottom: 2px solid var(--cc-blue); }
.cc-notice { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; line-height: 1.5; margin-bottom: 22px; border: 2px solid; }
.cc-notice-ok { background: #edf8f0; border-color: #b7e2c3; color: #1e6b34; }
.cc-notice-info { background: #fff8db; border-color: #f2dc7c; color: #6b5300; }
.cc-auth-legal { text-align: center; font-size: 12.5px; color: var(--cc-muted); }
.cc-auth-legal a { color: var(--cc-muted); text-decoration: underline; }

@media (max-width: 900px) {
  .cc-auth { grid-template-columns: 1fr; }
  .cc-auth-brand { display: none; }
  .cc-auth-top .cc-auth-logo-m { display: block; }
  .cc-auth-form { padding: 28px 0; }
  .cc-auth-form h1 { font-size: 32px; }
}
