/* Carbonkindle auxiliary styles — pages-aux scope */

/* ======================================================
   NAV modifiers
   ====================================================== */
.ck-nav--solid {
	background: #ffffff;
	border-bottom: 1px solid var(--ck-border);
	box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.ck-nav--solid .ck-nav__logo-img--light { display: inline; }
.ck-nav--solid .ck-nav__logo-img--dark  { display: none; }
.ck-nav--solid .ck-nav__links li a {
	color: var(--ck-body-dark);
}
.ck-nav--solid .ck-nav__links li a:hover {
	color: var(--ck-accent);
	text-decoration: none;
}
.ck-nav--solid .ck-nav__cta--primary {
	background: var(--ck-accent);
	color: #ffffff;
	padding: 8px 18px;
	border-radius: 6px;
}
.ck-nav--solid .ck-nav__cta--primary:hover {
	background: var(--ck-accent-dark);
	text-decoration: none;
	color: #ffffff;
}
.ck-nav--solid .ck-nav__cta--secondary {
	color: var(--ck-accent);
	font-weight: 600;
}
.ck-nav__link--active {
	color: var(--ck-accent) !important;
	font-weight: 600;
}

/* ======================================================
   NAV shared structure (all pages)
   ====================================================== */
.ck-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
}
.ck-nav--transparent {
	background: transparent;
	position: fixed;
	width: 100%;
}
.ck-nav--transparent.ck-nav--scrolled {
	background: rgba(10,31,28,0.96);
	position: fixed;
	box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.ck-nav__inner {
	max-width: var(--ck-container);
	margin: 0 auto;
	padding: 0 24px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.ck-nav__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}
.ck-nav__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}
.ck-nav__toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ck-body-dark);
	border-radius: 2px;
	transition: all 0.2s;
}
.ck-nav--solid .ck-nav__toggle span { background: var(--ck-body-dark); }
.ck-nav--transparent .ck-nav__toggle span { background: #ffffff; }
.ck-nav__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 28px;
}
.ck-nav__links li a {
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s;
}


/* ======================================================
   CONTACT PAGE
   ====================================================== */
.ck-contact {
	padding: 80px 0;
}
.ck-contact__inner {
	max-width: var(--ck-container);
	margin: 0 auto;
	padding: 0 24px;
}
.ck-contact__split {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 64px;
	align-items: start;
}
.ck-contact__form-col { min-width: 0; }
.ck-contact__info-col { min-width: 0; }
.ck-contact__info-heading {
	font-family: var(--ck-font-display);
	font-size: 22px;
	font-weight: 700;
	color: var(--ck-body-dark);
	margin: 0 0 24px;
}
.ck-contact__info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.ck-contact__info-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.ck-contact__info-icon {
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: var(--ck-bg-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--ck-accent);
	font-size: 16px;
}
.ck-contact__info-label {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--ck-text-muted);
	margin-bottom: 4px;
}
.ck-contact__info-value {
	font-size: 15px;
	color: var(--ck-body-dark);
	font-weight: 500;
}
.ck-contact__info-value a {
	color: var(--ck-body-dark);
	text-decoration: none;
}
.ck-contact__info-value a:hover { color: var(--ck-accent); text-decoration: underline; }

