/* ============================================================
   assets/css/app.css — CEA Manager
   CSS custom properties + layout responsive mobile-first
   ============================================================ */

/* ── Reset y Variables ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary:       #1565C0;
    --primary-dark:  #0D47A1;
    --primary-light: #42A5F5;
    --accent:        #FF6F00;
    --accent-light:  #FFA000;
    --success:       #2E7D32;
    --success-light: #E8F5E9;
    --error:         #C62828;
    --error-light:   #FFEBEE;
    --warning:       #E65100;
    --warning-light: #FFF3E0;
    --info:          #01579B;
    --info-light:    #E1F5FE;
    --text:          #212121;
    --text-muted:    #757575;
    --border:        #E0E0E0;
    --bg:            #F5F7FA;
    --bg-white:      #FFFFFF;
    --sidebar-w:     250px;
    --navbar-h:      60px;
    --radius:        6px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.12);
    --shadow:        0 2px 8px rgba(0,0,0,.15);
    --shadow-lg:     0 4px 20px rgba(0,0,0,.18);
    --transition:    .2s ease;
    --font:          'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-mono:     'Consolas', 'Courier New', monospace;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ── App Layout ─────────────────────────────────────────────────────────────── */
.app-layout {
    display: grid;
    grid-template-areas: "navbar navbar" "sidebar main";
    grid-template-rows: var(--navbar-h) 1fr;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
    grid-area: navbar;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 0 1rem;
    height: var(--navbar-h);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    flex-shrink: 0;
}

.navbar-brand img { height: 36px; width: auto; }

.navbar-brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,.18);
}

.navbar-brand-logo-wrap img { height: 32px; width: auto; display: block; border-radius: 0; }

.navbar-search {
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
}

.navbar-search input {
    width: 100%;
    padding: .4rem .75rem;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .9rem;
    outline: none;
    transition: background var(--transition);
}

.navbar-search input::placeholder { color: rgba(255,255,255,.7); }
.navbar-search input:focus { background: rgba(255,255,255,.25); }

.navbar-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }

.navbar-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: .3rem .5rem;
    border-radius: var(--radius);
    align-items: center;
    justify-content: center;
    line-height: 0;
}

/* Dropdown Usuario */
.user-dropdown { position: relative; }

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    border: none;
    color: #fff;
    padding: .35rem .75rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: .9rem;
    transition: background var(--transition);
}

.user-dropdown-trigger:hover { background: rgba(255,255,255,.22); }

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.user-avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    z-index: 200;
    overflow: hidden;
}

.user-dropdown:focus-within .user-dropdown-menu,
.user-dropdown-menu.open { display: block; }

.user-dropdown-menu a,
.user-dropdown-menu button {
    display: flex;
    align-items: center;
    gap: .45rem;
    width: 100%;
    padding: .6rem 1rem;
    color: var(--text);
    background: none;
    border: none;
    text-align: left;
    font-size: .9rem;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition);
}

.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover { background: var(--bg); }
.user-dropdown-menu .divider { border-top: 1px solid var(--border); margin: .25rem 0; }

/* ── Sidebar ─────────────────────────────────────────────────────────────────── */
.sidebar {
    grid-area: sidebar;
    background: var(--primary-dark);
    border-right: none;
    overflow-y: auto;
    height: calc(100vh - var(--navbar-h));
    position: sticky;
    top: var(--navbar-h);
    display: flex;
    flex-direction: column;
}

.sidebar-nav { flex: 1; padding: 0; }

.sidebar-section {
    padding: .7rem 1rem .35rem;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.45);
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: .4rem;
}

.sidebar-section--first { border-top: none; margin-top: 0; }

.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    flex-shrink: 0;
}

.sidebar-footer p {
    margin: 0 0 .18rem;
    font-size: .72rem;
    line-height: 1.4;
    color: rgba(255,255,255,.45);
}

.sidebar-footer strong {
    color: rgba(255,255,255,.7);
    font-weight: 600;
}

.sidebar-footer a {
    color: rgba(255,255,255,.5);
    text-decoration: underline;
    font-size: .72rem;
    transition: color var(--transition);
    border-left: none;
    border-bottom: none;
    padding: 0;
    display: inline;
    background: none;
}

