/**
 * Frontend Styles for Teacher Professional Assessment (RTL Mobile-First)
 */

:root {
	--tpa-primary: #2563eb;
	--tpa-primary-hover: #1d4ed8;
	--tpa-success: #10b981;
	--tpa-warning: #f59e0b;
	--tpa-danger: #ef4444;
	--tpa-dark: #0f172a;
	--tpa-gray-50: #f8fafc;
	--tpa-gray-100: #f1f5f9;
	--tpa-gray-200: #e2e8f0;
	--tpa-gray-600: #475569;
	--tpa-radius: 12px;
	--tpa-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
	--tpa-shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
}

.tpa-app-container,
.tpa-result-container,
.tpa-verify-container {
	direction: rtl !important;
	text-align: right !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
	color: var(--tpa-dark) !important;
	max-width: 860px !important;
	width: 100% !important;
	margin: 20px auto !important;
	box-sizing: border-box !important;
}

.tpa-app-container *,
.tpa-result-container *,
.tpa-verify-container * {
	box-sizing: border-box !important;
}

/* 1. HERO & INTRO */
.tpa-hero {
	text-align: center;
	padding: 30px 20px 20px;
}
.tpa-badge-tag {
	display: inline-block;
	background: #eff6ff;
	color: var(--tpa-primary);
	font-size: 13px;
	font-weight: 700;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
}
.tpa-main-title {
	font-size: 28px;
	font-weight: 800;
	margin: 0 0 10px;
	color: var(--tpa-dark);
}
.tpa-subtitle {
	font-size: 16px;
	color: var(--tpa-gray-600);
	margin: 0 0 20px;
}
.tpa-intro-desc {
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
	max-width: 720px;
	margin: 0 auto;
}

.tpa-features-bar {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
	gap: 15px !important;
	margin: 25px 0 !important;
}
.tpa-feat-item {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	background: #ffffff !important;
	border: 1px solid var(--tpa-gray-200) !important;
	padding: 14px 18px !important;
	border-radius: var(--tpa-radius) !important;
	box-shadow: var(--tpa-shadow) !important;
	box-sizing: border-box !important;
}
.tpa-feat-icon {
	font-size: 26px !important;
}
.tpa-feat-item strong {
	display: block !important;
	font-size: 14px !important;
	color: var(--tpa-dark) !important;
}
.tpa-feat-item small {
	color: var(--tpa-gray-600) !important;
	font-size: 12px !important;
}

/* Domains Grid */
.tpa-domains-overview {
	margin: 30px 0 !important;
}
.tpa-section-heading {
	font-size: 18px !important;
	font-weight: 700 !important;
	margin-bottom: 15px !important;
	color: var(--tpa-dark) !important;
}
.tpa-domains-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
	gap: 12px !important;
}
.tpa-domain-card {
	background: #ffffff !important;
	border: 1px solid var(--tpa-gray-200) !important;
	border-right-width: 4px !important;
	border-right-style: solid !important;
	border-radius: var(--tpa-radius) !important;
	padding: 14px 16px !important;
	box-shadow: var(--tpa-shadow) !important;
	box-sizing: border-box !important;
}
.tpa-domain-icon {
	font-size: 24px !important;
	width: 24px !important;
	height: 24px !important;
	margin-bottom: 8px !important;
	display: inline-block !important;
}
.tpa-domain-card h4 {
	font-size: 15px !important;
	margin: 0 0 6px !important;
	font-weight: 700 !important;
	color: var(--tpa-dark) !important;
}
.tpa-domain-card p {
	font-size: 13px !important;
	color: var(--tpa-gray-600) !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

/* Guidelines */
.tpa-guidelines-box {
	background: #f0fdf4 !important;
	border: 1px solid #bbf7d0 !important;
	border-radius: var(--tpa-radius) !important;
	padding: 20px 24px !important;
	margin: 25px 0 !important;
}
.tpa-guidelines-box h4 {
	margin: 0 0 10px !important;
	color: #166534 !important;
	font-size: 15px !important;
}
.tpa-guidelines-box ul {
	margin: 0 !important;
	padding-right: 20px !important;
}
.tpa-guidelines-box li {
	margin-bottom: 8px !important;
	font-size: 14px !important;
	color: #14532d !important;
}

/* 2. BUTTONS & ACTIONS */
.tpa-actions-bar {
	display: flex !important;
	justify-content: center !important;
	gap: 15px !important;
	margin-top: 30px !important;
}
.tpa-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: all 0.2s ease;
	min-height: 48px;
	box-sizing: border-box;
}
.tpa-btn.tpa-hidden,
.tpa-btn[style*="display: none"],
.tpa-btn[style*="display:none"],
.tpa-hidden {
	display: none !important;
}
.tpa-btn-lg {
	padding: 14px 32px !important;
	font-size: 16px !important;
}
.tpa-btn-primary {
	background: var(--tpa-primary) !important;
	color: #ffffff !important;
	border: 1px solid var(--tpa-primary) !important;
}
.tpa-btn-primary:hover {
	background: var(--tpa-primary-hover) !important;
	color: #ffffff !important;
}
.tpa-btn-secondary {
	background: var(--tpa-gray-100);
	color: var(--tpa-dark) !important;
	border: 1px solid var(--tpa-gray-200);
}
.tpa-btn-secondary:hover {
	background: #e2e8f0;
}
.tpa-btn-success {
	background: var(--tpa-success);
	color: #ffffff !important;
}
.tpa-btn-success:hover {
	background: #059669;
}
.tpa-btn-outline {
	background: transparent;
	border: 1px solid var(--tpa-primary);
	color: var(--tpa-primary) !important;
}
.tpa-btn-outline:hover {
	background: var(--tpa-primary);
	color: #ffffff !important;
}
.tpa-btn-sm {
	padding: 6px 14px;
	font-size: 13px;
	min-height: 36px;
}

