/**
 * Alpha Psycho Metrics - AI Frontend Styling
 *
 * Ultra-Premium Dark Velvet Glassmorphism, Iridescent Glowing Accents,
 * Modern Micro-Animations, and High-Converting Visual Hierarchy.
 */

/* ==========================================================================
   Root Variables & Base Reset
   ========================================================================== */
:root {
	--alpha-ai-bg-dark: #0b0f19;
	--alpha-ai-bg-surface: rgba(18, 25, 42, 0.88);
	--alpha-ai-bg-glass: rgba(255, 255, 255, 0.04);
	--alpha-ai-border-glass: rgba(255, 255, 255, 0.12);
	--alpha-ai-border-hover: rgba(255, 255, 255, 0.22);
	--alpha-ai-gold: #fbbf24;
	--alpha-ai-gold-deep: #d97706;
	--alpha-ai-emerald: #10b981;
	--alpha-ai-emerald-glow: rgba(16, 185, 129, 0.35);
	--alpha-ai-violet: #8b5cf6;
	--alpha-ai-rose: #f43f5e;
	--alpha-ai-text-primary: #f8fafc;
	--alpha-ai-text-secondary: #94a3b8;
	--alpha-ai-text-muted: #64748b;
}

/* ==========================================================================
   AI Insight Card (Test Results Container)
   ========================================================================== */
.alpha-ai-card {
	position: relative;
	margin-top: 28px;
	margin-bottom: 28px;
	background: radial-gradient(130% 130% at 50% 0%, rgba(28, 38, 65, 0.72) 0%, rgba(11, 15, 25, 0.96) 80%);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 22px;
	padding: 26px;
	color: var(--alpha-ai-text-primary);
	box-shadow: 
		0 20px 45px -10px rgba(0, 0, 0, 0.65),
		0 0 35px rgba(245, 158, 11, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
	direction: rtl;
	font-family: inherit;
}

.alpha-ai-card:hover {
	border-color: rgba(255, 255, 255, 0.2);
	box-shadow: 
		0 24px 50px -10px rgba(0, 0, 0, 0.75),
		0 0 45px rgba(245, 158, 11, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.alpha-ai-card--targeted {
	animation: alphaAiCardFocusPulse 1.4s ease-out;
}

@keyframes alphaAiCardFocusPulse {
	0% {
		border-color: rgba(245, 158, 11, 0.85);
		box-shadow: 0 0 45px rgba(245, 158, 11, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
		transform: scale(1.01);
	}
	100% {
		border-color: rgba(255, 255, 255, 0.12);
		box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), 0 0 35px rgba(245, 158, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.18);
		transform: scale(1);
	}
}

.alpha-ai-card-ambient {
	position: absolute;
	top: -60%;
	right: -30%;
	width: 160%;
	height: 160%;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(139, 92, 246, 0.05) 45%, transparent 70%);
	pointer-events: none;
	animation: alphaAiAmbientPulse 8s ease-in-out infinite alternate;
	z-index: 0;
}

@keyframes alphaAiAmbientPulse {
	0% { transform: scale(0.92) rotate(0deg); opacity: 0.6; }
	100% { transform: scale(1.08) rotate(5deg); opacity: 0.95; }
}

/* Card Header */
.alpha-ai-header {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex-wrap: wrap;
	gap: 12px;
}

.alpha-ai-title-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
}

.alpha-ai-icon-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
	border-radius: 12px;
	font-size: 20px;
	box-shadow: 0 0 18px rgba(245, 158, 11, 0.45);
	color: #fff;
	flex-shrink: 0;
}

.alpha-ai-card-title {
	margin: 0;
	font-size: 18px;
	font-weight: 800;
	color: #f8fafc;
	letter-spacing: -0.015em;
	line-height: 1.4;
}

.alpha-ai-card-subtitle {
	margin: 3px 0 0 0;
	font-size: 12.5px;
	color: var(--alpha-ai-text-secondary);
	font-weight: 400;
}

.alpha-ai-badge-vip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.12));
	border: 1px solid rgba(245, 158, 11, 0.55);
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	color: #fbbf24;
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

/* ==========================================================================
   Item 4: On-Demand Launch Box (Replaces Auto-Loading)
   ========================================================================== */
.alpha-ai-launch-box {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 34px 20px;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
	border: 1px dashed rgba(255, 255, 255, 0.14);
	border-radius: 16px;
	margin: 10px 0;
	transition: all 0.25s ease;
}

.alpha-ai-launch-box:hover {
	border-color: rgba(245, 158, 11, 0.4);
	background: linear-gradient(145deg, rgba(245, 158, 11, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.alpha-ai-launch-icon {
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(139, 92, 246, 0.2));
	border: 1px solid rgba(245, 158, 11, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fbbf24;
	margin-bottom: 16px;
	box-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
	animation: alphaAiFloat 3s ease-in-out infinite;
}

@keyframes alphaAiFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-4px); }
}

.alpha-ai-launch-text h4 {
	margin: 0 0 8px 0;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
}

.alpha-ai-launch-text p {
	margin: 0 0 20px 0;
	font-size: 13.5px;
	color: var(--alpha-ai-text-secondary);
	max-width: 460px;
	line-height: 1.7;
}

.alpha-ai-launch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 30px;
	background: linear-gradient(135deg, #10b981 0%, #059669 45%, #d97706 100%);
	background-size: 200% 200%;
	color: #ffffff !important;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-size: 14.5px;
	font-weight: 700;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.alpha-ai-launch-btn * {
	font-family: inherit !important;
}

.alpha-ai-launch-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
	transform: skewX(-20deg);
	animation: alphaAiShimmer 3.2s infinite;
}

@keyframes alphaAiShimmer {
	0% { left: -100%; }
	40%, 100% { left: 200%; }
}

.alpha-ai-launch-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 35px rgba(16, 185, 129, 0.65);
	background-position: 100% 50%;
}

/* ==========================================================================
   Report Body Content Formatting
   ========================================================================== */
