/* ==========================================
VIZU UI — BUSCADOR TURBO 2026 CLEAN
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ========= VARIÁVEIS ========= */
:root {
    --bg: #0f1117;
    --card: #161b22;
    --input: #1c2128;
    --text: #ffffff;
    --sub: #9ca3af;

    --primary: #00e5ff;
    --primary-strong: #0084ff;
    --primary-glow: rgba(0, 229, 255, 0.35);

    --border: #2a2f37;
    --radius: 14px;
    --transition: .25s ease;
}

/* ========= BODY ========= */
body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: radial-gradient(circle at top, #131722, #0f1117);
    color: var(--text);
}

/* ========= CONTAINER CENTRAL ========= */
.search-container {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

/* ========= CARD ========= */
.search-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    gap: 25px;
    transition: var(--transition);
}

.search-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 35px var(--primary-glow);
}

/* ========= LINHA ========= */
.search-row {
    display: flex;
    gap: 20px;
}

/* ========= CAMPOS ========= */
.search-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-field.big {
    flex: 2;
}

/* ========= LABEL ========= */
.search-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sub);
    margin-bottom: 8px;
}

/* ========= INPUT ========= */
.search-input {
    background: var(--input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input::placeholder {
    color: #6b7280;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    outline: none;
}

/* ========= BOTÃO ========= */
.btn-neon-wide {
    background: linear-gradient(90deg, var(--primary), var(--primary-strong));
    border: none;
    padding: 18px;
    border-radius: var(--radius);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    color: #000;
    letter-spacing: 1px;
}

.btn-neon-wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--primary-glow);
}

/* ========= LOADING ========= */
.loading-box {
    text-align: center;
    color: var(--primary);
    font-weight: 600;
    animation: pulse 1.4s infinite;
}

@keyframes pulse {
    0% { opacity: .3; }
    50% { opacity: 1; }
    100% { opacity: .3; }
}

/* ========= RESPONSIVO ========= */
@media (max-width: 768px) {

    .search-row {
        flex-direction: column;
    }

    .search-container {
        margin: 40px auto;
    }

    .btn-neon-wide {
        font-size: 1rem;
    }
}
/* ==============================
LAYOUT PRINCIPAL (SIDEBAR + MAIN)
============================== */

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: radial-gradient(circle at top, #131722, #0f1117);
    color: var(--text);
}

/* container raiz */
body > div {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 240px;
    background: #0b0f16;
    padding: 30px 20px;
    border-right: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
}

/* MAIN */
.main-content {
    flex: 1;
    padding: 60px 80px;
}

/* título */
.main-content h1 {
    font-size: 32px;
    margin-bottom: 40px;
}

/* remove aquele fundo estranho verde */
.sidebar a {
    text-decoration: none;
}

.sidebar a:hover {
    background: rgba(0, 243, 255, 0.08);
    border-radius: 8px;
}
/* ===============================
REFINAMENTO PREMIUM
=============================== */

/* MAIN spacing melhor */
.main-content {
    padding: 80px 100px;
}

/* Título */
.main-content h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 50px;
}

/* CARD mais sofisticado */
.search-card {
    background: linear-gradient(145deg, rgba(22,27,34,0.9), rgba(18,22,28,0.9));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 18px;
    padding: 35px;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.04);
}

/* Inputs mais elegantes */
.search-input {
    height: 48px;
    border-radius: 12px;
    background: #141922;
    border: 1px solid rgba(255,255,255,0.06);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,229,255,0.15);
}

/* Melhor espaçamento da linha */
.search-row {
    gap: 25px;
    margin-bottom: 25px;
}