/* 3. TEACHER FORM */
.tpa-pane-header {
	text-align: center;
	margin-bottom: 25px;
}
.tpa-pane-header h2 {
	font-size: 24px;
	margin: 0 0 8px;
}
.tpa-form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.tpa-col-full {
	grid-column: 1 / -1;
}
@media (max-width: 640px) {
	.tpa-form-grid {
		grid-template-columns: 1fr;
	}
}
.tpa-form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}
.tpa-req {
	color: var(--tpa-danger);
	margin-right: 4px;
}
.tpa-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--tpa-gray-200);
	border-radius: 8px;
	font-size: 14px;
	background: #ffffff;
	min-height: 48px;
}
.tpa-input:focus {
	border-color: var(--tpa-primary);
	outline: none;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.tpa-privacy-box {
	margin: 25px 0 15px;
	padding: 16px;
	background: var(--tpa-gray-50);
	border: 1px solid var(--tpa-gray-200);
	border-radius: 8px;
}
.tpa-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	cursor: pointer;
}
.tpa-checkbox-label input {
	margin-top: 3px;
}
.tpa-error-alert {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 15px;
}

/* 4. QUESTIONS WIZARD */
.tpa-assessment-header {
	background: #ffffff;
	border: 1px solid var(--tpa-gray-200);
	border-radius: var(--tpa-radius);
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: var(--tpa-shadow);
}
.tpa-progress-wrapper {
	margin-bottom: 12px;
}
.tpa-progress-meta {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
}
.tpa-progress-track {
	height: 10px;
	background: var(--tpa-gray-100);
	border-radius: 5px;
	overflow: hidden;
}
.tpa-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #2563eb, #3b82f6);
	transition: width 0.3s ease;
}
.tpa-current-domain-badge {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.tpa-domain-indicator {
	background: #eff6ff;
	color: var(--tpa-primary);
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 6px;
}
.tpa-timer-indicator {
	font-size: 14px;
	font-weight: 700;
	color: #dc2626;
	display: flex;
	align-items: center;
	gap: 4px;
}
.tpa-save-status {
	text-align: left;
	font-size: 12px;
	color: #10b981;
	opacity: 0;
	transition: opacity 0.3s ease;
	margin-bottom: 8px;
}
.tpa-save-status.tpa-visible {
	opacity: 1;
}

.tpa-question-card {
	background: #ffffff;
	border: 1px solid var(--tpa-gray-200);
	border-radius: var(--tpa-radius);
	padding: 24px;
	box-shadow: var(--tpa-shadow);
	margin-bottom: 20px;
}
.tpa-q-title-wrap {
	display: flex;
	gap: 12px;
	margin-bottom: 20px;
}
.tpa-q-number {
	background: #eff6ff;
	color: var(--tpa-primary);
	font-weight: 800;
	font-size: 16px;
	padding: 4px 10px;
	border-radius: 6px;
	height: fit-content;
}
.tpa-q-text {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	line-height: 1.5;
}

.tpa-options-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.tpa-option-card {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: 2px solid var(--tpa-gray-200);
	border-radius: 10px;
	padding: 14px 18px;
	cursor: pointer;
	min-height: 52px;
	transition: all 0.2s ease;
}
.tpa-option-card:hover {
	border-color: #93c5fd;
	background: #f8fafc;
}
.tpa-option-card.tpa-selected {
	border-color: var(--tpa-primary);
	background: #eff6ff;
}
.tpa-opt-radio {
	display: none;
}
.tpa-opt-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--tpa-gray-100);
	color: #475569;
	font-size: 14px;
	font-weight: 700;
	border-radius: 50%;
	flex-shrink: 0;
}
.tpa-option-card.tpa-selected .tpa-opt-letter {
	background: var(--tpa-primary);
	color: #ffffff;
}
.tpa-opt-text {
	font-size: 15px;
	line-height: 1.5;
	color: #1e293b;
}

.tpa-wizard-controls {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 25px;
}
.tpa-wizard-controls.tpa-controls-all {
	justify-content: center;
	margin-top: 35px;
	margin-bottom: 20px;
}