.alpha-ai-body {
	position: relative;
	z-index: 1;
	font-size: 14px;
	line-height: 1.85;
	color: #e2e8f0;
}

.alpha-ai-content-fade {
	animation: alphaAiFadeIn 0.4s ease-out both;
}

@keyframes alphaAiFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.alpha-ai-body .alpha-ai-head {
	font-size: 16.5px;
	font-weight: 800;
	color: #fbbf24;
	margin-top: 22px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
	border-bottom: 1px solid rgba(251, 191, 36, 0.2);
	padding-bottom: 6px;
}

.alpha-ai-body .alpha-ai-subhead {
	font-size: 15px;
	font-weight: 700;
	color: #38bdf8;
	margin-top: 16px;
	margin-bottom: 8px;
}

.alpha-ai-body .alpha-ai-p {
	margin-bottom: 14px;
	color: #cbd5e1;
}

.alpha-ai-body .alpha-ai-list,
.alpha-ai-body .alpha-ai-num-list {
	padding-right: 22px;
	margin-bottom: 18px;
}

.alpha-ai-body .alpha-ai-bullet,
.alpha-ai-body .alpha-ai-num-item {
	margin-bottom: 10px;
	position: relative;
}

.alpha-ai-body strong {
	color: #ffffff;
	font-weight: 700;
}

/* ==========================================================================
   Locked Preview & VIP Conversion
   ========================================================================== */
.alpha-ai-locked-wrapper {
	position: relative;
	margin-top: 10px;
}

.alpha-ai-locked-blur {
	filter: blur(6px);
	opacity: 0.35;
	user-select: none;
	pointer-events: none;
	max-height: 140px;
	overflow: hidden;
}

.alpha-ai-locked-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.7) 0%, rgba(11, 15, 25, 0.96) 80%);
	border-radius: 16px;
	border: 1px solid rgba(245, 158, 11, 0.3);
	z-index: 5;
}

.alpha-ai-lock-icon {
	width: 48px;
	height: 48px;
	background: rgba(245, 158, 11, 0.15);
	border: 1px solid rgba(245, 158, 11, 0.45);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
}

.alpha-ai-locked-title {
	font-size: 16px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 6px;
}

.alpha-ai-locked-desc {
	font-size: 13px;
	color: #cbd5e1;
	max-width: 420px;
	margin-bottom: 16px;
	line-height: 1.65;
}

.alpha-ai-upgrade-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #0f172a !important;
	font-size: 14px;
	font-weight: 800;
	border-radius: 999px;
	text-decoration: none !important;
	box-shadow: 0 0 25px rgba(245, 158, 11, 0.45);
	transition: all 0.25s ease;
	cursor: pointer;
	border: none;
}

.alpha-ai-upgrade-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 35px rgba(245, 158, 11, 0.7);
	color: #000000 !important;
}

/* ==========================================================================
   Loading & Error State
   ========================================================================== */
.alpha-ai-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 36px 15px;
	text-align: center;
	color: #94a3b8;
	font-size: 13.5px;
	gap: 14px;
}

.alpha-ai-spinner {
	width: 36px;
	height: 36px;
	border: 3px solid rgba(245, 158, 11, 0.2);
	border-top-color: #f59e0b;
	border-radius: 50%;
	animation: alphaAiSpin 0.85s linear infinite;
}

@keyframes alphaAiSpin {
	to { transform: rotate(360deg); }
}

.alpha-ai-error-box {
	background: radial-gradient(130% 130% at 50% 0%, rgba(239, 68, 68, 0.14) 0%, rgba(15, 23, 42, 0.95) 100%);
	border: 1px solid rgba(239, 68, 68, 0.35);
	border-radius: 14px;
	padding: 16px 20px;
	color: #fca5a5;
	font-size: 13.5px;
	text-align: center;
	margin: 14px 0;
	box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	animation: alphaAiFadeIn 0.3s ease-out;
}

.alpha-ai-error-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.alpha-ai-error-msg {
	margin: 0;
	line-height: 1.6;
	color: #fecaca;
	font-weight: 500;
	font-family: var(--alpha-pm-font-regular, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

.alpha-ai-retry-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(239, 68, 68, 0.85) 0%, rgba(220, 38, 38, 0.95) 100%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff !important;
	font-size: 13px;
	font-weight: 700;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	text-decoration: none;
	line-height: 1.4;
	letter-spacing: normal;
}

.alpha-ai-retry-btn:hover {
	transform: translateY(-2px) scale(1.02);
	background: linear-gradient(135deg, rgba(248, 113, 113, 0.95) 0%, rgba(239, 68, 68, 1) 100%);
	box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.alpha-ai-retry-btn:active {
	transform: translateY(0) scale(0.98);
}

.alpha-ai-retry-btn:hover .alpha-ai-svg-retry {
	transform: rotate(-180deg);
}

.alpha-ai-svg-retry {
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Shimmer and Pending Animation for Async Mood AI */
.alpha-mood-grid__rec--ai-pending {
	position: relative;
	overflow: hidden;
	background: linear-gradient(145deg, rgba(16, 30, 48, 0.85), rgba(8, 18, 32, 0.95)) !important;
	border: 1px solid rgba(245, 158, 11, 0.35) !important;
	box-shadow: 0 0 20px rgba(245, 158, 11, 0.15) !important;
}

.alpha-mood-grid__rec--ai-pending::after {
	content: '';
	position: absolute;
	top: 0; right: -100%; bottom: 0; left: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(245, 158, 11, 0.12) 50%, transparent 100%);
	animation: alphaAiShimmerWave 2s infinite;
	pointer-events: none;
}

@keyframes alphaAiShimmerWave {
	0% { transform: translateX(100%); }
	100% { transform: translateX(-100%); }
}

.alpha-mood-grid__ai-shimmer {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 6px 6px;
}

.alpha-mood-grid__ai-pulse-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #f59e0b;
	box-shadow: 0 0 10px #f59e0b;
	animation: alphaAiPulse 1.4s ease-in-out infinite;
	flex-shrink: 0;
}

@keyframes alphaAiPulse {
	0%, 100% { opacity: 0.4; transform: scale(0.85); }
	50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 16px #f59e0b; }
}

.alpha-mood-grid__ai-status-text {
	margin: 0;
	color: #fef3c7;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.6;
}

.alpha-mood-ai-error-wrap {
	margin: 0;
	padding: 12px;
	background: transparent;
	border: none;
	box-shadow: none;
}


/* ==========================================================================
   Item 3 & 2: Unified CBT & Behavioral Activation Container
   (Overhauling the dry blue box with Luxury Obsidian Glassmorphism)
   ========================================================================== */
.alpha-ai-cbt-unified-slot {
	margin-top: 18px;
	margin-bottom: 18px;
}

.alpha-ai-cbt-container {
	position: relative;
	background: radial-gradient(120% 120% at 50% 0%, rgba(30, 41, 69, 0.75) 0%, rgba(13, 18, 32, 0.95) 100%);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	padding: 20px;
	color: #f8fafc;
	box-shadow: 
		0 12px 30px -5px rgba(0, 0, 0, 0.5),
		0 0 20px rgba(139, 92, 246, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.12);
	transition: border-color 0.25s ease;
}

.alpha-ai-cbt-container:hover {
	border-color: rgba(255, 255, 255, 0.18);
}

.alpha-ai-cbt-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
	flex-wrap: wrap;
	gap: 8px;
}

