/* =========================================================
   الألمانية سيفتي — Theme stylesheet
   ========================================================= */

:root {
	/* Brand identity: emerald-green-led palette. --alms-cta is a distinct
	   "grass green" reserved for booking/CTA buttons so they read as a
	   deliberate highlight (reinforced with a pulse animation) rather than
	   blending into the primary emerald — kept dark enough for white button
	   text to still clear WCAG AA contrast. WhatsApp keeps its own slightly
	   different green tone via its official icon/button. */
	--alms-navy: #0f172a;
	--alms-green: #059669;
	--alms-green-dark: #047857;
	--alms-green-light: #ecfdf5;
	--alms-green-on-tint: var(--alms-green-dark);
	/* #15803d (not the brighter #16a34a) so white button text clears WCAG
	   AA 4.5:1 — the brighter shade measured ~3.3:1 and failed. */
	--alms-cta: #15803d;
	--alms-cta-dark: #14532d;
	--alms-slate-50: #f8fafc;
	--alms-slate-100: #f1f5f9;
	--alms-slate-200: #e2e8f0;
	--alms-slate-400: #94a3b8;
	--alms-slate-500: #64748b;
	--alms-slate-600: #475569;
	--alms-slate-700: #334155;
	--alms-radius: 16px;
	--alms-radius-sm: 10px;
	--alms-shadow: 0 10px 30px -12px rgba(15, 23, 42, 0.18);
	--alms-shadow-lg: 0 25px 60px -15px rgba(15, 23, 42, 0.35);

	/* Surface tokens — light mode defaults. Dark-section components
	   (header topbar, hero, footer, CTA band) intentionally stay on the
	   fixed navy palette above in both modes; these tokens only drive the
	   parts of the page that should flip between day/night.
	   --alms-heading / --alms-text / --alms-text-muted form a deliberate
	   3-tier reading hierarchy: titles are the brightest, body copy is
	   slightly softer, and meta/secondary text is the dimmest. */
	--alms-bg: #ffffff;
	--alms-bg-alt: var(--alms-slate-50);
	--alms-surface: #ffffff;
	--alms-surface-translucent: rgba(255, 255, 255, .97);
	--alms-heading: var(--alms-navy);
	--alms-text: var(--alms-slate-700);
	--alms-text-muted: var(--alms-slate-500);
	--alms-border: var(--alms-slate-200);
	--alms-input-bg: var(--alms-slate-50);
}

/* System-preference fallback: applies before the toggle script runs, and
   for visitors who never touch the toggle (their OS choice is respected). */
@media (prefers-color-scheme: dark) {
	:root {
		--alms-bg: #070f0c;
		--alms-bg-alt: #0d1a15;
		--alms-surface: #122a21;
		--alms-surface-translucent: rgba(7, 15, 12, .93);
		--alms-heading: #f5faf7;
		--alms-text: #d7e4dd;
		--alms-text-muted: #8ba39a;
		--alms-border: #24443a;
		--alms-input-bg: #0d1a15;
		--alms-green-light: rgba(16, 185, 129, .16);
			--alms-green-on-tint: #6ee7b7;
	}
}

/* Manual toggle (assets/js/theme.js sets data-theme on <html> and persists
   the choice in localStorage). Attribute selectors outrank the plain
   ":root" used in the media query above, so this always wins once set. */
:root[data-theme="dark"] {
	/* Elevation ladder (bg < bg-alt < surface) gives cards a gentle "lifted"
	   look with a deep forest-green undertone instead of a flat gray or a
	   blue-tinted navy — it reinforces the green brand identity even in
	   dark mode instead of just inverting to generic gray. */
	--alms-bg: #070f0c;
	--alms-bg-alt: #0d1a15;
	--alms-surface: #122a21;
	--alms-surface-translucent: rgba(7, 15, 12, .93);
	--alms-heading: #f5faf7;
	--alms-text: #d7e4dd;
	--alms-text-muted: #8ba39a;
	--alms-border: #24443a;
	--alms-input-bg: #0d1a15;
	--alms-green-light: rgba(16, 185, 129, .16);
			--alms-green-on-tint: #6ee7b7;
}

:root[data-theme="light"] {
	--alms-bg: #ffffff;
	--alms-bg-alt: var(--alms-slate-50);
	--alms-surface: #ffffff;
	--alms-surface-translucent: rgba(255, 255, 255, .97);
	--alms-heading: var(--alms-navy);
	--alms-text: var(--alms-slate-700);
	--alms-text-muted: var(--alms-slate-500);
	--alms-border: var(--alms-slate-200);
	--alms-input-bg: var(--alms-slate-50);
}

* { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scrollbar-width: thin; /* Firefox */
	scrollbar-color: var(--alms-green) var(--alms-bg-alt);
	/* Mobile browsers often treat <html>, not <body>, as the element that
	   actually owns page scrolling — overflow-x:hidden on body alone can
	   still leave a horizontal scroll track available at this level. */
	overflow-x: hidden;
	width: 100%;
}

body {
	margin: 0;
	font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
	color: var(--alms-text);
	background: var(--alms-bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	transition: background-color .2s ease, color .2s ease;
	/* Safety net: a button/label with dynamic content (e.g. a long area or
	   service name baked into a CTA) can end up wider than the viewport;
	   this keeps that from dragging the whole page into horizontal scroll. */
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; background: none; border: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--alms-bg-alt); }
::-webkit-scrollbar-thumb {
	background-color: var(--alms-green);
	background-image: linear-gradient(180deg, var(--alms-cta), var(--alms-green-dark));
	border-radius: 999px;
	border: 3px solid var(--alms-bg-alt);
	background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
	background-image: linear-gradient(180deg, var(--alms-cta-dark), var(--alms-green-dark));
}
::-webkit-scrollbar-corner { background: var(--alms-bg-alt); }