/* Domain Banners for 5-Question and All-Question Modes */
.tpa-domain-banner {
	background: #f8fafc;
	border: 1px solid var(--tpa-gray-200);
	border-right: 5px solid var(--tpa-primary);
	border-radius: 12px;
	padding: 16px 22px;
	margin: 25px 0 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.tpa-domain-step:first-child .tpa-domain-banner,
.tpa-domain-all-group:first-child .tpa-domain-banner {
	margin-top: 0;
}
.tpa-domain-banner-badge {
	display: inline-block;
	background: #eff6ff;
	color: var(--tpa-primary);
	font-size: 12px;
	font-weight: 800;
	padding: 3px 12px;
	border-radius: 6px;
	margin-bottom: 6px;
}
.tpa-domain-banner h3 {
	font-size: 19px;
	font-weight: 800;
	color: var(--tpa-dark);
	margin: 0;
	line-height: 1.4;
}

/* Unanswered Question Highlight Animation */
.tpa-q-unanswered-highlight {
	border-color: #ef4444 !important;
	background: #fef2f2 !important;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
	animation: tpaShake 0.4s ease;
}
@keyframes tpaShake {
	0%, 100% { transform: translateX(0); }
	20%, 60% { transform: translateX(-6px); }
	40%, 80% { transform: translateX(6px); }
}

/* Final Step Notice (shown on Question 40) */
.tpa-final-notice {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 10px;
	padding: 14px 18px;
	margin: 20px 0 10px;
	color: #065f46;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.tpa-final-notice-icon {
	font-size: 26px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #059669;
	flex-shrink: 0;
}
.tpa-final-notice-icon .dashicons {
	font-size: 26px;
	width: 26px;
	height: 26px;
}
.tpa-final-notice-content {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 13px;
	line-height: 1.5;
}
.tpa-final-notice-content strong {
	font-size: 15px;
	font-weight: 700;
	color: #047857;
}

/* Pulse animation on submit button when ready */
.tpa-btn-pulse {
	animation: tpaPulseGlow 1.8s infinite !important;
}
@keyframes tpaPulseGlow {
	0% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
		transform: scale(1.02);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
		transform: scale(1);
	}
}

/* Step pane positioning for overlay */
.tpa-step-pane {
	position: relative;
}

/* Submitting / Processing Full Overlay */
.tpa-submitting-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	border-radius: var(--tpa-radius);
	padding: 40px 20px;
	text-align: center;
}
.tpa-submitting-box {
	max-width: 460px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.tpa-submitting-spinner {
	width: 52px;
	height: 52px;
	border: 4px solid #e2e8f0;
	border-top: 4px solid var(--tpa-primary);
	border-right: 4px solid var(--tpa-success);
	border-radius: 50%;
	animation: tpaSpin 0.9s linear infinite;
}
@keyframes tpaSpin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.tpa-submitting-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--tpa-dark);
	margin: 0;
}
.tpa-submitting-desc {
	font-size: 14px;
	color: var(--tpa-gray-600);
	margin: 0;
	line-height: 1.6;
}
.tpa-submitting-bar {
	width: 100%;
	max-width: 320px;
	height: 6px;
	background: #e2e8f0;
	border-radius: 3px;
	overflow: hidden;
	position: relative;
	margin: 6px 0;
}
.tpa-submitting-bar-fill {
	width: 60%;
	height: 100%;
	background: linear-gradient(90deg, var(--tpa-primary), var(--tpa-success));
	border-radius: 3px;
	position: absolute;
	animation: tpaIndeterminate 1.6s infinite ease-in-out;
}
@keyframes tpaIndeterminate {
	0% { right: -60%; }
	100% { right: 100%; }
}
.tpa-submitting-note {
	font-size: 12px;
	color: var(--tpa-gray-600);
	opacity: 0.9;
}

/* 5. RESULT SCREEN */
.tpa-result-banner {
	background: linear-gradient(135deg, #1e3a8a, #2563eb);
	color: #ffffff;
	border-radius: var(--tpa-radius);
	padding: 28px;
	text-align: center;
	margin-bottom: 24px;
}
.tpa-banner-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.2);
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
}
.tpa-teacher-greeting {
	font-size: 24px;
	margin: 0 0 10px;
	color: #ffffff;
}
.tpa-meta-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
	font-size: 13px;
	opacity: 0.9;
	margin: 0;
}

.tpa-result-card {
	background: #ffffff;
	border: 1px solid var(--tpa-gray-200);
	border-radius: var(--tpa-radius);
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: var(--tpa-shadow);
}
.tpa-card-title-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--tpa-gray-100);
	padding-bottom: 12px;
}
.tpa-title-icon {
	font-size: 22px;
}
.tpa-card-title-row h3 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--tpa-dark);
}

.tpa-score-presentation {
	display: flex;
	align-items: center;
	gap: 30px;
}
@media (max-width: 640px) {
	.tpa-score-presentation {
		flex-direction: column;
		text-align: center;
	}
}
.tpa-score-meta {
	flex: 1;
}
.tpa-level-pill {
	display: inline-block;
	font-size: 15px;
	font-weight: 800;
	padding: 6px 18px;
	border-radius: 20px;
	margin-bottom: 10px;
}
.tpa-score-numbers {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 12px;
}
.tpa-score-raw {
	font-size: 16px;
	color: var(--tpa-gray-600);
	font-weight: 500;
}
.tpa-level-description {
	font-size: 15px;
	line-height: 1.7;
	color: #334155;
	margin: 0;
}