.sidebar-footer a:hover {
    color: rgba(255,255,255,.85);
    background: none;
    border-left-color: transparent;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .82rem 1.25rem;
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: .875rem;
    transition: background var(--transition), color var(--transition),
                border-left-color var(--transition);
    border-left: 3px solid transparent;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.sidebar-nav a:hover {
    background: rgba(255,255,255,.11);
    color: #fff;
    text-decoration: none;
    border-left-color: rgba(255,255,255,.35);
}

.sidebar-nav a.active {
    background: rgba(255,255,255,.17);
    color: #fff;
    border-left-color: var(--accent-light);
    font-weight: 600;
}

/* Iconos SVG de línea */
.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Main Content ────────────────────────────────────────────────────────────── */
.main-content {
    grid-area: main;
    padding: 1.5rem;
    min-width: 0; /* Evitar overflow en grid */
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.breadcrumb {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: .25rem;
}

.breadcrumb a { color: var(--primary); }
.breadcrumb span::before { content: ' / '; }

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: visible; /* visible para permitir scroll horizontal en tablas */
}

.card-header {
    padding: .9rem 1.25rem;
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    background: var(--bg);
}

.card-title { font-size: 1rem; font-weight: 600; margin: 0; display: flex; align-items: center; gap: .45rem; }
.card-body   { padding: 1.25rem; }
.card-footer { padding: .75rem 1.25rem; border-top: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius); background: var(--bg); }

/* Stats Cards (Dashboard) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-icon.blue   { background: #E3F2FD; color: var(--primary); }
.stat-icon.green  { background: var(--success-light); color: var(--success); }
.stat-icon.orange { background: var(--warning-light); color: var(--warning); }
.stat-icon.red    { background: var(--error-light); color: var(--error); }
.stat-icon.purple { background: #DDD6FE; color: #6D28D9; }

.stat-value { font-size: 1.6rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; }

/* ── Botones ─────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-primary   { background: var(--primary);    color: #fff; border-color: var(--primary); }
.btn-primary:hover   { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; color: #fff; }
.btn-success   { background: var(--success);    color: #fff; border-color: var(--success); }
.btn-success:hover   { background: #1B5E20; text-decoration: none; color: #fff; }
.btn-danger    { background: var(--error);      color: #fff; border-color: var(--error); }
.btn-danger:hover    { background: #B71C1C; text-decoration: none; color: #fff; }
.btn-warning   { background: var(--accent);     color: #fff; border-color: var(--accent); }
.btn-warning:hover   { background: #E65100; text-decoration: none; color: #fff; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg); text-decoration: none; }
.btn-outline   { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover   { background: var(--primary); color: #fff; text-decoration: none; }
.btn-sm { padding: .3rem .7rem; font-size: .8rem; }
.btn-lg { padding: .65rem 1.5rem; font-size: 1rem; }
.btn-icon { padding: .4rem; }

/* ── Formularios ─────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1rem; }

.form-label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .3rem;
    color: var(--text);
}

.form-label .required { color: var(--error); margin-left: .2rem; }

.form-control {
    display: block;
    width: 100%;
    padding: .45rem .75rem;
    font-size: .9rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    line-height: 1.5;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21,101,192,.15);
}

.form-control:disabled { background: var(--bg); cursor: not-allowed; }
.form-control.is-invalid { border-color: var(--error); }
.form-control.is-valid   { border-color: var(--success); }

.form-hint  { font-size: .8rem; color: var(--text-muted); margin-top: .25rem; }
.form-error { font-size: .8rem; color: var(--error); margin-top: .25rem; }

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }

/* ── Tablas ───────────────────────────────────────────────────────────────────── */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius);
}

table.table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
    font-family: var(--font);
    background: var(--bg-white);
}

.table th {
    background: #F0F4FB;
    padding: .6rem .9rem;
    text-align: left;
    font-weight: 700;
    color: var(--text);
    border: none;
    border-bottom: 2px solid #D0D8E8;
    border-right: 1px solid #E4E8F0;
    white-space: nowrap;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.table th:last-child { border-right: none; }

.table td {
    padding: .52rem .9rem;
    border: none;
    border-bottom: 1px solid #EDF0F5;
    vertical-align: middle;
    font-size: .82rem;
    color: var(--text);
    line-height: 1.4;
}

.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: rgba(21,101,192,.045); }

