/* =============================================================================
   TrafficJournal — Admin CSS
   Requires app.css (CSS custom properties must be defined first).
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Admin layout: sidebar + main content
   ----------------------------------------------------------------------------- */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* -----------------------------------------------------------------------------
   Sidebar
   ----------------------------------------------------------------------------- */
.admin-sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
    transition: transform var(--transition-speed) ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}

.sidebar-brand:hover { color: #fff; }

.sidebar-brand-icon {
    font-size: 1.5rem;
    color: var(--brand-primary);
}

.sidebar-brand-text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.sidebar-brand-text small {
    display: block;
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--sidebar-text);
}

/* Role badge */
.sidebar-role {
    padding: 0.5rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-role .badge {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35em 0.65em;
}

/* Navigation */
.sidebar-nav {
    padding: 0.5rem 0;
    flex: 1;
}

.sidebar-section-title {
    padding: 0.75rem 1.25rem 0.25rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 1.25rem;
    color: var(--sidebar-text);
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    border-left: 3px solid transparent;
}

.sidebar-nav-item:hover {
    background-color: var(--sidebar-hover-bg);
    color: var(--sidebar-text-active);
}

.sidebar-nav-item.active {
    background-color: rgba(13, 110, 253, 0.15);
    color: var(--sidebar-text-active);
    border-left-color: var(--brand-primary);
}

.sidebar-nav-item i {
    font-size: 1rem;
    min-width: 1.25rem;
    text-align: center;
}

.sidebar-nav-item.sidebar-nav-sub, .sidebar-nav-sub-bottom {
    padding-left: 3rem;
    color: rgba(255, 255, 255, 0.65);
    border-left: 3px solid transparent;
    position: relative;
}

.sidebar-nav-item.sidebar-nav-sub::before {
    content: '';
    position: absolute;
    left: 1.9rem;
    top: -10px;
    width: 18px;
    height: 33px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom-left-radius: 0;
}

.sidebar-nav-item.sidebar-nav-sub-bottom::before {
    content: '';
    position: absolute;
    left: 1.9rem;
    top: -15px;
    width: 18px;
    height: 35px;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom-left-radius: 0;
}

.sidebar-nav-item.sidebar-nav-sub:hover {
    color: var(--sidebar-text-active);
}

.sidebar-nav-item.sidebar-nav-sub.active {
    color: var(--sidebar-text-active);
    border-left-color: var(--brand-primary);
}

/* Sidebar footer */
.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 1.25rem;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.sidebar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    font-size: 0.8rem;
    color: var(--sidebar-text-active);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-email {
    font-size: 0.7rem;
    color: var(--sidebar-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -----------------------------------------------------------------------------
   Main content area
   ----------------------------------------------------------------------------- */
.admin-main {
    margin-left: var(--sidebar-width);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 900;
}

.admin-topbar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.admin-content {
    padding: 1.5rem;
    flex: 1;
}

/* Topbar user section */
.topbar-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: var(--card-border-radius);
    transition: background-color var(--transition-speed) ease;
    cursor: pointer;
    white-space: nowrap;
}

.topbar-user:hover {
    background-color: #f1f3f5;
    color: #212529;
}

.topbar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.topbar-user-name {
    font-size: 0.85rem;
    font-weight: 500;
}

.topbar-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    padding: 0.25rem 0.4rem;
    border-radius: var(--card-border-radius);
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

.topbar-logout:hover {
    background-color: #f8d7da;
    color: #842029;
}

/* Page header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-header h1,
.page-header h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0;
}

/* Mobile sidebar toggle */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #495057;
    padding: 0.25rem;
}

/* -----------------------------------------------------------------------------
   Dashboard — Stat cards
   ----------------------------------------------------------------------------- */
.stat-card {
    background: #fff;
    border-radius: var(--card-border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
}

a.stat-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: inherit;
}

.stat-card .stat-header {
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-card .stat-header .stat-icon {
    font-size: 1.25rem;
    opacity: 0.85;
}

.stat-card .stat-header .stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-card .stat-body {
    padding: 0.75rem 1rem;
}

.stat-card .stat-body .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.1;
}

.stat-card .stat-body small {
    color: #6c757d;
    font-size: 0.78rem;
}

/* Stat card color variants */
.stat-card.primary   .stat-header { background: linear-gradient(135deg, var(--brand-primary),   var(--brand-primary-hover)); color: #fff; }
.stat-card.success   .stat-header { background: linear-gradient(135deg, var(--brand-accent),    var(--brand-accent-hover));  color: #fff; }
.stat-card.warning   .stat-header { background: linear-gradient(135deg, #ffc107, #d39e00);      color: #212529; }
.stat-card.info      .stat-header { background: linear-gradient(135deg, #0dcaf0, #0aa2c0);      color: #212529; }
.stat-card.secondary .stat-header { background: linear-gradient(135deg, var(--brand-secondary), #545b62);                   color: #fff; }
.stat-card.danger    .stat-header { background: linear-gradient(135deg, #dc3545, #b02a37);      color: #fff; }

/* -----------------------------------------------------------------------------
   Dashboard — Camera sync cards
   ----------------------------------------------------------------------------- */
.camera-sync-card {
    display: flex;
    flex-direction: column;
}

.camera-sync-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.camera-sync-body {
    position: relative;
    flex: 1;
}

.stat-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.stat-card-link:hover {
    color: inherit;
}

.camera-sync-footer {
    background: rgba(0, 0, 0, 0.07);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
    padding: 0.3rem 0.75rem;
    color: inherit;
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    min-width: 0;
}

.camera-sync-btn {
    position: absolute;
    bottom: 0.35rem;
    right: 0.35rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: #212529;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0;
    transition: background var(--transition-speed);
    z-index: 1;
}

.camera-sync-btn:hover {
    background: rgba(0, 0, 0, 0.35);
}

.camera-sync-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.camera-sync-btn .bi-spin {
    animation: syncSpin 1s linear infinite;
}

@keyframes syncSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.stat-card .camera-check-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: #212529;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    padding: 0;
    transition: background var(--transition-speed);
    z-index: 1;
}

.camera-check-btn:hover {
    background: rgba(0, 0, 0, 0.35);
}

.camera-check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.consistency-badge {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    /*    border-radius: 1rem;*/
    border-radius: var(--card-border-radius);
    padding: 0.1rem 0.35rem;
    line-height: 1;
}

.consistency-badge.consistent {
    color: #198754;
    background: rgba(25, 135, 84, 0.12);
}

.consistency-badge.inconsistent {
    color: #fd7e14;
    background: rgba(253, 126, 20, 0.12);
}

.consistency-badge.check-failed {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.12);
}

/* -----------------------------------------------------------------------------
   Dashboard — Action cards
   ----------------------------------------------------------------------------- */
.action-card {
    display: flex;
    align-items: stretch;
    height: 100%;
    background: #fff;
    border-radius: var(--card-border-radius);
    text-decoration: none;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow var(--transition-speed), transform var(--transition-speed);
    overflow: hidden;
}

.action-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
    color: #212529;
}

.action-card .action-icon {
    width: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.action-card .action-text {
    flex: 1;
    padding: 0.7rem 0.875rem;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

/* Action card color variants */
.action-card.primary   .action-icon { background: linear-gradient(135deg, var(--brand-primary),   var(--brand-primary-hover)); }
.action-card.success   .action-icon { background: linear-gradient(135deg, var(--brand-accent),    var(--brand-accent-hover));  }
.action-card.warning   .action-icon { background: linear-gradient(135deg, #ffc107, #d39e00);      color: #212529; }
.action-card.info      .action-icon { background: linear-gradient(135deg, #0dcaf0, #0aa2c0);      color: #212529; }
.action-card.secondary .action-icon { background: linear-gradient(135deg, var(--brand-secondary), #545b62);                   }
.action-card.danger    .action-icon { background: linear-gradient(135deg, #dc3545, #b02a37);      }

/* -----------------------------------------------------------------------------
   Admin footer
   ----------------------------------------------------------------------------- */
.admin-footer {
    background: #fff;
    border-top: 1px solid #dee2e6;
    padding: 0.4rem 1.5rem;
    font-size: 0.78rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    z-index: 900;
    margin-left: var(--sidebar-width);
}

/* -----------------------------------------------------------------------------
   Admin tables
   ----------------------------------------------------------------------------- */
.admin-table-card {
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    overflow: visible;
}

/* overflow:clip clips visually but does NOT create a scroll container,
   so Bootstrap dropdowns inside the table are not trapped. */
.admin-table-card .table-responsive {
    overflow-x: clip;
    overflow-y: visible;
}

.admin-table-card .card-header {
    background: #fff;
    border-bottom: 2px solid #f0f2f5;
    font-weight: 600;
    padding: 0.875rem 1.25rem;
}

.table-admin th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d;
    font-weight: 600;
    border-top: none;
    white-space: nowrap;
}

.table-admin tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.03);
}

/* -----------------------------------------------------------------------------
   Settings tabs
   ----------------------------------------------------------------------------- */
.settings-tabs .nav-link {
    color: #495057;
    border-radius: 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-left: 3px solid transparent;
}

.settings-tabs .nav-link:hover {
    background-color: var(--body-bg);
    color: var(--brand-primary);
}

.settings-tabs .nav-link.active {
    background-color: var(--body-bg);
    color: var(--brand-primary);
    border-left-color: var(--brand-primary);
    font-weight: 500;
}

.settings-card {
    border: none;
    border-radius: var(--card-border-radius);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.settings-card .card-header {
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Access control matrix */
.access-group-header > th {
    background-color: #e9ecef;
}

.access-col-route {
    min-width: 260px;
}

.access-col-role {
    min-width: 200px;
}

/* Color picker inline */
.color-picker-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.color-picker-group input[type="color"] {
    width: 48px;
    height: 38px;
    padding: 0.125rem;
    /*    border-radius: 4px;*/
    border-radius: var(--card-border-radius);
    cursor: pointer;
}

.color-picker-group .hex-input {
    font-family: monospace;
    text-transform: uppercase;
    width: 110px;
}

/* -----------------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(calc(-1 * var(--sidebar-width)));
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-footer {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: block;
    }

    .admin-content {
        padding: 1rem;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .sidebar-overlay.open {
        display: block;
    }

    .action-card { width: 44px; height: 44px; margin: 0 auto; }
    .action-card .action-text { display: none; }
    .action-card .action-icon { width: 100%; min-width: 100%; border-radius: var(--card-border-radius); }
}

/* =============================================================================
   User Management — Filter bar, password strength, actions dropdown
   ============================================================================= */

/* Filter bar above data tables */
.filter-bar {
    background: #f8f9fa;
    border-radius: var(--card-border-radius);
    padding: 0.875rem 1rem;
}

/* Password strength indicator */
.password-strength-bar .progress {
    border-radius: 2px;
}
.password-strength-bar .progress-bar {
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Actions dropdown (3-dots menu) */
.actions-dropdown-wrapper .btn {
    border-color: #dee2e6;
    color: #6c757d;
    padding: 0.2rem 0.45rem;
}
.actions-dropdown-wrapper .btn:hover {
    background-color: #f8f9fa;
    border-color: #adb5bd;
    color: #343a40;
}
.actions-dropdown {
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.actions-dropdown .dropdown-item {
    font-size: 0.875rem;
    padding: 0.45rem 1rem;
}

/* Inline action icons (≤4 actions) */
.actions-inline {
    display: flex;
    gap: 0.25rem;
    justify-content: flex-end;
    flex-wrap: nowrap;
}
.actions-inline .btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background: transparent;
    padding: 0.4rem;
    line-height: 1;
    /*    border-radius: 0.25rem;*/
    border-radius: var(--card-border-radius);
    color: #6c757d;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}
.actions-inline .btn-action:hover {
    background-color: #b8b8b8;
    border-color: #adb5bd;
    color: #343a40;
}

/* Global toast notification container (top-center, fixed) */
#globalToastContainer {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1090;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    max-width: min(480px, 90vw);
    pointer-events: none;
}
#globalToastContainer .alert {
    pointer-events: auto;
    min-width: 280px;
    width: max-content;
    max-width: min(480px, 90vw);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    animation: toastSlideIn 0.18s ease;
    margin: 0;
}
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
   Plates page — left-side vertical accordion (desktop) / classic accordion (mobile)
   ===================================================================== */
.accordion-plates .accordion-button::after {
    display: none;
}
.accordion-plates .accordion-button:not(.collapsed) {
    background-color: var(--bs-accordion-active-bg);
    color: var(--bs-accordion-active-color);
    box-shadow: none;
}
.accordion-plates .accordion-chevron {
    transition: transform 0.2s ease-in-out;
    font-size: 0.9rem;
    opacity: 0.6;
}
.accordion-plates .accordion-button:not(.collapsed) .accordion-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Desktop: header on the left, content panel to the right */
@media (min-width: 768px) {
    .accordion-plates .accordion-item {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .accordion-plates .accordion-header {
        flex: 0 0 auto;
        border-right: 1px solid var(--bs-accordion-border-color);
        display: flex;
    }
    .accordion-plates .accordion-button {
        padding: 1.25rem 0.6rem;
        width: 15rem;
        min-height: 4rem;
        white-space: wrap;
        background-image: none;
        border-radius: 0;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.5rem;
    }
    .accordion-plates .accordion-collapse {
        flex: 1;
        min-width: 0;
    }
}

/* Mobile: classic stacked accordion */
@media (max-width: 767.98px) {
    .accordion-plates .accordion-button {
        background-image: none;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }
}

/* =============================================================================
   Company autocomplete dropdown
   ============================================================================= */
.company-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-top: none;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    max-height: 220px;
    overflow-y: auto;
}
.company-autocomplete-item {
    display: block;
    width: 100%;
    padding: .45rem .75rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: .9rem;
    color: var(--bs-body-color);
    transition: background-color .12s;
}
.company-autocomplete-item:hover,
.company-autocomplete-item:focus {
    background-color: var(--bs-primary-bg-subtle);
    outline: none;
}
.company-autocomplete-create {
    color: var(--bs-primary);
    font-style: italic;
}
.company-autocomplete-create:hover,
.company-autocomplete-create:focus {
    background-color: var(--bs-primary-bg-subtle);
}

/* =============================================================================
   Plate autocomplete dropdown
   ============================================================================= */
.plate-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1055;
    background: #fff;
    border: 1px solid var(--bs-border-color);
    border-top: none;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
    max-height: 220px;
    overflow-y: auto;
}
.plate-autocomplete-item {
    display: block;
    width: 100%;
    padding: .45rem .75rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: .9rem;
    color: var(--bs-body-color);
    transition: background-color .12s;
}
.plate-autocomplete-item:hover,
.plate-autocomplete-item:focus {
    background-color: var(--bs-primary-bg-subtle);
    outline: none;
}

/* Camera image modal — size states */
.modal-dialog.image-modal-large { max-width: 92vw; width: 92vw; }