/* Circular Gauge & Charts */
.tpa-gauge-svg {
	display: block;
	margin: 0 auto;
}
.tpa-gauge-meter {
	transition: stroke-dashoffset 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Domain Horizontal Bar Chart */
.tpa-svg-chart-wrap {
	margin-top: 18px;
}
.tpa-chart-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.tpa-chart-row {
	display: grid;
	grid-template-columns: 210px 1fr 90px;
	align-items: center;
	gap: 15px;
}
@media (max-width: 640px) {
	.tpa-chart-row {
		grid-template-columns: 1fr;
		gap: 6px;
	}
}
.tpa-chart-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.tpa-domain-color-dot {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}
.tpa-chart-bar-bg {
	background: #f1f5f9;
	border-radius: 20px;
	height: 14px;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.tpa-chart-bar-fill {
	height: 100%;
	border-radius: 20px;
	transition: width 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}
.tpa-chart-value {
	text-align: left;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: flex-end;
}

/* Tables */
.tpa-table-responsive {
	overflow-x: auto;
	margin-top: 20px;
}
.tpa-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.tpa-table th,
.tpa-table td {
	padding: 12px 14px;
	border-bottom: 1px solid var(--tpa-gray-200);
	text-align: right;
}
.tpa-table th {
	background: var(--tpa-gray-50);
	font-weight: 700;
}
.tpa-domain-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-left: 8px;
}

/* Two col grid for Strong / Weak */
.tpa-two-col-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
@media (max-width: 640px) {
	.tpa-two-col-grid {
		grid-template-columns: 1fr;
	}
}
.tpa-rank-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tpa-rank-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--tpa-gray-50);
	padding: 12px 16px;
	border-radius: 8px;
}
.tpa-rank-num {
	font-size: 15px;
	font-weight: 800;
	color: var(--tpa-primary);
}
.tpa-rank-info {
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-size: 14px;
}
.tpa-rank-val {
	font-weight: 700;
}

/* Primary Need */
.tpa-card-primary-need {
	background: #fef2f2;
	border-color: #fecaca;
}
.tpa-need-headline {
	margin-bottom: 10px;
}
.tpa-need-tag {
	display: inline-block;
	background: #dc2626;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 4px;
	margin-bottom: 6px;
}
.tpa-need-title {
	font-size: 20px;
	font-weight: 800;
	color: #991b1b;
	margin: 0;
}
.tpa-need-note-box {
	font-size: 15px;
	line-height: 1.7;
	color: #7f1d1d;
	font-style: italic;
}

/* Training Path */
.tpa-training-flow {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 15px;
}
.tpa-training-card {
	display: flex;
	gap: 16px;
	background: #ffffff;
	border: 1px solid var(--tpa-gray-200);
	border-right: 4px solid var(--tpa-primary);
	border-radius: var(--tpa-radius);
	padding: 18px 20px;
	box-shadow: var(--tpa-shadow);
}
.tpa-step-badge {
	width: 32px;
	height: 32px;
	background: #eff6ff;
	color: var(--tpa-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 16px;
	flex-shrink: 0;
}
.tpa-prog-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}
.tpa-prog-reason {
	font-size: 13px;
	color: var(--tpa-gray-600);
	margin: 0 0 10px;
}
.tpa-prog-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.tpa-flow-arrow {
	text-align: center;
	font-size: 20px;
	color: var(--tpa-primary);
	font-weight: bold;
}

/* Action Footer */
.tpa-actions-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 30px 0;
}

/* Verification Footer */
.tpa-verification-footer {
	text-align: center;
	padding: 20px;
	border-top: 1px solid var(--tpa-gray-200);
	font-size: 13px;
	color: var(--tpa-gray-600);
}
.tpa-v-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-bottom: 8px;
}
.tpa-v-row code {
	background: var(--tpa-gray-100);
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 14px;
	color: var(--tpa-dark);
}
.tpa-branding-credit {
	margin-top: 8px;
	font-size: 12px;
	opacity: 0.8;
}

/* 6. VERIFICATION PAGE */
.tpa-verify-header {
	text-align: center;
	margin-bottom: 25px;
}
.tpa-verify-icon {
	font-size: 40px;
	margin-bottom: 10px;
}
.tpa-verify-search-form {
	max-width: 540px;
	margin: 0 auto 30px;
}
.tpa-search-input-group {
	display: flex;
	gap: 10px;
}
.tpa-verify-result-card {
	background: #ffffff;
	border: 1px solid var(--tpa-gray-200);
	border-radius: var(--tpa-radius);
	padding: 24px;
	box-shadow: var(--tpa-shadow);
	max-width: 600px;
	margin: 0 auto;
}
.tpa-badge-valid,
.tpa-verify-badge-valid {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ecfdf5;
	color: #059669;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 15px;
}
.tpa-verify-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
}
.tpa-verify-table th,
.tpa-verify-table td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--tpa-gray-100);
	font-size: 14px;
}
.tpa-verify-table th {
	width: 140px;
	color: var(--tpa-gray-600);
}

/* ==========================================================================
   7. SCHOOL ASSESSMENT STYLES (نموذج تشخيص وتقييم المدرسة)
   ========================================================================== */