/* Form */
.ck-form { width: 100%; }
.ck-form__group { margin-bottom: 20px; }
.ck-form__label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--ck-body-dark);
	margin-bottom: 6px;
}
.ck-form__input,
.ck-form__select,
.ck-form__textarea {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	color: var(--ck-body-dark);
	background: #ffffff;
	border: 1px solid var(--ck-border);
	border-radius: 8px;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
	transition: border-color 0.2s;
	appearance: none;
}
.ck-form__input:focus,
.ck-form__select:focus,
.ck-form__textarea:focus {
	outline: 2px solid var(--ck-accent);
	outline-offset: 2px;
	border-color: var(--ck-accent);
}
.ck-form__input::placeholder,
.ck-form__textarea::placeholder { color: #94a3b8; }
.ck-form__textarea { resize: vertical; min-height: 120px; }
.ck-form__submit {
	display: inline-block;
	padding: 13px 32px;
	background: var(--ck-accent);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: background 0.2s;
}
.ck-form__submit:hover { background: var(--ck-accent-dark); }
/* ck-form__success styles defined in main CSS; .visible shows it */

/* ======================================================
   404 PAGE
   ====================================================== */
.ck-404 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 80px 24px;
	background: var(--ck-bg-alt);
}
.ck-404__inner {
	max-width: 560px;
	text-align: center;
}
.ck-404__code {
	font-family: var(--ck-font-display);
	font-size: clamp(80px, 16vw, 140px);
	font-weight: 700;
	color: var(--ck-accent);
	line-height: 1;
	margin: 0 0 8px;
	opacity: 0.25;
}
.ck-404__title {
	font-family: var(--ck-font-display);
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 700;
	color: var(--ck-body-dark);
	margin: 0 0 16px;
}
.ck-404__body {
	font-size: 16px;
	color: var(--ck-text-muted);
	line-height: 1.7;
	margin: 0 0 36px;
}
.ck-404__cta {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ======================================================
   AUTH PAGES (login/* — Pattern A, no nav/footer)
   ====================================================== */
.ck-auth {
	min-height: 100vh;
	display: flex;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(13,148,136,0.15) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(13,148,136,0.10) 0%, transparent 50%),
		#070D1A;
}
.ck-auth__wrapper {
	display: flex;
	width: 100%;
}
.ck-auth__form-col {
	flex: 0 0 480px;
	max-width: 480px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 48px 56px;
	background: rgba(255,255,255,0.03);
	border-right: 1px solid rgba(255,255,255,0.06);
}
.ck-auth__info-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 64px 56px;
}
.ck-auth__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	margin-bottom: 36px;
}
.ck-auth__logo-img { height: 32px; width: auto; }
.ck-auth__back-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: rgba(255,255,255,0.5);
	text-decoration: none;
	margin-bottom: 28px;
	transition: color 0.2s;
}
.ck-auth__back-link:hover { color: rgba(255,255,255,0.85); text-decoration: none; }
.ck-auth__back-link i { font-size: 11px; }
.ck-auth__title {
	font-family: var(--ck-font-display);
	font-size: 26px;
	font-weight: 700;
	color: #f1f5f9;
	margin: 0 0 6px;
}
.ck-auth__subtitle {
	font-size: 14px;
	color: rgba(255,255,255,0.55);
	margin: 0 0 28px;
	line-height: 1.5;
}
.ck-auth__form { width: 100%; }
.ck-auth__form-group { margin-bottom: 16px; }
.ck-auth__label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #cbd5e1;
	margin-bottom: 6px;
}
.ck-auth__input,
.ck-auth__select {
	width: 100%;
	padding: 11px 14px;
	font-size: 14px;
	color: #f1f5f9;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 8px;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
	transition: border-color 0.2s;
	appearance: none;
}
.ck-auth__input::placeholder { color: #475569; }
.ck-auth__input:focus,
.ck-auth__select:focus {
	outline: 2px solid var(--ck-accent);
	outline-offset: 2px;
	border-color: var(--ck-accent);
}
.ck-auth__select option { background: #12121e; color: #f1f5f9; }
.ck-auth__form-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.ck-auth__submit {
	width: 100%;
	padding: 13px;
	background: var(--ck-accent);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	margin-top: 8px;
	font-family: 'Inter', sans-serif;
	transition: filter 0.2s;
}
.ck-auth__submit:hover { filter: brightness(1.12); }
.ck-auth__footer-link {
	text-align: center;
	margin-top: 20px;
	font-size: 13px;
	color: rgba(255,255,255,0.45);
}
.ck-auth__footer-link a {
	color: var(--ck-accent);
	font-weight: 500;
	text-decoration: none;
}
.ck-auth__footer-link a:hover { text-decoration: underline; filter: brightness(1.12); }
.ck-auth__divider {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 20px 0;
}
.ck-auth__divider-line {
	flex: 1;
	height: 1px;
	background: rgba(255,255,255,0.1);
}
.ck-auth__divider-text { font-size: 12px; color: rgba(255,255,255,0.35); }
.ck-auth__checkbox-line {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}
.ck-auth__checkbox-line input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--ck-accent); }
.ck-auth__checkbox-line label { font-size: 13px; color: rgba(255,255,255,0.55); cursor: pointer; }
.ck-auth__forgot {
	font-size: 13px;
	color: rgba(255,255,255,0.45);
	text-decoration: none;
	display: block;
	text-align: right;
	margin-top: -8px;
	margin-bottom: 14px;
}
.ck-auth__forgot:hover { color: var(--ck-accent); }
.ck-auth__terms {
	font-size: 12px;
	color: rgba(255,255,255,0.4);
	text-align: center;
	margin-top: 12px;
	line-height: 1.6;
}
.ck-auth__terms a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.ck-auth__terms a:hover { color: #ffffff; }

/* Message states */
.ck-auth__message {
	padding: 12px 14px;
	border-radius: 8px;
	font-size: 13px;
	margin-bottom: 16px;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	display: none;
}
.ck-auth__message.is-visible { display: flex; }
.ck-auth__message--success {
	background: rgba(21,128,61,0.15);
	color: #86efac;
	border: 1px solid rgba(134,239,172,0.2);
}
.ck-auth__message--error {
	background: rgba(185,28,28,0.15);
	color: #fca5a5;
	border: 1px solid rgba(252,165,165,0.2);
}

/* Info side (right panel) */
.ck-auth__info-headline {
	font-family: var(--ck-font-display);
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
	color: #f1f5f9;
	margin: 0 0 12px;
	line-height: 1.2;
}
.ck-auth__info-sub {
	font-size: 15px;
	color: rgba(255,255,255,0.55);
	margin: 0 0 36px;
	line-height: 1.6;
}
.ck-auth__feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.ck-auth__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.ck-auth__feature-icon {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(13,148,136,0.15);
	border: 1px solid rgba(13,148,136,0.25);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--ck-accent);
	font-size: 14px;
}
.ck-auth__feature-text { min-width: 0; }
.ck-auth__feature-title {
	font-size: 14px;
	font-weight: 600;
	color: #e2e8f0;
	margin: 0 0 3px;
}
.ck-auth__feature-desc {
	font-size: 13px;
	color: rgba(255,255,255,0.45);
	margin: 0;
	line-height: 1.5;
}
.ck-auth__trust-note {
	font-size: 12px;
	color: rgba(255,255,255,0.35);
	line-height: 1.6;
}

