/* Estilos Globais */
/* Scrollbar personalizada invisível mas funcional */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    background: rgba(200, 200, 200, 0.1);
    border-radius: 0px;
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 200, 200, 0.3);
}

/* Para Firefox */
* {
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
}

:root {
    --color-primary: #4a6fa4;
    --color-secondary: #4a6fa4;
    --color-text: #555555;
    --color-background: #f5f7fa;
    --color-card: #fff;
    --color-border: #e1e5eb;
    --color-link: #979797;
    --color-link-hover: #979797;
    
    /* Cores dos status - conforme definido nas preferências do usuário */
    --color-novo: #22373d;         /* Azul escuro/petróleo */
    --color-tentando-contato: #FFB74D;    /* Laranja */
    --color-contato-realizado: #64B5F6;    /* Azul claro */
    --color-interesse-confirmado: #81C784;    /* Verde */
    --color-follow-up: #4daca6;      /* Verde-água */
    --color-negociacao: #BA68C8;      /* Roxo */
    --color-venda-realizada: #4CAF50;      /* Verde Escuro */
    --color-perdido: #EF9A9A;      /* Vermelho claro */
    --color-arquivado: #BDBDBD;      /* Cinza */
    
    /* Cores de acentuação e feedback */
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-danger: #f44336;
    --color-info: #2196F3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Layout principal com sidebar */
.main-content {
    margin-left: 0;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Quando o sidebar estiver aberto */
body.sidebar-open .main-content {
    margin-left: 280px;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 1050;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    background-color: var(--color-secondary);
    transform: scale(1.05);
}

body.sidebar-open .sidebar-toggle {
    left: 295px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1040;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

body.sidebar-open .sidebar {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    background-color: var(--color-primary);
    color: white;
    border-bottom: 0px solid rgba(255,255,255,0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-sidebar {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.close-sidebar:hover {
    background-color: none;
}

.sidebar-pipeline {
    padding: 15px;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-pipeline label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 500;
}

.pipeline-control {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
}

.pipeline-control .pipeline-selector {
    width: 100%;
    margin-bottom: 2px;
}

.pipeline-control .btn-sm {
    background-color: #22373d;
    color: white;
    text-align: center;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
    font-weight: 500;
    border: none;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.pipeline-control .btn-sm:hover {
    background-color: #2a444c;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.sidebar-section {
    padding: 15px;
    margin-bottom: 5px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}



.sidebar-section h3 {
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 15px;
    padding-bottom: 0px;
    border-bottom: 0px solid #eee;
    display: flex;
    align-items: center;
    gap: 0px;
}

.sidebar-subsection h4 {
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.sidebar-subsection {
    margin-top: 15px;
    margin-bottom: 15px;
}

.sidebar-subsection:last-child {
    margin-bottom: 0;
}

.sidebar-action {
    margin-bottom: 15px;
}

.sidebar-action:last-child {
    margin-bottom: 0;
}

.w-100 {
    width: 100%;
    display: block;
    margin-bottom: 5px;
}

/* Header */
header, .app-header {
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

.pipeline-selector-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pipeline-selector {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
    background-color: white;
    min-width: 180px;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 13px;
}

h1 {
    color: var(--color-primary);
    font-size: 28px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

h1 i {
    color: var(--color-secondary);
}

.actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.import-group, .export-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Botões */
.btn {
    padding: 8px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    background-color: #e0e0e0;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(0);
}

.btn i {
    font-size: 14px;
}

.btn.primary {
    background-color: #4a6fa4;
    color: white;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.btn.primary:hover {
    opacity: 1;
}

.secondary {
    background-color: var(--color-secondary);
    color: white;
}

.success {
    background-color: var(--color-success);
    color: white;
}

.danger {
    background-color: var(--color-danger);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-background);
}

/* Botão de exclusão no card */
.btn-excluir-lead {
    padding: 5px 8px;
    font-size: 12px;
    margin-left: 5px;
}

/* Container de ações do card */
.card-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Estilos para os botões de ação com SVG */
.card-actions button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    padding: 0;
    transition: all 0.2s ease;
}

.card-actions .edit-btn {
    background-color: var(--color-primary);
    color: white;
}

.card-actions .edit-btn:hover {
    background-color: #5b80b7;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.card-actions .btn-excluir-lead {
    background-color: #ff5252;
    color: white;
}

.card-actions .btn-excluir-lead:hover {
    background-color: #ff7070;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Ícone de lixeira */
.icon-trash {
    font-size: 14px;
}

/* Modal de confirmação */
.confirmation-modal {
    max-width: 500px;
}

.timer-text {
    font-size: 16px;
    font-weight: bold;
    margin: 20px 0;
    text-align: center;
    color: #3498db;
}

/* Botão de exclusão em massa */
.delete-group {
    margin-left: 10px;
}

select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    width: 100%;
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 0 30px 30px;
}

/* Cards de Leads */
.leads-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.lead-card {
    background-color: var(--color-card);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    padding: 20px;
    padding-bottom: 60px; /* Espaço extra para os botões no fundo */
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    position: relative; /* Para permitir posicionamento absoluto dos filhos */
    border-top: 4px solid #ccc; /* Cor padrão, será substituída */
    transition: all 0.3s ease;
}

.lead-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.lead-card h3 {
    margin-bottom: 0px;
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lead-card h3.expanded {
    white-space: normal;
    overflow: visible;
}

.truncate-title {
    position: relative;
}

.lead-card p {
    margin: 5px 0;
    font-size: 14px;
}

.lead-card .info-label {
    font-weight: 600;
    margin-right: 5px;
    color: var(--color-text);
}

.lead-card .not-available {
    color: #999;
    font-style: italic;
    font-size: 13px;
}

.info-label {
    font-weight: bold;
    margin-right: 5px;
}

/* Estilo para o link do WhatsApp */
.whatsapp-link {
    color: #25D366;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.whatsapp-link:hover {
    color: #128C7E;
    text-decoration: underline;
}

.lead-card .actions {
    margin-top: 15px;
    text-align: right;
}

.card-actions {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
}

.btn:visited, .btn:active, .btn:focus, .btn:hover {
    text-decoration: none !important;
}

.btn-sm {
    text-decoration: none !important;
}

.btn.primary, .btn.secondary, .w-100 {
    text-decoration: none !important;
}

a.btn, a.btn-sm {
    text-decoration: none !important;
    color: inherit;
}

.btn.primary {
    background-color: #4a6fa4;
    color: white;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.btn.primary:hover {
    opacity: 1;
}

.btn.secondary {
    background-color: var(--color-primary);
    color: white;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.btn.secondary:hover {
    opacity: 1;
}

.btn.success {
    background-color: #4a6fa4;
    color: white;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.btn.success:hover {
    opacity: 1;
}

.btn.danger {
    background-color: #f44336;
    color: white;
}

.btn-excluir-lead {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Status Colors - Borda superior do card - usando as cores definidas pelo usuário */
.status-novo { border-top: 4px solid var(--color-novo); }
.status-tentando\ contato { border-top: 4px solid var(--color-tentando-contato); }
.status-contato\ realizado { border-top: 4px solid var(--color-contato-realizado); }
.status-interesse\ confirmado { border-top: 4px solid var(--color-interesse-confirmado); }
.status-follow-up { border-top: 4px solid var(--color-follow-up); }
.status-negociação { border-top: 4px solid var(--color-negociacao); }
.status-venda\ realizada { border-top: 4px solid var(--color-venda-realizada); }
.status-perdido\ /\ sem\ interesse { border-top: 4px solid var(--color-perdido); }
.status-arquivado { border-top: 4px solid var(--color-arquivado); }

/* Classes de status com primeira letra maiúscula (compatibilidade) */
.status-Novo { border-top: 4px solid var(--color-novo); }
.status-Tentando\ Contato { border-top: 4px solid var(--color-tentando-contato); }
.status-Contato\ Realizado { border-top: 4px solid var(--color-contato-realizado); }
.status-Interesse\ Confirmado { border-top: 4px solid var(--color-interesse-confirmado); }
.status-Follow-up { border-top: 4px solid var(--color-follow-up); }
.status-Negociação { border-top: 4px solid var(--color-negociacao); }
.status-Venda\ Realizada { border-top: 4px solid var(--color-venda-realizada); }
.status-Perdido\ /\ Sem\ Interesse { border-top: 4px solid var(--color-perdido); }
.status-Arquivado { border-top: 4px solid var(--color-arquivado); }

/* Status badges com as mesmas cores */
.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: white;
    margin-bottom: 12px;
}

.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: white;
    margin-bottom: 10px;
}

/* Estilos aprimorados para cards e status */
.lead-card {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* Remover sublinhado dos links nos cards */
.lead-card a {
    text-decoration: none;
    color: var(--color-link); /* Cor azul para links sem sublinhado */
}

.lead-card a:hover {
    color: var(--color-link-hover); /* Cor mais escura ao passar o mouse */
}

.lead-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modal */
.modal {
    display: none; /* Padrão: escondido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    /* Configuração para centralizar o conteúdo */
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 20px 0;
    backdrop-filter: blur(2px);
}

.modal.show {
    display: flex; /* Quando a classe 'show' é adicionada, o modal aparece como flex */
}

.modal-content {
    background-color: white;
    margin: 0 auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    /* Sem barra de rolagem vertical */
    max-height: none;
    overflow-y: visible;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.close-btn:hover {
    color: #333;
}

/* Estilos para layout de duas colunas */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px; /* Margem negativa para compensar o padding das colunas */
}

.form-column {
    flex: 1;
    padding: 0 15px;
    min-width: 300px; /* Largura mínima para evitar colunas muito estreitas */
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--color-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: inherit;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.btn.primary {
    background-color: var(--color-primary);
}

.btn.danger {
    background-color: #e74c3c;
}

/* Placeholder */
.placeholder-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    background-color: white;
}

/* Estilos para a barra de filtros */
.filtros-container {
    width: 100%;
    background-color: white;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.filtros-grupo {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    justify-content: stretch;
}

@media (max-width: 768px) {
    .filtros-grupo {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filtro-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .filtro-flex {
        width: 100%;
    }
}

.filtro-item {
    position: relative;
    display: flex;
    align-items: center;
}

.filtro-flex {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
}

.filtro-flex-grow {
    flex: 2;
    min-width: 250px;
}

.btn-limpar-inativo {
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.btn-limpar-inativo:hover {
    opacity: 0.7;
}

.filtro-icon {
    position: absolute;
    left: 10px;
    color: #666;
    font-size: 14px;
}

.filtros-grupo select {
    padding: 10px 30px 10px 10px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    width: auto;
    min-width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
}

.filtros-grupo input {
    padding: 10px 10px 10px 35px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.action-select {
    padding: 8px 25px 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

/* Modal para adicionar lead */
.modal-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 650px;
    animation: modalFadeIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0px;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: var(--color-primary);
}

.modal-close {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: var(--color-primary);
}

.modal-body {
    padding: 10px 0px 10px 0px;
}

/* Estilos do Popup de Confirmação */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    padding: 25px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    animation: scaleIn 0.3s ease;
}

.popup-icon-success {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-icon-success svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.popup-message {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Estilos para a prévia de abordagem editável */
.preview-text {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
    white-space: pre-wrap;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    width: 100%;
    resize: vertical;
    min-height: 120px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
}

.edit-hint {
    display: block;
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 12px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-column {
    flex: 1;
    min-width: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(77, 172, 166, 0.2);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Mensagem de feedback */
.mensagem-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    display: none;
    animation: fadeInOut 0.3s ease;
}

@keyframes fadeInOut {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mensagem-feedback.success {
    background-color: #4CAF50;
}

.mensagem-feedback.error {
    background-color: #f44336;
}

.mensagem-feedback.info {
    background-color: #2196F3;
}

.mensagem-feedback.warning {
    background-color: #FF9800;
}

/* Componente de Notificação */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
}

/* Contador discreto de leads */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.contador-leads {
    background-color: rgba(74, 111, 164, 0.1);
    color: var(--color-primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(74, 111, 164, 0.2);
    transition: all 0.3s ease;
}

.contador-leads:hover {
    background-color: rgba(74, 111, 164, 0.15);
    transform: scale(1.02);
}

#numeroLeads {
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .contador-leads {
        font-size: 11px;
        padding: 3px 8px;
    }
}

.notification-content {
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px 20px;
    border-radius: 4px;
    border-left: 4px solid #3a86ff; /* Cor padrão, será alterada via JS */
}

.close-notification {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    font-size: 18px;
    color: #666;
}