.tpa-hero-school {
	background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
	color: #ffffff;
}
.tpa-hero-school .tpa-main-title,
.tpa-hero-school .tpa-subtitle {
	color: #ffffff;
}
.tpa-badge-school {
	background: rgba(59, 130, 246, 0.25);
	color: #93c5fd;
	border: 1px solid rgba(147, 197, 253, 0.3);
}
.tpa-domains-grid-school {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}
.tpa-domain-weight-badge {
	display: inline-block;
	font-size: 11px;
	color: #64748b;
	background: #f1f5f9;
	padding: 2px 8px;
	border-radius: 4px;
	margin-top: 6px;
}

/* Likert 5-Point Scale */
.tpa-likert-5-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.tpa-likert-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1.5px solid #e2e8f0;
	background: #ffffff;
	cursor: pointer;
	transition: all 0.2s ease;
}
.tpa-likert-card:hover {
	border-color: #3b82f6;
	background: #f8fafc;
	transform: translateX(-3px);
}
.tpa-likert-card.tpa-selected {
	border-color: #1e40af;
	background: #eff6ff;
	box-shadow: 0 0 0 1px #1e40af;
}
.tpa-opt-score-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #f1f5f9;
	color: #1e293b;
	font-weight: 700;
	font-size: 13px;
	flex-shrink: 0;
}
.tpa-selected .tpa-opt-score-badge {
	background: #1e40af;
	color: #ffffff;
}

/* School Result & Stages */
.tpa-banner-school {
	border-right: 5px solid #1e40af;
}
.tpa-card-school-hero {
	margin-bottom: 24px;
}
.tpa-level-semantic-tag {
	font-size: 14px;
	font-weight: 700;
	color: #1e40af;
	margin-right: 8px;
}
.tpa-strategic-rec-box {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	padding: 14px 16px;
	margin-top: 14px;
	color: #1e3a8a;
	font-size: 13.5px;
	line-height: 1.7;
}
.tpa-strategic-rec-box strong {
	display: block;
	margin-bottom: 4px;
	color: #1e40af;
}
.tpa-sub-item-list {
	margin-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.tpa-sub-item {
	font-size: 12.5px;
	color: #334155;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #f8fafc;
	padding: 6px 10px;
	border-radius: 6px;
}
.tpa-sub-badge {
	font-size: 10.5px;
	font-weight: 700;
	background: #d1fae5;
	color: #065f46;
	padding: 2px 6px;
	border-radius: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}
.tpa-badge-gap {
	background: #fee2e2;
	color: #991b1b;
}

/* Horizontal Domains Chart */
.tpa-chart-domain-row {
	margin-bottom: 12px;
}
.tpa-chart-domain-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 4px;
	font-size: 13.5px;
}
.tpa-chart-name-group {
	display: flex;
	align-items: center;
	gap: 8px;
}
.tpa-chart-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}
.tpa-chart-meta-group {
	display: flex;
	align-items: center;
	gap: 10px;
}
.tpa-chart-score-pts {
	color: #64748b;
	font-size: 12px;
}
.tpa-chart-level-badge {
	font-size: 11px;
	font-weight: 700;
	background: #f1f5f9;
	color: #334155;
	padding: 2px 7px;
	border-radius: 4px;
}
.tpa-chart-track {
	height: 9px;
	background: #e2e8f0;
	border-radius: 6px;
	overflow: hidden;
}
.tpa-chart-bar-fill {
	height: 100%;
	border-radius: 6px;
	transition: width 0.6s ease;
}

/* 3-Stage Developmental Timeline */
.tpa-stages-timeline {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 14px;
}
.tpa-stage-block {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-right-width: 5px;
	border-radius: 8px;
	padding: 16px 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.tpa-stage-top-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}
.tpa-stage-badge-group {
	display: flex;
	align-items: center;
	gap: 8px;
}
.tpa-stage-num-badge {
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 12px;
}
.tpa-stage-timeframe {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
}
.tpa-stage-priority-tag {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 4px;
}
.tpa-tag-critical {
	background: #fee2e2;
	color: #991b1b;
}
.tpa-tag-medium {
	background: #fef3c7;
	color: #92400e;
}
.tpa-tag-ongoing {
	background: #d1fae5;
	color: #065f46;
}
.tpa-stage-domain-info {
	font-size: 13px;
	color: #1e3a8a;
}
.tpa-stage-intervention-title {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px 0;
}
.tpa-stage-focus-box {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	padding: 8px 12px;
	font-size: 12.5px;
	color: #334155;
	margin-bottom: 8px;
}
.tpa-stage-focus-box strong {
	color: #0f172a;
	margin-left: 4px;
}
.tpa-stage-desc {
	font-size: 13.5px;
	line-height: 1.7;
	color: #475569;
	margin: 0 0 10px 0;
}
.tpa-stage-footer-meta {
	font-size: 12px;
	color: #059669;
	font-weight: 600;
}

/* ==========================================================================
   8. UNIFIED ASSESSMENT HUB & SERVICES PORTAL (بوابة التقييم والاعتماد)
   ========================================================================== */
