@import "https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap";

/* ------------------------------------------------------------------
   ZATCA e-invoicing section — supplementary stylesheet
   The main bundle (index-9d094cdb.css) is a pre-built Tailwind file
   that only contains the utilities the original build used. The block
   below re-declares the handful of utilities this section needs that
   were absent from that build, using Tailwind's own definitions.
   ------------------------------------------------------------------ */

.bg-green-50 {
	--tw-bg-opacity: 1;
	background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.border-green-500 {
	--tw-border-opacity: 1;
	border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}
.text-green-600 {
	--tw-text-opacity: 1;
	color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-blue-300 {
	--tw-text-opacity: 1;
	color: rgb(147 197 253 / var(--tw-text-opacity, 1));
}
.text-blue-700 {
	--tw-text-opacity: 1;
	color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.group:hover .group-hover\:bg-green-600 {
	--tw-bg-opacity: 1;
	background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.w-20 {
	width: 5rem;
}
.h-20 {
	height: 5rem;
}
.opacity-50 {
	opacity: 0.5;
}
.shadow-2xl {
	--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
	--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
	box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (min-width: 768px) {
	.md\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.md\:text-3xl {
		font-size: 1.875rem;
		line-height: 2.25rem;
	}
}

@media (min-width: 1024px) {
	.lg\:grid-cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lg\:grid-cols-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------
   Arabic typography. `font-arabic` is referenced by the language
   toggle in the bundle but was never defined, so Arabic fell back to
   Inter. Cairo covers Arabic properly and keeps Latin digits legible.
   ------------------------------------------------------------------ */

.font-arabic,
[dir="rtl"] #zatca {
	font-family: Cairo, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------------------
   Section-specific components
   ------------------------------------------------------------------ */

.zk-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	padding: 0.5rem 1.25rem;
	border-radius: 9999px;
	background-image: linear-gradient(to right, #2563eb, #16a34a);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.25rem;
	box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.3), 0 4px 6px -4px rgb(22 163 74 / 0.3);
}

/* Media frames keep a fixed ratio so the layout never jumps while the
   poster, the iframe or the placeholder swap in. */
.zk-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: #f1f5f9;
}
.zk-video {
	aspect-ratio: 16 / 9;
}
.zk-shot {
	aspect-ratio: 4 / 3;
}
.zk-fill {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.zk-play {
	cursor: pointer;
	background-image: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #16a34a 100%);
	transition: filter 0.3s ease;
}
.zk-play:hover {
	filter: brightness(1.08);
}

/* Shown in place of a screenshot that has not been uploaded yet, so a
   missing file reads as "drop the image here", not as a broken page. */
.zk-ph {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem;
	text-align: center;
	background-image: linear-gradient(135deg, #eff6ff 0%, #ffffff 50%, #f0fdf4 100%);
}
.zk-ph-name {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11px;
	line-height: 1.5;
	color: #94a3b8;
	word-break: break-all;
	direction: ltr;
}

.zk-list {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 1rem;
}
.zk-tick {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.125rem;
	border-radius: 9999px;
	background-color: #16a34a;
}
.zk-note {
	margin-top: 2rem;
	font-size: 0.75rem;
	line-height: 1.6;
	color: #64748b;
}

.zk-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border-radius: 0.75rem;
	font-size: 1.125rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.zk-cta-primary {
	background-image: linear-gradient(to right, #2563eb, #16a34a);
	color: #fff;
	box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.3);
}
.zk-cta-primary:hover {
	transform: scale(1.05);
	box-shadow: 0 25px 50px -12px rgb(22 163 74 / 0.4);
}
.zk-cta-ghost {
	border: 2px solid #cbd5e1;
	color: #334155;
}
.zk-cta-ghost:hover {
	border-color: #2563eb;
	color: #2563eb;
}
.zk-flip {
	transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
	.zk-cta,
	.zk-play {
		transition: none;
	}
	.zk-cta-primary:hover {
		transform: none;
	}
}