.alpha-ai-cbt-badge-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 700;
	color: #f8fafc;
}

.alpha-ai-icon-mini {
	color: #fbbf24;
}

.alpha-ai-cbt-intro-desc {
	margin: 0 0 16px 0;
	font-size: 13px;
	color: var(--alpha-ai-text-secondary);
	line-height: 1.65;
}

.alpha-ai-cbt-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(217, 119, 6, 0.3) 100%);
	border: 1px solid rgba(245, 158, 11, 0.5);
	color: #fbbf24;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 20px;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.25s ease;
	font-family: inherit;
	box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.alpha-ai-cbt-trigger-btn:hover {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.3) 0%, rgba(217, 119, 6, 0.45) 100%);
	transform: translateY(-1.5px);
	box-shadow: 0 0 22px rgba(245, 158, 11, 0.4);
	color: #fef08a;
}

/* CBT Result Cards */
.alpha-ai-cbt-result-box {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	animation: alphaAiFadeIn 0.35s ease both;
}

.alpha-ai-cbt-empathy {
	color: #93c5fd;
	font-size: 13px;
	line-height: 1.7;
	margin-bottom: 12px;
	padding: 8px 12px;
	background: rgba(59, 130, 246, 0.08);
	border-radius: 8px;
	border-right: 3px solid #3b82f6;
}

.alpha-ai-distortions-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.alpha-ai-distortion-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(99, 102, 241, 0.14);
	border: 1px solid rgba(129, 140, 248, 0.32);
	color: #c7d2fe;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 8px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.alpha-ai-distortion-badge:hover {
	background: rgba(99, 102, 241, 0.22);
	border-color: rgba(129, 140, 248, 0.5);
	color: #e0e7ff;
}

.alpha-ai-cbt-explanation {
	font-size: 13.5px;
	color: #cbd5e1;
	margin-bottom: 14px;
	line-height: 1.7;
}

/* Pillar 1: Thought Restructuring Card */
.alpha-ai-cbt-section-card {
	padding: 14px 18px;
	border-radius: 14px;
	margin-bottom: 12px;
	transition: all 0.2s ease;
}

.alpha-ai-cbt-thought-card {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(6, 78, 59, 0.22) 100%);
	border: 1px solid rgba(16, 185, 129, 0.35);
	box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.alpha-ai-cbt-thought-card .alpha-ai-cbt-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #34d399;
	font-size: 14px;
	margin-bottom: 8px;
}

/* Pillar 2: Behavioral Activation Card */
.alpha-ai-cbt-behavior-card {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(146, 64, 14, 0.22) 100%);
	border: 1px solid rgba(245, 158, 11, 0.35);
	box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.alpha-ai-cbt-behavior-card .alpha-ai-cbt-card-head {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #fbbf24;
	font-size: 14px;
	margin-bottom: 6px;
}

.alpha-ai-behavior-insight {
	font-size: 12.5px;
	color: #fef3c7;
	opacity: 0.85;
	margin: 0 0 6px 0;
}

.alpha-ai-cbt-card-body {
	margin: 0;
	font-size: 13.8px;
	line-height: 1.75;
	color: #f8fafc;
}

.alpha-ai-empowering-q {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 10px 14px;
	background: rgba(99, 102, 241, 0.1);
	border: 1px dashed rgba(99, 102, 241, 0.35);
	border-radius: 10px;
	color: #c7d2fe;
	font-size: 13px;
	font-style: italic;
	line-height: 1.6;
	margin-top: 12px;
}

/* ==========================================================================
   Item 1: Mood Grid AI Personalized Recommendation Card
   ========================================================================== */
.alpha-ai-rec-card {
	position: relative;
	background: radial-gradient(120% 120% at 50% 0%, rgba(30, 48, 70, 0.8) 0%, rgba(13, 20, 32, 0.95) 100%);
	border: 1px solid rgba(16, 185, 129, 0.35);
	border-radius: 16px;
	padding: 20px;
	margin-bottom: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 0 20px rgba(16, 185, 129, 0.15);
	animation: alphaAiFadeIn 0.3s ease both;
}

.alpha-ai-rec-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 10px;
}

.alpha-ai-rec-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.alpha-ai-sparkle-pill {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	font-weight: 700;
	color: #34d399;
	letter-spacing: 0.02em;
}

.alpha-ai-rec-title {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
}

.alpha-ai-rec-insight {
	font-size: 13.5px;
	line-height: 1.75;
	color: #e2e8f0;
	margin-bottom: 14px;
}

