@font-face {
    font-family: "Vazirmatn";
    src: url("../vendor/vazirmatn/Vazirmatn-wght.woff2") format("woff2-variations"), url("../vendor/vazirmatn/Vazirmatn-wght.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --brand: #0b4f6c;
    --brand-dark: #083a50;
    --brand-light: #e7f2f7;
    --bs-body-font-family: "Vazirmatn", Tahoma, sans-serif;
    --bs-primary: #0b4f6c;
    --bs-primary-rgb: 11, 79, 108;
    --bs-link-color: #0b6a91;
    --bs-link-color-rgb: 11, 106, 145;
}

body { font-family: var(--bs-body-font-family); background: #f4f6f9; min-height: 100vh; display: flex; flex-direction: column; }
.bg-brand { background-color: var(--brand) !important; }
.text-brand { color: var(--brand) !important; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-dark); --bs-btn-hover-border-color: var(--brand-dark); --bs-btn-active-bg: var(--brand-dark); }
.btn-outline-primary { --bs-btn-color: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand); --bs-btn-hover-border-color: var(--brand); }
.ltr, input.ltr, .form-control.ltr { direction: ltr; text-align: left; }
.form-label { font-weight: 500; font-size: .9rem; }
.required::after { content: " *"; color: #dc3545; }

/* public site */
.public-body { background: #f7f8fa; }
.public-body main { flex: 1 0 auto; }
.public-main-bleed { flex: 1 0 auto; }
.public-nav { box-shadow: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.public-nav .brand-short { font-size: .9rem; font-weight: 600; max-width: 12rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.public-nav .nav-link { font-size: .9rem; opacity: .9; }
.public-nav .nav-link.active, .public-nav .nav-link:hover { opacity: 1; }

.home-hero {
    position: relative; color: #fff; overflow: hidden;
    background:
        linear-gradient(125deg, rgba(8,58,80,.78), rgba(11,79,108,.58) 55%, rgba(6,40,56,.82)),
        url("../img/auth-classic-road.jpg") center/cover;
    min-height: min(72vh, 560px); display: flex; align-items: center;
}
.home-hero-inner { padding: 3.5rem 0 4rem; text-align: center; max-width: 760px; margin: 0 auto; }
.home-hero-logo { height: 88px; width: auto; margin-bottom: 1rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,.25)); }
.home-hero-brand { letter-spacing: .04em; font-size: .85rem; opacity: .85; margin-bottom: .35rem; }
.home-hero-title { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.45; margin-bottom: .85rem; }
.home-hero-lead { font-size: 1.05rem; opacity: .88; max-width: 34rem; margin: 0 auto 1.6rem; line-height: 1.8; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; justify-content: center; }
.home-notice {
    background: #eef6fa; border-right: 3px solid var(--brand); border-radius: .4rem;
    padding: .85rem 1rem; color: #1f3a47; font-size: .95rem;
}
.home-section { padding: 2.25rem 0 .75rem; max-width: 760px; margin-inline: auto; }
.home-section-title { font-size: 1.05rem; font-weight: 700; color: var(--brand-dark); margin-bottom: .9rem; }
.home-services { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.home-service {
    display: flex; gap: .65rem; align-items: flex-start; text-decoration: none; color: inherit;
    padding: .85rem .9rem; background: #fff; border: 1px solid #e6ebf0; border-radius: .55rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.home-service:hover { border-color: #9ebfd0; box-shadow: 0 4px 14px rgba(11, 79, 108, .06); }
.home-service i { font-size: 1.25rem; color: var(--brand); margin-top: .05rem; }
.home-service strong { display: block; font-size: .92rem; margin-bottom: .1rem; }
.home-service small { color: #6c757d; line-height: 1.45; font-size: .8rem; }
@media (max-width: 575.98px) {
    .home-services { grid-template-columns: 1fr; }
}
.home-news { display: grid; gap: 0; border-top: 1px solid #e5e9ee; margin-bottom: 2rem; }
.home-news-item {
    display: grid; gap: .2rem; text-decoration: none; color: inherit;
    padding: .85rem 0; border-bottom: 1px solid #e5e9ee;
}
.home-news-item:hover strong { color: var(--brand); }
.home-news-item time { font-size: .78rem; color: #8795a1; }
.home-news-item strong { font-size: .95rem; }
.home-news-item span { font-size: .85rem; color: #6c757d; line-height: 1.55; }
.service-card { transition: transform .15s ease, box-shadow .15s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 .5rem 1.25rem rgba(0,0,0,.08) !important; }
.news-body img { max-width: 100%; height: auto; }

/* auth */
.auth-body {
    min-height: 100vh;
    background: #062838;
    position: relative;
}
.auth-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.25rem 1rem;
    z-index: 1;
}
.auth-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 75% 55% at 15% 15%, rgba(56, 168, 210, .22), transparent 55%),
        radial-gradient(ellipse 65% 50% at 90% 80%, rgba(8, 40, 55, .45), transparent 50%),
        linear-gradient(145deg, rgba(6, 40, 56, .78) 0%, rgba(11, 79, 108, .58) 45%, rgba(8, 45, 62, .82) 100%),
        url("../img/auth-classic-road.jpg") center/cover no-repeat;
    transform: scale(1.04);
    animation: authBgDrift 36s ease-in-out infinite alternate;
}
.auth-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 28, 40, .2) 0%, transparent 40%, rgba(4, 28, 40, .5) 100%);
    pointer-events: none;
}
@keyframes authBgDrift {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.2%, .8%, 0); }
}
.auth-body-staff .auth-bg {
    background:
        radial-gradient(ellipse 70% 55% at 20% 10%, rgba(180, 120, 50, .18), transparent 55%),
        radial-gradient(ellipse 60% 45% at 85% 85%, rgba(10, 18, 28, .55), transparent 50%),
        linear-gradient(150deg, rgba(14, 20, 28, .86) 0%, rgba(8, 40, 55, .7) 48%, rgba(10, 16, 24, .9) 100%),
        url("../img/auth-classic-road.jpg") center/cover no-repeat;
}
.auth-panel { width: 100%; position: relative; z-index: 1; }
.auth-brand { text-align: center; margin-bottom: 1.35rem; }
.auth-brand-logo {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35));
    transition: transform .25s ease;
}
.auth-brand a:hover .auth-brand-logo { transform: translateY(-2px); }
.auth-brand-name {
    margin-top: .85rem;
    font-size: .92rem;
    color: rgba(255, 255, 255, .82);
    line-height: 1.65;
    max-width: 22rem;
    margin-inline: auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}
