/**
 * AivahThemes Customer Center — brand UI (logo greens + charcoal).
 */

:root {
	--aivah-lime: #a4d64e;
	--aivah-green: #47af4b;
	--aivah-green-deep: #2f8a34;
	--aivah-charcoal: #4d4d4d;
	--aivah-ink: #1a1a1a;
	--aivah-muted: #6b7280;
	--aivah-line: #e7ebe3;
	--aivah-soft: #f3f6ef;
	--aivah-card: #ffffff;
	--aivah-danger: #c62828;
	--aivah-warn: #b45309;
	--aivah-ok: #1b7a3d;
	--aivah-radius: 14px;
	--aivah-font: "Segoe UI", "Avenir Next", system-ui, -apple-system, sans-serif;
	--aivah-grad: linear-gradient(145deg, #a4d64e 0%, #47af4b 55%, #2f8a34 100%);
}

.aivah-cc-body {
	margin: 0;
	font-family: var(--aivah-font);
	color: var(--aivah-ink);
	background: var(--aivah-soft);
	min-height: 100vh;
}

.aivah-cc-body a {
	color: var(--aivah-green-deep);
}

/* Auth — dark canvas + white card (login / lost password) */
.aivah-cc-auth {
	background:
		radial-gradient(circle at 15% 20%, rgba(164, 214, 78, 0.22), transparent 40%),
		radial-gradient(circle at 85% 80%, rgba(71, 175, 75, 0.16), transparent 42%),
		linear-gradient(165deg, #101010 0%, #1c1c1c 45%, #141914 100%);
}

.aivah-cc-auth-screen {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 2rem 1rem 2.5rem;
	position: relative;
	overflow: hidden;
}

.aivah-cc-auth-glow {
	position: absolute;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: var(--aivah-grad);
	filter: blur(90px);
	opacity: 0.2;
	top: -80px;
	right: -60px;
	pointer-events: none;
}

.aivah-cc-auth-shapes {
	display: none;
}

.aivah-cc-auth-inner {
	width: 100%;
	max-width: 420px;
	position: relative;
	z-index: 1;
}

.aivah-cc-logo-link {
	display: flex;
	justify-content: center;
	margin-bottom: 1.25rem;
	text-decoration: none;
}

.aivah-cc-logo {
	display: block;
	height: auto;
	max-width: 180px;
	width: 100%;
	object-fit: contain;
}

.aivah-cc-logo--bar {
	max-width: 112px;
}

.aivah-cc-auth-card {
	background: #fff;
	border: 1px solid rgba(164, 214, 78, 0.22);
	border-radius: 22px;
	padding: 1.75rem 1.5rem 1.5rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.aivah-cc-kicker {
	display: inline-flex;
	margin: 0 0 0.55rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: rgba(164, 214, 78, 0.22);
	color: var(--aivah-green-deep);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aivah-cc-card-title {
	margin: 0 0 0.35rem;
	font-size: 1.55rem;
	letter-spacing: -0.03em;
}

.aivah-cc-lead,
.aivah-cc-help {
	color: var(--aivah-muted);
	font-size: 0.93rem;
	margin: 0 0 1.1rem;
	line-height: 1.45;
}

.aivah-cc-form .aivah-cc-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 650;
	color: var(--aivah-charcoal);
	margin: 0.85rem 0 0.35rem;
}

.aivah-cc-input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--aivah-line);
	background: #fbfcf9;
	border-radius: 10px;
	padding: 0.72rem 0.9rem;
	font: inherit;
	color: var(--aivah-ink);
}

.aivah-cc-input:focus {
	outline: none;
	border-color: var(--aivah-green);
	box-shadow: 0 0 0 3px rgba(71, 175, 75, 0.2);
	background: #fff;
}

.aivah-cc-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	margin: 0.9rem 0 1.15rem;
	font-size: 0.88rem;
}

.aivah-cc-check {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--aivah-charcoal);
}

.aivah-cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	border: none;
	border-radius: 999px;
	padding: 0.72rem 1.2rem;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
	line-height: 1.2;
	transition: transform 0.12s ease, filter 0.12s ease;
}

.aivah-cc-btn:hover {
	transform: translateY(-1px);
}

.aivah-cc-btn--primary {
	background: var(--aivah-grad);
	color: #fff !important;
	box-shadow: 0 10px 22px rgba(71, 175, 75, 0.28);
}

