:root {
  --lg-primary: #1d4e89;
  --lg-primary-dark: #143a66;
  --lg-accent: #c8102e;
  --lg-sidebar: #12355b;
  --lg-bg: #f4f6f9;
  --bs-primary: var(--lg-primary);
  --bs-primary-rgb: 29, 78, 137;
  --bs-link-color: var(--lg-primary);
  --bs-link-color-rgb: 29, 78, 137;
}

body {
  font-family: 'Mukta', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--lg-bg);
  font-size: 15px;
}

.btn-primary { --bs-btn-bg: var(--lg-primary); --bs-btn-border-color: var(--lg-primary);
  --bs-btn-hover-bg: var(--lg-primary-dark); --bs-btn-hover-border-color: var(--lg-primary-dark); }
.btn-outline-primary { --bs-btn-color: var(--lg-primary); --bs-btn-border-color: var(--lg-primary);
  --bs-btn-hover-bg: var(--lg-primary); --bs-btn-hover-border-color: var(--lg-primary); }

/* App shell */
.app { display: flex; min-height: 100vh; }
.sidebar { width: 250px; flex-shrink: 0; background: var(--lg-sidebar); color: #fff; position: sticky; top: 0;
  height: 100vh; overflow-y: auto; padding-bottom: 2rem; }