.auth-card {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 1.1rem;
    padding: 1.7rem 1.55rem 1.45rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, .28),
        0 2px 0 rgba(255, 255, 255, .4) inset;
}
.auth-body-staff .auth-card {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(255, 255, 255, .35);
}
.auth-title { font-size: 1.15rem; font-weight: 700; text-align: center; margin-bottom: 1.25rem; color: var(--brand-dark); }
.auth-links { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; font-size: .9rem; }
.auth-links a { color: var(--brand); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }
.auth-foot { text-align: center; margin-top: 1.15rem; font-size: .88rem; }
.auth-foot a {
    color: rgba(255, 255, 255, .78);
    text-decoration: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
.auth-foot a:hover { color: #fff; }
.auth-type-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.auth-type-pill { cursor: pointer; margin: 0; }
.auth-type-pill input { position: absolute; opacity: 0; pointer-events: none; }
.auth-type-pill span {
    display: inline-block; padding: .45rem .85rem; border: 1px solid #d5dee6; border-radius: 999px;
    font-size: .88rem; background: #f8fafb; transition: .15s ease;
}
.auth-type-pill input:checked + span { background: var(--brand-light); border-color: var(--brand); color: var(--brand-dark); font-weight: 600; }
.captcha-row { display: flex; gap: .5rem; align-items: center; }
.captcha-img { border: 1px solid #d5dee6; border-radius: .45rem; background: #e7f2f7; height: 52px; width: auto; }
.captcha-row .form-control { max-width: 7rem; }

/* app shell */
.app-shell { display: flex; min-height: 100vh; background: #eef2f6; }
.app-body.admin .app-shell { background: #e8edf2; }

.app-sidebar {
    --sb-w: 278px;
    width: var(--sb-w);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1030;
    color: #fff;
    transition: margin .25s ease, box-shadow .25s ease;
    border-left: 1px solid rgba(255, 255, 255, .18);
    background:
        linear-gradient(165deg, rgba(18, 110, 145, .55) 0%, rgba(11, 79, 108, .72) 42%, rgba(8, 52, 72, .82) 100%),
        linear-gradient(200deg, #0b4f6c 0%, #083a50 100%);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: -8px 0 28px rgba(6, 40, 56, .16);
}
.app-body.admin .app-sidebar {
    background:
        linear-gradient(165deg, rgba(48, 62, 78, .55) 0%, rgba(28, 42, 56, .72) 45%, rgba(18, 26, 36, .86) 100%),
        linear-gradient(200deg, #1c2a38 0%, #121820 100%);
}
.app-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 90% 50% at 100% 0%, rgba(120, 210, 240, .16), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,.1), transparent 30%),
        linear-gradient(90deg, transparent 70%, rgba(255,255,255,.04));
}
.app-sidebar-head,
.app-sidebar-nav,
.app-sidebar-foot { position: relative; z-index: 1; }
.app-sidebar-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.05rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
}
.app-sidebar-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.3));
    flex-shrink: 0;
}
.app-sidebar-head-title { font-size: .95rem; font-weight: 700; line-height: 1.3; }
.app-sidebar-head-meta { font-size: .75rem; opacity: .72; line-height: 1.45; margin-top: .15rem; }
.app-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: .75rem .65rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
}
.app-sidebar-nav::-webkit-scrollbar { width: 5px; }
.app-sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,.22); border-radius: 99px; }