.alpha-ai-rec-actions {
	list-style: none;
	padding: 0;
	margin: 0 0 14px 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.alpha-ai-rec-actions li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 13px;
	color: #f1f5f9;
	background: rgba(255, 255, 255, 0.04);
	padding: 8px 12px;
	border-radius: 8px;
	border-right: 2px solid #10b981;
}

.alpha-ai-step-dot {
	color: #10b981;
	font-size: 12px;
}

.alpha-ai-rec-affirmation {
	background: rgba(245, 158, 11, 0.1);
	border: 1px dashed rgba(245, 158, 11, 0.4);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	color: #fef08a;
	line-height: 1.6;
}

/* ==========================================================================
   Item 1: Non-VIP Upsell Card in Mood Grid
   ========================================================================== */
.alpha-ai-upsell-card {
	position: relative;
	background: radial-gradient(120% 120% at 50% 0%, rgba(45, 34, 18, 0.75) 0%, rgba(15, 17, 28, 0.95) 100%);
	border: 1px solid rgba(245, 158, 11, 0.4);
	border-radius: 18px;
	padding: 24px;
	margin-bottom: 18px;
	overflow: hidden;
	box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.12);
}

.alpha-ai-upsell-glow {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
	pointer-events: none;
	animation: alphaAiAmbientPulse 6s infinite alternate;
}

.alpha-ai-upsell-content {
	position: relative;
	z-index: 1;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.alpha-ai-upsell-badge {
	display: inline-block;
	padding: 4px 12px;
	background: rgba(245, 158, 11, 0.18);
	border: 1px solid rgba(245, 158, 11, 0.5);
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 700;
	color: #fbbf24;
	margin-bottom: 12px;
}

.alpha-ai-upsell-title {
	margin: 0 0 10px 0;
	font-size: 17px;
	font-weight: 800;
	color: #ffffff;
}

.alpha-ai-upsell-desc {
	margin: 0 0 20px 0;
	font-size: 13.5px;
	color: #cbd5e1;
	max-width: 520px;
	line-height: 1.75;
}

.alpha-ai-pulse-btn {
	animation: alphaAiPulseBtn 2.8s ease-in-out infinite;
}

@keyframes alphaAiPulseBtn {
	0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.35); }
	50% { box-shadow: 0 0 35px rgba(245, 158, 11, 0.7); transform: scale(1.02); }
}

/* ==========================================================================
   Item 5: Routine Builder AI Suggestions Module
   ========================================================================== */
.alpha-streak__routine-ai-box {
	margin-top: 22px;
	background: radial-gradient(120% 120% at 50% 0%, rgba(26, 35, 60, 0.7) 0%, rgba(11, 15, 26, 0.92) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 18px;
	padding: 20px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.alpha-streak__routine-ai-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.alpha-streak__routine-ai-title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.alpha-streak__routine-ai-icon {
	font-size: 24px;
	color: #fbbf24;
}

.alpha-streak__routine-ai-title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 800;
	color: #ffffff;
}

.alpha-streak__routine-ai-desc {
	margin: 4px 0 0 0;
	font-size: 12px;
	color: var(--alpha-ai-text-secondary);
}

.alpha-streak__routine-ai-trigger-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.35));
	border: 1px solid rgba(16, 185, 129, 0.5);
	color: #6ee7b7;
	font-size: 12.5px;
	font-weight: 700;
	border-radius: 999px;
	cursor: pointer;
	transition: all 0.25s ease;
	font-family: inherit;
}

.alpha-streak__routine-ai-trigger-btn:hover {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(5, 150, 105, 0.5));
	transform: translateY(-1.5px);
	box-shadow: 0 0 18px rgba(16, 185, 129, 0.35);
}

.alpha-routine-ai-insight {
	font-size: 13px;
	color: #93c5fd;
	margin: 14px 0 12px 0;
	padding: 8px 12px;
	background: rgba(59, 130, 246, 0.08);
	border-radius: 8px;
	line-height: 1.6;
}

.alpha-routine-ai-cards-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
	margin-top: 10px;
}

.alpha-routine-ai-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 14px 16px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	transition: all 0.25s ease;
}

.alpha-routine-ai-card:hover {
	border-color: rgba(16, 185, 129, 0.35);
	background: rgba(255, 255, 255, 0.055);
	transform: translateY(-2px);
}

.alpha-routine-ai-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.alpha-routine-ai-card-title {
	font-size: 14px;
	color: #ffffff;
	font-weight: 700;
}

.alpha-routine-ai-duration {
	font-size: 11px;
	color: #fbbf24;
	background: rgba(245, 158, 11, 0.15);
	padding: 2px 7px;
	border-radius: 6px;
	font-weight: 600;
}

.alpha-routine-ai-card-reason {
	margin: 0 0 14px 0;
	font-size: 12px;
	color: var(--alpha-ai-text-secondary);
	line-height: 1.6;
}

.alpha-routine-ai-add-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 7px 14px;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.4);
	color: #6ee7b7;
	font-size: 12px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
	width: 100%;
}

.alpha-routine-ai-add-btn:hover {
	background: rgba(16, 185, 129, 0.3);
	color: #ffffff;
	border-color: #10b981;
}

.alpha-routine-ai-add-btn.is-added {
	background: rgba(59, 130, 246, 0.2);
	border-color: rgba(59, 130, 246, 0.5);
	color: #93c5fd;
	cursor: default;
}

/* ==========================================================================
   AI SVG Icons & Smooth Animations
   ========================================================================== */
.alpha-ai-svg-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
	transition: all 0.25s ease;
}

/* Sparkle & Neural Glow */
.alpha-ai-svg-sparkle {
	color: #ffffff;
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
	animation: alphaAiSparkleGlow 3s ease-in-out infinite alternate;
}

@keyframes alphaAiSparkleGlow {
	0% {
		transform: scale(0.95) rotate(0deg);
		filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
	}
	50% {
		transform: scale(1.08) rotate(4deg);
		filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95));
	}
	100% {
		transform: scale(0.98) rotate(-3deg);
		filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
	}
}