.tpa-hub-hero {
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
	color: #ffffff;
	border-radius: var(--tpa-radius);
	padding: 45px 30px;
	text-align: center;
	margin-bottom: 35px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
	position: relative;
	overflow: hidden;
}
.tpa-hub-hero::before {
	content: '';
	position: absolute;
	top: -50px;
	right: -50px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}
.tpa-hub-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 6px 16px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	color: #e2e8f0;
	margin-bottom: 16px;
	backdrop-filter: blur(4px);
}
.tpa-hub-hero-title {
	font-size: 32px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 12px 0;
	line-height: 1.3;
}
.tpa-hub-hero-subtitle {
	font-size: 16px;
	color: #cbd5e1;
	max-width: 680px;
	margin: 0 auto;
	line-height: 1.6;
}

.tpa-hub-services-section {
	margin-bottom: 45px;
}
.tpa-hub-section-header {
	text-align: center;
	margin-bottom: 30px;
}
.tpa-hub-section-header h2 {
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 8px 0;
}
.tpa-hub-section-header p {
	font-size: 15px;
	color: #64748b;
	margin: 0;
}

.tpa-hub-cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 25px;
}

.tpa-service-card {
	background: #ffffff;
	border: 2px solid #e2e8f0;
	border-radius: calc(var(--tpa-radius) * 1.2);
	padding: 30px 25px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
	position: relative;
}
.tpa-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.tpa-card-teacher:hover {
	border-color: #2563eb;
}
.tpa-card-school:hover {
	border-color: #7c3aed;
}

.tpa-service-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}
.tpa-service-icon-wrap {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.25s ease;
}
.tpa-service-card:hover .tpa-service-icon-wrap {
	transform: scale(1.08);
}
.tpa-service-icon-wrap svg {
	width: 32px;
	height: 32px;
	display: block;
}
.tpa-service-icon-wrap .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
}
.tpa-icon-teacher {
	background: #eff6ff;
	color: #2563eb;
	border: 1px solid #bfdbfe;
}
.tpa-icon-school {
	background: #faf5ff;
	color: #7c3aed;
	border: 1px solid #e9d5ff;
}

.tpa-service-tag {
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 20px;
}
.tpa-tag-teacher {
	background: #e0f2fe;
	color: #0369a1;
}
.tpa-tag-school {
	background: #f3e8ff;
	color: #7e22ce;
}

.tpa-service-title {
	font-size: 20px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px 0;
	line-height: 1.4;
}
.tpa-service-desc {
	font-size: 14px;
	color: #475569;
	line-height: 1.7;
	margin: 0 0 20px 0;
}

.tpa-service-features {
	list-style: none;
	padding: 0;
	margin: 0 0 25px 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}
.tpa-service-features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 13.5px;
	color: #334155;
	line-height: 1.5;
}
.tpa-feat-check {
	color: #10b981;
	font-weight: 800;
	font-size: 14px;
	flex-shrink: 0;
}

.tpa-service-footer {
	margin-top: auto;
	padding-top: 15px;
	border-top: 1px solid #f1f5f9;
}
.tpa-btn-teacher-portal {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: #2563eb;
	color: #ffffff !important;
	padding: 13px 20px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease;
}
.tpa-btn-teacher-portal:hover {
	background: #1d4ed8;
}
.tpa-btn-school-portal {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	background: #7c3aed;
	color: #ffffff !important;
	padding: 13px 20px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background 0.2s ease;
}
.tpa-btn-school-portal:hover {
	background: #6d28d9;
}

/* Hub Live Verification Box */
.tpa-hub-verify-section {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: calc(var(--tpa-radius) * 1.2);
	padding: 35px 25px;
	margin-top: 20px;
}
.tpa-hub-verify-box {
	max-width: 650px;
	margin: 0 auto;
}
.tpa-verify-shield-icon {
	width: 52px;
	height: 52px;
	background: #ecfdf5;
	color: #059669;
	border: 1px solid #a7f3d0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
}
.tpa-verify-shield-icon .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
}
.tpa-btn-verify-submit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #0f172a;
	color: #ffffff !important;
	border: none;
	border-radius: 8px;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s ease;
}
.tpa-btn-verify-submit:hover {
	background: #1e293b;
}

@media (max-width: 768px) {
	.tpa-hub-hero {
		padding: 30px 18px;
	}
	.tpa-hub-hero-title {
		font-size: 24px;
	}
	.tpa-hub-cards-grid {
		grid-template-columns: 1fr;
	}
	.tpa-search-input-group {
		flex-direction: column;
	}
	.tpa-btn-verify-submit {
		width: 100%;
		justify-content: center;
	}
}

/* ==========================================================================
   RESULTS ACTION CENTER & DIGITAL SEAL
   ========================================================================== */

.tpa-actions-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: calc(var(--tpa-radius) * 1.2);
	padding: 24px;
	margin: 32px 0 20px;
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
	text-align: right;
}

.tpa-actions-card-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #f1f5f9;
}

.tpa-actions-header-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: #eff6ff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tpa-actions-title {
	font-size: 17px;
	font-weight: 800;
	margin: 0 0 4px;
	color: #0f172a;
}

.tpa-actions-subtitle {
	font-size: 13px;
	color: #64748b;
	margin: 0;
}