.app-sidebar .menu-group { margin-bottom: .35rem; }
.app-sidebar .menu-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: 100%;
    padding: .45rem .55rem;
    margin: 0;
    border: 0;
    border-radius: .55rem;
    background: transparent;
    color: rgba(255, 255, 255, .62);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: right;
    text-decoration: none;
    transition: color .15s ease, background .15s ease;
}
.app-sidebar .menu-title:hover { color: rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .06); }
.app-sidebar .menu-title-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: .4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .85);
    flex-shrink: 0;
}
.app-sidebar .menu-title-text { flex: 1; }
.app-sidebar .menu-title::after {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: .7rem;
    opacity: .55;
    transition: transform .2s ease;
}
.app-sidebar .menu-title.collapsed::after { transform: rotate(90deg); }

.app-sidebar .nav-link,
.app-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    border-radius: .65rem;
    padding: .55rem .65rem;
    margin-bottom: .15rem;
    color: rgba(255, 255, 255, .88) !important;
    font-size: .86rem;
    line-height: 1.35;
    text-decoration: none;
    opacity: 1;
    border: 1px solid transparent;
    transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.app-sidebar .nav-link:hover,
.app-sidebar .sidebar-link:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .08);
    color: #fff !important;
}
.app-sidebar .nav-link.active,
.app-sidebar .sidebar-link.active {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .16);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .18);
    font-weight: 600;
    color: #fff !important;
}
.app-sidebar .nav-ico {
    width: 2rem;
    height: 2rem;
    border-radius: .55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
    transition: background .15s ease, transform .15s ease;
}
.app-sidebar .nav-link:hover .nav-ico,
.app-sidebar .sidebar-link:hover .nav-ico { background: rgba(255, 255, 255, .18); transform: translateY(-1px); }
.app-sidebar .nav-link.active .nav-ico,
.app-sidebar .sidebar-link.active .nav-ico {
    background: rgba(255, 255, 255, .28);
    border-color: rgba(255, 255, 255, .22);
}
.app-sidebar .nav-label { flex: 1; min-width: 0; }
.app-sidebar-foot {
    padding: .75rem .65rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: rgba(0, 0, 0, .12);
}
.app-sidebar .sidebar-logout {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .9) !important;
    cursor: pointer;
    font: inherit;
    text-align: right;
}
.app-sidebar .sidebar-logout:hover {
    background: rgba(220, 53, 69, .28);
    border-color: rgba(255, 120, 130, .35);
}

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, .86) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(11, 79, 108, .08) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .8) inset;
}
@media (max-width: 991.98px) {
    .app-sidebar { position: fixed; right: 0; margin-right: calc(-1 * var(--sb-w)); }
    .app-sidebar.show {
        margin-right: 0;
        box-shadow: -12px 0 40px rgba(0, 0, 0, .4);
    }
}

