/* Vehicle Verification — public page */

body.vvr-blank-body { margin: 0; background: #f4f6f5; }

.vvr-app {
	--vvr-green: #0c6b3d;
	--vvr-green-dark: #08532f;
	--vvr-green-600: #128a4f;
	--vvr-green-50: #e8f6ee;
	--vvr-text: #101828;
	--vvr-text-2: #2b3631;
	--vvr-muted: #5d6a64;
	--vvr-border: #e3e8e5;
	--vvr-bg: #f4f6f5;
	--vvr-footer: #075030;
	font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	color: var(--vvr-text);
	background: var(--vvr-bg);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.vvr-app *, .vvr-app *::before, .vvr-app *::after { box-sizing: border-box; }
.vvr-app h1, .vvr-app h2, .vvr-app h3, .vvr-app h4, .vvr-app p, .vvr-app ol {
	margin: 0; padding: 0; font-family: inherit; color: inherit; letter-spacing: normal; text-transform: none; line-height: 1.3;
}
.vvr-app a { color: inherit; text-decoration: none; box-shadow: none; }
.vvr-app img { max-width: 100%; height: auto; display: block; border: 0; }
.vvr-app button { font-family: inherit; }
.vvr-app .vvr-ico { flex: none; display: block; }

.vvr-container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.vvr-header { background: #fff; border-bottom: 1px solid var(--vvr-border); position: relative; }
.vvr-header-inner {
	max-width: 1160px; margin: 0 auto; padding: 0 24px; height: 76px;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.vvr-header-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.vvr-app .vvr-menu-btn {
	background: none; border: 0; padding: 6px; margin: 0; color: var(--vvr-green); cursor: pointer; border-radius: 8px; line-height: 0;
}
.vvr-app .vvr-menu-btn:hover { background: var(--vvr-green-50); }
.vvr-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vvr-brand-name { font-size: 18px; font-weight: 600; color: #3a4540; line-height: 1.15; max-width: 220px; }
.vvr-app .vvr-brand-logo { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
.vvr-logo-default {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 48px; height: 48px !important; border-radius: 12px; background: var(--vvr-green-50); color: var(--vvr-green);
}
.vvr-header-actions { display: flex; align-items: center; gap: 18px; }
.vvr-hlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--vvr-text) !important; font-size: 15px; }
.vvr-hlink .vvr-ico { color: var(--vvr-green); }
.vvr-hlink:hover span { color: var(--vvr-green); }
.vvr-sep { width: 1px; height: 26px; background: var(--vvr-border); }
.vvr-beta { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 6px; background: #d4a72c; color: #fff; font-weight: 600; font-size: 14px; }
.vvr-dropdown {
	position: absolute; left: 24px; top: 70px; z-index: 50; min-width: 220px; background: #fff;
	border: 1px solid var(--vvr-border); border-radius: 10px; box-shadow: 0 12px 32px rgba(16, 24, 40, .12); padding: 6px;
}
.vvr-dropdown[hidden] { display: none; }
.vvr-dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-weight: 500; }
.vvr-dropdown a:hover { background: var(--vvr-green-50); color: var(--vvr-green); }

/* ---------- Page ---------- */
.vvr-main {
	padding: 26px 0 44px;
	background:
		linear-gradient(115deg, transparent 0 62%, rgba(12, 107, 61, .035) 62% 62.2%, transparent 62.2%),
		linear-gradient(125deg, transparent 0 78%, rgba(12, 107, 61, .035) 78% 78.2%, transparent 78.2%),
		var(--vvr-bg);
}
.vvr-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--vvr-muted); margin-bottom: 26px; }
.vvr-breadcrumb a { display: inline-flex; align-items: center; gap: 8px; }
.vvr-breadcrumb a:hover { color: var(--vvr-green); }
.vvr-breadcrumb .vvr-ico { color: #8a958f; }
.vvr-breadcrumb a:first-child .vvr-ico { color: var(--vvr-text-2); }
.vvr-breadcrumb .vvr-current { color: var(--vvr-green); font-weight: 500; }
.vvr-app .vvr-title { font-size: 36px; font-weight: 700; color: var(--vvr-text); margin-bottom: 10px; line-height: 1.2; }
.vvr-app .vvr-subtitle { font-size: 16px; color: var(--vvr-muted); margin-bottom: 30px; line-height: 1.55; }

.vvr-card {
	background: #fff; border: 1px solid #edf0ee; border-radius: 12px; padding: 24px; margin-bottom: 24px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px rgba(16, 24, 40, .05);
}
.vvr-app .vvr-card-title {
	font-size: 22px; font-weight: 600; padding-bottom: 16px; margin-bottom: 22px; border-bottom: 1px solid var(--vvr-border);
}

.vvr-alert {
	display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; margin-bottom: 20px;
	border-radius: 10px; background: #fff4f2; border: 1px solid #f6d3cc; color: #9b2c1c; font-weight: 500;
}

/* ---------- Search card ---------- */
.vvr-search { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: center; padding: 26px 28px; }
.vvr-search-illus svg { width: 100%; height: auto; display: block; }
.vvr-search-head { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 22px; }
.vvr-icon-box {
	flex: none; width: 58px; height: 58px; border-radius: 12px; background: var(--vvr-green-50); color: var(--vvr-green);
	display: inline-flex; align-items: center; justify-content: center;
}
.vvr-app .vvr-search-head h2 { font-size: 23px; font-weight: 600; margin: 6px 0 8px; }
.vvr-app .vvr-search-head p { color: var(--vvr-muted); font-size: 15px; line-height: 1.55; }

.vvr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.vvr-form-field label { display: block; font-weight: 500; font-size: 15px; color: var(--vvr-text-2); margin: 0 0 9px; }
.vvr-app .vvr-form-field input,
.vvr-app .vvr-form-field select {
	width: 100%; height: 48px; padding: 0 16px; margin: 0; font: inherit; font-size: 15px; color: var(--vvr-text);
	background: #fff; border: 1px solid #d3dad6; border-radius: 6px; box-shadow: none; outline: none;
	-webkit-appearance: none; appearance: none; line-height: 46px;
}
.vvr-app .vvr-form-field input::placeholder { color: #7c8781; opacity: 1; }
.vvr-app .vvr-form-field input:focus,
.vvr-app .vvr-form-field select:focus { border-color: var(--vvr-green-600); box-shadow: 0 0 0 3px rgba(18, 138, 79, .15); }
.vvr-select { position: relative; }
.vvr-app .vvr-select select { padding-right: 44px; cursor: pointer; }
.vvr-select .vvr-ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--vvr-text-2); }

.vvr-form-actions { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.vvr-app .vvr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; margin: 0;
	font: inherit; font-size: 18px; font-weight: 600; line-height: 1; border-radius: 6px; cursor: pointer;
	text-decoration: none; transition: background .15s, border-color .15s, color .15s; text-transform: none; letter-spacing: 0;
}
.vvr-app .vvr-btn-primary { background: var(--vvr-green); color: #fff; border: 1px solid var(--vvr-green); }
.vvr-app .vvr-btn-primary:hover { background: var(--vvr-green-dark); border-color: var(--vvr-green-dark); color: #fff; }
.vvr-app .vvr-btn-outline { background: #fff; color: var(--vvr-green); border: 1px solid #7fbf9c; }
.vvr-app .vvr-btn-outline:hover { background: var(--vvr-green-50); }
.vvr-hint { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px !important; color: var(--vvr-muted); font-size: 15px; }
.vvr-hint .vvr-ico { color: #6b7671; margin-top: 2px; }

/* ---------- How it works ---------- */
.vvr-how { padding: 24px; }
.vvr-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.vvr-step { display: flex; gap: 16px; padding: 4px 22px 8px; border-left: 1px solid var(--vvr-border); margin: 0; }
.vvr-step:first-child { border-left: 0; padding-left: 0; }
.vvr-step-num {
	flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--vvr-green-50); color: var(--vvr-green);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 16px;
}
.vvr-step-icon { flex: none; color: var(--vvr-green); padding-top: 2px; }
.vvr-app .vvr-step h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.vvr-app .vvr-step p { font-size: 13.5px; color: var(--vvr-muted); line-height: 1.6; }

/* ---------- Details ---------- */
.vvr-idcard { padding: 26px 24px 30px; }
.vvr-idcard-head { margin-bottom: 30px; }
.vvr-idnum { font-size: 36px; font-weight: 700; line-height: 1.1; color: var(--vvr-text); letter-spacing: -.3px; }
.vvr-idlabel { font-size: 17px; color: var(--vvr-text-2); margin-top: 4px; }
.vvr-grid-3 { display: grid; grid-template-columns: 1fr 1.05fr .8fr; gap: 26px 32px; }
.vvr-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin-bottom: 30px; }
.vvr-field { min-width: 0; }
.vvr-label { display: block; font-size: 15px; color: var(--vvr-muted); margin-bottom: 6px; }
.vvr-value { display: block; font-size: 16px; font-weight: 600; color: var(--vvr-text); line-height: 1.55; word-break: break-word; }
.vvr-badge {
	display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.5;
	background: var(--vvr-green-50); color: #157344;
}
.vvr-badge--expired, .vvr-badge--cancelled { background: #fdecea; color: #b42318; }
.vvr-badge--suspended { background: #fff4e0; color: #a15c07; }

.vvr-attach { margin-top: 26px; }
.vvr-app .vvr-attach h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 10px; }
.vvr-file {
	display: flex; align-items: stretch; background: #f6f7f7; border: 1px solid var(--vvr-border); border-radius: 6px; overflow: hidden;
}
.vvr-app .vvr-file-thumb {
	flex: none; width: 160px; height: 72px; padding: 0; margin: 0; border: 0; background: #dfe4e1; cursor: zoom-in; display: block; border-radius: 0;
}
.vvr-app .vvr-file-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vvr-file-meta { flex: 1; display: flex; align-items: center; gap: 16px; padding: 0 20px; min-width: 0; }
.vvr-file-check { color: var(--vvr-green); line-height: 0; }
.vvr-file-name { flex: 1; font-size: 15.5px; color: var(--vvr-text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vvr-app .vvr-file-eye { background: none; border: 0; padding: 6px; margin: 0; color: var(--vvr-text); cursor: pointer; line-height: 0; border-radius: 6px; }
.vvr-app .vvr-file-eye:hover { background: #e7ebe9; }

.vvr-app .vvr-btn-back {
	height: 44px; font-size: 16px; padding: 0 18px; background: #fff; color: var(--vvr-text); border: 1px solid #cfd6d2; gap: 12px;
}
.vvr-app .vvr-btn-back:hover { border-color: var(--vvr-green); color: var(--vvr-green); }

/* ---------- Footer ---------- */
.vvr-footer { background: var(--vvr-footer); color: #fff; }
.vvr-footer-inner { max-width: 1040px; margin: 0 auto; padding: 30px 24px 26px; }
.vvr-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 22px; }
.vvr-app .vvr-foot-head {
	display: flex; width: 100%; align-items: center; justify-content: space-between; background: none; border: 0; margin: 0;
	padding: 0 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 16px; font-weight: 600; text-align: left; cursor: default;
}
.vvr-foot-head .vvr-ico { display: none; }
.vvr-foot-links { padding-top: 14px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.vvr-foot-links a, .vvr-foot-links span { color: rgba(255, 255, 255, .9) !important; font-size: 15px; }
.vvr-foot-links a { text-decoration: none; }
.vvr-foot-links a:hover { color: #fff !important; text-decoration: underline; }
.vvr-socials { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 14px; }
.vvr-socials a {
	width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 6px; color: #fff !important;
}
.vvr-socials a:hover { background: rgba(255, 255, 255, .12); }
.vvr-app .vvr-copy { font-size: 15px; color: rgba(255, 255, 255, .92); }
.vvr-app .vvr-copy strong { color: #fff; font-weight: 700; }

/* ---------- Modals ---------- */
.vvr-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.vvr-modal[hidden] { display: none; }
.vvr-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 15, .65); }
.vvr-modal-box {
	position: relative; background: #fff; border-radius: 14px; padding: 22px; width: 100%; max-width: 440px;
	max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.vvr-modal-box--img { max-width: 960px; padding: 10px; background: #111; }
.vvr-modal-box--img img { width: 100%; max-height: calc(100vh - 60px); object-fit: contain; border-radius: 8px; }
.vvr-app .vvr-modal-close {
	position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; margin: 0; padding: 0;
	background: rgba(255, 255, 255, .92); color: #111; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.vvr-app .vvr-modal-title { font-size: 19px; font-weight: 600; margin-bottom: 14px; }
.vvr-reader { width: 100%; min-height: 240px; background: #0f1512; border-radius: 10px; overflow: hidden; }
.vvr-reader video { width: 100% !important; display: block; }
.vvr-scan-msg { font-size: 14px; color: var(--vvr-muted); margin: 12px 0 !important; min-height: 20px; }
.vvr-app .vvr-upload { width: 100%; height: 46px; font-size: 16px; }

/* ---------- Visitor print block ---------- */
.vvr-print-block { display: none; }
@media print {
	.vvr-noprint .vvr-app-inner { display: none !important; }
	.vvr-noprint .vvr-print-block { display: block; padding: 40px; font-size: 18px; text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.vvr-search { grid-template-columns: 1fr; gap: 10px; }
	.vvr-search-illus { max-width: 300px; margin: 0 auto; }
	.vvr-steps { grid-template-columns: 1fr; }
	.vvr-step { border-left: 0; border-top: 1px solid var(--vvr-border); padding: 20px 0; }
	.vvr-step:first-child { border-top: 0; padding-top: 4px; }
}

@media (max-width: 680px) {
	.vvr-app { font-size: 15px; }
	.vvr-container { padding: 0 16px; }
	.vvr-header-inner { padding: 0 16px; height: 68px; gap: 10px; }
	.vvr-brand-name { font-size: 15px; max-width: 130px; }
	.vvr-app .vvr-brand-logo { height: 44px; }
	.vvr-header-actions { gap: 12px; }
	.vvr-hide-sm, .vvr-sep { display: none; }
	.vvr-dropdown { left: 16px; right: 16px; }

	.vvr-main { padding-top: 18px; }
	.vvr-breadcrumb { margin-bottom: 18px; font-size: 14.5px; }
	.vvr-app .vvr-title { font-size: 30px; }
	.vvr-app .vvr-subtitle { font-size: 15.5px; margin-bottom: 22px; }
	.vvr-card { padding: 20px 16px; }

	.vvr-search { padding: 20px 16px; }
	.vvr-search-head { gap: 16px; }
	.vvr-app .vvr-search-head h2 { font-size: 21px; margin-top: 2px; }
	.vvr-form-grid { grid-template-columns: 1fr; gap: 16px; }
	.vvr-form-actions { grid-template-columns: 1fr; gap: 14px; }

	.vvr-idcard { padding: 22px 20px 10px; }
	.vvr-carddata { padding: 22px 20px; }
	.vvr-idcard-head { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--vvr-border); }
	.vvr-idnum { font-size: 32px; }
	.vvr-grid-3 { grid-template-columns: 1fr 1fr; gap: 0 20px; }
	.vvr-grid-3 .vvr-span-2 { grid-column: span 2; }
	.vvr-grid-3 .vvr-field { padding: 16px 0; border-bottom: 1px solid var(--vvr-border); }
	.vvr-grid-3 .vvr-field:nth-last-child(-n+2) { border-bottom: 0; }

	.vvr-grid-2 { grid-template-columns: 1fr; gap: 0; margin-bottom: 6px; }
	.vvr-grid-2 .vvr-field { padding: 16px 0; border-bottom: 1px solid var(--vvr-border); }
	.vvr-grid-2 .vvr-field:last-child { border-bottom: 0; }
	.vvr-value { font-size: 17px; }

	.vvr-file { flex-direction: column; background: none; border: 0; border-radius: 0; overflow: visible; }
	.vvr-app .vvr-file-thumb { width: 100%; height: 150px; border-radius: 4px; overflow: hidden; }
	.vvr-file-meta { margin-top: 10px; padding: 12px 14px; background: #f6f7f7; border: 1px solid var(--vvr-border); border-radius: 6px; gap: 12px; }
	.vvr-file-name { font-size: 15px; }

	.vvr-footer-inner { padding: 22px 16px 26px; }
	.vvr-footer-cols { grid-template-columns: 1fr; gap: 0; }
	.vvr-app .vvr-foot-head { padding: 14px 0; cursor: pointer; font-size: 17px; }
	.vvr-foot-head .vvr-ico { display: block; transition: transform .2s; }
	.vvr-foot-col.is-open .vvr-foot-head .vvr-ico { transform: rotate(180deg); }
	.vvr-foot-links { display: none; padding: 12px 0 4px; }
	.vvr-foot-col.is-open .vvr-foot-links { display: flex; }
	.vvr-beta { height: 28px; padding: 0 10px; font-size: 13px; }
	.vvr-foot-social .vvr-foot-head { cursor: default; }
	.vvr-socials { padding: 18px 0 6px; }
	.vvr-socials a { width: 48px; height: 48px; }
	.vvr-copy { margin-top: 18px !important; font-size: 16px; }
}

/* Visitor English/Arabic switching */
.vvr-language-switch{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px;font-weight:700}
.vvr-language-switch a{color:#0c6b3d;text-decoration:none;border-radius:4px;padding:4px}
.vvr-language-switch a[aria-current="true"]{background:#e1f5eb;color:#065b33}
.vvr-app--lang-ar .vvr-main .vvr-container{text-align:right}
.vvr-app--lang-ar .vvr-label,.vvr-app--lang-ar .vvr-value{direction:rtl;unicode-bidi:plaintext}
.vvr-app--lang-ar .vvr-form-field label,.vvr-app--lang-ar .vvr-form-field input{text-align:right}
@media(max-width:600px){.vvr-language-switch{font-size:11px;gap:2px}}


/* ===============================================================
 * v1.3.0 – reference-aligned, owner-branded public header
 * User-uploaded logo at left; Beta, translator, account at right.
 * =============================================================== */
.vvr-app .vvr-header--reference {background:#fff;border-bottom:1px solid #acd7c1;}
.vvr-app .vvr-header--reference .vvr-header-inner {
    max-width:none;width:100%;margin:0 auto;height:74px;
    padding:0 clamp(18px, 2vw, 32px);gap:20px;
    display:flex;align-items:center;justify-content:space-between;
}
.vvr-header--reference .vvr-header-left {display:flex;align-items:center;gap:18px;min-width:0;flex:0 1 auto;}
.vvr-app .vvr-header--reference .vvr-menu-btn {padding:5px;border-radius:4px;color:#087a48;}
.vvr-app .vvr-header--reference .vvr-menu-btn .vvr-ico {width:21px;height:21px;}
.vvr-header--reference .vvr-brand {display:flex;align-items:center;min-width:0;gap:0;}
.vvr-header--reference .vvr-brand--with-logo .vvr-brand-name {display:none;}
.vvr-app .vvr-header--reference .vvr-brand-logo {
    display:block;width:auto;height:var(--vvr-h-logo-h,56px);max-height:64px;
    max-width:var(--vvr-h-logo-w,190px);object-fit:contain;object-position:left center;
}
.vvr-header--reference .vvr-brand--text-only .vvr-brand-name {
    color:#1b2931;font-size:18px;font-weight:600;max-width:270px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.vvr-header--reference .vvr-header-actions {display:flex;align-items:center;justify-content:flex-end;gap:26px;white-space:nowrap;margin-left:auto;flex:0 0 auto;}
.vvr-app .vvr-header--reference .vvr-beta {height:36px;min-width:56px;padding:0 14px;display:inline-flex;justify-content:center;align-items:center;background:#cda22e;border-radius:9px;font-size:14px;line-height:1;color:#fff;font-weight:700;letter-spacing:0;box-shadow:none;}
.vvr-header--reference .vvr-language-switch {display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:15px;font-weight:600;color:#111827;line-height:1;}
.vvr-header--reference .vvr-language-switch .vvr-ico {height:22px;width:22px;color:#0c7848;flex:0 0 auto;}
.vvr-app .vvr-header--reference .vvr-language-switch .vvr-language-toggle {padding:0;margin:0;color:#101820;border:0;background:none;border-radius:0;font-size:15px;font-weight:600;line-height:1;text-decoration:none;display:inline-flex;align-items:center;}
.vvr-app .vvr-header--reference .vvr-language-switch .vvr-language-toggle:hover {color:#0b7647;}
.vvr-app .vvr-header--reference .vvr-hlink-login {color:#101820!important;display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:500;line-height:1;text-decoration:none;white-space:nowrap;}
.vvr-header--reference .vvr-hlink-login .vvr-ico {color:#0c7848;width:22px;height:22px;flex:0 0 auto;}
.vvr-header--reference .vvr-hlink-login:hover .vvr-login-text {color:#0b7647;}
.vvr-header--reference .vvr-dropdown {top:70px;left:clamp(18px,2vw,32px);}
@media (max-width: 820px) {
    .vvr-app .vvr-header--reference .vvr-header-inner {height:68px;padding:0 16px;gap:12px;}
    .vvr-header--reference .vvr-header-left {gap:9px;}
    .vvr-header--reference .vvr-header-actions {gap:18px;}
    .vvr-app .vvr-header--reference .vvr-brand-logo {max-width:min(var(--vvr-h-logo-w,190px),160px);max-height:49px;}
    .vvr-app .vvr-header--reference .vvr-beta {display:none;}
}
@media (max-width: 540px) {
    .vvr-app .vvr-header--reference .vvr-header-inner {height:65px;padding:0 12px;gap:8px;}
    .vvr-app .vvr-header--reference .vvr-menu-btn {padding:2px;}
    .vvr-header--reference .vvr-header-left {gap:6px;}
    .vvr-app .vvr-header--reference .vvr-brand-logo {height:43px;max-height:43px;max-width:min(var(--vvr-h-logo-w,190px),135px);}
    .vvr-header--reference .vvr-brand--text-only .vvr-brand-name {max-width:112px;font-size:14px;}
    .vvr-header--reference .vvr-header-actions {gap:12px;}
    .vvr-header--reference .vvr-language-switch {gap:6px;}
    .vvr-app .vvr-header--reference .vvr-language-switch .vvr-language-toggle {font-size:13px;}
    .vvr-header--reference .vvr-language-switch .vvr-ico {width:20px;height:20px;}
    .vvr-header--reference .vvr-hlink-login .vvr-ico {width:23px;height:23px;}
    .vvr-header--reference .vvr-login-text {display:none;}
}
@media (max-width: 360px) {
    .vvr-app .vvr-header--reference .vvr-brand-logo {max-width:105px;}
    .vvr-header--reference .vvr-header-actions {gap:8px;}
}

/* v1.3.3: entire language control clickable; front-end login modal. */
.vvr-app .vvr-header--reference .vvr-language-switch.vvr-language-toggle {
 display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;position:relative;z-index:3;
 color:#101820!important;text-decoration:none!important;padding:6px 3px!important;
 background:transparent!important;border:0!important;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;
}
.vvr-app .vvr-header--reference .vvr-language-switch.vvr-language-toggle:focus-visible,
.vvr-app .vvr-header--reference .vvr-hlink-login:focus-visible {outline:2px solid #0b7647;outline-offset:3px;border-radius:4px;}
.vvr-app .vvr-header--reference .vvr-language-switch.vvr-language-toggle:hover .vvr-language-text{color:#0b7647;}
.vvr-app .vvr-header--reference .vvr-hlink-login {
 appearance:none!important;-webkit-appearance:none!important;background:transparent!important;
 padding:6px 0!important;margin:0!important;border:0!important;box-shadow:none!important;
 border-radius:0!important;cursor:pointer;position:relative;z-index:3;min-height:44px;
 font-family:inherit;text-transform:none;letter-spacing:normal;
}
.vvr-app .vvr-auth-box{width:100%;max-width:465px;padding:30px 28px 28px;}
.vvr-app .vvr-auth-heading{font-size:23px;font-weight:700;margin:0 0 7px;}
.vvr-app .vvr-auth-subheading{font-size:14px;color:#64716a;margin:0 0 20px;line-height:1.5;}
.vvr-app .vvr-auth-tabs{display:flex;gap:8px;border-bottom:1px solid #e3e8e5;margin-bottom:20px;}
.vvr-app .vvr-auth-tab{appearance:none;border:0!important;border-bottom:3px solid transparent!important;
 background:none!important;padding:10px 16px!important;border-radius:0!important;margin:0!important;
 color:#42544a!important;cursor:pointer;font-family:inherit;font-weight:600;font-size:15px;box-shadow:none!important;}
.vvr-app .vvr-auth-tab[aria-selected="true"]{border-bottom-color:#087a48!important;color:#075b33!important;}
.vvr-app .vvr-auth-form{display:grid;gap:12px;}
.vvr-app .vvr-auth-form label{display:block;font-size:13px;font-weight:600;margin-bottom:5px;color:#25352d;}
.vvr-app .vvr-auth-form input[type="text"],.vvr-app .vvr-auth-form input[type="email"],
.vvr-app .vvr-auth-form input[type="password"]{height:44px;width:100%;border:1px solid #cbd5cf!important;
 border-radius:6px!important;padding:9px 12px!important;background:#fff!important;color:#111827!important;
 font-family:inherit;font-size:15px;box-shadow:none!important;}
.vvr-app .vvr-auth-form input:focus {outline:2px solid #b3e6ce;outline-offset:0;}
.vvr-app .vvr-auth-form .vvr-auth-submit{display:flex;align-items:center;justify-content:center;
 min-height:46px;padding:12px 16px!important;border:0!important;border-radius:7px!important;
 background:#075b39!important;color:#fff!important;font-family:inherit;font-weight:600;font-size:15px;cursor:pointer;margin-top:4px;}
.vvr-app .vvr-auth-remember{display:flex;align-items:center;gap:8px;font-size:13px;color:#42544a;}
.vvr-app .vvr-auth-remember label{margin:0;font-weight:400;}
.vvr-app .vvr-auth-error{border:1px solid #fecaca;background:#fef2f2;color:#9b1c1c;padding:10px 12px;border-radius:7px;font-size:13px;margin-bottom:15px;}
.vvr-app .vvr-auth-note{font-size:13px;color:#53665c;line-height:1.5;margin-top:12px;}
.vvr-app .vvr-auth-current{padding:12px 0 18px;}
.vvr-app .vvr-auth-current strong{overflow-wrap:anywhere;}
.vvr-app .vvr-auth-user-actions{display:flex;flex-wrap:wrap;gap:10px;}
.vvr-app .vvr-auth-user-actions a{display:inline-flex;padding:10px 16px;background:#075b39;color:#fff;border-radius:6px;font-weight:600;}
@media(max-width:540px){.vvr-app .vvr-auth-box{padding:28px 18px 22px;}}

.vvr-app [data-vvr-auth-panel][hidden]{display:none!important;}


/* v1.3.5 — reference-like record detail typography and file rows.
 * Scoped strictly to record detail views; public search screen remains unchanged. */
.vvr-app--detail {
  --vvr-text: #111827;
  --vvr-muted: #26313d;
  --vvr-border: #dce1e5;
  font-family: Arial, "Noto Sans Arabic", Tahoma, sans-serif;
}
.vvr-app--detail .vvr-main {
  background: #fff;
  padding-top: 28px;
}
.vvr-app--detail .vvr-container { max-width: 1168px; }
.vvr-app--detail .vvr-breadcrumb { margin-bottom: 42px; }
.vvr-app--detail .vvr-card {
  border: 0;
  border-radius: 15px;
  padding: 24px 25px 30px;
  margin-bottom: 16px;
  box-shadow: 0 6px 19px rgba(0, 0, 0, .10);
}
.vvr-app--detail .vvr-idcard-head { margin-bottom: 29px; }
.vvr-app--detail .vvr-idnum { font-size: 32px; font-weight: 500; letter-spacing: 0; line-height: 1.12; }
.vvr-app--detail .vvr-idlabel { font-size: 14px; line-height: 1.45; margin-top: 4px; color:#17212d; }
.vvr-app--detail .vvr-grid-3 { grid-template-columns: 1.1fr 1.1fr .85fr; gap: 22px 34px; }
.vvr-app--detail .vvr-grid-2 { grid-template-columns: 1fr 1fr; gap: 18px 32px; margin-bottom: 33px; }
.vvr-app--detail .vvr-label { color: #18212b; font-size: 13px; font-weight: 400; margin-bottom: 5px; line-height: 1.4; }
.vvr-app--detail .vvr-value { color: #101828; font-size: 15px; font-weight: 500; line-height: 1.5; }
.vvr-app--detail .vvr-badge { font-size: 14px; font-weight: 500; line-height: 1.4; padding: 4px 10px; }
.vvr-app--detail .vvr-card-title { color:#15202d; font-size: 18px; font-weight: 600; padding-bottom: 15px; margin-bottom: 25px; border-bottom: 1px solid #d9dee2; }
.vvr-app--detail .vvr-attach { margin-top: 26px; }
.vvr-app--detail .vvr-attach:first-child { margin-top: 0; }
.vvr-app--detail .vvr-attach h3 { color:#111827; font-size: 13px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.vvr-app--detail .vvr-file {
  display:flex; flex-direction:row; align-items:center; gap:9px;
  min-height:37px; padding: 0 9px; background: #f1f2f4;
  border:1px solid #cfd4da; border-radius:4px; overflow: hidden;
}
.vvr-app--detail .vvr-file-check { color:#08784a; display:inline-flex; align-items:center; flex: 0 0 auto; }
.vvr-app--detail .vvr-file-check svg { height:18px; width:18px; }
.vvr-app--detail .vvr-file-name { font-size:14px; color:#141d27; font-weight:400; flex:1; line-height:1.35; min-width:0; }
.vvr-app--detail .vvr-file-eye {
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 auto; width:32px; height:32px; margin-left:auto;
  padding:4px; border:0; background:transparent; border-radius:4px;
  color:#15212b; cursor:pointer;
}
.vvr-app--detail .vvr-file-eye:hover, .vvr-app--detail .vvr-file-eye:focus-visible { background:#e1e7ea; outline-color:#08784a; }
.vvr-app--detail .vvr-file-eye svg { width:19px; height:19px; }
.vvr-app .vvr-modal-box--img { max-width:min(960px,96vw); padding:12px; background:#fff; overflow:visible; }
.vvr-app .vvr-modal-box--img img { width:auto; height:auto; margin:0 auto; max-width:100%; max-height:calc(100vh - 116px); object-fit:contain; border-radius:5px; }
.vvr-app .vvr-lightbox-caption { color:#202a32; font: 500 14px/1.5 Arial, sans-serif; text-align:center; padding:9px 34px 0; }
.vvr-app .vvr-modal-box--img .vvr-modal-close { top:-14px; right:-14px; background:#fff; box-shadow:0 1px 6px #0004; }
@media (max-width: 680px) {
  .vvr-app--detail .vvr-main { padding-top:18px; }
  .vvr-app--detail .vvr-breadcrumb { margin-bottom:20px; }
  .vvr-app--detail .vvr-card { padding:20px 18px 24px; border-radius:12px; margin-bottom:14px; }
  .vvr-app--detail .vvr-idcard-head { margin-bottom:14px; padding-bottom:16px; }
  .vvr-app--detail .vvr-idnum { font-size:28px; }
  .vvr-app--detail .vvr-grid-3 { grid-template-columns:1fr 1fr; gap:0 16px; }
  .vvr-app--detail .vvr-grid-2 { grid-template-columns:1fr; gap:0; margin-bottom:15px; }
  .vvr-app--detail .vvr-grid-3 .vvr-field, .vvr-app--detail .vvr-grid-2 .vvr-field { padding:12px 0; }
  .vvr-app--detail .vvr-label { font-size:13px; }
  .vvr-app--detail .vvr-value { font-size:15px; }
  .vvr-app--detail .vvr-attach { margin-top:22px; }
  .vvr-app--detail .vvr-file { flex-direction:row; align-items:center; gap:8px; padding:0 8px; min-height:39px; background:#f1f2f4; border:1px solid #cfd4da; }
  .vvr-app--detail .vvr-file-name { font-size:13px; }
  .vvr-app--detail .vvr-file-eye { margin-left:auto; }
}

/* v1.3.7: one independent branded header on the entire public website. */
.vvr-sitewide-header {position:relative;z-index:1000;isolation:isolate;background:transparent;}
.vvr-sitewide-header .vvr-header {width:100%;}
.vvr-sitewide-modal .vvr-modal {z-index:100050;}
/* Hide commonly used theme headers only when the owner opts in.
   Never hide the branded VVR header or footer. */
body.vvr-hide-theme-header header#masthead,
body.vvr-hide-theme-header #masthead,
body.vvr-hide-theme-header .site-header:not(.vvr-header),
body.vvr-hide-theme-header .elementor-location-header,
body.vvr-hide-theme-header .wp-site-blocks > header,
body.vvr-hide-theme-header header.wp-block-template-part {display:none!important;}
body.vvr-use-global-header .vvr-sitewide-header {direction:ltr;}


/* v1.4.1 – reference mobile record summary: Status always on its own last row.
   Limit strictly to public detail pages; desktop and the search page stay intact. */
@media screen and (max-width: 680px) {
  .vvr-app--detail .vvr-idcard .vvr-grid-3 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }
  .vvr-app--detail .vvr-idcard .vvr-grid-3 > .vvr-field {
    grid-column: 1 / -1 !important;
    min-width: 0;
    border-bottom: 0 !important;
    padding: 12px 0 13px !important;
  }
  .vvr-app--detail .vvr-idcard .vvr-grid-3 > .vvr-field:last-child {
    padding-top: 16px !important;
    padding-bottom: 6px !important;
  }
  .vvr-app--detail .vvr-idcard .vvr-grid-3 > .vvr-field:last-child .vvr-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
  }
}


/* v1.4.2 — pure white background on the public SEARCH page only.
   Remove the diagonal decorative gradients without altering cards,
   detail records, the header, PDF views or WordPress admin screens. */
body.vvr-blank-body:has(.vvr-app--search) {
    background: #fff !important;
}
.vvr-app.vvr-app--search {
    --vvr-bg: #fff;
    background: #fff !important;
    background-image: none !important;
}
.vvr-app.vvr-app--search .vvr-app-inner,
.vvr-app.vvr-app--search .vvr-main {
    background: #fff !important;
    background-image: none !important;
}