.aivah-cc-btn--primary:hover {
	filter: brightness(1.05);
}

.aivah-cc-btn--success {
	background: #47af4b;
	color: #fff !important;
	border-radius: 10px;
	padding: 0.9rem 1.25rem;
	font-size: 1rem;
	box-shadow: 0 12px 28px rgba(71, 175, 75, 0.28);
}

.aivah-cc-btn--success:hover {
	filter: brightness(1.05);
	background: #3d9a41;
}

.aivah-cc-btn--dark {
	background: var(--aivah-charcoal);
	color: #fff !important;
}

.aivah-cc-btn--warn {
	background: #ef4444;
	color: #fff !important;
	white-space: nowrap;
	border-radius: 8px;
	padding: 0.45rem 0.8rem;
	font-size: 0.82rem;
}

.aivah-cc-btn--block {
	width: 100%;
}

.aivah-cc-switch {
	text-align: center;
	margin: 1.15rem 0 0;
	font-size: 0.9rem;
	color: var(--aivah-muted);
}

.aivah-cc-link {
	color: var(--aivah-green-deep);
	text-decoration: none;
	font-weight: 700;
}

.aivah-cc-link:hover {
	text-decoration: underline;
}

.aivah-cc-copy {
	margin: 1.1rem 0 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.78rem;
}