/* components */
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card-header { background: #fff; font-weight: 600; }
.stat-card .icon { width: 48px; height: 48px; border-radius: .75rem; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.table > :not(caption) > * > * { vertical-align: middle; }
.table-sm td, .table-sm th { font-size: .875rem; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 2rem .9rem 0; }
.timeline li::before { content: ""; position: absolute; right: .55rem; top: 1.4rem; bottom: 0; border-right: 2px dashed #ced4da; }
.timeline li:last-child::before { display: none; }
.timeline li .dot { position: absolute; right: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #dee2e6; display: flex; align-items: center; justify-content: center; color: #fff; font-size: .7rem; }
.timeline li.done .dot { background: #198754; }
.timeline li.current .dot { background: var(--brand); box-shadow: 0 0 0 4px var(--brand-light); }

/* customer plate status board (full workflow at top) */
.status-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: .55rem .85rem;
}
.status-board-item {
    display: flex; align-items: flex-start; gap: .55rem;
    padding: .45rem .6rem; border-radius: .5rem; background: #f8f9fa; border: 1px solid #eef1f4;
    font-size: .88rem; line-height: 1.35;
}
.status-board-item.done { background: #f1faf4; border-color: #c6e6d3; }
.status-board-item.current { background: var(--brand-light); border-color: #9ec9dc; font-weight: 600; }
.status-board-item.todo { color: #6c757d; }
.status-board-icon {
    width: 1.35rem; height: 1.35rem; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center; font-size: .75rem;
    background: #dee2e6; color: #fff; margin-top: .1rem;
}
.status-board-item.done .status-board-icon { background: #198754; }
.status-board-item.current .status-board-icon { background: var(--brand); font-size: .45rem; }
.status-board-item.todo .status-board-icon { background: transparent; color: #adb5bd; font-size: .85rem; }
.file-slot { border: 1px dashed #ced4da; border-radius: .6rem; padding: .75rem; height: 100%; background: #fff; }
.file-slot.has-file { border-style: solid; border-color: #a3cfbb; background: #f6fbf8; }
.file-slot .thumb { width: 100%; height: 140px; object-fit: cover; border-radius: .4rem; background: #f1f3f5; }
.file-slot .thumb-placeholder { height: 140px; display: flex; align-items: center; justify-content: center; color: #adb5bd; font-size: 2.5rem; background: #f8f9fa; border-radius: .4rem; }

/* row upload list (customer documents / photos) */
.file-slot-list { display: flex; flex-direction: column; gap: .75rem; }
.file-slot-group {
    font-size: .85rem; font-weight: 600; color: #6c757d;
    border-bottom: 1px solid #e9ecef; padding-bottom: .35rem; margin-top: .5rem;
}
.file-slot-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: .9rem 1rem;
    align-items: start;
    border: 1px solid #dee2e6;
    border-radius: .65rem;
    padding: .85rem;
    background: #fff;
}
.file-slot-row.has-file { border-color: #a3cfbb; background: #f6fbf8; }
.file-slot-row.is-missing {
    border-color: #f1aeb5;
    background: #fff5f5;
    box-shadow: 0 0 0 1px rgba(220, 53, 69, .12);
}
.file-slot-thumb {
    width: 96px; height: 96px; border-radius: .5rem; overflow: hidden;
    background: #f1f3f5; border: 1px solid #e9ecef; flex-shrink: 0;
}
.file-slot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.file-slot-thumb .thumb-icon,
.file-slot-thumb a.thumb-icon {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: #adb5bd; text-decoration: none;
}
.file-slot-thumb .thumb-icon.empty { background: #f8f9fa; }
.file-slot-title { font-weight: 600; font-size: .95rem; margin-bottom: .25rem; }
.file-slot-meta { display: flex; flex-wrap: wrap; gap: .35rem .75rem; align-items: center; }
.file-slot-form .form-text { margin-top: .35rem; }
@media (max-width: 575.98px) {
    .file-slot-row { grid-template-columns: 72px 1fr; padding: .7rem; }
    .file-slot-thumb { width: 72px; height: 72px; }
}
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .5rem 1.5rem; }
.dl-grid > div { border-bottom: 1px solid #f1f3f5; padding: .35rem 0; }
.dl-grid dt { font-weight: 500; color: #6c757d; font-size: .8rem; }
.dl-grid dd { margin: 0; font-weight: 500; }

/* plate case info layout */
.plate-summary {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: .85rem;
    background: linear-gradient(135deg, #f3f8fb 0%, #eef4f8 100%);
    border: 1px solid #d9e6ee;
}
.plate-summary-name { font-size: 1.1rem; font-weight: 700; color: var(--brand-dark); margin-bottom: .35rem; }
.plate-summary-meta {
    display: flex; flex-wrap: wrap; gap: .35rem .9rem;
    font-size: .86rem; color: #5a6b76;
}
.plate-summary-meta i { color: var(--brand); margin-left: .25rem; }
.plate-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem .85rem;
}
.plate-summary-grid > div {
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(11, 79, 108, .08);
    border-radius: .55rem;
    padding: .55rem .7rem;
}
.plate-summary-grid span {
    display: block; font-size: .72rem; color: #6c757d; margin-bottom: .15rem;
}
.plate-summary-grid strong { font-size: .9rem; font-weight: 600; color: #1f2d36; word-break: break-word; }
@media (max-width: 991.98px) {
    .plate-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .plate-summary-grid { grid-template-columns: 1fr; }
}

.plate-info { display: grid; gap: .9rem; }
.plate-info-section {
    border: 1px solid #e4ebf0;
    border-radius: .8rem;
    overflow: hidden;
    background: #fff;
}
.plate-info-head {
    display: flex; align-items: center; gap: .55rem;
    padding: .65rem .85rem;
    background: #f7fafc;
    border-bottom: 1px solid #e8eef2;
}
.plate-info-ico {
    width: 1.85rem; height: 1.85rem; border-radius: .45rem;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-light); color: var(--brand); font-size: .95rem; flex-shrink: 0;
}
.plate-info-title { margin: 0; font-size: .92rem; font-weight: 700; color: var(--brand-dark); }
.plate-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.plate-info-item {
    padding: .65rem .8rem;
    border-bottom: 1px solid #eef2f5;
    border-left: 1px solid #eef2f5;
    min-width: 0;
}
.plate-info-item--wide { grid-column: 1 / -1; border-left: 0; }
.plate-info-label { font-size: .74rem; color: #7a8792; margin-bottom: .18rem; }
.plate-info-value { font-size: .9rem; font-weight: 600; color: #24333d; line-height: 1.5; word-break: break-word; }
.plate-info-value.ltr { direction: ltr; text-align: left; }
.plate-info-yes { color: #198754; font-weight: 600; font-size: .86rem; }
.plate-info-no { color: #8a949c; font-weight: 500; font-size: .86rem; }
@media (max-width: 1199.98px) {
    .plate-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .plate-info-grid { grid-template-columns: 1fr; }
    .plate-info-item { border-left: 0; }
}
.badge-step { font-size: .8rem; }
.pagination { flex-wrap: wrap; }

/* Quill HTML editor */
.html-editor { background: #fff; }
.html-editor .ql-toolbar.ql-snow { border: 0; border-bottom: 1px solid #dee2e6; direction: rtl; }
.html-editor .ql-container.ql-snow { border: 0; font-family: inherit; font-size: .95rem; }
.html-editor .ql-editor { min-height: 200px; direction: rtl; text-align: right; }
.html-editor .ql-editor.ql-blank::before { right: 15px; left: auto; font-style: normal; color: #adb5bd; }

/* Jalali datepicker above Bootstrap sticky headers */
jdp-container, .jdp-container, #jdp { z-index: 2000 !important; }

/* print */
.print-body { background: #fff; }
.print-logo { height: 56px; width: auto; }
.print-name { font-size: .95rem; }
.print-sheet--a4 .print-logo { height: 42px; }
.print-sheet--a4 .print-org { font-size: .82rem; }
.print-sheet--a4 .print-name { font-size: .88rem; font-weight: 700; }
.print-sheet--a4 .print-summary {
    border: 1px solid #e4ebf0;
    border-radius: .4rem;
    padding: .4rem .55rem;
    background: #f8fafb;
}
.print-sheet--a4 .print-summary > div { margin-inline-end: .75rem; }
.print-sheet--a4 .plate-info { gap: .45rem; }
.print-sheet--a4 .plate-info-section { border-radius: .4rem; }
.print-sheet--a4 .plate-info-head { padding: .35rem .55rem; }
.print-sheet--a4 .plate-info-ico { width: 1.35rem; height: 1.35rem; font-size: .75rem; border-radius: .3rem; }
.print-sheet--a4 .plate-info-title { font-size: .78rem; }
.print-sheet--a4 .plate-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.print-sheet--a4 .plate-info-item { padding: .28rem .45rem; }
.print-sheet--a4 .plate-info-label { font-size: .62rem; margin-bottom: .05rem; }
.print-sheet--a4 .plate-info-value { font-size: .72rem; line-height: 1.25; font-weight: 600; }
.print-sheet--a4 .plate-info-yes,
.print-sheet--a4 .plate-info-no { font-size: .7rem; }
.print-sheet--a4 .print-section-title { font-size: .78rem; margin-top: .4rem !important; }
.print-sheet--a4 .print-payments { font-size: .7rem; }
.print-sheet--a4 .print-payments th,
.print-sheet--a4 .print-payments td { padding: .2rem .35rem; }

@media print {
    @page {
        size: A4 portrait;
        margin: 8mm 7mm;
    }
    .no-print, .app-sidebar, .app-topbar, .alert, .btn { display: none !important; }
    html, body { background: #fff !important; }
    body { font-size: 9pt; }
    .container { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
    .card { box-shadow: none; border: 1px solid #dee2e6; }
    .print-sheet { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
    .print-sheet--a4 {
        font-size: 8.5pt;
    }
    .print-sheet--a4 .print-header { padding-bottom: .25rem !important; margin-bottom: .35rem !important; }
    .print-sheet--a4 .print-logo { height: 32px !important; }
    .print-sheet--a4 .plate-info { gap: .28rem; }
    .print-sheet--a4 .plate-info-section {
        break-inside: avoid;
        page-break-inside: avoid;
        border-radius: 0;
    }
    .print-sheet--a4 .plate-info-head { padding: .2rem .35rem; background: #f0f0f0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .print-sheet--a4 .plate-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .print-sheet--a4 .plate-info-item { padding: .15rem .3rem; }
    .print-sheet--a4 .plate-info-label { font-size: 7pt; }
    .print-sheet--a4 .plate-info-value { font-size: 8pt; line-height: 1.2; }
    .print-sheet--a4 .print-payments { font-size: 7.5pt; }
    .print-sheet--a4 .print-summary { padding: .25rem .4rem; margin-bottom: .3rem !important; }
    a { text-decoration: none; color: #000; }
}