/* VIP Crown Shimmer & Float */
.alpha-ai-svg-crown {
	color: #fbbf24;
	filter: drop-shadow(0 0 4px rgba(245, 158, 11, 0.6));
	animation: alphaAiCrownFloat 2.8s ease-in-out infinite;
}

.alpha-ai-svg-crown-btn {
	color: inherit;
	vertical-align: -2px;
	margin-left: 4px;
	animation: alphaAiCrownShine 2.5s ease-in-out infinite;
}

@keyframes alphaAiCrownFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-2px) scale(1.05); }
}

@keyframes alphaAiCrownShine {
	0%, 100% { transform: rotate(0deg); }
	25% { transform: rotate(-5deg); }
	75% { transform: rotate(5deg); }
}

/* Security Lock Bounce */
.alpha-ai-svg-lock {
	color: #fbbf24;
	filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.5));
	animation: alphaAiLockBounce 3s ease-in-out infinite;
}

@keyframes alphaAiLockBounce {
	0%, 100% { transform: scale(1); }
	15% { transform: scale(1.08) rotate(-3deg); }
	30% { transform: scale(1.08) rotate(3deg); }
	45% { transform: scale(1); }
}

/* CBT Brain Pulse */
.alpha-ai-svg-brain {
	color: #fbbf24;
	vertical-align: -2px;
	margin-left: 4px;
	animation: alphaAiBrainPulse 2.4s ease-in-out infinite;
}

@keyframes alphaAiBrainPulse {
	0%, 100% {
		transform: scale(1);
		opacity: 0.9;
	}
	50% {
		transform: scale(1.12);
		opacity: 1;
		filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.7));
	}
}

/* Warning Distortion Pulse */
.alpha-ai-svg-warning {
	color: #ef4444;
	animation: alphaAiWarnPulse 2s ease-in-out infinite;
}

@keyframes alphaAiWarnPulse {
	0%, 100% { opacity: 0.8; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 4px rgba(239, 68, 68, 0.6)); }
}

/* Radiant Alternative Thought Lightbulb */
.alpha-ai-svg-bulb {
	color: #34d399;
	animation: alphaAiBulbGlow 2.5s ease-in-out infinite;
}

@keyframes alphaAiBulbGlow {
	0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(52, 211, 153, 0.4)); }
	50% { transform: scale(1.15); filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.85)); }
}

/* Inquiry Question Float */
.alpha-ai-svg-question {
	color: #60a5fa;
	margin-top: 2px;
	animation: alphaAiQuestionFloat 3s ease-in-out infinite;
}

@keyframes alphaAiQuestionFloat {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-2px); }
}

/* Crisis Heartbeat Double-Pulse */
.alpha-ai-svg-heartbeat {
	color: #ef4444;
	animation: alphaAiHeartbeat 1.4s ease-in-out infinite;
	filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
}

@keyframes alphaAiHeartbeat {
	0%, 100% { transform: scale(1); }
	14% { transform: scale(1.22); }
	28% { transform: scale(1); }
	42% { transform: scale(1.16); }
	70% { transform: scale(1); }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
	.alpha-ai-card {
		padding: 18px 16px;
		border-radius: 18px;
	}

	.alpha-ai-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.alpha-ai-launch-box {
		padding: 24px 14px;
	}

	.alpha-ai-launch-btn {
		width: 100%;
		padding: 12px 18px;
		font-size: 13.5px;
	}

	.alpha-routine-ai-cards-wrap {
		grid-template-columns: 1fr;
	}

	.alpha-pm-recs-title-bar {
		flex-direction: column;
		align-items: flex-start;
	}

	.alpha-pm-recs-switcher {
		width: 100%;
		justify-content: space-between;
	}

	.alpha-pm-recs-tab-btn {
		flex: 1;
		justify-content: center;
		padding: 6px 8px;
		font-size: 11.5px;
	}
}

/* AI Test Recommendations Mode Switcher & Cards */
.alpha-pm-recs-header-wrap {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(128, 198, 190, 0.15);
}

.alpha-pm-recs-title-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.alpha-pm-recs-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #e5e7eb;
	display: flex;
	align-items: center;
	gap: 8px;
}

.alpha-pm-recs-title-icon {
	color: #0bd08b;
	display: inline-flex;
	align-items: center;
}

.alpha-pm-recs-switcher {
	display: inline-flex;
	align-items: center;
	background: rgba(10, 32, 30, 0.75);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(128, 198, 190, 0.22);
	border-radius: 12px;
	padding: 4px;
	gap: 4px;
}

.alpha-pm-recs-tab-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: 1px solid transparent;
	color: #94a3b8;
	padding: 6px 13px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	line-height: 1.4;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

.alpha-pm-recs-tab-btn * {
	font-family: inherit !important;
}

.alpha-pm-recs-tab-btn:hover {
	color: #e2e8f0;
	background: rgba(255, 255, 255, 0.05);
}

.alpha-pm-recs-tab-btn.is-active {
	background: linear-gradient(135deg, rgba(11, 208, 139, 0.22), rgba(11, 208, 139, 0.10));
	border-color: rgba(11, 208, 139, 0.5);
	color: #0bd08b;
	box-shadow: 0 2px 10px rgba(11, 208, 139, 0.15);
}

