/* Vibn auth screens — ported from design-templates/VIBN (2)/auth.css. Scoped under .vibn-auth so the dark theme + ambient grid/grain never leak into the rest of the app (the dashboard is a light theme). Same tokens as the marketing site. */ .vibn-auth { --bg: oklch(0.155 0.008 60); --bg-1: oklch(0.185 0.009 60); --bg-2: oklch(0.225 0.01 60); --hairline: oklch(0.32 0.01 60 / 0.55); --hairline-2: oklch(0.4 0.012 60 / 0.35); --fg: oklch(0.97 0.005 80); --fg-dim: oklch(0.78 0.006 80); --fg-mute: oklch(0.58 0.006 80); --fg-faint: oklch(0.42 0.006 80); --accent: oklch(0.74 0.175 35); --accent-soft: oklch(0.74 0.175 35 / 0.18); --accent-glow: oklch(0.74 0.175 35 / 0.35); --accent-fg: #1a0f0a; --ok: oklch(0.78 0.16 155); --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif; --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; position: relative; min-height: 100dvh; background: var(--bg); color: var(--fg); font-family: var(--font-sans); line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; } .vibn-auth * { box-sizing: border-box; } /* Ambient grid */ .vibn-auth::before { content: ""; position: fixed; inset: 0; background-image: linear-gradient( to right, oklch(0.3 0.01 60 / 0.1) 1px, transparent 1px ), linear-gradient( to bottom, oklch(0.3 0.01 60 / 0.1) 1px, transparent 1px ); background-size: 56px 56px; mask-image: radial-gradient( ellipse 70% 70% at 50% 40%, #000 30%, transparent 80% ); -webkit-mask-image: radial-gradient( ellipse 70% 70% at 50% 40%, #000 30%, transparent 80% ); pointer-events: none; z-index: 0; } /* Film grain */ .vibn-auth::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,"); } .vibn-auth a { color: inherit; text-decoration: none; } .vibn-auth button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; } .vibn-auth h1, .vibn-auth h2, .vibn-auth h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; } .vibn-auth p { margin: 0; } .vibn-auth ::selection { background: var(--accent); color: var(--accent-fg); } /* Layout */ .vibn-auth .page { position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; } .vibn-auth .topbar { position: relative; z-index: 5; padding: 22px clamp(20px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; } .vibn-auth .topbar a:hover { color: var(--fg); } .vibn-auth .topbar-back { color: var(--fg-mute); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; } .vibn-auth .logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--fg); } .vibn-auth .logo-mark { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient( 135deg, var(--accent) 0%, oklch(0.65 0.2 18) 100% ); box-shadow: 0 0 22px var(--accent-glow), inset 0 1px 0 oklch(1 0 0 / 0.25); display: grid; place-items: center; color: var(--accent-fg); flex-shrink: 0; } .vibn-auth .logo-mark svg { display: block; } .vibn-auth .logo-caret { animation: vibn-auth-caret-blink 1.4s steps(2) infinite; } @keyframes vibn-auth-caret-blink { 50% { opacity: 0.25; } } /* Main */ .vibn-auth .auth-main { flex: 1; display: grid; place-items: center; padding: clamp(20px, 4vw, 40px); position: relative; } /* Ambient glows */ .vibn-auth .auth-glow { position: absolute; pointer-events: none; filter: blur(20px); z-index: 0; } /* Card */ .vibn-auth .auth-card { position: relative; z-index: 2; width: 100%; max-width: 440px; padding: 36px clamp(24px, 4vw, 40px) 32px; background: linear-gradient( 180deg, oklch(0.2 0.009 60 / 0.85), oklch(0.17 0.008 60 / 0.85) ); border: 1px solid var(--hairline); border-radius: 22px; backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.7), 0 0 80px -30px var(--accent-glow); } .vibn-auth .auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.6; } /* Header */ .vibn-auth .auth-eye { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); } .vibn-auth .auth-eye::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); } .vibn-auth .auth-title { margin-top: 14px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; } .vibn-auth .auth-title em { font-style: normal; color: var(--accent); text-shadow: 0 0 30px var(--accent-glow); } .vibn-auth .auth-sub { margin-top: 10px; color: var(--fg-mute); font-size: 14.5px; line-height: 1.5; text-wrap: balance; } /* Form */ .vibn-auth .auth-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; } .vibn-auth .auth-field { display: flex; flex-direction: column; gap: 6px; } .vibn-auth .auth-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); padding-left: 4px; } .vibn-auth .auth-input { width: 100%; padding: 13px 16px; background: oklch(0.16 0.008 60 / 0.8); border: 1px solid var(--hairline); border-radius: 12px; color: var(--fg); font: 15px/1.5 var(--font-sans); outline: none; transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; } .vibn-auth .auth-input::placeholder { color: var(--fg-faint); } .vibn-auth .auth-input:focus { border-color: oklch(0.74 0.175 35 / 0.65); background: oklch(0.18 0.009 60 / 0.95); box-shadow: 0 0 0 3px oklch(0.74 0.175 35 / 0.12), 0 0 30px -10px var(--accent-glow); } .vibn-auth .auth-error { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: oklch(0.62 0.2 25 / 0.12); border: 1px solid oklch(0.62 0.2 25 / 0.4); color: oklch(0.82 0.12 30); font-size: 13px; line-height: 1.45; } /* Buttons */ .vibn-auth .auth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: transform 0.12s, box-shadow 0.2s, background 0.2s; white-space: nowrap; width: 100%; } /* Primary — email + password submit. */ .vibn-auth .auth-btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 0 0 1px oklch(0.84 0.16 35 / 0.5) inset, 0 10px 40px -10px var(--accent-glow), 0 0 40px -8px var(--accent-glow); } .vibn-auth .auth-btn-primary:hover { transform: translateY(-1px); } .vibn-auth .auth-btn-primary[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; } /* Ghost — OAuth alternatives below the divider. */ .vibn-auth .auth-btn-ghost { background: oklch(0.2 0.009 60 / 0.6); border: 1px solid var(--hairline); color: var(--fg-dim); } .vibn-auth .auth-btn-ghost:hover { color: var(--fg); border-color: var(--hairline-2); background: oklch(0.22 0.01 60 / 0.8); } .vibn-auth .auth-btn-ghost[disabled] { opacity: 0.6; cursor: not-allowed; } .vibn-auth .auth-btn-primary svg, .vibn-auth .auth-btn-ghost svg { flex-shrink: 0; } /* Divider */ .vibn-auth .auth-divider { display: flex; align-items: center; gap: 14px; margin: 18px 0 2px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); } .vibn-auth .auth-divider::before, .vibn-auth .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); } /* OAuth row */ .vibn-auth .auth-oauth { display: flex; flex-direction: column; gap: 10px; } /* Footer */ .vibn-auth .auth-foot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); text-align: center; font-size: 14px; color: var(--fg-mute); } .vibn-auth .auth-foot a { color: var(--accent); font-weight: 500; } .vibn-auth .auth-foot a:hover { text-decoration: underline; text-underline-offset: 3px; } .vibn-auth .auth-fine { margin-top: 18px; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-faint); } .vibn-auth .auth-fine a { color: var(--fg-mute); text-decoration: underline; text-underline-offset: 3px; } /* Spinner */ .vibn-auth .auth-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid oklch(0 0 0 / 0.2); border-top-color: var(--accent-fg); animation: vibn-auth-spin 0.9s linear infinite; } .vibn-auth .auth-spinner.ghost { border: 2px solid oklch(1 0 0 / 0.15); border-top-color: var(--fg-dim); } @keyframes vibn-auth-spin { to { transform: rotate(360deg); } } /* Single Centered Built in Canada Footer */ .vibn-auth .auth-built-canada { margin-top: 32px; text-align: center; font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; letter-spacing: 0.05em; color: var(--fg-dim); }