.aivah-cc-alert {
	padding: 0.75rem 0.9rem;
	border-radius: 10px;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.aivah-cc-alert--error {
	background: #fef2f2;
	color: var(--aivah-danger);
	border: 1px solid #fecaca;
}

.aivah-cc-alert--ok {
	background: #ecfdf3;
	color: var(--aivah-ok);
	border: 1px solid #abefc6;
}

.aivah-cc-source {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
	margin-bottom: 0.35rem;
}

.aivah-cc-source-option {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	border: 1px solid var(--aivah-line);
	border-radius: 12px;
	padding: 0.7rem 0.75rem;
	cursor: pointer;
	background: #fff;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--aivah-charcoal);
}

.aivah-cc-source-option:has(input:checked),
.aivah-cc-source-option.is-selected {
	border-color: var(--aivah-green);
	background: rgba(164, 214, 78, 0.14);
	color: var(--aivah-green-deep);
	box-shadow: 0 0 0 1px rgba(71, 175, 75, 0.25);
}

.aivah-cc-verified {
	background: var(--aivah-soft);
	border: 1px solid var(--aivah-line);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.aivah-cc-verified p {
	margin: 0.25rem 0;
}

.aivah-cc-hp {
	position: absolute !important;
	left: -9999px !important;
}

/* ========== Register / Verify Purchase (light mock) ========== */
.aivah-cc-auth-light.aivah-cc-auth {
	background: linear-gradient(180deg, #eef5fb 0%, #f7fafc 42%, #ffffff 100%);
}

.aivah-cc-auth-light .aivah-cc-auth-glow {
	display: none;
}

.aivah-cc-auth-light .aivah-cc-auth-shapes {
	display: block;
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.aivah-cc-auth-shapes__blob {
	position: absolute;
	border-radius: 50%;
	background: rgba(47, 126, 200, 0.08);
}

.aivah-cc-auth-shapes__blob--1 {
	width: 520px;
	height: 520px;
	top: -180px;
	left: -160px;
}

.aivah-cc-auth-shapes__blob--2 {
	width: 640px;
	height: 640px;
	bottom: -280px;
	right: -220px;
	background: rgba(71, 175, 75, 0.07);
}

.aivah-cc-auth-shapes__blob--3 {
	width: 280px;
	height: 280px;
	top: 38%;
	right: 12%;
	background: rgba(47, 126, 200, 0.06);
}

.aivah-cc-auth-light .aivah-cc-auth-screen--light {
	align-content: start;
	padding: 2.5rem 1.25rem 3rem;
}

.aivah-cc-auth-inner--wide {
	max-width: 640px;
}

.aivah-cc-brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
	margin: 0 0 1.75rem;
	text-decoration: none !important;
	color: inherit;
}

.aivah-cc-brand__name {
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #1a2b4b;
	line-height: 1.15;
}

.aivah-cc-brand__tag {
	font-size: 0.8rem;
	font-style: italic;
	color: #8a94a6;
	line-height: 1.3;
}

.aivah-cc-page-head {
	margin: 0 0 1.35rem;
	text-align: left;
}

.aivah-cc-page-head__title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #1a2b4b;
	line-height: 1.15;
}

.aivah-cc-page-head__sub {
	margin: 0;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.5;
	color: #6b7280;
}

.aivah-cc-auth-light .aivah-cc-auth-card {
	border: 1px solid #e6edf5;
	border-radius: 16px;
	padding: 1.85rem 1.75rem 1.6rem;
	box-shadow: 0 18px 48px rgba(26, 43, 75, 0.08);
}

.aivah-cc-badge {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0.85rem;
	padding: 0.28rem 0.7rem;
	border-radius: 6px;
	background: #47af4b;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
}

.aivah-cc-auth-light .aivah-cc-card-title {
	margin: 0 0 0.45rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: #1a2b4b;
	letter-spacing: -0.02em;
}

.aivah-cc-auth-light .aivah-cc-lead {
	margin: 0 0 1.35rem;
	color: #6b7280;
	font-size: 0.95rem;
	line-height: 1.55;
}

.aivah-cc-auth-light .aivah-cc-form .aivah-cc-label {
	margin: 1.1rem 0 0.45rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: #1a2b4b;
}

.aivah-cc-view-register .aivah-cc-source {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin: 0 0 0.25rem;
}

.aivah-cc-view-register .aivah-cc-source-option {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	padding: 0.95rem 0.9rem;
	border: 1.5px solid #dbe3ee;
	border-radius: 12px;
	background: #fff;
	box-shadow: none;
	color: #1a2b4b;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.aivah-cc-view-register .aivah-cc-source-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.aivah-cc-source-option__mark {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	margin-top: 2px;
	border: 2px solid #c5d0de;
	border-radius: 50%;
	box-sizing: border-box;
	background: #fff;
}

.aivah-cc-view-register .aivah-cc-source-option:has(input:checked) .aivah-cc-source-option__mark,
.aivah-cc-view-register .aivah-cc-source-option.is-selected .aivah-cc-source-option__mark {
	border-color: #2f7ec8;
	box-shadow: inset 0 0 0 4px #2f7ec8;
}

.aivah-cc-source-option__logo {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #f3f6fa;
}

.aivah-cc-source-option__logo--aivah {
	background: #e8f1fb;
	color: #2f7ec8;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.aivah-cc-source-option__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.aivah-cc-source-option__title {
	font-size: 0.92rem;
	font-weight: 700;
	color: #1a2b4b;
	line-height: 1.25;
}

.aivah-cc-source-option__desc {
	font-size: 0.78rem;
	font-weight: 500;
	color: #6b7280;
	line-height: 1.35;
}

.aivah-cc-view-register .aivah-cc-source-option:has(input:checked),
.aivah-cc-view-register .aivah-cc-source-option.is-selected {
	border-color: #2f7ec8;
	background: #f3f8fd;
	color: #1a2b4b;
	box-shadow: 0 0 0 1px rgba(47, 126, 200, 0.2);
}

.aivah-cc-input-wrap {
	position: relative;
}

.aivah-cc-auth-light .aivah-cc-input {
	background: #fff;
	border: 1px solid #d5dee9;
	border-radius: 10px;
	padding: 0.85rem 2.6rem 0.85rem 0.95rem;
	font-size: 0.95rem;
}

.aivah-cc-auth-light .aivah-cc-input:focus {
	border-color: #2f7ec8;
	box-shadow: 0 0 0 3px rgba(47, 126, 200, 0.16);
}

.aivah-cc-input-icon {
	position: absolute;
	top: 50%;
	right: 0.85rem;
	transform: translateY(-50%);
	display: inline-flex;
	color: #9aa6b8;
	pointer-events: none;
}

.aivah-cc-input-toggle {
	position: absolute;
	top: 50%;
	right: 0.65rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #9aa6b8;
	cursor: pointer;
}

.aivah-cc-input-toggle:hover,
.aivah-cc-input-toggle:focus {
	color: #2f7ec8;
	background: rgba(47, 126, 200, 0.08);
	outline: none;
}

.aivah-cc-input-wrap--password .aivah-cc-input {
	padding-right: 2.85rem;
}

.aivah-cc-info__text {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.55;
	color: #5b6577;
}

.aivah-cc-auth-light .aivah-cc-row {
	margin: 0.35rem 0 0.25rem;
	font-size: 0.88rem;
}

.aivah-cc-auth-light .aivah-cc-check {
	color: #1a2b4b;
	font-weight: 500;
}

.aivah-cc-auth-light .aivah-cc-form .aivah-cc-label:first-of-type {
	margin-top: 0;
}

.aivah-cc-divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.35rem 0 1.15rem;
	color: #9aa6b8;
	font-size: 0.82rem;
	text-transform: lowercase;
}

.aivah-cc-divider::before,
.aivah-cc-divider::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #e6edf5;
}

