/*
 * AttentIQ Account Page
 * Frontend styles for the [attentiq_account] shortcode.
 *
 * Relies entirely on CSS custom properties defined in the AttentIQ theme
 * (--primary, --mint, --hero-bg, --text, --surface, --border, --radius, etc.)
 * so it blends seamlessly with the site design.
 */

/* ── Reset / scope ─────────────────────────────────────────────────────────── */
.aiq-acct-wrap *,
.aiq-acct-wrap *::before,
.aiq-acct-wrap *::after {
	box-sizing: border-box;
}

.aiq-acct-wrap {
	font-family: var(--font-body, 'DM Sans', sans-serif);
	color: var(--text, #1a1731);
	--_radius: var(--radius, 14px);
	--_radius-sm: var(--radius-sm, 8px);
}

/* ════════════════════════════════════════════════════════════════════════════
   LOGIN CARD
═══════════════════════════════════════════════════════════════════════════ */

.aiq-acct-wrap--guest {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 40px 16px 80px;
	min-height: 60vh;
}

.aiq-acct-login-card {
	background: var(--surface, #fff);
	border: 1px solid var(--border, #d6d9e3);
	border-radius: var(--_radius);
	box-shadow: var(--shadow-lg, 0 12px 40px rgba(108,99,255,.16));
	padding: 48px 44px;
	width: 100%;
	max-width: 440px;
}

.aiq-acct-login-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 28px;
}

.aiq-acct-login-brand {
	font-size: 20px;
	font-weight: 700;
	color: var(--text, #1a1731);
	letter-spacing: -0.02em;
}

.aiq-acct-login-title {
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--text, #1a1731);
	margin: 0 0 8px;
	line-height: 1.3;
}

.aiq-acct-login-sub {
	font-size: 15px;
	color: var(--text-3-aa, #6b5a8a);
	margin: 0 0 28px;
}

/* ════════════════════════════════════════════════════════════════════════════
   DASHBOARD SHELL
═══════════════════════════════════════════════════════════════════════════ */

.aiq-acct-wrap--dashboard {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 0 80px;
}

/* ── Account header ──────────────────────────────────────────────────────── */

.aiq-acct-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	background: var(--surface, #fff);
	border: 1px solid var(--border, #d6d9e3);
	border-radius: var(--_radius);
	padding: 24px 28px;
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
}

.aiq-acct-header__user {
	display: flex;
	align-items: center;
	gap: 16px;
}

.aiq-acct-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--primary-soft, #ede9ff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	color: var(--primary, #6c63ff);
	flex-shrink: 0;
}

.aiq-acct-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.aiq-acct-header__name {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 2px;
	letter-spacing: -0.01em;
	color: var(--text, #1a1731);
}

.aiq-acct-header__email {
	font-size: 14px;
	color: var(--text-3-aa, #6b5a8a);
	margin: 0;
}

.aiq-acct-header__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

/* ── Tab Nav ─────────────────────────────────────────────────────────────── */

.aiq-acct-tabs {
	display: flex;
	gap: 4px;
	background: var(--surface, #fff);
	border: 1px solid var(--border, #d6d9e3);
	border-radius: var(--_radius);
	padding: 6px;
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
	overflow-x: auto;
	scrollbar-width: none;
}

.aiq-acct-tabs::-webkit-scrollbar {
	display: none;
}

.aiq-acct-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: var(--_radius-sm);
	border: none;
	background: transparent;
	color: var(--text-3-aa, #6b5a8a);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.18s ease, color 0.18s ease;
	flex-shrink: 0;
}

.aiq-acct-tab:hover {
	background: var(--primary-soft, #ede9ff);
	color: var(--primary, #6c63ff);
}

.aiq-acct-tab.is-active {
	background: var(--primary, #6c63ff);
	color: #fff;
	box-shadow: 0 2px 8px rgba(108,99,255,.28);
}

.aiq-acct-tab svg {
	flex-shrink: 0;
	opacity: 0.8;
}

.aiq-acct-tab.is-active svg {
	opacity: 1;
}

/* ── Panels ──────────────────────────────────────────────────────────────── */

.aiq-acct-panel {
	animation: aiq-fade-in 0.22s ease;
}

@keyframes aiq-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════════════════════════════════════ */

/* ── Section heading ──────────────────────────────────────────────────────  */

.aiq-acct-section-head {
	margin-bottom: 20px;
}

.aiq-acct-section-head h3 {
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 4px;
	color: var(--text, #1a1731);
}

.aiq-acct-section-head p {
	font-size: 15px;
	color: var(--text-3-aa, #6b5a8a);
	margin: 0;
}

/* ── Card ────────────────────────────────────────────────────────────────── */

.aiq-acct-card {
	background: var(--surface, #fff);
	border: 1px solid var(--border, #d6d9e3);
	border-radius: var(--_radius);
	padding: 28px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
	margin-bottom: 20px;
}

.aiq-acct-card--empty {
	padding: 0;
}

/* ── Notice / alert ──────────────────────────────────────────────────────── */

.aiq-acct-notice {
	padding: 12px 16px;
	border-radius: var(--_radius-sm);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
	border-left: 4px solid;
}

.aiq-acct-notice--success {
	background: var(--mint-soft, #e0faf5);
	color: var(--mint-text, #007d68);
	border-color: var(--mint, #00c9a7);
}

.aiq-acct-notice--error {
	background: var(--red-soft, #fef2f2);
	color: var(--red, #ef4444);
	border-color: var(--red, #ef4444);
}

/* ── Badges ──────────────────────────────────────────────────────────────── */

.aiq-acct-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: var(--radius-pill, 50px);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.aiq-acct-badge--pro {
	background: var(--primary-soft, #ede9ff);
	color: var(--primary-text, #4f46e5);
}

.aiq-acct-badge--inactive {
	background: #f0eff5;
	color: #9e97b0;
}

.aiq-acct-badge--inactive .aiq-acct-badge__dot {
	background: #9e97b0;
	box-shadow: none;
	animation: none;
}

.aiq-acct-card.is-expired {
	opacity: 0.55;
	filter: grayscale(0.4);
}

.aiq-acct-badge--cancelling {
	background: #fff7ed;
	color: #b45309;
}

.aiq-acct-badge--cancelling .aiq-acct-badge__dot {
	background: #f59e0b;
	box-shadow: none;
	animation: none;
}

.aiq-acct-badge--free {
	background: var(--border, #d6d9e3);
	color: var(--text-2, #533f72);
}

.aiq-acct-badge__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mint, #00c9a7);
	box-shadow: 0 0 0 2px rgba(0,201,167,.25);
	animation: aiq-pulse 2.4s ease infinite;
}

@keyframes aiq-pulse {
	0%, 100% { box-shadow: 0 0 0 2px rgba(0,201,167,.25); }
	50%       { box-shadow: 0 0 0 5px rgba(0,201,167,.10); }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.aiq-acct-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: var(--radius-pill, 50px);
	border: 2px solid transparent;
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
	white-space: nowrap;
}

.aiq-acct-btn--primary {
	background: var(--primary, #6c63ff);
	color: #fff;
	border-color: var(--primary, #6c63ff);
}

.aiq-acct-btn--primary:hover {
	background: var(--primary-dark, #5a52d5);
	border-color: var(--primary-dark, #5a52d5);
	box-shadow: 0 4px 16px rgba(108,99,255,.30);
}

.aiq-acct-btn--ghost {
	background: transparent;
	color: var(--text-3-aa, #6b5a8a);
	border-color: var(--border, #d6d9e3);
}

.aiq-acct-btn--ghost:hover {
	background: var(--primary-soft, #ede9ff);
	color: var(--primary, #6c63ff);
	border-color: var(--primary-soft, #ede9ff);
}

.aiq-acct-btn--sm {
	padding: 7px 14px;
	font-size: 13px;
}

.aiq-acct-btn--full {
	width: 100%;
}

.aiq-acct-btn__spinner {
	display: none;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: aiq-spin 0.7s linear infinite;
}

@keyframes aiq-spin {
	to { transform: rotate(360deg); }
}

/* ── Form fields ─────────────────────────────────────────────────────────── */

.aiq-acct-label-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.aiq-acct-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-2, #533f72);
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.aiq-acct-label-row .aiq-acct-label {
	margin-bottom: 0;
}

.aiq-acct-input-wrap {
	position: relative;
}

.aiq-acct-input-wrap .aiq-acct-input {
	padding-right: 46px;
}

.aiq-acct-input {
	width: 100%;
	padding: 11px 14px;
	background: var(--bg, #f7f8fc);
	border: 1.5px solid var(--border, #d6d9e3);
	border-radius: var(--_radius-sm);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 15px;
	color: var(--text, #1a1731);
	transition: border-color 0.18s, box-shadow 0.18s;
	outline: none;
}

.aiq-acct-input::placeholder {
	color: var(--text-3, #9582b3);
}

.aiq-acct-input:focus {
	border-color: var(--primary, #6c63ff);
	box-shadow: 0 0 0 3px rgba(108,99,255,.15);
	background: var(--surface, #fff);
}

.aiq-acct-input--readonly {
	opacity: 0.65;
	cursor: not-allowed;
}

.aiq-acct-pw-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 4px;
	cursor: pointer;
	color: var(--text-3, #9582b3);
	transition: color 0.18s;
	display: flex;
	align-items: center;
}

.aiq-acct-pw-toggle:hover {
	color: var(--primary, #6c63ff);
}

.aiq-acct-field {
	margin-bottom: 20px;
}

.aiq-acct-field:last-child {
	margin-bottom: 0;
}

.aiq-acct-hint {
	font-size: 12px;
	color: var(--text-3, #9582b3);
	margin: 6px 0 0;
}

.aiq-acct-link {
	font-size: 13px;
	font-weight: 500;
	color: var(--primary-text, #4f46e5);
	text-decoration: none;
}

.aiq-acct-link:hover {
	text-decoration: underline;
}

.aiq-acct-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.aiq-acct-form-footer {
	padding-top: 8px;
	border-top: 1px solid var(--border-soft, rgba(214,217,227,.4));
	margin-top: 8px;
}

/* ── Password strength ───────────────────────────────────────────────────── */

.aiq-acct-strength {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
}

.aiq-acct-strength__track {
	flex: 1;
	height: 4px;
	background: var(--border, #d6d9e3);
	border-radius: 4px;
	overflow: hidden;
}

.aiq-acct-strength__fill {
	height: 100%;
	border-radius: 4px;
	transition: width 0.35s ease, background 0.35s ease;
	width: 0%;
}

.aiq-acct-strength__label {
	font-size: 12px;
	font-weight: 600;
	min-width: 50px;
	text-align: right;
}

/* ════════════════════════════════════════════════════════════════════════════
   OVERVIEW TAB
═══════════════════════════════════════════════════════════════════════════ */

/* Status card */
.aiq-acct-status-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	border-radius: var(--_radius);
	border: 1.5px solid var(--border, #d6d9e3);
	background: var(--surface, #fff);
	margin-bottom: 20px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
}

.aiq-acct-status-card--pro {
	border-color: var(--primary-mid, #b8b2ff);
	background: linear-gradient(135deg, var(--primary-soft, #ede9ff) 0%, var(--surface, #fff) 100%);
}

.aiq-acct-status-card--free {
	border-color: var(--border, #d6d9e3);
}

.aiq-acct-status-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	background: var(--primary-soft, #ede9ff);
	color: var(--primary, #6c63ff);
}

.aiq-acct-status-card--free .aiq-acct-status-card__icon {
	background: var(--surface-3, #f0effe);
	color: var(--text-3, #9582b3);
}

.aiq-acct-status-card__body {
	flex: 1;
}

.aiq-acct-status-card__plan {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 4px;
}

.aiq-acct-status-card__plan strong {
	font-size: 16px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.aiq-acct-status-card__body p {
	font-size: 14px;
	color: var(--text-3-aa, #6b5a8a);
	margin: 0;
}

/* Stats row */
.aiq-acct-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 20px;
}

.aiq-acct-stat {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: var(--surface, #fff);
	border: 1px solid var(--border, #d6d9e3);
	border-radius: var(--_radius);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
}

.aiq-acct-stat__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.aiq-acct-stat__icon--purple { background: var(--primary-soft, #ede9ff); color: var(--primary, #6c63ff); }
.aiq-acct-stat__icon--mint   { background: var(--mint-soft, #e0faf5);   color: var(--mint-text, #007d68); }
.aiq-acct-stat__icon--amber  { background: var(--amber-soft, #fff8e5);  color: var(--amber-text, #92610a); }

.aiq-acct-stat__label {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-3, #9582b3);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 2px;
}

.aiq-acct-stat__value {
	font-size: 15px;
	font-weight: 700;
	color: var(--text, #1a1731);
}

/* Quick actions */
.aiq-acct-quick {
	background: var(--surface, #fff);
	border: 1px solid var(--border, #d6d9e3);
	border-radius: var(--_radius);
	padding: 20px 24px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
}

.aiq-acct-quick__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-3, #9582b3);
	margin: 0 0 14px;
}

.aiq-acct-quick__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
}

.aiq-acct-quick-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--bg, #f7f8fc);
	border: 1.5px solid var(--border, #d6d9e3);
	border-radius: var(--_radius-sm);
	cursor: pointer;
	text-decoration: none;
	color: var(--text, #1a1731);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 14px;
	font-weight: 500;
	transition: background 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.aiq-acct-quick-item:hover {
	background: var(--primary-soft, #ede9ff);
	border-color: var(--primary-mid, #b8b2ff);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
	color: var(--primary, #6c63ff);
}

.aiq-acct-quick-item__icon {
	width: 32px;
	height: 32px;
	background: var(--surface, #fff);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--primary, #6c63ff);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(108,99,255,.06));
}

.aiq-acct-quick-item__label {
	flex: 1;
}

.aiq-acct-quick-item > svg:last-child {
	color: var(--text-3, #9582b3);
	flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════════════
   LICENSE TAB
═══════════════════════════════════════════════════════════════════════════ */

.aiq-acct-card__top {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 24px;
}

.aiq-acct-card__top-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.aiq-acct-card__top-icon--green {
	background: var(--green-soft, #ebfec3);
	color: #5a7a00;
}

.aiq-acct-card__top-icon--grey {
	background: #f0eff5;
	color: #9e97b0;
}

.aiq-acct-card__top-icon--amber {
	background: #fff7ed;
	color: #b45309;
}

.aiq-acct-card__top-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.aiq-acct-card__top-body strong {
	font-size: 15px;
	font-weight: 700;
}

.aiq-acct-card__top-body span {
	font-size: 13px;
	color: var(--text-3-aa, #6b5a8a);
}

.aiq-acct-license-key-block {
	margin-bottom: 20px;
}

.aiq-acct-license-key-row {
	display: flex;
	align-items: stretch;
	gap: 0;
	border: 1.5px solid var(--border, #d6d9e3);
	border-radius: var(--_radius-sm);
	overflow: hidden;
	margin-top: 8px;
}

.aiq-acct-license-key {
	flex: 1;
	font-family: var(--font-mono, 'DM Mono', monospace);
	font-size: 14px;
	color: var(--primary-text, #4f46e5);
	padding: 12px 16px;
	background: var(--primary-soft, #ede9ff);
	border: none;
	word-break: break-all;
	display: flex;
	align-items: center;
	user-select: all;
}

.aiq-acct-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	background: var(--surface, #fff);
	border: none;
	border-left: 1.5px solid var(--border, #d6d9e3);
	color: var(--text-2, #533f72);
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.18s, color 0.18s;
	white-space: nowrap;
}

.aiq-acct-copy-btn:hover {
	background: var(--primary-soft, #ede9ff);
	color: var(--primary, #6c63ff);
}

.aiq-acct-copy-btn.is-copied {
	color: var(--mint-text, #007d68);
	background: var(--mint-soft, #e0faf5);
}

.aiq-acct-meta {
	font-size: 13px;
	color: var(--text-3-aa, #6b5a8a);
	margin: 8px 0 0;
}

.aiq-acct-divider {
	border: none;
	border-top: 1px solid var(--border-soft, rgba(214,217,227,.5));
	margin: 20px 0;
}

/* Activation steps */
.aiq-acct-steps h4 {
	font-size: 14px;
	font-weight: 700;
	color: var(--text-2, #533f72);
	margin: 0 0 14px;
}

.aiq-acct-steps-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.aiq-acct-steps-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 14px;
	color: var(--text-2, #533f72);
	line-height: 1.6;
}

.aiq-acct-steps-list__num {
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--primary-soft, #ede9ff);
	color: var(--primary, #6c63ff);
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

/* Empty state */
.aiq-acct-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 56px 32px;
}

.aiq-acct-empty__icon {
	width: 72px;
	height: 72px;
	border-radius: 20px;
	background: var(--surface-3, #f0effe);
	color: var(--text-3, #9582b3);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.aiq-acct-empty__icon svg {
	width: 36px;
	height: 36px;
}

.aiq-acct-empty h4 {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--text, #1a1731);
}

.aiq-acct-empty p {
	font-size: 15px;
	color: var(--text-3-aa, #6b5a8a);
	margin: 0 0 24px;
	max-width: 340px;
}

/* ── License entry form ──────────────────────────────────────────────────── */

.aiq-acct-already-have {
	padding: 24px 28px;
}

.aiq-acct-already-have__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-2, #533f72);
	margin: 0 0 14px;
}

.aiq-acct-license-input-row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}

.aiq-acct-license-input-row .aiq-acct-input {
	flex: 1;
	min-width: 0;
}

.aiq-acct-license-input-row .aiq-acct-btn {
	flex-shrink: 0;
	border-radius: var(--_radius-sm);
}

.aiq-acct-input--mono {
	font-family: var(--font-mono, 'DM Mono', monospace);
	font-size: 13px;
	letter-spacing: 0.03em;
}

/* Download block */
.aiq-acct-download-block {
	display: flex;
	align-items: center;
	gap: 16px;
}

.aiq-acct-download-block__icon {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--gradient-brand, linear-gradient(135deg, #6c63ff, #00c9a7));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.aiq-acct-download-block__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.aiq-acct-download-block__body strong {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-1, #1a1033);
}

.aiq-acct-download-block__body span {
	font-size: 13px;
	color: var(--text-3-aa, #6b5a8a);
}

/* License expiry / next payment dates */
.aiq-acct-license-dates {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--border, #ede8f5);
}

.aiq-acct-license-date-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.aiq-acct-license-date-item .aiq-acct-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-3-aa, #6b5a8a);
}

.aiq-acct-license-date-item strong {
	font-size: 14px;
	color: var(--text-1, #1a1033);
}

.aiq-acct-notice--warning {
	background: #fff8e6;
	border: 1px solid #f59e0b;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 13px;
	color: #7c5a00;
}

.aiq-acct-notice--warning a {
	color: #7c5a00;
	font-weight: 600;
	text-decoration: underline;
}

/* "Update license key" toggle */
.aiq-acct-update-key {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.aiq-acct-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	padding: 0;
	font-family: var(--font-body, 'DM Sans', sans-serif);
	font-size: 13px;
	font-weight: 600;
	color: var(--text-3-aa, #6b5a8a);
	cursor: pointer;
	transition: color 0.18s;
}

.aiq-acct-link-btn:hover {
	color: var(--primary, #6c63ff);
}

.aiq-acct-link-btn--danger {
	color: #b32d2e;
	font-size: 12px;
	font-weight: 500;
}

.aiq-acct-link-btn--danger:hover {
	color: #8a1f20;
}

.aiq-acct-cancel-wrap {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--border, #ede8f5);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 680px) {
	.aiq-acct-login-card {
		padding: 32px 24px;
	}

	.aiq-acct-header {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
	}

	.aiq-acct-header__meta {
		width: 100%;
		justify-content: space-between;
	}

	.aiq-acct-stats {
		grid-template-columns: 1fr;
	}

	.aiq-acct-quick__grid {
		grid-template-columns: 1fr;
	}

	.aiq-acct-form-row {
		grid-template-columns: 1fr;
	}

	.aiq-acct-tab span {
		display: none;
	}

	.aiq-acct-tab {
		padding: 10px 14px;
	}

	.aiq-acct-status-card {
		flex-wrap: wrap;
	}

	.aiq-acct-card {
		padding: 20px;
	}
}

@media (max-width: 420px) {
	.aiq-acct-login-card {
		padding: 28px 18px;
	}
}