.alpha-pm-recs-display-area {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.alpha-pm-recs-panel {
	animation: alphaFadeUp 0.4s ease both;
}

/* ==========================================================================
   AI Recommendation Box - Complete Theme Harmonization (Anti-White Box)
   ========================================================================== */
.alpha-pm-ai-rec-box {
	position: relative;
	background: radial-gradient(130% 130% at 50% 0%, rgba(14, 38, 35, 0.92) 0%, rgba(5, 18, 16, 0.98) 100%) !important;
	border: 1px solid rgba(11, 208, 139, 0.35) !important;
	border-radius: 18px !important;
	padding: 24px !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
	overflow: hidden;
	color: #e2fdf5 !important;
	font-family: var(--alpha-pm-font-regular, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

.alpha-pm-ai-rec-box::before {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(11, 208, 139, 0.2) 0%, transparent 70%);
	pointer-events: none;
	border-radius: 50%;
}

.alpha-pm-ai-rec-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #0bd08b;
	background: rgba(11, 208, 139, 0.12);
	border: 1px solid rgba(11, 208, 139, 0.3);
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
	letter-spacing: 0.02em;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', inherit) !important;
}

/* Force dark velvet glassmorphism across all recommendation child nodes */
.alpha-pm-ai-rec-text {
	color: #e2fdf5 !important;
	font-size: 14.5px;
	line-height: 2 !important;
	font-family: var(--alpha-pm-font-regular, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

.alpha-pm-ai-rec-text * {
	font-family: inherit;
}

/* Strip any inline white backgrounds and force dark velvet glass */
.alpha-pm-ai-rec-text div,
.alpha-pm-ai-rec-text section,
.alpha-pm-ai-rec-text article,
.alpha-pm-ai-rec-text blockquote {
	background: rgba(255, 255, 255, 0.03) !important;
	background-color: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid rgba(11, 208, 139, 0.2) !important;
	border-radius: 14px !important;
	padding: 16px 18px !important;
	margin: 14px 0 !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
	color: #e2fdf5 !important;
}

/* Aggressively override any inline light backgrounds or dark text */
.alpha-pm-ai-rec-text [style*="background: #fff"],
.alpha-pm-ai-rec-text [style*="background:#fff"],
.alpha-pm-ai-rec-text [style*="background-color: #fff"],
.alpha-pm-ai-rec-text [style*="background-color:#fff"],
.alpha-pm-ai-rec-text [style*="background: white"],
.alpha-pm-ai-rec-text [style*="background-color: white"],
.alpha-pm-ai-rec-text [style*="background: rgb(255"],
.alpha-pm-ai-rec-text [style*="background-color: rgb(255"] {
	background: rgba(255, 255, 255, 0.03) !important;
	background-color: rgba(255, 255, 255, 0.03) !important;
	color: #e2fdf5 !important;
}

.alpha-pm-ai-rec-text h1,
.alpha-pm-ai-rec-text h2,
.alpha-pm-ai-rec-text h3,
.alpha-pm-ai-rec-text h4,
.alpha-pm-ai-rec-text h5,
.alpha-pm-ai-rec-text h6,
.alpha-pm-ai-rec-text strong,
.alpha-pm-ai-rec-text b {
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-weight: 700 !important;
	color: #ffffff !important;
}

.alpha-pm-ai-rec-text h1,
.alpha-pm-ai-rec-text h2,
.alpha-pm-ai-rec-text h3 {
	margin-top: 18px !important;
	margin-bottom: 10px !important;
	line-height: 1.5 !important;
}

.alpha-pm-ai-rec-text h3 {
	font-size: 16px !important;
	color: #a7f3d0 !important;
	border-bottom: 1px dashed rgba(11, 208, 139, 0.25) !important;
	padding-bottom: 8px !important;
}

.alpha-pm-ai-rec-text p {
	color: #cbd5e1 !important;
	font-size: 14px !important;
	line-height: 1.95 !important;
	margin-bottom: 14px !important;
}

.alpha-pm-ai-rec-text ul,
.alpha-pm-ai-rec-text ol {
	padding-right: 22px !important;
	margin: 12px 0 !important;
	color: #cbd5e1 !important;
}

.alpha-pm-ai-rec-text li {
	margin-bottom: 8px !important;
	line-height: 1.85 !important;
}

/* Action Links and Buttons inside Recommendations */
.alpha-pm-ai-rec-text a,
.alpha-pm-ai-rec-text button,
.alpha-pm-ai-rec-text .btn,
.alpha-pm-ai-rec-text .button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
	color: #ffffff !important;
	border: 1px solid rgba(16, 185, 129, 0.5) !important;
	padding: 10px 24px !important;
	border-radius: 999px !important;
	text-decoration: none !important;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	font-weight: 700 !important;
	font-size: 13.5px !important;
	transition: all 0.25s ease !important;
	box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35) !important;
	margin: 8px 0 !important;
	cursor: pointer !important;
}

.alpha-pm-ai-rec-text a:hover,
.alpha-pm-ai-rec-text button:hover,
.alpha-pm-ai-rec-text .btn:hover,
.alpha-pm-ai-rec-text .button:hover {
	background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
	color: #ffffff !important;
	transform: translateY(-2px) !important;
	box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55) !important;
}

/* Loading State for AI Recs */
.alpha-pm-ai-rec-loading {
	display: flex;
	align-items: center;
	gap: 16px;
	background: rgba(7, 25, 24, 0.7);
	border: 1px dashed rgba(11, 208, 139, 0.35);
	border-radius: 12px;
	padding: 22px;
	color: #94a3b8;
}

.alpha-pm-ai-rec-spinner {
	width: 32px;
	height: 32px;
	min-width: 32px;
	border: 3px solid rgba(11, 208, 139, 0.18);
	border-top-color: #0bd08b;
	border-radius: 50%;
	animation: alphaAiSpin 0.9s linear infinite;
}

.alpha-pm-ai-rec-loading-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.alpha-pm-ai-rec-loading-text strong {
	color: #0bd08b;
	font-size: 14px;
}

.alpha-pm-ai-rec-loading-text span {
	font-size: 12.5px;
	color: #94a3b8;
}

.alpha-pm-ai-rec-error {
	background: rgba(239, 68, 68, 0.1);
	border: 1px solid rgba(239, 68, 68, 0.3);
	color: #fca5a5;
	padding: 14px 18px;
	border-radius: 10px;
	font-size: 13px;
	font-family: var(--alpha-pm-font-regular, 'yekanbakh', inherit) !important;
}

