﻿/* =====================================================================
   "عن البرنامج" (js/About.js) — بيتحمل في Main.Master وشاشة الدخول
   الألوان من متغيرات الاستيل (--ez-*) فالنافذة بتاخد لون الاستيل المختار
   ===================================================================== */
.ezab-overlay {
	position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 16px;
	background: rgba(2, 6, 23, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
	font-family: var(--ez-font); font-size: 14px; line-height: 1.55;
}
.ezab-overlay[hidden] { display: none; }
.ezab-dialog {
	width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; display: flex; flex-direction: column;
	background: var(--ez-surface); color: var(--ez-ink); border-radius: 20px; box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
	animation: ezabIn .22s ease;
}
@keyframes ezabIn { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

/* الرأس الملون */
.ezab-head {
	position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 24px 22px; text-align: center; color: #fff; overflow: hidden;
	background:
		radial-gradient(circle at 12% 110%, rgba(255, 255, 255, .16), transparent 42%),
		radial-gradient(circle at 92% -20%, rgba(255, 255, 255, .14), transparent 40%),
		linear-gradient(135deg, var(--ez-accent-2), var(--ez-accent));
}
.ezab-x {
	position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
	border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 15px; cursor: pointer;
}
.ezab-x:hover { background: rgba(255, 255, 255, .26); }
.ezab-x:focus-visible { outline: 3px solid rgba(255, 255, 255, .6); outline-offset: 1px; }
.ezab-logo {
	position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 4px;
	background: #fff; color: var(--ez-accent); font-size: 27px; box-shadow: 0 10px 26px rgba(0, 0, 0, .22), 0 0 0 6px rgba(255, 255, 255, .16);
}
.ezab-logo::after {
	content: ""; position: absolute; top: 3px; inset-inline-end: 3px; width: 14px; height: 14px; border-radius: 50%;
	background: var(--ez-hl); border: 3px solid #fff;
}
.ezab-head h2 { display: grid; gap: 2px; margin: 0; font-size: 30px; font-weight: 800; line-height: 1.15; }
.ezab-head h2 small {
	font-family: "Segoe UI", Tahoma, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; opacity: .85;
}
.ezab-head p { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-size: 12.5px; font-weight: 600; opacity: .9; }
.ezab-head p i { width: 4px; height: 4px; border-radius: 50%; background: var(--ez-hl); }

/* عربي | إنجليزي */
.ezab-body { display: grid; grid-template-columns: 1fr 1fr; }
.ezab-col { display: grid; align-content: start; gap: 12px; padding: 20px 22px; }
.ezab-col + .ezab-col { border-inline-start: 1px solid var(--ez-line-soft, var(--ez-line)); }
.ezab-col[dir="ltr"] { text-align: left; }
.ezab-col h3 {
	display: flex; align-items: center; gap: 8px; margin: 0 0 2px; font-size: 13px; font-weight: 800; color: var(--ez-accent);
}
.ezab-col h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to var(--ezab-end, left), var(--ez-line), transparent); }
.ezab-col[dir="ltr"] h3::after { --ezab-end: right; }
.ezab-col[lang="en"] { font-family: "Segoe UI", var(--ez-font); }
.ezab-row { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ezab-ic {
	width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center;
	background: var(--ez-accent-soft); color: var(--ez-accent); font-size: 14px;
}
.ezab-t { display: grid; min-width: 0; line-height: 1.35; }
.ezab-t small { font-size: 11.5px; color: var(--ez-ink-3); }
.ezab-t b { font-size: 14.5px; font-weight: 700; overflow-wrap: anywhere; }
.ezab-t b[dir="ltr"] { font-variant-numeric: tabular-nums; letter-spacing: .04em; text-align: start; }
.ezab-t a { color: inherit; text-decoration: none; }
.ezab-t a:hover { color: var(--ez-accent); }
.ezab-col[dir="rtl"] .ezab-t b[dir="ltr"] { text-align: right; }

/* الذيل */
.ezab-foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
	padding: 14px 22px; border-top: 1px solid var(--ez-line-soft, var(--ez-line)); background: var(--ez-surface-2);
}
.ezab-call {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; text-decoration: none;
	background: var(--btn-primary-bg, var(--ez-accent)); color: var(--ez-accent-ink); font-weight: 700; font-size: 13px;
	box-shadow: 0 6px 16px color-mix(in srgb, var(--ez-accent) 30%, transparent);
}
.ezab-call:hover { color: var(--ez-accent-ink); filter: brightness(1.08); }
.ezab-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .6; }
.ezab-copy { font-size: 11.5px; color: var(--ez-ink-3); }

@media (max-width: 560px) {
	.ezab-overlay { padding: 0; align-items: stretch; }
	.ezab-dialog { max-height: none; height: 100%; border-radius: 0; }
	.ezab-body { grid-template-columns: 1fr; flex: 1; align-content: start; }
	.ezab-col + .ezab-col { border-inline-start: 0; border-top: 1px solid var(--ez-line-soft, var(--ez-line)); }
	.ezab-foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .ezab-dialog { animation: none; } }
@media print { .ezab-overlay { display: none !important; } }
