/* Services-site additions on afq-theme tokens (--afq-*). */

.ltr { direction: ltr; unicode-bidi: embed; }

/* Riyal symbol (_Riyal.cshtml); dashboard-ui.css is not loaded here. */
.riyal-symbol {
    width: .895em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.12em;
    margin-inline-start: .18em;
    flex-shrink: 0;
}

/* ---------- department home: figures ---------- */
.svc-figure { font-size: 1.9rem; font-weight: 700; color: var(--afq-900); line-height: 1.2; }
.svc-figure-sub { font-size: .85rem; color: var(--afq-muted); }

/* ---------- list pager ---------- */
.svc-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
    color: var(--afq-muted);
}

/* ---------- validation messages inside afq panels ---------- */
.afq-panel .field-validation-error { display: block; margin-top: .3rem; font-size: .85rem; color: #b42318; }
.afq-panel .input-validation-error { border-color: #fda29b !important; }
.afq-panel .form-hint { font-size: .82rem; color: var(--afq-muted); margin-top: .3rem; }

.btn-busy { pointer-events: none; opacity: .75; }

/* ---------- sign-out form: icon-only; labelled in the collapsed menu ---------- */
.svc-nav-label { display: none; }
@media (max-width: 991px) {
    .afq-nav-links form,
    .afq-nav-links form .afq-btn { width: 100%; }
    .svc-nav-label { display: inline; }
}

@media print { .afq-nav, .afq-footer, .no-print { display: none !important; } }

/* Print: logo header on paper only; tables print whole. */
.print-only { display: none; }
.print-head { display: none; align-items: center; gap: 14px; border-bottom: 3px solid #1d3461; padding-bottom: 10px; margin-bottom: 14px; }
.print-head img { height: 58px; }
.print-head-text { flex: 1; }
.print-title { font-size: 1.25rem; font-weight: 700; color: #1d3461; }
.print-sub { font-size: .9rem; color: #444; }
.print-meta { font-size: .75rem; color: #666; text-align: left; }
@media print {
    @page { size: A4; margin: 12mm; }
    .print-only { display: block !important; }
    .print-head { display: flex !important; }
    .table-responsive { overflow: visible !important; }
    .table { font-size: .78rem; }
    .badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    a { color: inherit !important; text-decoration: none !important; }
}
/* Print: no hero band, no shadows, flat panels. */
@media print {
    .afq-page-head { display: none !important; }
    .afq-page-body { padding: 0 !important; }
    .afq-panel { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: auto; }
    .afq-panel-head { padding: .4rem .7rem !important; }
    body { background: #fff !important; }
}

/* ---------- services bar ---------- */
@media (max-width: 767.98px) {
}

/* Disabled ghost buttons. */
.afq-btn.disabled { opacity: .55; pointer-events: none; }

/* Footer: white logo with the slogan. */
.afq-footer img.afq-footer-logo { height: 72px; }