.tpa-actions-buttons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 12px;
	align-items: center;
}

.tpa-action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 10px;
	cursor: pointer;
	text-decoration: none !important;
	transition: all 0.2s ease;
	min-height: 48px;
	box-sizing: border-box;
	border: 1.5px solid #cbd5e1;
	background: #ffffff;
	color: #1e293b !important;
}

.tpa-action-btn svg {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.tpa-action-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px -3px rgba(15, 23, 42, 0.08);
}

.tpa-action-btn:hover svg {
	transform: scale(1.1);
}

/* Primary PDF Download */
.tpa-action-btn-pdf {
	background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%) !important;
	color: #ffffff !important;
	border-color: #1e40af !important;
	box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.tpa-action-btn-pdf:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
	color: #ffffff !important;
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

/* Print */
.tpa-action-btn-print:hover {
	background: #f8fafc;
	border-color: #0f172a;
	color: #0f172a !important;
}

/* Email */
.tpa-action-btn-email:hover {
	background: #eff6ff;
	border-color: #2563eb;
	color: #2563eb !important;
}

/* Share */
.tpa-action-btn-share:hover {
	background: #faf5ff;
	border-color: #7c3aed;
	color: #7c3aed !important;
}

/* ==========================================================================
   DIGITAL VERIFICATION SEAL CARD
   ========================================================================== */

.tpa-digital-seal-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1.5px solid #dbeafe;
	border-radius: calc(var(--tpa-radius) * 1.2);
	padding: 20px 24px;
	margin: 20px 0 15px;
	display: flex;
	align-items: center;
	gap: 20px;
	box-shadow: 0 2px 10px rgba(37, 99, 235, 0.04);
	text-align: right;
}

.tpa-seal-badge-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #eff6ff;
	color: #2563eb;
	border: 2px solid #bfdbfe;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 0 0 4px rgba(219, 234, 254, 0.5);
}

.tpa-seal-content {
	flex: 1;
}

.tpa-seal-tag {
	display: inline-block;
	background: #dcfce7;
	color: #15803d;
	font-size: 11.5px;
	font-weight: 800;
	padding: 2px 10px;
	border-radius: 12px;
	margin-bottom: 6px;
}

.tpa-seal-text {
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
	margin: 0 0 8px;
}

.tpa-seal-code-group {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 4px 10px;
}

.tpa-seal-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: #0f172a;
}

.tpa-btn-copy-code {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #ffffff;
	border: 1px solid #94a3b8;
	color: #475569;
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}

.tpa-btn-copy-code:hover {
	background: #2563eb;
	color: #ffffff;
	border-color: #2563eb;
}

.tpa-btn-copy-code.tpa-copied {
	background: #10b981 !important;
	color: #ffffff !important;
	border-color: #10b981 !important;
}

.tpa-seal-action {
	flex-shrink: 0;
}

.tpa-seal-verify-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1.5px solid #2563eb;
	color: #2563eb !important;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none !important;
	transition: all 0.2s ease;
}

.tpa-seal-verify-btn:hover {
	background: #2563eb;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tpa-branding-credit {
	text-align: center;
	font-size: 12.5px;
	color: #94a3b8;
	margin-top: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.tpa-branding-credit a {
	color: #64748b;
	text-decoration: none;
}

.tpa-branding-credit a:hover {
	color: #2563eb;
}

@media (max-width: 768px) {
	.tpa-actions-buttons-grid {
		grid-template-columns: 1fr 1fr;
	}
	.tpa-action-btn-pdf {
		grid-column: 1 / -1;
	}
	.tpa-digital-seal-card {
		flex-direction: column;
		text-align: center;
	}
	.tpa-seal-code-group {
		justify-content: center;
	}
	.tpa-seal-action {
		width: 100%;
	}
	.tpa-seal-verify-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.tpa-actions-buttons-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   MONETIZATION & WHATSAPP HOLDING SCREEN STYLES (OPTION A)
   ========================================================================== */

.tpa-monetized-pending-wrap {
	max-width: 820px;
	margin: 0 auto;
}

/* 1. Hero Celebration Card */
.tpa-pending-hero-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 36px 24px 28px;
	text-align: center;
	box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}

.tpa-pending-hero-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, #10b981, #2563eb, #10b981);
}

.tpa-pending-pulse-badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	background: #ecfdf5;
	border-radius: 50%;
	margin-bottom: 16px;
	border: 2px solid #a7f3d0;
}

.tpa-pulse-circle {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #10b981;
	opacity: 0.25;
	animation: tpa-pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes tpa-pulse-ring {
	0% {
		transform: scale(0.95);
		opacity: 0.4;
	}
	50% {
		transform: scale(1.3);
		opacity: 0;
	}
	100% {
		transform: scale(0.95);
		opacity: 0;
	}
}

.tpa-pending-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 14px;
}

.tpa-status-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #10b981;
	display: inline-block;
}

