/* --- CORES E VARIÁVEIS --- */
:root {
    --primary: #0f172a;      /* Azul Noturno (Fundo do Menu) */
    --secondary: #1e293b;    /* Azul Escuro (Títulos) */
    --accent: #2563eb;       /* Azul Vivo (Botões e Destaques) */
    --danger: #ef4444;       /* Vermelho (Excluir/Atrasado) */
    --success: #10b981;      /* Verde (Concluído/Salvo) */
    --text: #334155;         /* Cinza Escuro (Texto Padrão) */
    --bg: #f8fafc;           /* Cinza muito claro (Fundo Geral) */
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    margin: 0;
    display: flex;
    height: 100vh;
    color: var(--text);
}

/* --- MENU LATERAL --- */
.sidebar {
    width: 250px;
    background: var(--primary);
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 4px 0 10px rgba(0,0,0,0.1);
}

.logo {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: 1px;
}
.logo span { color: var(--accent); }

.logo-sub {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.nav-item {
    padding: 12px 15px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* --- ÁREA PRINCIPAL --- */
.main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary);
}

.user-profile { 
    display: flex; 
    gap: 10px; 
    align-items: center; 
    font-weight: 500;
}

/* --- COMPONENTES BÁSICOS --- */
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.row { display: flex; gap: 20px; flex-wrap: wrap; }
.col { flex: 1; min-width: 200px; }