.aivah-cc-divider span {
	flex-shrink: 0;
}

.aivah-cc-info {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 1.1rem 0 1.25rem;
	padding: 0.95rem 1rem;
	border-radius: 12px;
	background: #eef6fc;
	border: 1px solid #d7e8f7;
}

.aivah-cc-info__icon {
	flex-shrink: 0;
	margin-top: 1px;
	line-height: 0;
}

.aivah-cc-info__title {
	display: block;
	margin: 0 0 0.35rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #1a2b4b;
}

.aivah-cc-info__list {
	margin: 0;
	padding-left: 1.1rem;
	color: #5b6577;
	font-size: 0.84rem;
	line-height: 1.5;
}

.aivah-cc-info__list li + li {
	margin-top: 0.25rem;
}

.aivah-cc-auth-light .aivah-cc-info .aivah-cc-link,
.aivah-cc-auth-light .aivah-cc-switch .aivah-cc-link,
.aivah-cc-auth-light a.aivah-cc-link {
	color: #2f7ec8;
}

.aivah-cc-auth-light .aivah-cc-btn--success {
	margin-top: 0.35rem;
}

.aivah-cc-auth-light .aivah-cc-switch {
	margin-top: 1.25rem;
	font-size: 0.92rem;
}

.aivah-cc-auth-light .aivah-cc-copy {
	color: #8a94a6;
	font-size: 0.8rem;
	margin-top: 1.5rem;
}

.aivah-cc-view-register .aivah-captcha {
	margin: 0.85rem 0 1rem;
	font-size: 0.9rem;
	color: #1a2b4b;
}

.aivah-cc-view-register .aivah-captcha-input {
	width: 100%;
	max-width: 120px;
	margin-top: 0.35rem;
	box-sizing: border-box;
	border: 1px solid #d5dee9;
	border-radius: 8px;
	padding: 0.55rem 0.7rem;
	font: inherit;
}

@media (max-width: 640px) {
	.aivah-cc-view-register .aivah-cc-source {
		grid-template-columns: 1fr;
	}

	.aivah-cc-auth-light .aivah-cc-auth-card {
		padding: 1.4rem 1.15rem 1.25rem;
	}

	.aivah-cc-brand {
		align-items: center;
		text-align: center;
	}

	.aivah-cc-page-head {
		text-align: center;
	}

	.aivah-cc-page-head__sub {
		margin-left: auto;
		margin-right: auto;
	}
}

/* App — top bar, not left sidebar */
.aivah-cc-app-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(circle at 100% 0%, rgba(164, 214, 78, 0.12), transparent 32%),
		var(--aivah-soft);
}

.aivah-cc-topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: #0f0f0f;
	border-bottom: 1px solid rgba(164, 214, 78, 0.18);
}

.aivah-cc-topbar-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0.75rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.aivah-cc-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	flex: 1;
	overflow-x: auto;
}

.aivah-cc-nav-item {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none !important;
	padding: 0.45rem 0.8rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	white-space: nowrap;
}

.aivah-cc-nav-item:hover {
	background: rgba(164, 214, 78, 0.14);
	color: #fff !important;
}

.aivah-cc-nav-item.is-active {
	background: var(--aivah-grad);
	color: #fff !important;
	box-shadow: 0 6px 14px rgba(71, 175, 75, 0.25);
}

.aivah-cc-topbar-user {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-left: auto;
}

.aivah-cc-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--aivah-grad);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 0.9rem;
}

.aivah-cc-user-meta {
	display: flex;
	flex-direction: column;
	gap: 0.05rem;
	min-width: 0;
}

.aivah-cc-user-meta strong {
	font-size: 0.84rem;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 140px;
}

.aivah-cc-user-meta a {
	color: rgba(255, 255, 255, 0.55) !important;
	font-size: 0.76rem;
	text-decoration: none;
	font-weight: 600;
}

.aivah-cc-main {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 1.75rem 1.25rem 3rem;
	box-sizing: border-box;
}