/* ==========================================================================
   Item 3: Universal Typography & Button Font Enforcement
   ========================================================================== */
.alpha-ai-card button,
.alpha-ai-card .alpha-ai-btn,
.alpha-ai-launch-btn,
.alpha-ai-launch-btn *,
.alpha-pm-recs-tab-btn,
.alpha-pm-recs-tab-btn *,
.alpha-ai-action-btn,
.alpha-ai-action-btn *,
.alpha-routine-ai-add-btn,
.alpha-routine-ai-add-btn *,
.alpha-ai-retry-btn,
.alpha-ai-retry-btn *,
.alpha-ai-pay-btn,
.alpha-ai-upgrade-btn,
.alpha-ai-guide-banner__action-btn,
.alpha-ai-guide-banner__scroll-btn,
.alpha-mood-periodic-ai__action-btn,
.alpha-mood-periodic-ai__action-btn *,
.alpha-mood-periodic-ai__preset-btn,
.alpha-mood-periodic-ai__preset-btn *,
.alpha-mood-periodic-ai-card button,
.alpha-pm-ai-rec-box button,
.alpha-pm-ai-rec-text a,
.alpha-pm-ai-rec-text button {
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
}

/* ==========================================================================
   Animated Instant-Save AI Guide & Status Banners
   ========================================================================== */
.alpha-ai-guide-banner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	margin: 14px 0 18px 0;
	border-radius: 12px;
	background: radial-gradient(120% 120% at 50% 0%, rgba(16, 185, 129, 0.12) 0%, rgba(15, 23, 42, 0.85) 100%);
	border: 1px solid rgba(16, 185, 129, 0.35);
	box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35), 0 0 16px rgba(16, 185, 129, 0.15);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	animation: alphaAiSlideFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
	overflow: hidden;
	z-index: 2;
}

@keyframes alphaAiSlideFadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.99);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.alpha-ai-guide-banner--locked {
	background: radial-gradient(120% 120% at 50% 0%, rgba(245, 158, 11, 0.15) 0%, rgba(15, 23, 42, 0.88) 100%);
	border-color: rgba(245, 158, 11, 0.4);
	box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.35), 0 0 18px rgba(245, 158, 11, 0.16);
}

.alpha-ai-guide-banner__pulse-glow {
	position: absolute;
	top: -50%;
	right: -20%;
	width: 140%;
	height: 200%;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 65%);
	pointer-events: none;
	animation: alphaAiAmbientPulse 4s infinite alternate ease-in-out;
}

.alpha-ai-guide-banner--locked .alpha-ai-guide-banner__pulse-glow {
	background: radial-gradient(circle, rgba(245, 158, 11, 0.09) 0%, transparent 65%);
}

.alpha-ai-guide-banner__content {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.alpha-ai-guide-banner__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	min-width: 38px;
	border-radius: 10px;
	background: rgba(16, 185, 129, 0.18);
	color: #34d399;
	border: 1px solid rgba(16, 185, 129, 0.3);
	box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
}

.alpha-ai-guide-banner--locked .alpha-ai-guide-banner__icon {
	background: rgba(245, 158, 11, 0.18);
	color: #fbbf24;
	border-color: rgba(245, 158, 11, 0.35);
	box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.alpha-ai-guide-banner__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: right;
}

.alpha-ai-guide-banner__text strong {
	font-size: 13.5px;
	font-weight: 700;
	color: #f8fafc;
	display: flex;
	align-items: center;
	gap: 6px;
}

.alpha-ai-guide-banner__text span {
	font-size: 12px;
	color: #94a3b8;
	line-height: 1.5;
}

.alpha-ai-guide-banner__action-btn,
.alpha-ai-guide-banner__scroll-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.2s ease;
	text-decoration: none !important;
	border: none;
	outline: none;
}

.alpha-ai-guide-banner__scroll-btn {
	background: linear-gradient(135deg, #10b981, #059669);
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.alpha-ai-guide-banner__scroll-btn:hover {
	background: linear-gradient(135deg, #059669, #047857);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.alpha-ai-guide-banner__action-btn {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.alpha-ai-guide-banner__action-btn:hover {
	background: linear-gradient(135deg, #d97706, #b45309);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(245, 158, 11, 0.45);
}

@media (max-width: 640px) {
	.alpha-ai-guide-banner {
		flex-direction: column;
		align-items: stretch;
		text-align: right;
		gap: 10px;
	}
	.alpha-ai-guide-banner__action-btn,
	.alpha-ai-guide-banner__scroll-btn {
		width: 100%;
		padding: 10px 14px;
	}
}

/* ==========================================================================
   AI Badge Chip (Recommendations & Badges)
   ========================================================================== */
.alpha-ai-badge-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-right: 6px;
	padding: 2px 9px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid rgba(16, 185, 129, 0.35);
	color: #6ee7b7;
	vertical-align: middle;
	letter-spacing: -0.01em;
	box-shadow: 0 0 10px rgba(16, 185, 129, 0.12);
}

.alpha-ai-badge-chip svg {
	color: #34d399;
	filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.5));
}

/* Routine AI Sparkle Badge */
.alpha-routine-ai-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 6px;
	color: #34d399;
	vertical-align: middle;
	filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.55));
	animation: alpha-pulse-subtle 3s ease-in-out infinite;
}

@keyframes alpha-pulse-subtle {
	0%, 100% { opacity: 0.85; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.1); }
}

/* ==========================================================================
   Deep Periodic & Weekly AI Mood Analysis Card
   ========================================================================== */
.alpha-mood-periodic-ai-card {
	position: relative;
	background: radial-gradient(circle at 15% 15%, rgba(15, 23, 42, 0.95), rgba(7, 13, 27, 0.98));
	border: 1px solid rgba(56, 189, 248, 0.22);
	border-radius: 16px;
	padding: 20px 22px;
	margin: 24px 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38), 0 0 20px rgba(56, 189, 248, 0.08);
	overflow: hidden;
	font-family: var(--alpha-pm-font-regular, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	box-sizing: border-box;
}