.tpa-pending-main-title {
	font-size: 24px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.tpa-pending-recipient {
	font-size: 16px;
	color: #475569;
	margin: 0;
}

.tpa-pending-recipient strong {
	color: #1e293b;
}

/* 2. Verification Code Box */
.tpa-pending-code-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 18px 22px;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tpa-code-card-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tpa-code-shield-icon {
	width: 44px;
	height: 44px;
	background: #eff6ff;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tpa-code-card-title {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 2px;
}

.tpa-code-card-subtitle {
	font-size: 12.5px;
	color: #64748b;
	max-width: 440px;
	line-height: 1.5;
}

.tpa-code-display-box {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	padding: 6px 10px 6px 14px;
}

.tpa-code-number {
	font-family: Consolas, Monaco, monospace;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: #0f172a;
}

/* 3. Steps Roadmap */
.tpa-pending-steps-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tpa-steps-title {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 20px 0;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tpa-steps-title svg {
	color: #2563eb;
}

.tpa-steps-track {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: relative;
}

.tpa-step-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	position: relative;
}

.tpa-step-item:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 32px;
	right: 15px;
	width: 2px;
	height: calc(100% + 2px);
	background: #e2e8f0;
}

.tpa-step-marker {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 800;
	flex-shrink: 0;
	z-index: 1;
}

.tpa-step-done .tpa-step-marker {
	background: #10b981;
	color: #ffffff;
	box-shadow: 0 0 0 3px #d1fae5;
}

.tpa-step-active .tpa-step-marker {
	background: #f59e0b;
	color: #ffffff;
	box-shadow: 0 0 0 3px #fef3c7;
}

.tpa-step-upcoming .tpa-step-marker {
	background: #e2e8f0;
	color: #64748b;
}

.tpa-step-heading {
	font-size: 14.5px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 3px;
}

.tpa-step-desc {
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}

/* 4. WhatsApp Conversion Box */
.tpa-whatsapp-action-box {
	background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	color: #ffffff;
	box-shadow: 0 10px 25px -5px rgba(6, 95, 70, 0.4);
	margin-bottom: 24px;
	position: relative;
	overflow: hidden;
}

.tpa-whatsapp-action-box::after {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
	pointer-events: none;
}

.tpa-wa-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.15);
	padding: 4px 14px;
	border-radius: 20px;
	font-size: 12.5px;
	font-weight: 600;
	margin-bottom: 12px;
	backdrop-filter: blur(4px);
}

.tpa-wa-headline {
	font-size: 22px;
	font-weight: 800;
	color: #ffffff;
	margin: 0 0 10px 0;
	line-height: 1.4;
}

.tpa-wa-description {
	font-size: 14.5px;
	color: #d1fae5;
	line-height: 1.7;
	max-width: 660px;
	margin: 0 auto 20px auto;
}

.tpa-price-tag-card {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 8px 18px;
	border-radius: 10px;
	margin-bottom: 22px;
}

.tpa-price-tag-label {
	font-size: 13.5px;
	color: #a7f3d0;
}

.tpa-price-tag-value {
	font-size: 18px;
	font-weight: 800;
	color: #ffffff;
}

.tpa-wa-btn-large {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #25D366;
	color: #ffffff !important;
	padding: 16px 28px;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none !important;
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
	transition: all 0.25s ease;
	max-width: 100%;
}

.tpa-wa-btn-large:hover {
	background: #22c35e;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
	color: #ffffff !important;
}

.tpa-btn-subtext {
	background: rgba(0, 0, 0, 0.15);
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.tpa-delivery-channels-note {
	margin-top: 18px;
	font-size: 13px;
	color: #a7f3d0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.tpa-delivery-channels-note strong {
	color: #ffffff;
}

/* 5. Summary Details Card */
.tpa-attempt-meta-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px 24px;
	margin-bottom: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tpa-meta-card-title {
	font-size: 14.5px;
	font-weight: 700;
	color: #334155;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.tpa-meta-card-title svg {
	color: #64748b;
}

.tpa-meta-details-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.tpa-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tpa-meta-item-label {
	font-size: 12px;
	color: #64748b;
	font-weight: 600;
}

.tpa-meta-item-val {
	font-size: 14px;
	color: #0f172a;
	font-weight: 600;
}

.tpa-val-highlight-green {
	color: #16a34a !important;
	font-weight: 700;
}

/* 6. Return Button */
.tpa-pending-footer-actions {
	text-align: center;
	margin-top: 10px;
}

.tpa-btn-return-hub {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #f1f5f9;
	color: #475569 !important;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s ease;
	border: 1px solid #e2e8f0;
}

.tpa-btn-return-hub:hover {
	background: #e2e8f0;
	color: #1e293b !important;
}

@media (max-width: 640px) {
	.tpa-pending-hero-card {
		padding: 24px 16px;
	}
	.tpa-pending-main-title {
		font-size: 20px;
	}
	.tpa-pending-code-card {
		flex-direction: column;
		text-align: center;
	}
	.tpa-code-card-header {
		flex-direction: column;
	}
	.tpa-code-card-subtitle {
		text-align: center;
	}
	.tpa-wa-headline {
		font-size: 19px;
	}
	.tpa-wa-btn-large {
		flex-direction: column;
		padding: 14px 20px;
		font-size: 15px;
	}
	.tpa-step-item:not(:last-child)::after {
		right: 15px;
	}
}