.aivah-cc-page-head {
	margin-bottom: 1.25rem;
}

.aivah-cc-page-head h1 {
	margin: 0 0 0.3rem;
	font-size: clamp(1.6rem, 3vw, 2rem);
	letter-spacing: -0.03em;
}

.aivah-cc-page-head p {
	margin: 0;
	color: var(--aivah-muted);
}

.aivah-cc-page-head--row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
}

.aivah-cc-card {
	background: var(--aivah-card);
	border: 1px solid var(--aivah-line);
	border-radius: var(--aivah-radius);
	box-shadow: 0 10px 30px rgba(20, 30, 15, 0.04);
	padding: 1.15rem 1.2rem;
}

.aivah-cc-card--form {
	max-width: 640px;
}

.aivah-cc-table-wrap {
	overflow-x: auto;
}

.aivah-cc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}

.aivah-cc-table th {
	text-align: left;
	color: var(--aivah-muted);
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 0.55rem 0.65rem;
	border-bottom: 1px solid var(--aivah-line);
}

.aivah-cc-table td {
	padding: 0.9rem 0.65rem;
	border-bottom: 1px solid var(--aivah-line);
	vertical-align: top;
}

.aivah-cc-code {
	font-size: 0.82rem;
	background: var(--aivah-soft);
	padding: 0.15rem 0.45rem;
	border-radius: 6px;
	color: var(--aivah-charcoal);
}

.aivah-cc-muted {
	color: var(--aivah-muted);
	font-size: 0.85rem;
}

.aivah-cc-date-expired {
	color: var(--aivah-danger);
	font-weight: 700;
}

.aivah-cc-row-alert td {
	border-bottom: 1px solid var(--aivah-line);
	padding-top: 0;
}

.aivah-cc-inline-alert {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	background: #fff7ed;
	color: #9a3412;
	border: 1px solid #fed7aa;
	border-radius: 10px;
	padding: 0.75rem 0.9rem;
	margin-bottom: 0.35rem;
	font-size: 0.88rem;
}

.aivah-cc-empty {
	text-align: center;
	padding: 2.25rem 1rem;
	color: var(--aivah-muted);
}

.aivah-cc-footnote {
	margin: 1rem 0;
	color: var(--aivah-muted);
	font-size: 0.9rem;
}

.aivah-cc-pill {
	display: inline-block;
	padding: 0.22rem 0.6rem;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	background: rgba(164, 214, 78, 0.22);
	color: var(--aivah-green-deep);
}

.aivah-cc-pill--resolved,
.aivah-cc-pill--closed {
	background: #ecfdf3;
	color: var(--aivah-ok);
}

.aivah-cc-pill--pending_staff,
.aivah-cc-pill--pending_customer {
	background: #fffbeb;
	color: var(--aivah-warn);
}

.aivah-cc-thread-msg {
	margin-bottom: 0.85rem;
}

.aivah-cc-thread-msg.is-staff {
	border-left: 3px solid var(--aivah-green);
}

.aivah-cc-thread-meta {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.aivah-cc-badge {
	font-size: 0.7rem;
	background: var(--aivah-grad);
	color: #fff;
	padding: 0.12rem 0.45rem;
	border-radius: 999px;
	font-weight: 700;
}

.aivah-cc-dl {
	display: grid;
	gap: 1rem;
	margin: 0 0 1.25rem;
}

.aivah-cc-dl dt {
	font-size: 0.78rem;
	color: var(--aivah-muted);
	margin: 0 0 0.15rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-weight: 700;
}

.aivah-cc-dl dd {
	margin: 0;
	font-weight: 650;
}

.aivah-cc-simple-list {
	margin: 0;
	padding-left: 1.1rem;
}

.aivah-cc-simple-list li {
	margin: 0.35rem 0;
}

.aivah-cc-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
}

.aivah-cc-back {
	margin-bottom: 0.5rem !important;
}

@media (max-width: 860px) {
	.aivah-cc-topbar-inner {
		flex-wrap: wrap;
	}

	.aivah-cc-nav {
		order: 3;
		width: 100%;
		padding-bottom: 0.25rem;
	}

	.aivah-cc-page-head--row {
		flex-direction: column;
		align-items: flex-start;
	}

	.aivah-cc-inline-alert {
		flex-direction: column;
		align-items: flex-start;
	}

	.aivah-cc-user-meta strong {
		max-width: 100px;
	}
}