/* Botão mais SaaS */
.btn-neon-wide {
    height: 54px;
    border-radius: 14px;
    font-size: 1rem;
    letter-spacing: 1.5px;
    background: linear-gradient(90deg, #00e5ff, #007bff);
    transition: all .25s ease;
}

.btn-neon-wide:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

/* Sidebar mais premium */
.sidebar {
    background: linear-gradient(180deg, #0b0f16, #0d121a);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.sidebar h2 {
    font-size: 22px;
}

.sidebar a {
    border-radius: 10px;
    transition: all .2s ease;
}

.sidebar a:hover {
    background: rgba(0,243,255,0.08);
    transform: translateX(4px);
}
/* ===============================
VIZU — POLIMENTO PRO
=============================== */

/* Fundo com glow central suave */
body {
    background:
        radial-gradient(600px circle at 40% 20%, rgba(0,229,255,0.08), transparent 40%),
        radial-gradient(800px circle at 80% 80%, rgba(0,123,255,0.08), transparent 40%),
        #0f1117;
}

/* Sidebar mais elegante */
.sidebar {
    background: rgba(10,14,20,0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255,255,255,0.04);
}

/* Conteúdo com leve contraste */
.main-content {
    padding: 90px 120px;
}

/* Título mais forte */
.main-content h1 {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #fff, #9ca3af);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Card mais leve */
.search-card {
    background: rgba(18,22,28,0.6);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.6);
}

/* Inputs modernos */
.search-input {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    height: 52px;
    border-radius: 14px;
}

.search-input:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 0 4px rgba(0,229,255,0.15);
}

/* Botão mais sofisticado */
.btn-neon-wide {
    height: 56px;
    border-radius: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, #00e5ff, #007bff);
    box-shadow: 0 10px 30px rgba(0,229,255,0.25);
}

.btn-neon-wide:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0,229,255,0.35);
}
/* ===============================
LEVEL UP FINAL
=============================== */

/* Título mais imponente */
.main-content h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 60px;
}

/* Card mais flutuante */
.search-card {
    transform: translateY(0);
    transition: all .4s ease;
}

.search-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 40px 100px rgba(0,0,0,0.7);
}

/* Glow suave atrás do botão */
.btn-neon-wide {
    position: relative;
    overflow: hidden;
}

.btn-neon-wide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
        rgba(255,255,255,0.4),
        transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
}

.btn-neon-wide:hover::before {
    opacity: 0.15;
}

/* Sidebar mais viva */
.sidebar a.active {
    background: rgba(0,243,255,0.15);
    box-shadow: 0 0 20px rgba(0,243,255,0.15);
}
/* ==========================
CRM UPLOAD CARD
========================== */

.crm-upload-card {
    background: rgba(18,22,28,0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    margin-bottom: 60px;
}

/* escondido */
.crm-file-input {
    display: none;
}

/* botão escolher */
.crm-file-button {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
    margin-bottom: 12px;
}

.crm-file-button:hover {
    border-color: #00e5ff;
    box-shadow: 0 0 0 3px rgba(0,229,255,0.15);
}

/* nome do arquivo */
.crm-file-name {
    font-size: 0.85rem;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* botão enviar */
.crm-submit {
    width: 100%;
    padding: 16px;
    border-radius: 14px;
    border: none;
    font-weight: 700;
    background: linear-gradient(90deg, #00e5ff, #007bff);
    cursor: pointer;
    transition: .25s ease;
}

.crm-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,229,255,0.3);
}
/* =====================
ETIQUETAS CRM
===================== */

.tag-area {
    margin-bottom: 40px;
}

.tag-container {
    display: flex;
    gap: 12px;
}

.tag {
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: grab;
    user-select: none;
    transition: .2s ease;
}

.tag:hover {
    transform: translateY(-2px);
}

.tag-fria {
    background: rgba(0,123,255,0.15);
    border: 1px solid rgba(0,123,255,0.4);
    color: #4da6ff;
}

.tag-morna {
    background: rgba(255,193,7,0.15);
    border: 1px solid rgba(255,193,7,0.4);
    color: #ffd24d;
}

.tag-quente {
    background: rgba(255,0,80,0.15);
    border: 1px solid rgba(255,0,80,0.4);
    color: #ff4d6d;
}
/* =====================
SELECT DARK MODE FIX
===================== */

.search-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    height: 52px;
    border-radius: 14px;
    padding: 0 16px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: .25s ease;

    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='14' height='10' viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.search-select:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 0 4px rgba(0,229,255,0.15);
    outline: none;
}

/* Corrige dropdown interno */
.search-select option {
    background: #1c2128;
    color: white;
}
.search-input select,
select.search-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #141922;
    color: white;
    border: 1px solid rgba(255,255,255,0.08);
    padding-right: 40px;
    cursor: pointer;
}

select.search-input option {
    background: #141922;
    color: white;
}
select.search-input {
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
/* =========================
KANBAN CRM LAYOUT
========================= */

.kanban-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 20px;
}

/* COLUNA */
.kanban-column {
    background: rgba(18,22,28,0.85);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 16px;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
}

/* TITULO COLUNA */
.kanban-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.kanban-count {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 12px;
}

/* AREA DOS CARDS */
.kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CARD */
.kanban-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: .2s ease;
}

.kanban-card:hover {
    border-color: rgba(0,229,255,0.5);
    box-shadow: 0 0 12px rgba(0,229,255,0.2);
}

/* HEADER */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 700;
}