.alpha-mood-periodic-ai-card::before {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 70%);
	pointer-events: none;
}

.alpha-mood-periodic-ai__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.alpha-mood-periodic-ai__title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}

.alpha-mood-periodic-ai__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(56, 189, 248, 0.14);
	border: 1px solid rgba(56, 189, 248, 0.3);
	color: #38bdf8;
	flex-shrink: 0;
}

.alpha-mood-periodic-ai__title {
	margin: 0;
	font-size: 15.5px;
	font-weight: 700;
	color: #f1f5f9;
}

.alpha-mood-periodic-ai__subtitle {
	margin: 3px 0 0;
	font-size: 12px;
	color: #94a3b8;
}

.alpha-mood-periodic-ai__quota-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 700;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	background: rgba(148, 163, 184, 0.12);
	border: 1px solid rgba(148, 163, 184, 0.25);
	color: #cbd5e1;
	line-height: 1.4;
}

.alpha-mood-periodic-ai__quota-badge--unlimited {
	background: rgba(52, 211, 153, 0.12);
	border-color: rgba(52, 211, 153, 0.3);
	color: #6ee7b7;
}

.alpha-mood-periodic-ai__quota-badge--exhausted {
	background: rgba(245, 158, 11, 0.12);
	border-color: rgba(245, 158, 11, 0.3);
	color: #fcd34d;
}

/* Range Toolbar */
.alpha-mood-periodic-ai__toolbar {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.alpha-mood-periodic-ai__range-presets {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.alpha-mood-periodic-ai__preset-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #cbd5e1;
	border-radius: 8px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 700;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1.4;
	letter-spacing: normal;
}

.alpha-mood-periodic-ai__preset-btn:hover {
	background: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.35);
	color: #7dd3fc;
}

.alpha-mood-periodic-ai__preset-btn.is-active {
	background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(56, 189, 248, 0.35));
	border-color: #38bdf8;
	color: #ffffff;
	box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.alpha-mood-periodic-ai__custom-dates {
	display: none;
	align-items: center;
	gap: 6px;
}

.alpha-mood-periodic-ai__date-input {
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 8px;
	padding: 5px 10px;
	color: #f1f5f9;
	font-size: 12px;
}

.alpha-mood-periodic-ai__action-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: auto;
	padding: 9px 20px;
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 700;
	font-family: var(--alpha-pm-font-bold, 'yekanbakh', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif) !important;
	cursor: pointer;
	border: none;
	background: linear-gradient(135deg, #0284c7, #0369a1);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
	transition: all 0.2s ease;
	line-height: 1.4;
	letter-spacing: normal;
}

.alpha-mood-periodic-ai__action-btn:hover:not(:disabled) {
	background: linear-gradient(135deg, #0369a1, #075985);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

.alpha-mood-periodic-ai__action-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

/* Results Section */
.alpha-mood-periodic-ai__results-container {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 18px;
}

.alpha-mood-periodic-ai__summary-box {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 14px 18px;
	margin-bottom: 16px;
}

.alpha-mood-periodic-ai__metrics-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 12px;
}

.alpha-mood-periodic-ai__metric-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #e2e8f0;
}

.alpha-mood-periodic-ai__metric-pill--trend {
	background: rgba(56, 189, 248, 0.15);
	border-color: rgba(56, 189, 248, 0.35);
	color: #7dd3fc;
}

.alpha-mood-periodic-ai__metric-pill--mood {
	background: rgba(16, 185, 129, 0.15);
	border-color: rgba(16, 185, 129, 0.35);
	color: #6ee7b7;
}

.alpha-mood-periodic-ai__metric-pill--energy {
	background: rgba(245, 158, 11, 0.15);
	border-color: rgba(245, 158, 11, 0.35);
	color: #fcd34d;
}

.alpha-mood-periodic-ai__desc-text {
	font-size: 13.5px;
	line-height: 1.75;
	color: #cbd5e1;
	margin: 0;
}

/* Sections Grid */
.alpha-mood-periodic-ai__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 14px;
	margin-bottom: 16px;
}

.alpha-mood-periodic-ai__card-block {
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 12px;
	padding: 14px 16px;
}

.alpha-mood-periodic-ai__block-title {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: #f8fafc;
	margin: 0 0 10px;
}

.alpha-mood-periodic-ai__list {
	margin: 0;
	padding-right: 18px;
	font-size: 12.5px;
	color: #94a3b8;
	line-height: 1.7;
}

.alpha-mood-periodic-ai__list li {
	margin-bottom: 6px;
}

.alpha-mood-periodic-ai__list li:last-child {
	margin-bottom: 0;
}

/* Action Blueprint */
.alpha-mood-periodic-ai__blueprint {
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 78, 59, 0.15));
	border: 1px solid rgba(16, 185, 129, 0.28);
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 14px;
}

.alpha-mood-periodic-ai__blueprint-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #6ee7b7;
	margin: 0 0 12px;
}

.alpha-mood-periodic-ai__blueprint-steps {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.alpha-mood-periodic-ai__step-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px;
	color: #e2e8f0;
	line-height: 1.6;
}

.alpha-mood-periodic-ai__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(16, 185, 129, 0.22);
	color: #6ee7b7;
	font-weight: 700;
	font-size: 11px;
	flex-shrink: 0;
	margin-top: 2px;
}

/* Closing Note */
.alpha-mood-periodic-ai__closing-note {
	background: rgba(99, 102, 241, 0.1);
	border-right: 3px solid #818cf8;
	padding: 10px 14px;
	border-radius: 0 8px 8px 0;
	font-size: 12.5px;
	color: #c7d2fe;
	font-style: italic;
	line-height: 1.6;
}

@media (max-width: 640px) {
	.alpha-mood-periodic-ai__toolbar {
		flex-direction: column;
		align-items: stretch;
	}
	.alpha-mood-periodic-ai__action-btn {
		width: 100%;
		justify-content: center;
	}
}