.sidebar .brand { display: flex; align-items: center; gap: .6rem; padding: 1rem 1.1rem; color: #fff;
  text-decoration: none; font-weight: 600; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.sidebar .brand img { width: 36px; height: 36px; object-fit: contain; background: #fff; border-radius: 50%; }
.sidebar .brand i { font-size: 1.6rem; }
.sidebar .nav-section { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: rgba(255,255,255,.45); padding: 1rem 1.1rem .3rem; }
.sidebar .nav-link { color: rgba(255,255,255,.82); padding: .45rem 1.1rem; display: flex; gap: .6rem;
  align-items: center; border-left: 3px solid transparent; }
.sidebar .nav-link:hover { color: #fff; background: rgba(255,255,255,.06); }
.sidebar .nav-link.active { color: #fff; background: rgba(255,255,255,.1); border-left-color: var(--lg-accent); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; gap: 1rem; padding: .6rem 1.25rem; background: #fff;
  border-bottom: 1px solid #e3e7ee; position: sticky; top: 0; z-index: 10; }
.content { padding: 1.25rem; }

@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: -260px; z-index: 1050; transition: left .2s; }
  .sidebar.open { left: 0; box-shadow: 0 0 40px rgba(0,0,0,.3); }
  .content { padding: 1rem; }
}

/* Cards & lists */
.card { border: 1px solid #e3e7ee; border-radius: .6rem; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card-header { background: #fff; font-weight: 600; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.page-head h1 { font-size: 1.4rem; margin: 0; font-weight: 600; }
.page-head .actions { margin-left: auto; display: flex; gap: .5rem; flex-wrap: wrap; }
.table > :not(caption) > * > * { padding: .55rem .7rem; }
.table thead th { font-weight: 600; color: #475467; background: #f9fafb; white-space: nowrap; font-size: .88rem; }
tr[data-href] { cursor: pointer; }
.stat { display: flex; flex-direction: row; align-items: center; gap: 1rem; }
.stat .icon { width: 48px; height: 48px; border-radius: .6rem; display: grid; place-items: center; font-size: 1.4rem; }
.stat .num { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stat .lbl { color: #667085; font-size: .9rem; }
.form-label { font-weight: 500; margin-bottom: .25rem; }
.required .form-label::after { content: ' *'; color: var(--lg-accent); }
.helptext, .form-text { font-size: .8rem; }

/* Kanban */
.board { display: grid; grid-template-columns: repeat(4, minmax(240px, 1fr)); gap: 1rem; overflow-x: auto; }
.board-col { background: #eaeef4; border-radius: .6rem; padding: .6rem; min-height: 60vh; }
.board-col h6 { display: flex; justify-content: space-between; padding: .25rem .25rem .6rem; margin: 0; }
.board-col.drag-over { outline: 2px dashed var(--lg-primary); }
.task-card { background: #fff; border-radius: .5rem; padding: .6rem .7rem; margin-bottom: .6rem;
  box-shadow: 0 1px 2px rgba(16,24,40,.08); cursor: grab; border-left: 4px solid #98a2b3; }
.task-card.p-urgent { border-left-color: #dc3545; } .task-card.p-high { border-left-color: #fd7e14; }
.task-card.p-medium { border-left-color: #0dcaf0; } .task-card.p-low { border-left-color: #adb5bd; }
/* confidential (गोप्य) black, confidential urgent (गोप्य जरुरी) purple */
.task-card.p-secret { border-left-color: #212529; } .task-card.p-secret_urgent { border-left-color: #6f42c1; }
.text-bg-secret { background-color: #212529 !important; color: #fff !important; }
.text-bg-secret-urgent { background-color: #6f42c1 !important; color: #fff !important; }
.task-card a { color: inherit; text-decoration: none; font-weight: 500; }
.task-card .meta { font-size: .8rem; color: #667085; display: flex; justify-content: space-between; margin-top: .35rem; }
.overdue { color: #dc3545 !important; font-weight: 600; }

/* Timeline */
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.5rem; border-left: 2px solid #e3e7ee; margin-left: .5rem; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--lg-primary); }
.timeline li.system::before { background: #adb5bd; }

/* Printable letters (A4) */
/* Page size, margins, fonts and sizes come from Settings → Letterhead as --lp-* variables (Letterhead.css_vars). */
.paper { background: #fff; max-width: var(--lp-w, 210mm); margin: 0 auto; box-sizing: border-box;
  padding: var(--lp-mt, 18mm) var(--lp-mr, 18mm) var(--lp-mb, 18mm) var(--lp-ml, 18mm);
  box-shadow: 0 2px 12px rgba(0,0,0,.08); font-family: var(--lp-body-font, inherit);
  font-size: var(--lp-body-size, 15px); line-height: var(--lp-lh, 1.7); }
.letterhead-wrap { margin-bottom: 1rem; }
.letterhead { text-align: center; border-bottom: 2px solid var(--lh-rule, var(--lg-accent));
  padding: 0 calc(var(--lp-logo, 20mm) + 2mm) .6rem; position: relative; min-height: var(--lp-logo, 20mm);
  font-family: var(--lp-head-font, inherit); line-height: 1.35; }
.letterhead .lh-logo { position: absolute; top: 0; width: var(--lp-logo, 20mm); max-height: calc(var(--lp-logo, 20mm) * 1.1);
  object-fit: contain; }
.letterhead .lh-logo-left { left: 0; }
.letterhead .lh-logo-right { right: 0; }
.letterhead .small, .lh-ward .small { font-size: calc(var(--lp-body-size, 15px) * .85); }
.gd-steps li { margin-bottom: .6rem; }
.gd-guide summary { cursor: pointer; }
.gd-trouble dt { margin-top: .5rem; }
.lh-local-gov { font-size: 12pt; font-weight: 700; letter-spacing: .02em; }
.lh-slogan { text-align: center; font-family: var(--lp-head-font, inherit); line-height: 1.3; color: #555; }
.lh-ward { text-align: center; margin-top: .4rem; font-family: var(--lp-head-font, inherit); line-height: 1.4; }
.lh-ward-line { font-size: var(--lp-ward-size, 12pt); }
/* Letters with their numbers and date above the header line: the line is drawn after those rows. */
.lh-rule-later { margin-bottom: .3rem; }
.lh-rule-later .letterhead { border-bottom: none; padding-bottom: .2rem; }
.letter-meta { margin-top: .2rem; line-height: 1.5; font-size: var(--lp-meta-size, 11pt); font-weight: 400; }
/* Labels of a letter (पत्र संख्या:, चलानी नं.:, सन्दर्भ:, मिति:, ने.सं., विषय:) bold; their values stay normal. */
.letter-label { font-weight: 700; }
/* Codes (tracking code) keep English digits even when the letter font (e.g. Kalimati) draws 0–9 as Nepali. */
.latin-code { font-family: var(--lp-en-font, 'Mukta', sans-serif); }
.lh-rule { border-bottom: 2px solid var(--lh-rule, var(--lg-accent)); margin: .3rem 0 1rem; }
/* A4 page: the footer sits at the bottom of the page */
.paper-a4 { display: flex; flex-direction: column; min-height: var(--lp-h, 297mm); }
.letter-footer { margin-top: auto; padding-top: .4rem; border-top: 1.5px solid var(--lf-color, var(--lg-accent));
  text-align: center; font-size: var(--lp-foot-size, 9pt); color: #444; line-height: 1.5; }
.paper-a4 .signature { margin-bottom: 2rem; }
/* Verification QR: bottom-left beside the signature, or top-right in the letterhead */
.letter-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.letter-bottom .signature { margin-left: auto; }
/* The QR holds date, chalani no., tracking code and link (~53-61 modules), so it is kept at 24-28 mm. */
.letter-qr { text-align: center; font-size: .65rem; line-height: 1.2; color: #444; width: 30mm; }
.letter-qr img { width: 28mm; height: 28mm; display: block; margin: 0 auto 2px; image-rendering: pixelated; }
.letter-qr-bottom { margin-bottom: 2rem; }
.letterhead .letter-qr-top { position: absolute; right: 0; top: 0; width: 26mm; }
.letterhead .letter-qr-top img { width: 24mm; height: 24mm; }
.letterhead:has(.letter-qr-top) { padding-left: 27mm; padding-right: 27mm; }
.letterhead .lh-logo-beside-qr { right: 28mm; }  /* right logo moves left to make room for the QR */
.letterhead:has(.lh-logo-beside-qr) { padding-right: calc(27mm + 24mm); }
.letter-footer-qr { display: flex; align-items: center; gap: .8rem; text-align: left; }
.letter-footer-qr .letter-footer-text { flex: 1; text-align: center; }
.letter-qr-footer { width: 26mm; }
.letter-qr-footer img { width: 24mm; height: 24mm; }
@page { size: A4; margin: 12mm; }  /* letters replace this with the palika's paper and margins (page_style.html) */
.letter-body { white-space: pre-line; text-align: justify; }
.letter-subject { display: block; text-align: center; }  /* "विषय: …" is always in the centre */
/* Formatted letters (open format editor): tables, lists and pictures */
.letter-html { white-space: normal; }
.letter-html p { margin: 0 0 .6em; }
.letter-html table { border-collapse: collapse; margin: .4em 0 .8em; max-width: 100%; }
.letter-html td, .letter-html th { border: 1px solid #444; padding: .15em .45em; vertical-align: top; }
/* a table with border="0" only lays things out side by side; tables inside it keep their borders */
.letter-html table[border="0"] > * > tr > td, .letter-html table[border="0"] > * > tr > th { border: none; padding: 0 .6em 0 0; }
.letter-html .letter-field-block { display: inline-block; min-width: 60%; }
.letter-html img { max-width: 100%; height: auto; }
.letter-html ul, .letter-html ol { margin-bottom: .6em; }
.letter-blanks .tox-tinymce { margin: .3rem 0; line-height: normal; }
.signature { margin-top: 3rem; text-align: right; }
@media print {
  body { background: #fff; }
  .content { padding: 0; }
  .paper { box-shadow: none; padding: 0; max-width: none; }  /* the @page margins take over */
  .paper-a4 { min-height: calc(var(--lp-h, 297mm) - var(--lp-mt, 12mm) - var(--lp-mb, 12mm) - 3mm); }
  .card { border: none; box-shadow: none; }
  a { text-decoration: none; color: inherit; }
}

/* Letterhead setup page */
.letterpad-form .lp-section { margin: 1.4rem 0 .7rem; padding-bottom: .3rem; border-bottom: 1px solid #e5e7eb;
  color: var(--lg-accent); font-weight: 600; }
.letterpad-form .lp-section:first-of-type { margin-top: 0; }
.header-lines input[name$="-size"] { width: 4.5rem; }
.header-lines input[type="color"] { width: 2.6rem; padding: .15rem; }
.header-lines td { padding-left: .2rem; padding-right: .2rem; }
@media (min-width: 1200px) {
  .letterpad-preview { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; padding: 2px; }
}

/* Fill-in-the-letter (office sifaris entry) */
.letter-blanks { line-height: 2.2; text-align: left; }
.letter-input { font: inherit; border: none; border-bottom: 1.5px dashed #c9a227; background: #fff8db;
  padding: 0 .3rem; border-radius: .2rem .2rem 0 0; max-width: 100%; color: #0b2a4a; }
.letter-input:focus { outline: none; background: #fff1b8; border-bottom-color: var(--lg-primary); }
.letter-input::placeholder { color: #a08a3c; opacity: 1; font-size: .9em; }
select.letter-input { padding-right: 1.2rem; cursor: pointer; }
.letter-field-block { display: block; margin: .3rem 0; }
.letter-textarea { display: block; width: 100%; line-height: 1.6; border: 1.5px dashed #c9a227; border-radius: .3rem; }
.letter-field.has-error .letter-input { background: #fde2e1; border-color: #dc3545; }
.letter-mirror { color: #0b2a4a; background: #f1f3f6; padding: 0 .2rem; border-radius: .2rem; }
.letter-auto { font-weight: 500; }
.letter-gender { background: #e8f0fb; border-bottom: 1.5px dotted var(--lg-primary); padding: 0 .15rem; }
@media print { .letter-gender { background: none; border: none; } }
@media print { .letter-input { background: none; border: none; } .letter-input::placeholder { color: transparent; } }

/* BS date picker */
.bs-picker { position: absolute; z-index: 2000; background: #fff; border: 1px solid #d0d7e2; border-radius: .5rem;
  padding: .5rem; width: 270px; font-size: .9rem; }
.bs-head { display: flex; gap: .25rem; align-items: center; margin-bottom: .4rem; }
.bs-head select { flex: 1; border: 1px solid #d0d7e2; border-radius: .3rem; padding: .15rem .2rem; font: inherit; }
.bs-nav { border: none; background: #eef2f7; border-radius: .3rem; width: 28px; height: 28px; font-size: 1.1rem; line-height: 1; }
.bs-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.bs-dow { font-size: .75rem; color: #667085; padding: .15rem 0; }
.bs-day { border: none; background: none; border-radius: .3rem; padding: .3rem 0; font: inherit; }
.bs-day:hover { background: #e8f0fb; }
.bs-sat { color: #c8102e; }
.bs-today { outline: 1.5px solid var(--lg-primary); }
.bs-selected { background: var(--lg-primary) !important; color: #fff; }
.bs-foot { display: flex; justify-content: space-between; margin-top: .4rem; }
.bs-foot button { border: none; background: none; color: var(--lg-primary); font: inherit; font-size: .85rem; }
@media print { .bs-picker { display: none !important; } }

/* Public portal */
.portal-hero { background: linear-gradient(135deg, var(--lg-primary), var(--lg-sidebar)); color: #fff; padding: 2.5rem 0; }
.portal-hero img { width: 80px; height: 80px; background: #fff; border-radius: 50%; padding: 4px; object-fit: contain; }
.service-card { transition: transform .1s, box-shadow .1s; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(16,24,40,.1); }
.hp { position: absolute; left: -10000px; }
.tracking-code { font-family: ui-monospace, monospace; font-size: 2rem; letter-spacing: .2em; font-weight: 700; }
.att-table td, .att-table th { padding: .2rem .3rem !important; text-align: center; font-size: .8rem; }
.att-P { background: #d1fadf; } .att-A { background: #fee4e2; } .att-L { background: #fef0c7; } .att-H { background: #eaecf0; }

/* Printed lists (?print=1) */
.list-print table { font-size: .85em; }
.list-print th, .list-print td { padding: .2rem .35rem; }

/* Staff order (hierarchy) page */
.staff-order-list li[draggable="true"] { cursor: grab; }
.staff-order-list li.dragging { opacity: .5; background: #eef4ff; }

/* Task board hover card */
.task-popover { max-width: 340px; }
.task-popover .popover-header { font-size: .95rem; }
/* header colour by priority, the same colours as the cards' left border */
.task-popover-urgent .popover-header { background: #dc3545; color: #fff; border-bottom-color: #dc3545; }
.task-popover-high .popover-header { background: #fd7e14; color: #fff; border-bottom-color: #fd7e14; }
.task-popover-medium .popover-header { background: #0dcaf0; color: #052c3a; border-bottom-color: #0dcaf0; }
.task-popover-low .popover-header { background: #e9ecef; color: #343a40; border-bottom-color: #dee2e6; }
.task-popover-secret .popover-header { background: #212529; color: #fff; border-bottom-color: #212529; }
.task-popover-secret_urgent .popover-header { background: #6f42c1; color: #fff; border-bottom-color: #6f42c1; }
.task-popover-secret[data-popper-placement^="bottom"] .popover-arrow::after { border-bottom-color: #212529; }
.task-popover-secret_urgent[data-popper-placement^="bottom"] .popover-arrow::after { border-bottom-color: #6f42c1; }
/* the arrow next to the header takes its colour when the card opens below the task */
.task-popover-urgent[data-popper-placement^="bottom"] .popover-arrow::after { border-bottom-color: #dc3545; }
.task-popover-high[data-popper-placement^="bottom"] .popover-arrow::after { border-bottom-color: #fd7e14; }
.task-popover-medium[data-popper-placement^="bottom"] .popover-arrow::after { border-bottom-color: #0dcaf0; }
.task-popover-low[data-popper-placement^="bottom"] .popover-arrow::after { border-bottom-color: #e9ecef; }
.task-popover .task-tip-body > div { margin-bottom: .15rem; }

/* Executive dashboard and progress report */
.exec-bar { position: relative; background: #f1f3f5; border-radius: 4px; height: 1.35rem; min-width: 70px; }
.exec-bar span { position: absolute; inset: 0 auto 0 0; border-radius: 4px; opacity: .35; }
.exec-bar b { position: relative; padding-left: .4rem; font-size: .85rem; line-height: 1.35rem; }
.report-now td { background: #fafbfc; }
.report-print .table { font-size: .9em; }
.report-print .report-section { break-inside: avoid; }

/* Business registration certificate (Business registration → Certificate design sets --cert-color, --cert-size and
   the border class). The renewal table may sit on a second page, printed on the back. */
.cert { font-size: var(--cert-size, 12pt); }
.cert .cert-frame { flex: 1; display: flex; flex-direction: column; padding: 5mm 7mm; }
.cert-border-simple .cert-frame { border: 1.5px solid var(--cert-color); }
.cert-border-double .cert-frame { border: 4px double var(--cert-color); }
.cert-border-ornate .cert-frame { border: 6px double var(--cert-color); outline: 1px solid var(--cert-color);
  outline-offset: -11px; padding: 8mm 10mm; }
.cert-title { text-align: center; color: var(--cert-color); font-family: var(--lp-head-font, inherit);
  font-size: calc(var(--cert-size, 12pt) * 1.9); font-weight: 700; letter-spacing: .02em; margin: .2rem 0 .1rem; }
.cert-subtitle { text-align: center; font-size: calc(var(--cert-size, 12pt) * .95); color: #444; }
.cert-meta { display: flex; justify-content: space-between; gap: 1rem; margin: .6rem 0; }
.cert-body { text-align: justify; margin: .4rem 0 .7rem; line-height: 1.7; }
.cert-table { width: 100%; border-collapse: collapse; margin-bottom: .7rem; }
.cert-table th, .cert-table td { border: 1px solid #555; padding: .2em .5em; vertical-align: top; }
.cert-table th { width: 34%; font-weight: 600; background: color-mix(in srgb, var(--cert-color) 8%, #fff); }
.cert-renewal-table th { width: auto; text-align: center; }
.cert-renewal-table td { text-align: center; height: 2.2em; }
.cert-renewals-full .cert-renewal-table td { height: 2.8em; }
.cert-terms { font-size: calc(var(--cert-size, 12pt) * .88); }
.cert-terms ol { margin: 0 0 .5rem; padding-left: 1.4rem; }
.cert-terms-head { font-weight: 700; color: var(--cert-color); margin-bottom: .2rem; }
.cert-signs { display: flex; align-items: flex-end; gap: 1rem; margin: 15mm 0 1rem; }
.cert-signs .letter-qr { margin: 0; }
.cert-sign { text-align: center; min-width: 45mm; line-height: 1.45; }
.cert-sign-right { margin-left: auto; }
.cert-sign-line { border-top: 1px dotted #333; margin-bottom: .2rem; }
.cert-page2 { margin-top: 1.5rem; }
.cert-page2-head .cert-title { font-size: calc(var(--cert-size, 12pt) * 1.5); text-decoration: underline; text-underline-offset: 6px; }
.cert-renewal-table th[data-col="r-sign"] { width: 22%; }
.cert-renewal-table th[data-col="r-sn"] { width: 6%; }
.cert-note { font-size: calc(var(--cert-size, 12pt) * .85); color: #444; margin-top: .4rem; }
.cert-field-choices .form-check { display: inline-block; width: 49%; }
.cert-preview { width: 100%; height: 1150px; border: 0; background: #eef1f5; display: block; }
@media print {
  .cert-page2 { margin-top: 0; break-before: page; }
  .cert-table th { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
/* Striped band between two lines (template 2's default border) */
.cert { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
.cert-border-hatched .cert-frame { border: 7mm solid transparent; outline: 1.5px solid var(--cert-color); outline-offset: 0;
  border-image: repeating-linear-gradient(45deg, var(--cert-color) 0 1.2px, transparent 1.2px 4px) 7;
  box-shadow: inset 0 0 0 1.5px var(--cert-color); padding: 5mm 7mm; }
/* Template 2: form style */
.cc-top { display: flex; justify-content: space-between; align-items: stretch; gap: 1rem; margin: -.3rem 0 .8rem; }
.cc-left { flex: 1; display: flex; flex-direction: column; }
.cc-law { font-size: calc(var(--cert-size, 12pt) * .8); line-height: 1.45; }
.cc-left .cert-title { margin: auto 0 .2rem; padding-top: .6rem; font-size: calc(var(--cert-size, 12pt) * 1.6); }
.cc-photo { width: 30mm; height: 34mm; border: 1px solid #333; display: flex; align-items: center; text-align: center;
  font-size: calc(var(--cert-size, 12pt) * .68); padding: 2mm; line-height: 1.35; flex-shrink: 0; color: #333; }
.cc-photo-float { float: right; margin: 0 0 .5rem 1rem; }
.cc-nos { line-height: 1.8; margin-top: .3rem; }
.cert-align-left { text-align: left; }
.cert-align-center { text-align: center; }
.cert-align-right { text-align: right; }
.cc-lines { margin-bottom: .6rem; }
.cc-row { display: flex; gap: 1.2rem; margin-bottom: .55rem; }
.cc-f { border-bottom: 1px dotted #555; min-width: 25%; padding-bottom: 1px; }
.cc-f.cc-grow { flex: 1; }
.cc-f i { font-style: normal; color: var(--cert-color); font-weight: 600; }
.cc-business th, .cc-business td { width: auto; text-align: center; vertical-align: middle; font-size: calc(var(--cert-size, 12pt) * .88); }
.cc-business td { height: 3.2em; }
.cert-classic .cert-signs { margin-bottom: .6rem; }
.cert-order .row > div { margin-bottom: .4rem; }
.cert-preview-col { position: sticky; top: .5rem; }
/* Certificate table values written sideways, as on paper forms (Certificate design → Table columns written sideways) */
.cert-table td.td-v { vertical-align: bottom; text-align: center; padding: .4em .2em; width: 1%; }
.cert-table td.td-v span { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; display: inline-block; }
.cert-vheads .form-check { display: inline-block; width: 49%; }