/* --- TABELAS --- */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { padding: 14px; text-align: left; border-bottom: 1px solid #f1f5f9; }
th { color: #64748b; font-size: 0.85em; text-transform: uppercase; font-weight: 600; background: #f8fafc; }
tr:hover td { background: #f8fafc; }

/* --- BADGES (Etiquetas de Status) --- */
.badge { padding: 4px 10px; border-radius: 20px; font-size: 0.75em; font-weight: bold; }
.badge-blue { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }
.badge-green { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.badge-gray { background: #f1f5f9; color: #475569; border: 1px solid #e2e8f0; }

/* --- FORMULÁRIOS --- */
label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--text);
}

input[type="text"], input[type="date"], select, textarea {
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    transition: 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
.btn-primary:hover { background: #1d4ed8; }

/* --- MODAIS (Janelas de Cadastro) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6);
    display: flex; justify-content: center; align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white; padding: 30px; border-radius: 12px;
    width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto;
    position: relative; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-header {
    font-size: 1.2em; font-weight: bold; margin-bottom: 20px;
    color: var(--secondary); border-bottom: 1px solid #e2e8f0; padding-bottom: 15px;
}

.btn-close {
    position: absolute; top: 20px; right: 20px;
    background: none; border: none; font-size: 1.2em; cursor: pointer; color: #94a3b8;
}

/* --- TOASTS (Avisos flutuantes) --- */
#toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; }
.toast {
    background: var(--secondary); color: white; padding: 12px 20px;
    margin-bottom: 10px; border-radius: 6px; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); animation: slideIn 0.3s ease-out forwards;
}
.toast.success { border-left: 5px solid var(--success); }
.toast.error { border-left: 5px solid var(--danger); }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* =========================================================
   ESTILO DA ÁRVORE DE PROCESSOS (CASCATA) E PAINEL INTERNO
   ========================================================= */

/* O Wrapper engloba o Pai e seus Filhos */
.processo-wrapper { margin-bottom: 10px; }

/* A linha clicável do Processo */
.tree-row {
    display: flex; align-items: center; background: white;
    border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px;
    transition: 0.2s; position: relative; z-index: 2;
}
.tree-row:hover { border-color: var(--accent); box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

/* O container que empurra os filhos para a direita (O Segredo da Cascata) */
.tree-children-container {
    margin-left: 45px; padding-left: 15px;
    border-left: 2px solid #cbd5e1; margin-top: 8px;
}

/* Crachá Numérico (1, 1.1, 1.2) */
.hierarchy-badge {
    background: var(--primary); color: white; font-family: monospace;
    font-size: 0.85em; padding: 4px 8px; border-radius: 4px;
    margin-right: 12px; font-weight: bold; min-width: 45px; text-align: center;
}

/* Bolinha de Status */
.proc-status-dot {
    height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 6px;
}
.status-ativo { background: #3b82f6; box-shadow: 0 0 0 2px #dbeafe; }
.status-suspenso { background: #f97316; box-shadow: 0 0 0 2px #ffedd5; }
.status-arquivado { background: #94a3b8; box-shadow: 0 0 0 2px #f1f5f9; }

/* Setinha de abrir a gaveta */
.btn-toggle-proc {
    background: transparent; border: none; cursor: pointer; color: #64748b;
    transition: transform 0.2s; display: flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
}
.btn-toggle-proc:hover { background: #e2e8f0; color: var(--primary); }
.btn-toggle-proc.rotated { transform: rotate(180deg); color: var(--accent); background: #e0f2fe; }

/* Botão de adicionar Recurso/Filho */
.btn-tree-add {
    background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0;
    width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; cursor: pointer; margin-left: auto; transition: 0.2s;
}
.btn-tree-add:hover { background: #059669; color: white; }

/* --- O PAINEL DE DADOS (Dossiê Interno) --- */
.proc-details-panel {
    display: none; background: #f8fafc; border: 1px solid #e2e8f0;
    border-top: none; border-radius: 0 0 8px 8px; padding: 20px;
    margin-top: -5px; padding-top: 25px; /* Compensa a borda para parecer que sai de dentro */
    color: #475569; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.intel-title { color: var(--accent); font-weight: 600; margin-bottom: 10px; font-size: 0.95em; border-bottom: 1px solid #e2e8f0; padding-bottom: 5px; }
.defense-module { background-color: #eff6ff; border: 1px solid #dbeafe; border-left: 4px solid #3b82f6; border-radius: 6px; padding: 15px; margin: 15px 0; }
.defense-header { color: #1e40af; font-weight: bold; margin-bottom: 10px; font-size: 0.9em; }

/* --- CORES DAS INSTÂNCIAS (HIERARQUIA E CASCATA) --- */
/* 1ª Instância (Varas/Delegacias): Fundo Branco Padrão */
.instancia-1 { 
    background-color: #ffffff !important; 
}
/* 2ª Instância (TJ/TRF/TRT): Fundo Amarelo Pastel */
.instancia-2 { 
    background-color: #fef9c3 !important; 
    border-color: #fde047 !important; 
}
/* Instância Superior (STJ/STF/TST): Fundo Vermelho/Salmão Pastel */
.instancia-3 { 
    background-color: #fee2e2 !important; 
    border-color: #fca5a5 !important; 
}

/* Efeito de hover (passar o mouse) ajustado para essas cores */
.instancia-1:hover { border-color: var(--accent) !important; }
.instancia-2:hover { border-color: #eab308 !important; box-shadow: 0 4px 6px rgba(234, 179, 8, 0.1) !important; }
.instancia-3:hover { border-color: #ef4444 !important; box-shadow: 0 4px 6px rgba(239, 68, 68, 0.1) !important;}

/* =========================================================
   MÓDULO DE TAREFAS (KANBAN E TIMELINE)
   ========================================================= */

/* --- SELETOR DE USUÁRIO (O Falso Login) --- */
.user-selector-btn {
    background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd;
    padding: 6px 12px; border-radius: 20px; font-weight: bold; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: 0.2s;
}
.user-selector-btn:hover { background: #bae6fd; }

/* --- QUADRO KANBAN --- */
.kanban-board {
    display: flex; gap: 20px; align-items: flex-start; overflow-x: auto;
    padding-bottom: 20px; min-height: 60vh;
}

.kanban-col {
    flex: 1; min-width: 300px; background: #f1f5f9;
    border-radius: 12px; padding: 15px; border: 1px solid #e2e8f0;
    display: flex; flex-direction: column; gap: 15px;
}

.kanban-header {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: bold; color: var(--secondary); margin-bottom: 5px;
    border-bottom: 2px solid #cbd5e1; padding-bottom: 10px;
}
.kanban-header .count { background: #cbd5e1; padding: 2px 8px; border-radius: 12px; font-size: 0.85em; }

/* Cores do Cabeçalho Kanban */
.col-pendente .kanban-header { border-bottom-color: #fca5a5; }     /* Vermelho/Laranja */
.col-fazendo .kanban-header { border-bottom-color: #fde047; }      /* Amarelo */
.col-concluido .kanban-header { border-bottom-color: #86efac; }    /* Verde */

/* --- CARTÃO DA TAREFA --- */
.task-card {
    background: white; border-radius: 8px; padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); border: 1px solid #e2e8f0;
    border-left: 5px solid #cbd5e1; cursor: pointer; transition: 0.2s;
}
.task-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-color: var(--accent); }

/* Indicadores Visuais de Urgência no Cartão */
.task-fatal { border-left-color: var(--danger); background: #fef2f2; } /* Prazo Fatal */
.task-diligencia { border-left-color: var(--accent); } /* Diligência Normal */

.task-title { font-weight: bold; color: var(--secondary); font-size: 1.05em; margin-bottom: 8px; }
.task-meta { font-size: 0.85em; color: #64748b; margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.task-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e2e8f0; font-size: 0.85em; }

/* --- TIMELINE / CHAT (Dentro do Modal) --- */
.modal-split { display: flex; gap: 20px; min-height: 500px; }
.modal-half { flex: 1; display: flex; flex-direction: column; }

.chat-container {
    flex: 1; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px;
    max-height: 400px;
}

.chat-bubble {
    background: white; padding: 12px; border-radius: 8px; border: 1px solid #e2e8f0;
    position: relative; max-width: 85%; align-self: flex-start;
}
.chat-bubble.mine { align-self: flex-end; background: #eff6ff; border-color: #bfdbfe; }
.chat-bubble.system { align-self: center; background: transparent; border: none; font-size: 0.85em; color: #94a3b8; font-style: italic; text-align: center; max-width: 100%; }

.chat-header { font-size: 0.8em; color: #64748b; margin-bottom: 5px; font-weight: bold; display: flex; justify-content: space-between; gap: 15px;}
.chat-text { font-size: 0.95em; color: var(--text); white-space: pre-wrap; }

.chat-input-area {
    display: flex; gap: 10px; margin-top: 15px;
}
.chat-input-area textarea {
    flex: 1; resize: none; border-radius: 8px; border: 1px solid #cbd5e1; padding: 10px;
}
.chat-send-btn {
    background: var(--accent); color: white; border: none; border-radius: 8px;
    padding: 0 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.chat-send-btn:hover { background: #1e40af; }
/* --- CORES DE PRIORIDADE KANBAN --- */
.prioridade-urgente { border-left-color: var(--danger) !important; background-color: #fef2f2 !important; }
.prioridade-media { border-left-color: #eab308 !important; background-color: #fef9c3 !important; } /* Amarelo Claro */
.prioridade-normal { border-left-color: #cbd5e1 !important; background-color: white !important; }

.badge-prio { font-size: 0.7em; padding: 3px 6px; border-radius: 4px; font-weight: bold; margin-left: auto; text-transform: uppercase; }
.badge-urgente { background: #fee2e2; color: #dc2626; border: 1px solid #f87171; }
.badge-media { background: #fef08a; color: #a16207; border: 1px solid #facc15; }

/* --- BOTÕES DO TOPO (ARQUIVO E LIXEIRA) --- */
.action-bar-tarefas { display: flex; gap: 10px; align-items: center; }
.btn-archive { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; padding: 10px 15px; border-radius: 6px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: 0.2s; }
.btn-archive:hover { background: #e2e8f0; color: var(--secondary); }
.btn-trash { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; padding: 10px 15px; border-radius: 6px; font-weight: bold; cursor: pointer; display: flex; align-items: center; gap: 5px; transition: 0.2s; }
.btn-trash:hover { background: #fee2e2; color: #b91c1c; }

/* Filtros do Arquivo */
.filter-bar { display: flex; gap: 15px; background: #f8fafc; padding: 15px; border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 20px; align-items: flex-end;}

/* =========================================================
   MÓDULO DE AGENDA E EVENTOS (CALENDÁRIO)
   ========================================================= */

.calendar-header-bar {
    display: flex; justify-content: space-between; align-items: center; 
    background: white; padding: 15px 20px; border-radius: 12px; 
    border: 1px solid #e2e8f0; margin-bottom: 20px;
}
.calendar-nav-btn { background: #f1f5f9; border: none; padding: 8px 12px; border-radius: 6px; cursor: pointer; font-weight: bold; color: var(--secondary); transition: 0.2s; }
.calendar-nav-btn:hover { background: #e2e8f0; }
.calendar-month-title { font-size: 1.4em; font-weight: bold; color: var(--secondary); text-transform: capitalize; }

.calendar-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px;
}
.calendar-day {
    background: white; border: 1px solid #e2e8f0; border-radius: 8px; min-height: 120px;
    padding: 10px; display: flex; flex-direction: column; gap: 5px; transition: 0.2s;
    overflow: hidden; /* MÁGICA 1: Corta tudo que vazar da caixa */
    min-width: 0;     /* MÁGICA 2: Obriga a caixa a respeitar o limite do Grid */
}
.calendar-day.today { background: #eff6ff; border-color: #93c5fd; box-shadow: inset 0 0 0 2px #bfdbfe; }
.calendar-day.muted { background: #f8fafc; opacity: 0.5; }
.calendar-day:hover { border-color: #cbd5e1; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }

.calendar-date-num { font-weight: bold; color: #94a3b8; font-size: 1.1em; margin-bottom: 5px; text-align: right; }
.calendar-day.today .calendar-date-num { color: var(--accent); }

/* Etiquetas dos Eventos no Calendário */
.event-chip {
    font-size: 0.7em; /* Diminuímos o tamanho da letra como pedido */
    padding: 4px 6px; border-radius: 4px; color: white; font-weight: 600;
    cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: transform 0.1s; 
    display: block; /* MÁGICA 3: Block permite o corte com "..." perfeito */
    width: 100%; box-sizing: border-box;
}
.event-chip:hover { transform: scale(1.02); filter: brightness(1.1); }
.event-chip-audiencia { background: #ef4444; border-left: 3px solid #b91c1c; } /* Vermelho */
.event-chip-reuniao { background: #3b82f6; border-left: 3px solid #1d4ed8; }   /* Azul */
.event-chip-diligencia { background: #f97316; border-left: 3px solid #c2410c; } /* Laranja */
.event-chip-concluido { background: #94a3b8 !important; text-decoration: line-through; opacity: 0.8; }

/* =========================================================
   DASHBOARD / VISÃO GERAL (INSPIRADO NO DEfZ)
   ========================================================= */

.dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.metric-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.metric-card.border-blue { border-left: 5px solid var(--accent); }
.metric-card.border-indigo { border-left: 5px solid #4f46e5; }
.metric-card.border-red { border-left: 5px solid var(--danger); }
.metric-card.border-green { border-left: 5px solid var(--success); }

.metric-value { font-size: 2.5em; font-weight: 800; margin-bottom: 5px; line-height: 1; }
.metric-label { color: #64748b; font-size: 0.9em; font-weight: 600; text-transform: uppercase; }

.dash-panel {
    background: white; border-radius: 12px; border: 1px solid #e2e8f0;
    overflow: hidden; display: flex; flex-direction: column; height: 100%;
}
.dash-panel-header {
    padding: 15px 20px; font-weight: bold; font-size: 1.1em;
    border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 10px;
}
.dash-panel-body { padding: 15px; overflow-y: auto; max-height: 400px; }

.dash-list-item {
    padding: 12px; border-bottom: 1px solid #f1f5f9;
    display: flex; justify-content: space-between; align-items: flex-start;
    transition: 0.2s; border-radius: 6px;
}
.dash-list-item:hover { background: #f8fafc; cursor: pointer; }
.dash-list-item:last-child { border-bottom: none; }

.dash-item-title { font-weight: bold; color: var(--secondary); margin-bottom: 4px; }
.dash-item-sub { font-size: 0.85em; color: #64748b; }
.dash-item-right { text-align: right; min-width: 80px; }
.dash-item-date { font-weight: bold; font-size: 0.9em; }
.dash-item-countdown { font-size: 0.75em; border-radius: 4px; padding: 2px 6px; margin-top: 4px; display: inline-block; font-weight: bold; }

/* --- SININHO E CENTRAL DE NOTIFICAÇÕES --- */
.notification-bell {
    position: relative; cursor: pointer; color: #64748b; transition: 0.2s;
    display: flex; align-items: center; justify-content: center; 
    width: 40px; height: 40px; background: white; border-radius: 50%; border: 1px solid #e2e8f0;
}
.notification-bell:hover { color: var(--accent); border-color: #cbd5e1; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.badge-notif {
    position: absolute; top: -5px; right: -5px; background: #ef4444; color: white;
    font-size: 0.75em; font-weight: bold; width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; border: 2px solid var(--bg);
}

.inbox-panel {
    background: white; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 25px;
    overflow: hidden; display: flex; flex-direction: column;
}
.inbox-header {
    background: #f8fafc; padding: 12px 20px; font-weight: bold; color: var(--secondary);
    border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 8px;
}
.inbox-body {
    max-height: 220px; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.notif-item {
    padding: 12px 15px; border-radius: 8px; display: flex; justify-content: space-between; 
    align-items: center; border: 1px solid transparent;
}
.notif-red { background: #fef2f2; border-color: #fecaca; }
.notif-yellow { background: #fefce8; border-color: #fed7aa; }
.notif-text { color: var(--secondary); font-size: 0.9em; line-height: 1.4; flex: 1; margin-right: 15px; }
.notif-text strong { color: var(--primary); }

.notif-btn {
    background: white; border: 1px solid #cbd5e1; padding: 6px 12px; border-radius: 6px;
    font-size: 0.85em; font-weight: bold; cursor: pointer; transition: 0.2s; white-space: nowrap;
    display: flex; align-items: center; gap: 5px;
}
.notif-red .notif-btn { color: #dc2626; border-color: #fca5a5; }
.notif-red .notif-btn:hover { background: #fee2e2; }
.notif-yellow .notif-btn { color: #d97706; border-color: #fcd34d; }
.notif-yellow .notif-btn:hover { background: #ffedd5; }

/* --- FILTRO ALFABÉTICO DE CLIENTES --- */
.letra-btn {
    background: white; border: 1px solid #cbd5e1; color: #64748b;
    padding: 6px 10px; border-radius: 6px; font-weight: bold; cursor: pointer; 
    transition: 0.2s; font-size: 0.85em; min-width: 32px; text-align: center;
}
.letra-btn:hover { background: #f1f5f9; color: var(--secondary); }
.letra-btn.active { 
    background: var(--secondary); color: white; 
    border-color: var(--secondary); box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

/* --- COMPONENTES DE AUTOCOMPLETAR (PESQUISA INTELIGENTE) --- */
.autocomplete-wrapper { position: relative; width: 100%; }
.autocomplete-list { 
    position: absolute; top: 100%; left: 0; right: 0; background: white; 
    border: 1px solid #cbd5e1; border-radius: 6px; max-height: 250px; 
    overflow-y: auto; z-index: 1050; display: none; 
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); margin-top: 4px; 
}
.autocomplete-item { 
    padding: 10px 15px; cursor: pointer; border-bottom: 1px solid #f1f5f9; line-height: 1.3; transition: 0.1s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: #f0f9ff; border-left: 3px solid var(--accent); padding-left: 12px; }
.autocomplete-item strong { color: var(--secondary); }
.autocomplete-item small { color: #64748b; font-size: 0.85em; }