:root{
    --bg-page:#f4f7fb;
    --nav-1:#0f172a;
    --nav-2:#1e293b;
    --card-radius:16px;
}

body{
    background:var(--bg-page);
    font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;
}

.navbar-custom{
    background:linear-gradient(135deg,var(--nav-1) 0%, var(--nav-2) 100%);
}

.card-custom{
    border:none;
    border-radius:var(--card-radius);
    box-shadow:0 6px 18px rgba(15,23,42,.08);
}

.metric-card{
    border-left:4px solid transparent;
    transition:.2s transform ease;
}

.metric-card:hover{
    transform:translateY(-2px);
}

.avatar-container{
    width:92px;
    height:92px;
    border-radius:50%;
    overflow:hidden;
    border:3px solid #3b82f6;
    background:#e9ecef;
    margin:0 auto;
}

.avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.wrapper-busca{
    position:relative;
}

.lista-resultado-busca{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:1000;
    background:#fff;
    border:2px solid #cbd5e1;
    border-top:none;
    border-radius:0 0 10px 10px;
    max-height:250px;
    overflow-y:auto;
    display:none;
    box-shadow:0 8px 16px rgba(0,0,0,.1);
}

.item-resultado{
    padding:10px 14px;
    cursor:pointer;
    border-bottom:1px solid #f1f5f9;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.item-resultado:hover{
    background:#eff6ff;
}

.foto-fluxo{
    width:38px;
    height:38px;
    object-fit:cover;
    border-radius:6px;
    border:1px solid #cbd5e1;
    cursor:pointer;
}

.webcam-container{
    background:#0f172a;
    border-radius:10px;
    overflow:hidden;
}

#webcamStream{
    width:100%;
    display:block;
}

.preview-captura{
    width:140px;
    height:140px;
    object-fit:cover;
    border-radius:10px;
    border:2px solid #10b981;
    display:none;
}

.box-cadastro-veiculo{
    display:none;
    background:#f8fafc;
    border:2px dashed #3b82f6;
    border-radius:10px;
}

.notificacao-topo-fixa{
    position:fixed;
    top:20px;
    right:20px;
    z-index:9999;
    min-width:280px;
    max-width:400px;
    padding:14px 20px;
    border-radius:10px;
    font-weight:600;
    box-shadow:0 8px 24px rgba(0,0,0,.15);
    display:none;
}