/* Auth mini footer */
.ck-auth-mini-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 24px;
	background: rgba(7,13,26,0.9);
	border-top: 1px solid rgba(255,255,255,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	font-size: 12px;
	color: rgba(255,255,255,0.35);
	z-index: 100;
}
.ck-auth-mini-footer a {
	color: rgba(255,255,255,0.45);
	text-decoration: none;
}
.ck-auth-mini-footer a:hover { color: rgba(255,255,255,0.75); }

/* Dashboard */
.ck-auth--dashboard .ck-auth__wrapper {
	align-items: stretch;
}
.ck-dash {
	display: flex;
	width: 100%;
	min-height: 100vh;
}
.ck-dash__sidebar {
	flex: 0 0 240px;
	background: rgba(255,255,255,0.03);
	border-right: 1px solid rgba(255,255,255,0.06);
	display: flex;
	flex-direction: column;
	padding: 28px 20px;
}
.ck-dash__sidebar-logo {
	margin-bottom: 36px;
	display: block;
	text-decoration: none;
}
.ck-dash__nav { list-style: none; padding: 0; margin: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.ck-dash__nav-item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: rgba(255,255,255,0.55);
	text-decoration: none;
	transition: all 0.15s;
}
.ck-dash__nav-item a:hover,
.ck-dash__nav-item.is-active a {
	background: rgba(13,148,136,0.12);
	color: #4DD9CC;
	text-decoration: none;
}
.ck-dash__logout a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: rgba(255,255,255,0.35);
	text-decoration: none;
	transition: color 0.15s;
}
.ck-dash__logout a:hover { color: #fca5a5; }
.ck-dash__main {
	flex: 1;
	padding: 40px 48px;
	overflow-y: auto;
}
.ck-dash__header {
	margin-bottom: 36px;
}
.ck-dash__welcome {
	font-family: var(--ck-font-display);
	font-size: 26px;
	font-weight: 700;
	color: #f1f5f9;
	margin: 0 0 6px;
}
.ck-dash__sub {
	font-size: 14px;
	color: rgba(255,255,255,0.45);
	margin: 0;
}
.ck-dash__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 36px;
}
.ck-dash__stat-card {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.07);
	border-radius: 10px;
	padding: 20px 22px;
}
.ck-dash__stat-label {
	font-size: 12px;
	color: rgba(255,255,255,0.4);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin-bottom: 10px;
}
.ck-dash__stat-value {
	font-family: var(--ck-font-display);
	font-size: 28px;
	font-weight: 700;
	color: #4DD9CC;
	margin: 0 0 4px;
}
.ck-dash__stat-note {
	font-size: 12px;
	color: rgba(255,255,255,0.35);
}
.ck-dash__section-title {
	font-family: var(--ck-font-display);
	font-size: 17px;
	font-weight: 600;
	color: #e2e8f0;
	margin: 0 0 16px;
}
.ck-dash__empty-state {
	background: rgba(255,255,255,0.03);
	border: 1px dashed rgba(255,255,255,0.1);
	border-radius: 10px;
	padding: 40px 24px;
	text-align: center;
	color: rgba(255,255,255,0.3);
	font-size: 14px;
}

