:root {
	--ink: #161616;
	--ink-2: #262626;
	--muted: #525252;
	--subtle: #8c8c8c;
	--line: #e0e0e0;
	--canvas: #ffffff;
	--field: #f4f4f4;
	--brand: #0f62fe;
	--brand-hover: #0050e6;
	--brand-80: #002d9c;
	--danger: #da1e28;
	--font: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; }

.cc-auth {
	min-height: 100vh;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--canvas);
	color: var(--ink);
	font-family: var(--font);
	letter-spacing: 0.16px;
	-webkit-font-smoothing: antialiased;
}

/* Left charcoal panel */
.cc-brand-panel {
	position: relative;
	background: #161616;
	color: #fff;
	padding: 64px 56px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}
.cc-brand-panel::after {
	content: "";
	position: absolute;
	right: -140px; bottom: -140px;
	width: 460px; height: 460px;
	background: radial-gradient(circle, rgba(15, 98, 254, 0.28), transparent 62%);
}
.cc-logo { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 16px; }
.cc-logo b { font-weight: 600; }
.cc-hero { position: relative; z-index: 2; }
.cc-hero-tag { font-weight: 300; font-size: 54px; line-height: 1.13; letter-spacing: -0.5px; max-width: 14ch; }
.cc-hero-sub { margin-top: 22px; font-size: 18px; line-height: 1.5; color: #c6c6c6; max-width: 40ch; font-weight: 400; }
.cc-points { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 14px; }
.cc-point { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #c6c6c6; }
.cc-point svg { color: #4589ff; flex: none; margin-top: 2px; }
.cc-point b { color: #fff; font-weight: 600; }

/* Right form panel */
.cc-form-panel { display: flex; align-items: center; justify-content: center; padding: 48px; }
.cc-form-card { width: 100%; max-width: 384px; }
.cc-eyebrow { font-size: 14px; color: var(--muted); }
.cc-title { font-weight: 300; font-size: 32px; line-height: 1.25; margin: 8px 0 8px; }
.cc-sub { font-size: 15px; color: var(--muted); margin-bottom: 28px; line-height: 1.5; }

.cc-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.cc-tab { flex: 1; border: none; background: transparent; color: var(--muted); font-family: var(--font); font-size: 14px; padding: 14px 8px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all 0.1s; letter-spacing: 0.16px; }
.cc-tab:hover { color: var(--ink); }
.cc-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--brand); }

.cc-subtabs { display: flex; gap: 8px; margin: -8px 0 24px; }
.cc-subtab { flex: 1; border: 1px solid var(--line); background: var(--canvas); color: var(--muted); font-family: var(--font); font-size: 13px; padding: 9px 6px; cursor: pointer; transition: all 0.1s; letter-spacing: 0.16px; }
.cc-subtab:hover { border-color: var(--subtle); color: var(--ink); }
.cc-subtab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.cc-field-row { margin-bottom: 22px; }
.cc-label { display: block; font-size: 12px; letter-spacing: 0.32px; color: var(--muted); margin-bottom: 8px; }
.cc-input { width: 100%; background: var(--field); border: 0; border-bottom: 1px solid #8c8c8c; padding: 12px 16px; font-size: 15px; font-family: var(--font); color: var(--ink); outline: none; transition: outline 0.1s; letter-spacing: 0.16px; }
.cc-input:focus { outline: 2px solid var(--brand); outline-offset: -2px; border-bottom-color: var(--ink); }

.cc-btn { width: 100%; border: 0; cursor: pointer; font-family: var(--font); font-weight: 400; font-size: 15px; letter-spacing: 0.16px; padding: 15px 16px; transition: background 0.1s; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cc-btn-primary { color: #fff; background: var(--brand); }
.cc-btn-primary:hover { background: var(--brand-hover); }
.cc-btn-primary:active { background: var(--brand-80); }
.cc-btn-primary:disabled { background: #8c8c8c; cursor: default; }
.cc-btn-secondary { background: var(--canvas); border: 1px solid var(--ink); color: var(--ink); justify-content: center; }

.cc-status { font-size: 13.5px; min-height: 18px; margin-top: 14px; color: var(--danger); display: flex; align-items: center; gap: 6px; }
.cc-foot-note { margin-top: 28px; font-size: 12px; color: var(--subtle); letter-spacing: 0.32px; }
.cc-alt { margin-top: 14px; }
.cc-link { background: none; border: 0; padding: 0; font-family: var(--font); font-size: 13px; color: var(--brand); cursor: pointer; letter-spacing: 0.16px; }
.cc-link:hover { text-decoration: underline; }
.cc-otp-qr { display: block; margin: 0 auto 18px; max-width: 168px; }
.cc-hide { display: none !important; }

@media (max-width: 900px) {
	.cc-auth { grid-template-columns: 1fr; }
	.cc-brand-panel { padding: 40px 28px; }
	.cc-hero-tag { font-size: 36px; }
	.cc-points { display: none; }
	.cc-form-panel { padding: 32px 24px; }
}