.alms-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.alms-container-narrow { max-width: 860px; }

.alms-icon { width: 20px; height: 20px; flex-shrink: 0; }
.alms-icon-sm { width: 15px; height: 15px; }
.alms-icon-xs { width: 12px; height: 12px; }

/* ---------- Buttons ---------- */
.alms-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 14px;
	border: none; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
	white-space: nowrap;
}
.alms-btn:hover { transform: translateY(-2px); }
.alms-btn-lg { padding: 15px 28px; font-size: 15px; }
.alms-btn-block { width: 100%; }
/* --alms-green-dark (not --alms-green) so white text clears WCAG AA
   (4.5:1) — the brighter primary green under white text measured ~3.8:1. */
.alms-btn-primary { background: var(--alms-green-dark); color: #fff; box-shadow: 0 8px 20px -8px rgba(5,150,105,.6); }
.alms-btn-primary:hover { background: #036450; }
.alms-btn-whatsapp { background: #22c55e; color: #fff; box-shadow: 0 8px 20px -8px rgba(34,197,94,.6); }
.alms-btn-whatsapp:hover { background: var(--alms-green-dark); }
/* Solid (not gradient-into-green) so the CTA reads consistently as one
   color against every background it appears on — navy header/footer,
   the green CTA band, and plain white cards alike. The "alive" pulse is a
   ::after ring animating only transform/opacity (compositor-only
   properties) instead of box-shadow — animating box-shadow forces a paint
   on every frame for as long as the button is on screen, which was the
   single biggest contributor to the page's main-thread/rendering time
   since several of these buttons are visible (and animating) at once. */
.alms-btn-cta {
	position: relative; background: var(--alms-cta); color: #fff;
	box-shadow: 0 10px 24px -8px rgba(21,128,61,.5);
}
.alms-btn-cta:hover { background: var(--alms-cta-dark); }
.alms-btn-cta::after {
	content: ''; position: absolute; inset: 0; border-radius: inherit;
	border: 2px solid var(--alms-cta); opacity: .6; pointer-events: none;
	animation: alms-cta-pulse-ring 2.4s ease-out infinite;
	will-change: transform, opacity;
}
.alms-btn-cta:hover::after { animation-play-state: paused; }

@keyframes alms-cta-pulse-ring {
	0%   { transform: scale(1); opacity: .55; }
	100% { transform: scale(1.35); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
	.alms-btn-cta::after { animation: none; display: none; }
}
.alms-btn-dark { background: var(--alms-navy); color: #fff; }
.alms-btn-light { background: #fff; color: var(--alms-navy); }
.alms-btn-ghost { background: var(--alms-bg-alt); color: var(--alms-text); }
.alms-btn-ghost:hover { background: var(--alms-border); }
.alms-btn-outline { background: transparent; color: var(--alms-green-on-tint); border: 2px solid var(--alms-green-on-tint); }
.alms-btn-outline:hover { background: var(--alms-green-light); }

/* ---------- Header ---------- */
.alms-topbar { background: var(--alms-navy); color: #cbd5e1; font-size: 12px; padding: 8px 0; border-bottom: 1px solid #1e293b; }
.alms-topbar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.alms-topbar-left, .alms-topbar-right { display: flex; align-items: center; gap: 14px; }
.alms-topbar-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; transition: color .15s; }
.alms-topbar-link:hover { color: #34d399; }
.alms-topbar-whatsapp { color: #4ade80; }
.alms-topbar-whatsapp:hover { color: #86efac; }
.alms-topbar-sep { color: #475569; }
.alms-topbar-hours { display: inline-flex; align-items: center; gap: 6px; color: var(--alms-slate-400); }

.alms-theme-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px;
	background: #1e293b; border: 1px solid #334155; border-radius: 7px; color: #cbd5e1; flex-shrink: 0;
}
.alms-theme-toggle:hover { background: #334155; color: #fff; }
.alms-theme-icon-light { display: none; }
.alms-theme-icon-dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .alms-theme-icon-light { display: block; }
	:root:not([data-theme="light"]) .alms-theme-icon-dark { display: none; }
}
:root[data-theme="dark"] .alms-theme-icon-light { display: block; }
:root[data-theme="dark"] .alms-theme-icon-dark { display: none; }

.alms-navbar { background: var(--alms-surface); border-bottom: 1px solid var(--alms-border); position: sticky; top: 0; z-index: 40; }
.alms-navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 16px; }

.alms-brand { display: flex; align-items: center; gap: 12px; }
.alms-brand-badge { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--alms-green), var(--alms-green-dark)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; }
.alms-brand-badge-footer { background: linear-gradient(135deg, var(--alms-green), var(--alms-green-dark)); }
.alms-brand .custom-logo-link { display: inline-flex; align-items: center; }
.alms-brand img.custom-logo { max-height: 52px; width: auto; border-radius: 10px; }
.alms-brand-badge-link, .alms-brand-text-link { display: inline-flex; align-items: center; }
.alms-brand-text { display: flex; flex-direction: column; }
.alms-brand-footer img.custom-logo { max-height: 44px; background: #fff; padding: 4px; }
/* Site title as a genuine multi-tone blend (heading tone flowing into the
   two brand greens) — a real mix, not a flat single green. Uses
   --alms-heading (not a fixed navy hex) as the first stop specifically so
   it flips light/dark with the theme instead of going near-invisible
   against the dark-mode navbar background. */
.alms-brand-name {
	display: inline-block; font-size: 18px; font-weight: 900; line-height: 1.15;
	background: linear-gradient(120deg, var(--alms-heading) 0%, var(--alms-green) 55%, var(--alms-cta) 100%);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.alms-brand-name-footer {
	background: linear-gradient(120deg, #ffffff 0%, #6ee7b7 55%, #d1fae5 100%);
	-webkit-background-clip: text; background-clip: text;
}
@supports not (background-clip: text) {
	.alms-brand-name { background: none; color: var(--alms-heading); -webkit-text-fill-color: initial; }
	.alms-brand-name-footer { background: none; color: #fff; -webkit-text-fill-color: initial; }
}
.alms-brand-tagline { font-size: 10px; color: var(--alms-text-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; margin-top: 3px; }

.alms-nav-links { display: none; align-items: center; gap: 2px; }
.alms-nav-links ul { display: flex; align-items: center; gap: 2px; }
.alms-nav-links li { position: relative; }
.alms-nav-links a { display: block; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--alms-text-muted); transition: all .15s; }
.alms-nav-links a:hover, .alms-nav-links .current-menu-item > a { background: var(--alms-green-light); color: var(--alms-green-on-tint); }
.alms-nav-links .sub-menu { display: none; position: absolute; top: 100%; right: 0; background: var(--alms-surface); border-radius: 14px; box-shadow: var(--alms-shadow-lg); border: 1px solid var(--alms-border); min-width: 240px; padding: 8px; z-index: 50; }
.alms-nav-links li:hover > .sub-menu { display: block; }
.alms-nav-links .sub-menu a { padding: 9px 12px; font-size: 13px; }

.alms-nav-cta { display: none; align-items: center; gap: 10px; }
.alms-mobile-toggle { display: flex; align-items: center; background: none; border: none; padding: 8px; border-radius: 10px; color: var(--alms-text); }
.alms-mobile-toggle:hover { background: var(--alms-bg-alt); }
.alms-icon-close { display: none; }
.alms-mobile-toggle.is-open .alms-icon-menu { display: none; }
.alms-mobile-toggle.is-open .alms-icon-close { display: block; }

.alms-mobile-menu { display: none; background: var(--alms-surface); border-top: 1px solid var(--alms-border); padding: 14px 20px 26px; }
.alms-mobile-menu.is-open { display: block; }
.alms-mobile-menu-list li a { display: block; padding: 11px 6px; font-weight: 700; font-size: 14px; color: var(--alms-text); border-bottom: 1px solid var(--alms-border); }
.alms-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.alms-mobile-cta .alms-btn { border-radius: 12px; padding: 13px; }

@media (min-width: 1024px) {
	.alms-nav-links, .alms-nav-cta { display: flex; }
	.alms-mobile-toggle, .alms-mobile-menu { display: none !important; }
}

/* ---------- Breadcrumbs ---------- */
.alms-breadcrumbs { background: var(--alms-bg-alt); border-bottom: 1px solid var(--alms-border); padding: 10px 0; }
.alms-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 12px; }
.alms-breadcrumbs li { display: flex; align-items: center; }
.alms-breadcrumbs a { color: var(--alms-text-muted); font-weight: 600; }
.alms-breadcrumbs a:hover { color: var(--alms-green-on-tint); }
.alms-breadcrumbs span[aria-current] { color: var(--alms-heading); font-weight: 700; }
.alms-breadcrumb-sep { color: var(--alms-border); }

/* ---------- Hero ---------- */
.alms-hero { position: relative; background: linear-gradient(160deg, var(--alms-navy) 0%, #14213d 60%, #0f172a 100%); color: #fff; padding: 56px 0 72px; overflow: hidden; }
.alms-hero-bg-image {
	position: absolute; inset: 0; z-index: 0;
	background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* With a photo behind it, the glow layer doubles as a brand-color wash +
   dark scrim so the white heading/copy stays readable over any image. */
.alms-hero.has-bg-image .alms-hero-glow {
	background:
		linear-gradient(160deg, rgba(15,23,42,.94) 0%, rgba(5,150,105,.5) 55%, rgba(15,23,42,.92) 100%),
		radial-gradient(circle at 85% 10%, rgba(16,185,129,.3), transparent 55%);
}
.alms-hero-glow { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 85% 10%, rgba(16,185,129,.35), transparent 55%), radial-gradient(circle at 10% 90%, rgba(245,158,11,.12), transparent 50%); pointer-events: none; }
.alms-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.alms-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(5,150,105,.18); border: 1px solid rgba(52,211,153,.35); padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #6ee7b7; margin-bottom: 18px; }
.alms-pulse-dot { width: 8px; height: 8px; background: #34d399; border-radius: 50%; animation: alms-pulse 1.6s infinite; }
@keyframes alms-pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.alms-hero h1 { font-size: clamp(28px, 5vw, 46px); line-height: 1.25; margin-bottom: 18px; }
.alms-hero h1 span { color: #34d399; }
.alms-hero-desc { color: #cbd5e1; font-size: 16px; max-width: 620px; margin-bottom: 22px; }
.alms-hero-points { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 26px; }
.alms-hero-points div { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #e2e8f0; }
.alms-hero-points .alms-icon { color: #34d399; }
.alms-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
/* These buttons carry dynamic content — e.g. an area or service name baked
   straight into the label ("اطلب معاينة في القاهرة الجديدة والتجمع الخامس")
   — which .alms-btn's global white-space:nowrap forces onto one line at
   its full text width. On a narrow phone that overflows past the
   viewport and drags the whole page into horizontal scroll, so on small
   screens these specific buttons wrap instead of forcing a single line. */
@media (max-width: 480px) {
	.alms-hero-actions .alms-btn { white-space: normal; text-align: center; max-width: 100%; }
}
.alms-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 24px; border-top: 1px solid #1e293b; }
.alms-hero-stats div { background: rgba(30,41,59,.6); border: 1px solid #1e293b; border-radius: 14px; padding: 14px; text-align: center; }
.alms-hero-stats strong { display: block; font-size: 20px; color: #34d399; }
.alms-hero-stats span { font-size: 11px; color: var(--alms-slate-400); }

.alms-hero-form { position: relative; background: rgba(30,41,59,.85); backdrop-filter: blur(10px); border: 1px solid #334155; border-radius: 22px; padding: 28px; box-shadow: var(--alms-shadow-lg); }
.alms-hero-form-badge { position: absolute; top: -14px; right: 26px; background: var(--alms-cta); color: #fff; font-size: 11px; font-weight: 900; padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(21,128,61,.7); }
.alms-hero-form .alms-widget-title { display: flex; align-items: center; gap: 8px; font-size: 18px; color: #fff; margin-bottom: 8px; font-weight: 800; }
.alms-hero-form .alms-widget-title .alms-icon { color: #34d399; }
.alms-hero-form > p { color: var(--alms-slate-400); font-size: 13px; margin-bottom: 20px; }
.alms-hero-form-footer { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(51,65,85,.6); font-size: 11px; color: var(--alms-slate-400); }
.alms-hero-form-footer span { display: inline-flex; align-items: center; gap: 5px; }

@media (min-width: 1024px) {
	.alms-hero-grid { grid-template-columns: 7fr 5fr; }
	.alms-hero-points { grid-template-columns: 1fr 1fr; }
}

/* ---------- Sections ---------- */
.alms-section { padding: 64px 0; }
.alms-section-alt { background: var(--alms-bg-alt); }
.alms-section-dark { background: var(--alms-navy); color: #fff; }
.alms-section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.alms-section-head-light .alms-eyebrow { color: #6ee7b7; }
.alms-eyebrow { display: inline-block; font-size: 12px; font-weight: 900; color: var(--alms-green-on-tint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.alms-section-head h2 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 10px; color: var(--alms-heading); }
/* Must out-rank the rule above (equal specificity would let source order
   decide, which made this text nearly invisible on the dark green
   testimonials background) — deliberately two classes + tag. */
.alms-section-head.alms-section-head-light h2 { color: #fff; }
.alms-section-head p { color: var(--alms-text-muted); font-size: 15px; }
.alms-section-footer { text-align: center; margin-top: 32px; }

.alms-page-hero { background: linear-gradient(160deg, var(--alms-navy), #14213d); color: #fff; padding: 56px 0; text-align: center; }
.alms-page-hero .alms-eyebrow { color: #6ee7b7; }
.alms-page-hero h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }
.alms-page-hero p { color: var(--alms-slate-400); max-width: 640px; margin: 0 auto; }
.alms-page-hero .alms-hero-actions { justify-content: center; margin-top: 24px; }
.alms-page-hero .alms-card-icon-lg { margin: 0 auto 16px; }
.alms-response-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(52,211,153,.15); border: 1px solid rgba(52,211,153,.3); color: #6ee7b7; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-top: 16px; }

/* ---------- Cards & Grids ---------- */
.alms-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
.alms-grid-2 { }
.alms-grid-4 { }
.alms-grid-services, .alms-grid-blog, .alms-grid-facilities { }
.alms-grid-testimonials { }
.alms-grid-areas { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
	.alms-grid-2, .alms-grid-4, .alms-grid-facilities { grid-template-columns: repeat(2, 1fr); }
	.alms-grid-areas { grid-template-columns: repeat(3, 1fr); }
	.alms-grid-blog { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.alms-grid-services, .alms-grid-testimonials, .alms-grid-blog { grid-template-columns: repeat(3, 1fr); }
	.alms-grid-4 { grid-template-columns: repeat(4, 1fr); }
	.alms-grid-facilities { grid-template-columns: repeat(3, 1fr); }
	.alms-grid-areas { grid-template-columns: repeat(4, 1fr); }
}

.alms-card {
	background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: var(--alms-radius);
	padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: all .2s ease; position: relative;
}
.alms-card:hover { transform: translateY(-4px); box-shadow: var(--alms-shadow); border-color: var(--alms-green); }
.alms-card-icon {
	width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
	background: var(--alms-green-light); color: var(--alms-green-on-tint);
}
/* Real uploaded photo instead of the icon badge — wider than the 52px
   circle so a cropped photo still reads clearly, not as an indistinct blur. */
.alms-card-thumb {
	display: block; width: calc(100% + 52px); margin: -26px -26px 0; height: 160px;
	border-radius: var(--alms-radius) var(--alms-radius) 0 0; overflow: hidden;
}
.alms-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.alms-card-thumb-lg { width: 220px; height: 220px; margin: 0 auto; border-radius: var(--alms-radius); }
.alms-card-icon-sm { width: 40px; height: 40px; border-radius: 12px; }
.alms-card-icon-lg { width: 72px; height: 72px; border-radius: 18px; }
.alms-card-icon-lg .alms-icon, .alms-card-icon-lg svg { width: 32px; height: 32px; }
.alms-service-card h3, .alms-service-card h2 { font-size: 17px; color: var(--alms-heading); }
.alms-service-card p { color: var(--alms-text-muted); font-size: 13px; flex: 1; }
.alms-card-link { color: var(--alms-green-on-tint); font-weight: 800; font-size: 13px; }

.alms-area-card { align-items: flex-start; }
.alms-area-card h3, .alms-area-card h2 { font-size: 15px; color: var(--alms-heading); }
.alms-area-response { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: var(--alms-text-muted); background: var(--alms-bg-alt); padding: 4px 9px; border-radius: 999px; }

.alms-why-item { text-align: center; padding: 8px; }
.alms-why-item .alms-card-icon { margin: 0 auto 14px; }
.alms-why-item h3 { font-size: 15px; margin-bottom: 6px; color: var(--alms-heading); }
.alms-why-item p { font-size: 13px; color: var(--alms-text-muted); }

.alms-facility-card { background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: var(--alms-radius); padding: 24px; }
.alms-facility-card .alms-card-icon { margin-bottom: 14px; }
.alms-facility-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--alms-heading); }
.alms-facility-card p { color: var(--alms-text-muted); font-size: 13px; margin-bottom: 14px; }
.alms-facility-freq { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--alms-green-on-tint); background: var(--alms-green-light); padding: 5px 10px; border-radius: 999px; }

.alms-testimonial-card { background: rgba(30,41,59,.6); border: 1px solid #1e293b; border-radius: var(--alms-radius); padding: 24px; }
.alms-stars { color: #fbbf24; letter-spacing: 2px; margin-bottom: 10px; }
.alms-testimonial-comment { color: #cbd5e1; font-size: 13px; margin-bottom: 16px; }
.alms-testimonial-author strong { display: block; color: #fff; font-size: 13px; }
.alms-testimonial-author span { font-size: 11px; color: var(--alms-slate-400); }

.alms-blog-card-thumb, .alms-blog-thumb { border-radius: var(--alms-radius-sm); overflow: hidden; margin-bottom: 4px; }
.alms-blog-card h3, .alms-blog-card h2 { font-size: 16px; color: var(--alms-heading); }
.alms-blog-card p { color: var(--alms-text-muted); font-size: 13px; }

/* ---------- Timeline ---------- */
.alms-timeline { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 780px; margin: 0 auto; }
.alms-timeline-item { position: relative; padding-inline-start: 52px; }
.alms-timeline-dot {
	position: absolute; inset-inline-start: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
	background: var(--alms-green); color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 900; font-size: 14px; box-shadow: 0 6px 16px -6px rgba(5,150,105,.6);
}
.alms-timeline-item:not(:last-child)::after {
	content: ''; position: absolute; inset-inline-start: 17px; top: 36px; bottom: -28px; width: 2px; background: var(--alms-border);
}
.alms-timeline-item h3 { font-size: 15px; margin-bottom: 4px; color: var(--alms-heading); }
.alms-timeline-item p { font-size: 13px; color: var(--alms-text-muted); }

/* ---------- Accordion / FAQ ---------- */
.alms-accordion { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.alms-accordion-item { background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: 14px; overflow: hidden; }
.alms-accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; background: none; border: none; font-weight: 800; font-size: 14px; text-align: right; color: var(--alms-heading); }
.alms-accordion-chevron { transition: transform .2s ease; color: var(--alms-slate-400); }
.alms-accordion-item.is-open .alms-accordion-chevron { transform: rotate(180deg); }
.alms-accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 18px; }
.alms-accordion-item.is-open .alms-accordion-panel { max-height: 400px; padding-bottom: 16px; }
.alms-accordion-panel p { color: var(--alms-text-muted); font-size: 13px; margin: 0; }

/* ---------- Prose (service/area/page content) ---------- */
.alms-prose { font-size: 15px; color: var(--alms-text); }
.alms-prose p { margin: 0 0 16px; }
.alms-h2 { font-size: 22px; margin: 40px 0 20px; color: var(--alms-heading); }
.alms-feature-item { display: flex; align-items: flex-start; gap: 10px; background: var(--alms-bg-alt); border: 1px solid var(--alms-border); border-radius: 12px; padding: 14px; font-size: 13px; font-weight: 700; }
.alms-feature-item .alms-icon { color: var(--alms-green); margin-top: 2px; }
.alms-feature-safety .alms-icon { color: var(--alms-green); }
.alms-plain-list { display: flex; flex-direction: column; gap: 10px; }
.alms-plain-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.alms-plain-list .alms-icon { color: var(--alms-green); }
.alms-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.alms-tag { background: var(--alms-green-light); color: var(--alms-green-on-tint); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }

/* ---------- CTA band ---------- */
.alms-cta-band { background: linear-gradient(120deg, var(--alms-green), var(--alms-green-dark)); color: #fff; padding: 48px 0; }
.alms-cta-band-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; justify-content: space-between; }
.alms-cta-band h2 { font-size: 24px; margin-bottom: 6px; }
.alms-cta-band p { color: #d1fae5; font-size: 14px; }
.alms-cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) {
	.alms-cta-band-inner { flex-direction: row; text-align: right; }
}

/* ---------- Footer ---------- */
.alms-footer { background: var(--alms-navy); color: #cbd5e1; padding: 60px 0 32px; border-top: 1px solid #1e293b; }
.alms-trust-bar { display: grid; grid-template-columns: 1fr; gap: 20px; background: rgba(30,41,59,.7); border: 1px solid #1e293b; border-radius: 18px; padding: 22px; margin-bottom: 44px; }
.alms-trust-item { display: flex; align-items: center; gap: 12px; }
.alms-trust-icon { width: 42px; height: 42px; border-radius: 12px; background: rgba(5,150,105,.15); border: 1px solid rgba(52,211,153,.25); color: #34d399; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alms-trust-item .alms-widget-title { font-size: 13px; color: #fff; margin-bottom: 3px; font-weight: 800; }
.alms-trust-item p { font-size: 11px; color: var(--alms-slate-400); margin: 0; }
@media (min-width: 900px) { .alms-trust-bar { grid-template-columns: repeat(4, 1fr); } }

.alms-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
.alms-footer-brand .alms-footer-slogan { font-size: 13px; color: var(--alms-slate-400); max-width: 380px; margin: 14px 0; }
.alms-footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 13px; margin-bottom: 16px; }
.alms-footer-contact div { display: flex; align-items: center; gap: 10px; }
.alms-footer-contact .alms-icon { color: #34d399; }
.alms-footer-contact a:hover { color: #6ee7b7; }
.alms-footer-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.alms-footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.alms-social-icon {
	width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #cbd5e1; transition: all .2s ease;
}
.alms-social-icon:hover { background: var(--alms-green); border-color: var(--alms-green); color: #fff; transform: translateY(-2px); }
.alms-footer-col h3 { color: #fff; font-size: 14px; border-right: 3px solid var(--alms-green); padding-right: 10px; margin-bottom: 14px; }
.alms-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
/* :not(.alms-btn) keeps this from overriding real buttons (e.g. the CTA
   button in the brand column) — it targets plain footer nav/text links only. */
.alms-footer-col a:not(.alms-btn), .alms-footer-col button:not(.alms-btn) { color: var(--alms-slate-400); font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.alms-footer-col a:not(.alms-btn):hover, .alms-footer-col button:not(.alms-btn):hover { color: #6ee7b7; }
.alms-footer-more { color: #34d399 !important; font-weight: 800; }
/* var(--alms-slate-400), not the mode-flipping var(--alms-text-muted) —
   the footer background is fixed-dark in both light/dark site modes, but
   --alms-text-muted resolves to a mid-gray meant for LIGHT surfaces when
   the site is in light mode, which fails contrast here. */
.alms-footer-bottom { padding-top: 26px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--alms-slate-400); }
@media (min-width: 900px) {
	.alms-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
	.alms-footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Floating mobile actions ---------- */
.alms-floating-actions { position: fixed; bottom: 0; inset-inline: 0; z-index: 30; background: var(--alms-surface-translucent); backdrop-filter: blur(8px); border-top: 1px solid var(--alms-border); padding: 10px; box-shadow: 0 -6px 20px rgba(15,23,42,.08); }
.alms-fa-btn { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px; border-radius: 12px; font-weight: 800; font-size: 11px; color: #fff; }
.alms-fa-dark { background: var(--alms-navy); }
.alms-fa-green { background: var(--alms-green); }
.alms-fa-cta { position: relative; background: var(--alms-cta); border: none; }
.alms-fa-cta::after {
	content: ''; position: absolute; inset: 0; border-radius: inherit;
	border: 2px solid var(--alms-cta); opacity: .55; pointer-events: none;
	animation: alms-cta-pulse-ring 2.4s ease-out infinite;
	will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
	.alms-fa-cta::after { animation: none; display: none; }
}
.alms-floating-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 1024px) { .alms-floating-actions { display: none; } }
body { padding-bottom: 74px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- Modals ---------- */
.alms-modal-overlay { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(15,23,42,.8); backdrop-filter: blur(4px); }
.alms-modal-overlay.is-open { display: flex; }
.alms-modal { position: relative; background: var(--alms-surface); border-radius: 24px; max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--alms-shadow-lg); }
.alms-modal-close { position: absolute; top: 16px; left: 16px; background: var(--alms-bg-alt); border: none; width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--alms-text-muted); z-index: 2; }
.alms-modal-close:hover { background: var(--alms-border); }

/* ---------- Search ---------- */
.alms-search-trigger {
	display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	border-radius: 50%; color: var(--alms-text); flex-shrink: 0; transition: background-color .15s;
}
.alms-search-trigger:hover { background: var(--alms-bg-alt); color: var(--alms-green); }
.alms-search-trigger-mobile { display: flex; }
@media (min-width: 1024px) { .alms-search-trigger-mobile { display: none; } }

.alms-search-modal { padding: 36px 28px 28px; max-width: 640px; }
.alms-search-form {
	display: flex; align-items: center; gap: 10px; background: var(--alms-bg-alt);
	border: 2px solid var(--alms-border); border-radius: 999px; padding: 6px 6px 6px 20px;
	transition: border-color .15s;
}
.alms-search-form:focus-within { border-color: var(--alms-green); }
.alms-search-form-icon { color: var(--alms-text-muted); display: flex; }
.alms-search-input {
	flex: 1; border: none; background: none; font-size: 15px; font-family: inherit;
	color: var(--alms-text); padding: 10px 0; outline: none;
}
.alms-search-form .alms-btn { flex-shrink: 0; padding: 11px 22px; }
.alms-search-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; font-size: 12px; }
.alms-search-suggestions span { color: var(--alms-text-muted); font-weight: 700; }
.alms-search-suggestions a { color: var(--alms-green-on-tint); background: var(--alms-green-light); padding: 5px 12px; border-radius: 999px; font-weight: 700; }
.alms-search-suggestions a:hover { opacity: .85; }

.alms-search-form-inline { max-width: 520px; margin: 24px auto 0; }
.alms-search-result-type {
	display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800;
	color: var(--alms-green-on-tint); background: var(--alms-green-light); padding: 3px 10px; border-radius: 999px;
	align-self: flex-start; margin-bottom: 4px;
}
.alms-search-empty { text-align: center; max-width: 480px; margin: 0 auto; padding: 40px 0; }
.alms-search-empty .alms-card-icon-lg { margin: 0 auto 20px; }
.alms-search-empty p { color: var(--alms-text-muted); margin-bottom: 24px; }

/* ---------- Forms ---------- */
.alms-modal-form .alms-form-card { padding: 28px; }
.alms-form-card { background: transparent; }
.alms-form-head .alms-widget-title { display: flex; align-items: center; gap: 8px; font-size: 18px; margin-bottom: 6px; color: var(--alms-heading); font-weight: 800; }
.alms-form-head .alms-widget-title .alms-icon { color: var(--alms-green); }
.alms-form-head p { color: var(--alms-text-muted); font-size: 13px; margin-bottom: 20px; }
.alms-form-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-weight: 700; font-size: 12px; padding: 12px 14px; border-radius: 12px; margin-bottom: 16px; }
.alms-form-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
@media (min-width: 640px) {
	.alms-form-row-2 { grid-template-columns: 1fr 1fr; }
	.alms-form-row-3 { grid-template-columns: repeat(3, 1fr); }
}
.alms-field label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--alms-text); margin-bottom: 6px; }
.alms-modal-form .alms-field label,
.alms-modal-form .alms-form-consent label { color: var(--alms-text); }
.alms-field input, .alms-field select, .alms-field textarea {
	width: 100%; background: var(--alms-input-bg); border: 1px solid var(--alms-border); border-radius: 12px;
	padding: 11px 14px; font-size: 13px; font-family: inherit; color: var(--alms-text); transition: border-color .15s, background-color .15s;
}
.alms-field input:focus, .alms-field select:focus, .alms-field textarea:focus { outline: none; border-color: var(--alms-green); background: var(--alms-surface); }
.alms-form-consent { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 11px; color: var(--alms-text-muted); }
.alms-form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.alms-form-success { text-align: center; padding: 10px 4px; }
.alms-success-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--alms-green); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.alms-form-success .alms-widget-title { font-size: 18px; margin-bottom: 8px; color: var(--alms-heading); font-weight: 800; }
.alms-form-success p { color: var(--alms-text-muted); font-size: 13px; max-width: 420px; margin: 0 auto 16px; }
.alms-form-success .alms-form-actions { justify-content: center; }

/* Contact page */
.alms-contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.alms-contact-info-item { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.alms-contact-info-item .alms-contact-info-label { font-size: 13px; color: var(--alms-text-muted); margin-bottom: 2px; display: block; font-weight: 700; }
.alms-contact-info-item a, .alms-contact-info-item span { font-weight: 800; font-size: 14px; }
.alms-map-embed { border-radius: var(--alms-radius); overflow: hidden; margin-top: 10px; }
.alms-map-embed iframe { width: 100%; height: 260px; border: 0; }
.alms-contact-form-wrap { background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: var(--alms-radius); box-shadow: var(--alms-shadow); padding: 8px; }
@media (min-width: 960px) { .alms-contact-grid { grid-template-columns: 1fr 1.3fr; } }

/* Sitemap */
.alms-sitemap-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
.alms-sitemap-col h2 { font-size: 15px; border-right: 3px solid var(--alms-green); padding-right: 10px; margin-bottom: 14px; color: var(--alms-heading); }
.alms-sitemap-col ul { display: flex; flex-direction: column; gap: 8px; }
.alms-sitemap-col a { font-size: 13px; color: var(--alms-text-muted); }
.alms-sitemap-col a:hover { color: var(--alms-green); }
@media (min-width: 900px) { .alms-sitemap-grid { grid-template-columns: repeat(4, 1fr); } }

.alms-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.alms-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border-radius: 10px; background: var(--alms-bg-alt); font-weight: 700; font-size: 13px; padding: 0 10px; }
.alms-pagination .page-numbers.current { background: var(--alms-green); color: #fff; }

.alms-404 { padding: 100px 0; }
.alms-404 h1 { font-size: 90px; color: var(--alms-border); }

/* ---------- Customer dashboard (subscribers) ---------- */
.alms-dashboard-avatar { border-radius: 50%; margin: 0 auto 16px; border: 3px solid rgba(255,255,255,.25); }
.alms-dashboard-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.alms-dashboard-card { background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: var(--alms-radius); padding: 26px; }
.alms-dashboard-card h3 { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--alms-heading); margin-bottom: 16px; }
.alms-dashboard-card h3 .alms-icon { color: var(--alms-green); }
.alms-dashboard-account-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.alms-dashboard-account-list li { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding-bottom: 10px; border-bottom: 1px solid var(--alms-border); }
.alms-dashboard-account-list span { color: var(--alms-text-muted); }
.alms-dashboard-account-list strong { color: var(--alms-heading); }
@media (min-width: 900px) {
	.alms-dashboard-grid { grid-template-columns: 1fr 1fr; }
}

/* Stats row */
.alms-dashboard-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 32px; }
.alms-dashboard-stat { background: var(--alms-bg-alt); border: 1px solid var(--alms-border); border-radius: var(--alms-radius); padding: 18px; text-align: center; }
.alms-dashboard-stat strong { display: block; font-size: 26px; font-weight: 900; color: var(--alms-heading); }
.alms-dashboard-stat span { font-size: 12px; color: var(--alms-text-muted); }
.alms-dashboard-stat-new strong { color: #b45309; }
.alms-dashboard-stat-contacted strong { color: var(--alms-green); }
.alms-dashboard-stat-closed strong { color: var(--alms-text-muted); }
@media (min-width: 640px) { .alms-dashboard-stats { grid-template-columns: repeat(4, 1fr); } }

/* "طلباتي" list */
.alms-dashboard-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.alms-dashboard-orders { display: flex; flex-direction: column; gap: 12px; }
.alms-dashboard-order {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: var(--alms-radius-sm); padding: 16px 18px;
}
.alms-dashboard-order-main { display: flex; flex-direction: column; gap: 3px; }
.alms-dashboard-order-main strong { color: var(--alms-heading); font-size: 14px; }
.alms-dashboard-order-main span { font-size: 12px; color: var(--alms-text-muted); }
.alms-dashboard-order-source { font-style: normal; }
.alms-dashboard-order-meta { display: flex; align-items: center; gap: 12px; }
.alms-dashboard-order-status { font-size: 11px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.alms-status-new { background: #fef3c7; color: #92400e; }
.alms-status-contacted { background: var(--alms-green-light); color: var(--alms-green-on-tint); }
.alms-status-closed { background: var(--alms-bg-alt); color: var(--alms-text-muted); }

/* Manager dashboard: inline status-change dropdown, styled as the same badge pill */
.alms-status-select {
	appearance: none; -webkit-appearance: none; border: 0; cursor: pointer;
	font-size: 11px; font-weight: 800; padding: 4px 28px 4px 12px; border-radius: 999px;
	font-family: inherit;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23666'><path d='M5.5 7.5l4.5 4.5 4.5-4.5z'/></svg>");
	background-repeat: no-repeat; background-position: left 8px center; background-size: 12px;
}
.alms-status-select:disabled { opacity: .6; cursor: wait; }
.alms-dashboard-order-date { font-size: 11px; color: var(--alms-text-muted); }
.alms-dashboard-empty { text-align: center; padding: 40px 20px; background: var(--alms-bg-alt); border-radius: var(--alms-radius); }
.alms-dashboard-empty .alms-card-icon-lg { margin: 0 auto 16px; }
.alms-dashboard-empty p { color: var(--alms-text-muted); margin-bottom: 20px; }

/* Manager dashboard: date/period/service filter bar */
.alms-dashboard-filters {
	display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px;
	background: var(--alms-surface); border: 1px solid var(--alms-border); border-radius: var(--alms-radius);
	padding: 20px; margin-bottom: 28px;
}
.alms-dashboard-filter-field { display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.alms-dashboard-filter-field label { font-size: 12px; font-weight: 700; color: var(--alms-text-muted); }
.alms-dashboard-filter-field select,
.alms-dashboard-filter-field input[type="date"] {
	border: 1px solid var(--alms-border); border-radius: var(--alms-radius-sm); padding: 9px 12px;
	background: var(--alms-bg-alt); color: var(--alms-heading); font-family: inherit; font-size: 13px;
}
.alms-dashboard-custom-dates { display: flex; flex-wrap: wrap; gap: 16px; }
.alms-dashboard-filter-actions { display: flex; gap: 10px; margin-inline-start: auto; }

/* Click-analytics stats row (phone/whatsapp) */
.alms-dashboard-stats-clicks { grid-template-columns: repeat(2, 1fr); margin-bottom: 40px; }
.alms-dashboard-stat-phone strong { color: var(--alms-green); }
.alms-dashboard-stat-whatsapp strong { color: #22c55e; }

/* "الأكثر تفاعلاً" table */
.alms-dashboard-table-wrap { overflow-x: auto; border: 1px solid var(--alms-border); border-radius: var(--alms-radius); }
.alms-dashboard-table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; }
.alms-dashboard-table th, .alms-dashboard-table td { padding: 12px 16px; text-align: right; }
.alms-dashboard-table thead th { background: var(--alms-bg-alt); color: var(--alms-text-muted); font-weight: 700; font-size: 12px; }
.alms-dashboard-table tbody tr { border-top: 1px solid var(--alms-border); }
.alms-dashboard-table tbody tr:hover { background: var(--alms-bg-alt); }

/* ---------- Persistent side icons (WhatsApp/Phone) + scroll-to-top ---------- */
.alms-side-icons {
	position: fixed; bottom: 110px; left: 20px; z-index: 45;
	display: none; flex-direction: column; gap: 12px;
}
.alms-side-icon {
	width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	color: #fff; box-shadow: var(--alms-shadow-lg); transition: transform .18s ease;
}
.alms-side-icon:hover { transform: scale(1.08); }
.alms-side-icon-whatsapp { background: #22c55e; }
.alms-side-icon-phone { background: linear-gradient(135deg, var(--alms-green), var(--alms-green-dark)); }
.alms-side-icon svg { width: 24px; height: 24px; }

.alms-scroll-top {
	position: fixed; bottom: 20px; right: 20px; z-index: 45; width: 46px; height: 46px; border-radius: 50%;
	background: var(--alms-surface); color: var(--alms-green); border: 1px solid var(--alms-border);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--alms-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s ease;
}
.alms-scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.alms-scroll-top:hover { background: var(--alms-green); color: #fff; }

@media (max-width: 1023px) {
	.alms-scroll-top { bottom: 90px; }
}

@media (min-width: 1024px) {
	.alms-side-icons { display: flex; }
}