/* Verify page */
.ck-auth__verify-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: rgba(13,148,136,0.15);
	border: 2px solid rgba(13,148,136,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	color: var(--ck-accent);
	margin: 0 auto 24px;
}
.ck-auth--verify .ck-auth__form-col {
	align-items: center;
	text-align: center;
}

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
	.ck-auth__form-col { flex: 0 0 420px; max-width: 420px; padding: 40px 40px; }
	.ck-dash__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
	.ck-nav__toggle { display: flex; }
	.ck-nav__links {
		display: none;
		position: absolute;
		top: 68px;
		left: 0;
		width: 100%;
		background: #ffffff;
		flex-direction: column;
		padding: 16px 24px;
		gap: 4px;
		border-top: 1px solid var(--ck-border);
		box-shadow: 0 8px 20px rgba(0,0,0,0.08);
	}
	.ck-nav--transparent .ck-nav__links { background: #0A1F1C; border-top-color: rgba(255,255,255,0.1); }
	.ck-nav__links.is-open { display: flex; }
	.ck-nav__links li a { padding: 10px 0; display: block; }

	.ck-contact__split { grid-template-columns: 1fr; gap: 40px; }
	.ck-auth { min-height: 100vh; }
	.ck-auth__wrapper { flex-direction: column; }
	.ck-auth__info-col { display: none; }
	.ck-auth__form-col { flex: 1; max-width: 100%; padding: 40px 24px 80px; }
	.ck-auth__form-cols { grid-template-columns: 1fr; }
	.ck-dash { flex-direction: column; }
	.ck-dash__sidebar { flex: none; flex-direction: row; flex-wrap: wrap; padding: 16px 20px; }
	.ck-dash__nav { flex-direction: row; flex-wrap: wrap; }
	.ck-dash__main { padding: 24px 20px; }
	.ck-dash__stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.ck-auth__form-col { padding: 32px 20px 80px; }
	.ck-dash__stats { grid-template-columns: 1fr; }
}