/* DELETE */
.card-delete {
    background: none;
    border: none;
    color: #ff4d6d;
    font-size: 0.9rem;
    cursor: pointer;
}

/* TELEFONE */
.card-phone {
    font-size: 0.8rem;
    color: #9ca3af;
}

/* NOTA */
.card-rating {
    font-size: 0.75rem;
    color: #ffd24d;
}

/* AÇÕES */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

/* BOTÕES */
.card-btn {
    flex: 1;
    padding: 6px;
    border-radius: 8px;
    border: none;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    background: rgba(0,229,255,0.15);
    color: #00e5ff;
}

.card-btn.success {
    background: rgba(0,255,150,0.15);
    color: #00ffa6;
}

/* LINKS */
.card-link {
    flex: 1;
    text-align: center;
    padding: 6px;
    border-radius: 8px;
    font-size: 0.72rem;
    text-decoration: none;
    background: rgba(255,255,255,0.05);
    color: #e5e7eb;
}

.card-link.wpp {
    background: rgba(37,211,102,0.15);
    color: #25d366;
}

/* =========================
EMPTY CRM
========================= */

.empty-crm {
    text-align: center;
    margin-top: 120px;
    opacity: 0.8;
}

.empty-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.empty-sub {
    color: #9ca3af;
}
.modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box{
    background: #0f172a;
    padding: 25px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

.modal-box input{
    width: 100%;
    margin-top: 8px;
    margin-bottom: 15px;
}

.modal-actions{
    display: flex;
    justify-content: space-between;
}
.pdf-group {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.pdf-link {
    flex: 1;
    text-align: center;
    padding: 6px;
    font-size: 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}

.pdf-link.tec { background: #333; color: #00f3ff; border: 1px solid #00f3ff; }
.pdf-link.prop { background: #00f3ff; color: #000; }

.move-group {
    display: flex;
    gap: 4px;
    align-items: center;
}

.card-btn-mini {
    background: #222;
    border: 1px solid #444;
    color: #888;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
}
.card-btn-mini:hover { border-color: #00f3ff; color: #00f3ff; }
/* Container dos botões de PDF */
.pdf-group {
    display: flex;
    gap: 8px;
    margin: 10px 0;
}

/* Estilo Base para os Botões de PDF */
.pdf-btn {
    flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer !important; /* Força a mãozinha */
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
}

/* Botão Auditoria (Dark Neon) */
.pdf-tec {
    background: #161b22;
    color: #00f3ff;
    border: 1px solid #00f3ff;
}
.pdf-tec:hover {
    background: #00f3ff;
    color: #000;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

/* Botão Proposta (Sólido Neon) */
.pdf-prop {
    background: #00f3ff;
    color: #000;
    border: 1px solid #00f3ff;
}
.pdf-prop:hover {
    background: #00d2dd;
    transform: scale(1.02);
}

/* Botões de Navegação (Mover/Voltar) */
.move-btn {
    background: #21262d;
    border: 1px solid #30363d;
    color: #c9d1d9;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer !important; /* Força a mãozinha */
    font-size: 0.8rem;
    transition: 0.2s;
}
.move-btn:hover {
    border-color: #00f3ff;
    color: #00f3ff;
    background: rgba(0, 243, 255, 0.05);
}

/* Botão de Fechar (Verde) */
.move-btn.success {
    background: rgba(35, 134, 54, 0.1);
    color: #3fb950;
    border-color: #238636;
}
.move-btn.success:hover {
    background: #238636;
    color: #fff;
}
.badge-insight {
    background: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
    border: 1px solid #00f3ff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    margin-right: 5px;
    display: inline-block;
}
.kanban-container {
    display: flex;
    gap: 20px;
    padding: 10px;
    overflow-x: auto;
    min-height: 70vh; /* Garante que o fundo não encolha */
    align-items: flex-start;
}

.kanban-column {
    min-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid #222;
    flex-shrink: 0;
}

.kanban-title {
    color: #00f3ff;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid #00f3ff;
    padding-bottom: 10px;
}
/* Isso faz a tabela virar um card no celular */
@media (max-width: 768px) {
    .vizu-table thead { display: none; } /* Esconde o cabeçalho no celular */
    .vizu-table tr { 
        display: block; 
        margin-bottom: 20px; 
        background: #161b22; 
        padding: 15px; 
        border-radius: 10px;
    }
    .vizu-table td { 
        display: flex; 
        justify-content: space-between; 
        padding: 5px 0; 
        border: none !important;
    }
    .vizu-table td::before { 
        content: attr(data-label); 
        font-weight: bold; 
        color: #00f3ff;
    }
}
.blacklist-box {
    margin-top: 50px;
    padding: 20px;
    border: 2px solid #551111; /* Vermelho escuro */
    background: #1a0505;       /* Fundo quase preto avermelhado */
    border-radius: 12px;
    width: 100%;
    clear: both;               /* Garante que fique embaixo de tudo */
}

.blacklist-item {
    padding: 10px;
    border-bottom: 1px solid #330000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
}

.main-content {
    flex: 1;
    padding: 40px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}
.search-input,
.search-select {
    background: #0f172a;
    color: white;
    border: 1px solid #1e293b;
}
.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: #0d1117;
    padding: 20px;
}

.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    justify-content: center;
}

.search-card {
    max-width: 1000px;
    width: 100%;
}
.main-content {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    justify-content: center;
}

.search-card {
    width: 100%;
    max-width: 1100px;
}
/* Corrige input branco ao digitar */
.search-input {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Remove fundo branco no focus */
.search-input:focus {
    background: #0f172a !important;
    color: #ffffff !important;
}

/* Remove bug do autofill (Chrome) */
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}
.kanban-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}
/* Barra de Ferramentas no Topo */
.crm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #161b22;
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid #30363d;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.toolbar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.toolbar-actions {
    display: flex;
    gap: 10px;
}

/* Botão "Mãozinha" e Estilo para Botão de Pular para Não Interessado */
.btn-skip {
    background: rgba(255, 75, 75, 0.1);
    color: #ff4b4b;
    border: 1px solid rgba(255, 75, 75, 0.3);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer !important;
    transition: 0.2s;
}

.btn-skip:hover {
    background: #ff4b4b;
    color: #fff;
}

/* Forçar Cursor Pointer em todos os botões que você criou */
.move-btn, .pdf-btn, .card-delete, .btn-neon, .btn-outline {
    cursor: pointer !important;
}
/* =========================================
   RESPONSIVIDADE DO KANBAN (MOBILE)
========================================= */
/* =========================================
   RESPONSIVIDADE GERAL (MOBILE)
========================================= */
pre {
    background: #fafafa !important;
    border: 1px solid #eee;
    padding: 15px;
    font-size: 10px;
    border-radius: 6px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    max-height: 500px;
    overflow: auto;
}

.grid-dados div {
    padding: 5px 0;
    word-break: break-word;
}


@media (max-width: 768px) {
    /* --- 1. CRM --- */
    #layout-wrapper { flex-direction: column !important; }
    .sidebar {
        width: 100% !important; height: auto !important; min-height: auto !important;
        border-right: none !important; border-bottom: 1px solid #30363d !important;
        flex-direction: row !important; justify-content: space-between !important;
        align-items: center !important; padding: 15px 20px !important;
    }
    .main-content { width: 100% !important; padding: 10px !important; height: auto !important; }

    /* Correção da Caixa do CRM e dos Botões */
    .toolbar-responsiva {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        height: auto !important; /* Deixa a caixa crescer pra caber os botões */
        gap: 15px !important;
    }
    .toolbar-responsiva h1 {
        white-space: normal !important; /* Permite quebrar linha se o celular for muito fino */
        font-size: 1.4rem !important;
    }
    .toolbar-responsiva > div {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .toolbar-responsiva button { 
        width: 100% !important; 
        white-space: normal !important; 
        height: auto !important; 
        padding: 10px !important;
    }

    /* --- 2. PÁGINA DE BUSCA --- */
    #layout-busca { flex-direction: column !important; }
    .sidebar-busca {
        width: 100% !important; height: auto !important; min-height: auto !important;
        border-right: none !important; border-bottom: 1px solid #30363d !important;
        flex-direction: column !important; /* Empilha a conta e o menu no topo */
        align-items: center !important; padding: 15px 20px !important; gap: 10px !important;
    }
    .conteudo-busca { width: 100% !important; padding: 10px !important; height: auto !important; }
    #layout-wrapper, #layout-busca {
        height: auto !important; /* Deixa a altura ser definida pelo conteúdo */
        overflow-y: visible !important; /* Garante que a rolagem funcione */
        display: block !important; /* Melhora a compatibilidade de rolagem no celular */
    }
    
    body {
        overflow-y: auto !important;
    }

}
@keyframes flutuar-suave {
    0% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-12px); }
    100% { transform: translateX(-50%) translateY(0px); }
}

.barra-animada {
    animation: flutuar-suave 5s ease-in-out infinite;
}