/* Customer Center dashboard inside theme + profile sidebar */
.aivah-cc-dashboard .aivah-cc-dashboard-view {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.aivah-cc-dashboard-footnote {
	margin: 0;
	font-size: 0.92rem;
	color: #6b7280;
}

.aivah-cc-dashboard-alert.is-success {
	border-color: #b8e06a;
	background: #f3fbe8;
}

.aivah-cc-dashboard-alert.is-error {
	border-color: #f5b5b5;
	background: #fff5f5;
}

.aivah-cc-form--embedded {
	max-width: 640px;
}

.aivah-cc-form--embedded .aivah-cc-label {
	display: block;
	margin: 1rem 0 0.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: #374151;
}

.aivah-cc-form--embedded .aivah-cc-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid #d8dee8;
	border-radius: 10px;
	font-size: 0.95rem;
	background: #fff;
	color: #1a2b4b;
}

.aivah-cc-form--embedded .aivah-cc-input:focus {
	outline: none;
	border-color: #2f7ec8;
	box-shadow: 0 0 0 3px rgba(47, 126, 200, 0.15);
}

.aivah-cc-source--embedded {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin-bottom: 0.25rem;
}

.aivah-cc-source--embedded .aivah-cc-source-option {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.85rem 0.9rem;
	border: 1px solid #d8dee8;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
}

.aivah-cc-source--embedded .aivah-cc-source-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.aivah-cc-source--embedded .aivah-cc-source-option:has(input:checked),
.aivah-cc-source--embedded .aivah-cc-source-option.is-selected {
	border-color: #2f7ec8;
	background: #f3f8fd;
}

.aivah-cc-source--embedded .aivah-cc-source-option:has(input:checked) .aivah-cc-source-option__mark,
.aivah-cc-source--embedded .aivah-cc-source-option.is-selected .aivah-cc-source-option__mark {
	border-color: #2f7ec8;
	box-shadow: inset 0 0 0 4px #2f7ec8;
}

.aivah-cc-source-option__mark {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 2px solid #c5ced8;
	border-radius: 50%;
	margin-top: 0.1rem;
}

.aivah-cc-form-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-top: 1.15rem;
}

.aivah-cc-btn--profile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.15rem;
	border: none;
	border-radius: 10px;
	background: linear-gradient(135deg, #a4d64e 0%, #7cb342 100%);
	color: #1a2b4b;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	cursor: pointer;
}

.aivah-cc-btn--profile:hover {
	filter: brightness(1.03);
	color: #1a2b4b;
}

.aivah-cc-btn--profile-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1rem;
	border: 1px solid #d8dee8;
	border-radius: 10px;
	background: #fff;
	color: #1a2b4b;
	font-weight: 650;
	font-size: 0.9rem;
	text-decoration: none;
}

.aivah-cc-btn--profile-outline:hover {
	border-color: #2f7ec8;
	color: #2f7ec8;
}

.aivah-cc-dl--profile dt {
	color: #6b7280;
}

.aivah-cc-dl--profile dd {
	color: #1a2b4b;
}

@media (max-width: 720px) {
	.aivah-cc-source--embedded {
		grid-template-columns: 1fr;
	}
}

/* Theme-embedded dashboard buttons (override Hello / Elementor link colors) */
.aivah-cc-theme-shell button.aivah-cc-btn,
.aivah-cc-theme-shell .aivah-cc-btn {
	border-radius: 10px;
	font-family: inherit;
}

.aivah-cc-theme-shell button.aivah-cc-btn--success,
.aivah-cc-theme-shell .aivah-cc-btn--success {
	background: #47af4b !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 0.72rem 1.2rem !important;
	font-weight: 700 !important;
	font-size: 0.95rem !important;
	box-shadow: 0 10px 22px rgba(71, 175, 75, 0.22) !important;
}

.aivah-cc-theme-shell button.aivah-cc-btn--success:hover,
.aivah-cc-theme-shell .aivah-cc-btn--success:hover {
	filter: brightness(1.04);
	color: #fff !important;
	transform: translateY(-1px);
}

.aivah-cc-theme-shell .aivah-cc-btn--profile-outline {
	color: #1a2b4b !important;
}

.aivah-cc-theme-shell .aivah-cc-btn--profile-outline:hover {
	color: #2f7ec8 !important;
}