.table-striped tbody tr:nth-child(odd)  td { background: #FFFFFF; }
.table-striped tbody tr:nth-child(even) td { background: #F8FAFD; }
.table-striped tbody tr:hover           td { background: rgba(21,101,192,.05) !important; }

/* Tabla con borde exterior visible (dentro de card sin p-0) */
.table-bordered th,
.table-bordered td { border: 1px solid var(--border) !important; }


/* ── Badges ───────────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .2rem;
    padding: .2rem .55rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
}

.badge-success { background: var(--success-light); color: var(--success); }
.badge-error   { background: var(--error-light);   color: var(--error); }
.badge-warning { background: var(--warning-light);  color: var(--warning); }
.badge-info    { background: var(--info-light);    color: var(--info); }
.badge-gray    { background: #EEEEEE; color: #616161; }
.badge-primary { background: #E3F2FD; color: var(--primary); }

/* ── Alertas ─────────────────────────────────────────────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .8rem 1rem;
    border-radius: var(--radius);
    font-size: .9rem;
    margin-bottom: 1rem;
    position: relative;
}

.alert-icon { flex-shrink: 0; font-weight: 700; }
.alert-close {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    opacity: .6;
    padding: 0 .25rem;
}

.alert-close:hover { opacity: 1; }

.alert-success { background: var(--success-light); color: var(--success); border-left: 4px solid var(--success); }
.alert-error   { background: var(--error-light);   color: var(--error);   border-left: 4px solid var(--error); }
.alert-warning { background: var(--warning-light);  color: var(--warning); border-left: 4px solid var(--warning); }
.alert-info    { background: var(--info-light);    color: var(--info);    border-left: 4px solid var(--info); }

/* ── Modales ─────────────────────────────────────────────────────────────────── */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 300;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.open { display: flex; }

.modal {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalIn .2s ease;
}

@keyframes modalIn {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);      opacity: 1; }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.modal-title    { font-size: 1.05rem; font-weight: 600; margin: 0; }
.modal-close    { background: none; border: none; font-size: 1.4rem; cursor: pointer; line-height: 1; color: var(--text-muted); }
.modal-close:hover { color: var(--text); }
.modal-body     { padding: 1.25rem; }
.modal-footer   { display: flex; justify-content: flex-end; gap: .5rem; padding: .9rem 1.25rem; border-top: 1px solid var(--border); }
.modal--lg { max-width: 860px; }

/* ── Adjuntos / Upload ───────────────────────────────────────────────────────── */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
    color: var(--text-muted);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--primary);
    background: #F0F5FF;
    color: var(--primary);
}

.attachment-list { display: flex; flex-direction: column; gap: .5rem; margin-top: .75rem; }

.attachment-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .875rem;
}

.attachment-item .att-icon { font-size: 1.2rem; flex-shrink: 0; }
.attachment-item .att-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-item .att-size { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }

/* ── Utilidades ──────────────────────────────────────────────────────────────── */
.text-muted   { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-error   { color: var(--error); }
.text-danger  { color: var(--error); }
.text-info    { color: var(--primary); }
.text-warning { color: var(--warning); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-small   { font-size: .8rem; }
.fw-bold      { font-weight: 700; }
.d-flex       { display: flex; }
.align-center { align-items: center; }
.gap-1        { gap: .25rem; }
.gap-2        { gap: .5rem; }
.gap-3        { gap: .75rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: 1rem; }
.p-0 { padding: 0 !important; }

.hidden { display: none !important; }

/* Numbers formatting */
.num-currency { font-family: var(--font-mono); }
.col-actions { width: 1%; white-space: nowrap; }

/* Spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive — Tablet (≤ 1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    :root { --sidebar-w: 220px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Responsive — Mobile (≤ 768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .app-layout {
        grid-template-areas: "navbar" "main";
        grid-template-columns: 1fr;
        grid-template-rows: var(--navbar-h) 1fr;
    }

    .navbar-menu-toggle { display: flex; }
    .navbar-search { max-width: 200px; }

    /* Sidebar se convierte en drawer */
    .sidebar {
        position: fixed;
        top: var(--navbar-h);
        left: 0;
        height: calc(100% - var(--navbar-h));
        z-index: 150;
        transform: translateX(-100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .sidebar.open { transform: translateX(0); }

    /* Overlay para cerrar sidebar en mobile */
    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        top: var(--navbar-h);
        background: rgba(0,0,0,.4);
        z-index: 140;
    }

    .sidebar.open ~ .sidebar-overlay,
    .sidebar-overlay.open { display: block; }

    .main-content { padding: 1rem; }
    .page-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .page-header .d-flex { flex-wrap: wrap; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }

    /* Layouts de dos columnas → una columna */
    .grid-split { grid-template-columns: 1fr !important; }
    .grid-dashboard { grid-template-columns: 1fr !important; }

    /* Filtros en tabla → apilan verticalmente */
    .filter-bar { flex-direction: column; align-items: stretch !important; }
    .filter-bar .form-group { min-width: unset !important; width: 100%; }

    /* Modales más compactos */
    .modal { margin: 0 .5rem; }
    .modal-body { padding: 1rem .75rem; }

    /* Ocultar columnas no esenciales en tabla mobile */
    .hide-mobile { display: none !important; }
}

/* ── Responsive — Phone (≤ 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .navbar-search { display: none; }
    .btn-text { display: none; }
    .main-content { padding: .75rem; }
}

/* ── Autocomplete dropdown (reemplaza estilos de jQuery UI) ─────────────────── */
.autocomplete-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border, #ccc);
    border-radius: var(--radius, 4px);
    box-shadow: var(--shadow-lg, 0 2px 6px rgba(0, 0, 0, .12));
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    max-height: 220px;
    overflow-y: auto;
}

.autocomplete-dropdown li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: .9rem;
}

.autocomplete-dropdown li:hover {
    background: var(--bg-secondary, #f0f0f0);
}
