/* Login-only presentation. Authentication and the signed-in workspaces stay separate. */
.gdc-login-page .shell { padding: 0; }
.gdc-auth-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
.gdc-auth-layout[hidden] { display: none !important; }
.gdc-auth-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: clamp(28px, 4vw, 64px); background: #071827; color: #fff; }
.gdc-auth-hero::before, .gdc-auth-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; }
.gdc-auth-hero::before { inset: -8px; background: url('/assets/gdc-login-hero.png') 65% center / cover no-repeat; filter: blur(2.5px); }
.gdc-auth-hero::after { inset: 0; background: linear-gradient(135deg, rgba(3, 17, 35, .82), rgba(4, 19, 36, .70) 65%, rgba(3, 16, 31, .80)); }
.gdc-auth-brand { display: flex; align-items: center; gap: 14px; color: #fff; }
.gdc-auth-brand img { width: 46px; height: 46px; object-fit: contain; }
.gdc-auth-brand span { display: grid; gap: 4px; line-height: 1.2; }
.gdc-auth-brand strong { font-size: 1rem; }
.gdc-auth-brand small { color: #cbdce7; font-size: .78rem; }
.gdc-auth-intro { width: min(100%, 480px); padding: 64px 0; }
.gdc-auth-intro .gdc-auth-eyebrow { margin: 0 0 16px; color: #67e8f9; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gdc-auth-intro .gdc-auth-headline { margin: 0 0 16px; color: #fff; font-size: clamp(2rem, 3.2vw, 3.25rem); font-weight: 650; line-height: 1.12; letter-spacing: -.04em; }
.gdc-auth-intro > p:not(.gdc-auth-eyebrow):not(.gdc-auth-headline) { margin: 0; color: #e2e8f0; font-size: 1.05rem; line-height: 1.6; }
.gdc-auth-copyright { margin: 0; color: #b8c8d4; font-size: .75rem; }
.gdc-auth-panel { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 90px clamp(28px, 5vw, 80px); background: #f8fafc; color: var(--i4-foreground); }
.gdc-auth-theme { position: absolute; top: 24px; right: 28px; margin: 0; padding: 0; }
.gdc-auth-form, .gdc-login-page .login { width: min(100%, 410px); max-width: 410px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.gdc-auth-form .gdc-form-eyebrow { margin: 0 0 12px; color: #087f95; font-size: .75rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.gdc-auth-form h1, .gdc-login-page .login h1 { margin: 0 0 12px; color: var(--i4-foreground); font-size: clamp(1.8rem, 2.2vw, 2.25rem); font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.gdc-auth-form > p:not(.gdc-form-eyebrow) { margin: 0 0 28px; color: var(--i4-muted); font-size: .95rem; line-height: 1.6; }
.gdc-auth-form .google { width: 100%; min-height: 50px; margin: 0; }
.gdc-auth-alternate { display: block; width: fit-content; margin: 24px auto 0; color: #087f95; font-size: .9rem; font-weight: 600; text-align: center; text-decoration: none; }
.gdc-auth-alternate:hover { text-decoration: underline; }
.gdc-auth-alternate:focus-visible { outline: 3px solid var(--i4-primary); outline-offset: 4px; }
.gdc-login-page .app-footer { display: none; }

/* The external header retains the existing toggle, but not signed-in chrome. */
.gdc-external-login .client-header { position: absolute; top: 24px; right: 28px; z-index: 50; display: flex; min-height: 0; padding: 0; background: transparent; }
.gdc-external-login .client-header .access-brand { display: none; }
.gdc-external-login .client-shell .access-main { width: 100%; max-width: none; margin: 0; }
.gdc-external-login .client-footer { display: none; }
.gdc-external-login .gdc-auth-form .access-actions { display: block; margin-top: 22px; }
.gdc-external-login .gdc-auth-form .access-button { width: 100%; min-height: 48px; }
.gdc-external-login .gdc-auth-form .access-field input { min-height: 46px; }

html[data-theme="dark"] .gdc-auth-panel { background: #0f172a; color: #f1f5f9; }
html[data-theme="dark"] .gdc-login-page .login { background: transparent; }
html[data-theme="dark"] .gdc-auth-form .gdc-form-eyebrow, html[data-theme="dark"] .gdc-auth-alternate { color: #67e8f9; }
html[data-theme="dark"] .gdc-auth-hero { background-color: #071827; color: #fff; }

@media (max-width: 760px) {
  .gdc-auth-layout { grid-template-columns: minmax(0, 1fr); }
  .gdc-auth-hero { min-height: 280px; padding: 24px; }
  .gdc-auth-hero::before { background-position: 70% 58%; }
  .gdc-auth-intro { padding: 45px 0 30px; }
  .gdc-auth-intro .gdc-auth-headline { font-size: clamp(1.75rem, 7vw, 2.3rem); }
  .gdc-auth-panel { min-height: 380px; padding: 60px 24px; }
  .gdc-auth-theme, .gdc-external-login .client-header { position: absolute; top: 20px; right: 20px; }
  .gdc-login-page .gdc-auth-panel { position: static; }
}
