body {
    font-family: "Montserrat", Sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    width: 100%;
    overflow-x: hidden; /* Evita que a página tenha rolagem horizontal */
}

.selected {
    background-color: #d9edf7; /* Cor de fundo para linhas selecionadas */
}

.dataTables_wrapper .dataTables_info {
    padding: 0 !important;
}

#numbers-table_paginate{
	margin-top: 50px;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
    width: 100%;
    overflow-x: hidden; /* Evita que a página tenha rolagem horizontal */
	overflow-y: hidden;
}

.sidebar {
    width: 60px;
    background-color: #004d40;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar button {
    background-color: #004d40;
    color: white;
    border: none;
    margin: 8px 0;
    padding: 10px;
    cursor: pointer;
    width: 40px;
    text-align: center;
    border-radius: 5px;
    font-size: 20px;
    transition: background-color 0.3s;
}

.sidebar button:hover {
    background-color: #00796b;
}

.sidebar button.active {
    background-color: #089e67; /* Cor de fundo do botão ativo */
    color: white; /* Cor do texto do botão ativo */
    border: none; /* Remover bordas, se desejado */
}

.content {
    flex: 1;
    padding: 10px;
    background-color: #ffffff;
    overflow-y: hidden; /* Permite rolagem vertical */
    overflow-x: hidden; /* Evita rolagem horizontal */
    box-sizing: border-box; /* Inclui padding e bordas na largura e altura */
}


.software-header {
    background-color: #004d40;
    color: white;
    padding: 8px;
    display: flex;
    align-items: center; /* Alinha verticalmente os itens */
    justify-content: space-between; /* Distribui espaço entre o ícone, o título e o bloco de suporte */
    border-radius: 5px;
}

.software-header img {
    height: 24px;
    fill: white;
    margin-right: 10px; /* Espaçamento entre o ícone e o título */
}

.software-header h2 {
    margin: 0;
    font-size: 20px;
    flex: 1; /* Permite que o título ocupe o espaço disponível entre o ícone e o bloco de suporte */
    text-align: left; /* Alinha o título à esquerda dentro do espaço disponível */
}

.support-info {
    display: flex;
    align-items: center; /* Alinha verticalmente o ícone e o texto de suporte */
}

.support-info:hover{
	border-radius:10px;
	padding:4px 8px;
	background-color: #00796b;
}

.support-icon {
    margin-right: 5px; /* Espaçamento entre o ícone e o texto de suporte */
}



.software-body {
    display: flex;
    margin-top: 10px;
    border-radius: 0 0 5px 5px;
}

.left-panel {
    flex: 1;
    width: 100%;
}

.left-panel .numbers-grid {
    background-color: #e0f2f1;
    border-radius: 5px;
    padding: 10px;
    height: auto;
    font-size: 16px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 500px;
    max-height: 100%;
    overflow: hidden;
}

/* Estilo da tabela */
.numbers-grid table {
    width: 350px;
	height: 300px;
    max-width: 100%;
    margin: 5px;
    border-collapse: collapse;
}

.numbers-grid thead {
    background-color: #004d40;
    color: white;
    position: sticky; /* Fixa o cabeçalho na rolagem */
    top: 0; /* Fixa o cabeçalho no topo */
    display: table; /* Garante que o cabeçalho use o layout de tabela */
    width: 100%; /* Garante que o cabeçalho tenha a largura total */
    margin-top: 10px;
}

/* Estilo das células do cabeçalho */
.numbers-grid th, .numbers-grid td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    white-space: nowrap; /* Evita quebra de linha nas células */
}

#manual-table tbody{
	display: block;
	height:100%;
    max-height: 200px; /* Altura do corpo da tabela rolável */
    overflow-y: auto; /* Rolagem vertical para o corpo */
    width: 100%;
}

/* Torna o corpo da tabela rolável */
.numbers-grid tbody {
    display: block;
	height:100%;
    max-height: 340px; /* Altura do corpo da tabela rolável */
    overflow-y: auto; /* Rolagem vertical para o corpo */
    width: 100%;
}

/* Estilo das células do corpo */
.numbers-grid tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed; /* Garante que as colunas se alinhem */
}

#numbers-table td:nth-child(4) {
    text-align: center; /* Centraliza o texto */
}

/* Centralizar texto no cabeçalho da terceira coluna (Status) */
#numbers-table th:nth-child(4) {
    text-align: center; /* Centraliza o texto */
}

#numbers-table td:nth-child(1) {
    width: 20px;; /* Centraliza o texto */
}

#numbers-table td:nth-child(2) {
    width: 100px; /* Centraliza o texto */
}

#numbers-table td:nth-child(3) {
    width: 130px; /* Centraliza o texto */
}

/* Centralizar texto no cabeçalho da terceira coluna (Status) */
#numbers-table th:nth-child(1) {
    width: 20px;; /* Centraliza o texto */
}

/* Estilo para linhas alternadas */
#numbers-table tr:nth-child(even) {
    background-color: #f9f9f9; /* Cor de fundo para linhas alternadas */
}


.right-panel {
    flex: 2;
    display: flex;
    flex-direction: column;
    max-width: 100%; /* Limita a largura do painel à largura da página */
    overflow-x: auto; /* Permite a rolagem horizontal se necessário */
    margin-left: 10px;
}

.scroll-container {
    max-width: 100%; /* Garante que a largura não ultrapasse a largura da viewport */
    height: 210px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #e0f2f1;
    border: 1px solid #004d40;
    border-radius: 5px;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}



.message-card, .media-card, .thumb-card {
    display: inline-block;
    vertical-align: top;
    border: 1px solid #004d40;
    padding: 15px;
    border-radius: 10px;
    background-color: #ffffff;
    box-sizing: border-box;
    min-width: 400px; /* Ajuste o tamanho conforme necessário */
    height: 200px;
    position: relative;
}

.media-controls {
    align-items: center;
}

/* Estilo geral do popup */
.popup {
    display: none; /* Inicialmente escondido */
    position: fixed; /* Fica fixo na tela */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
	max-height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Fundo semitransparente */
    z-index: 1000; /* Fica sobre outros elementos */
    overflow: auto; /* Permite rolagem se necessário */
}

/* Conteúdo do popup */
.popup-content {
    position: relative;
    width: 600px;
	height: auto;
	max-height: auto;
    max-width: 700px; /* Largura máxima do popup */
    margin: 5% auto; /* Centraliza o popup vertical e horizontalmente */
    background: #fff; /* Fundo branco */
    border-radius: 8px; /* Cantos arredondados */
    padding: 20px; /* Espaçamento interno */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    overflow: hidden; /* Garante que o conteúdo não ultrapasse o popup */
}

.textarea-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* Ajuste conforme necessário */
}

textarea#manual-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical; /* Permite redimensionar verticalmente */
    margin-bottom: 10px; /* Espaçamento entre o textarea e o botão */
}

#paste-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #007bff; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-bottom: 20px; /* Espaçamento abaixo do botão */
}

#paste-button i {
    font-size: 16px; /* Tamanho do ícone */
}

#paste-button:hover {
    background-color: #0056b3; /* Cor de fundo ao passar o mouse */
}

/* Botão de fechar */
.popup-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
	margin-bottom: 20px;
}

/* Texto e áreas de entrada */
.popup-content textarea,
.popup-content input[type="text"] {
    width: 100%; /* Ajusta a largura para incluir o padding e a borda */
    padding: 12px 16px; /* Adiciona mais espaço interno para conforto */
    margin-bottom: 24px; /* Aumenta o espaçamento entre os campos */
	margin-top:24px;
    border: 1px solid #ccc; /* Suaviza a borda para um tom mais suave */
    border-radius: 8px; /* Arredonda os cantos para um visual mais moderno */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Adiciona uma leve sombra para profundidade */
    font-size: 16px; /* Aumenta o tamanho da fonte para legibilidade */
    color: #333; /* Define uma cor de texto escura para melhor contraste */
    background-color: #f9f9f9; /* Adiciona uma cor de fundo suave */
    box-sizing: border-box; /* Inclui o padding e a borda na largura total */
}


/* Tabela */
.popup-content table {
    width: 100%;
    border-collapse: collapse; /* Remove espaçamento entre bordas */
}

.popup-content thead {
    background-color: #f4f4f4; /* Fundo diferente para o cabeçalho */
	margin-top: 10px;
}

.popup-content th,
.popup-content td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd; /* Borda leve */
}

/* Tbody com rolagem */
.popup-content tbody {
    display: block;
    max-height: 180px;
	height:100%;
    width: 100%;
}

.popup-content thead, .popup-content tbody tr, .popup-content-generate-numbers #results-container div table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed; /* Garante que a largura das colunas seja fixa */
}

.popup-content thead {
    width: calc(100% - 1px); /* Corrige a largura do cabeçalho */
}

.popup-content tbody tr {
    border-bottom: 1px solid #ddd; /* Linha separadora entre as linhas */
}

.popup-content button {
    background-color: #007bff; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    display: flex; /* Alinha o ícone e o texto horizontalmente */
    align-items: center; /* Alinha verticalmente ao centro */
    gap: 8px; /* Espaço entre o ícone e o texto */
    transition: background-color 0.3s;
}

.popup-content button i {
    font-size: 18px; /* Tamanho do ícone */
}

.popup-content button:hover {
    background-color: #0056b3; /* Cor de fundo ao passar o mouse */
}


/* Botão de remover linha */
.popup-content button.remove {
    background-color: #dc3545; /* Cor de fundo para o botão de remover */
}

.popup-content button.remove:hover {
    background-color: #c82333; /* Cor de fundo ao passar o mouse para o botão de remover */
}

/* Responsividade */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        padding: 15px;
    }

    .popup-content textarea,
    .popup-content input[type="text"] {
        width: calc(100% - 20px); /* Ajusta a largura em telas menores */
    }

    .popup-content button {
        font-size: 14px;
        padding: 8px 12px;
    }
}

#manual-table {
    width: 100%;
}

#manual-table thead {
    background-color: #004d40;
    color: white;
}

#manual-table th, #manual-table td {
    padding: 10px;
    text-align: left;
}

#manual-table tbody tr:nth-child(even) {
    background-color: #f4f4f4;
}
/* Adicione isso ao final do seu CSS */
#save-manual-import-button {
    padding: 8px 12px;
    background-color: #004d40;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

#save-manual-import-button:hover {
    background-color: #00796b;
}

/* Ajustes no estilo do card de importação manual */
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
}

#manual-table {
    width: 100%;
}

#manual-table thead {
    background-color: #004d40;
    color: white;
}

#manual-table th, #manual-table td {
    padding: 12px; /* Aumentar o padding */
    text-align: left;
}

#manual-table tbody tr:nth-child(even) {
    background-color: #f4f4f4;
}

/* Estilização do botão para salvar a importação manual */
#save-manual-import-button {
    display: inline-block;
    padding: 8px 12px;
    background-color: #004d40;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
}

#save-manual-import-button:hover {
    background-color: #00796b;
}
.custom-file-upload {
    cursor: pointer;
    display: inline-block;
    padding: 10px;
    border: 1px solid #004d40;
    border-radius: 5px;
    background-color: #ffffff;
    color: #004d40;
    text-align: center;
    width: 150px; /* Ajuste conforme necessário */
}
.numbers-header h3{
    margin-left: 10px;
    margin-right: 10px;
}

.import-controls, media-controls{
    display: flex;
    gap: 10px;
}

.log-container {
	border: 1px solid #000000; /* Borda preta */
       background-color: #000000; /* Fundo preto */
            padding: 20px;
            margin-top: 10px;
            color: #00796b; /* Cor do texto */
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow-x: hidden; /* Evita rolagem horizontal */
            overflow-y: auto; /* Adiciona rolagem vertical se o conteúdo exceder a altura */
            height: 150px; /* Altura fixa para exemplo */
            max-width: 100%; /* Limita a largura máxima à largura da página */
            box-sizing: border-box; /* Inclui o padding e a borda na largura total */
            word-wrap: break-word; /* Quebra as palavras longas para evitar estouro da largura */
            position: relative; /* Necessário para posicionar o ícone de forma absoluta */
    }

        .delete-icon {
            position: absolute;
            bottom: 10px; /* Distância do fundo */
            left: 10px; /* Distância da esquerda */
            font-size: 24px; /* Tamanho do ícone */
            color: #FC0000; /* Cor do ícone */
            cursor: pointer; /* Mostra um cursor de mão quando passa sobre o ícone */
        }

.log-entry {
    margin-bottom: 10px;
    padding: 5px;
    border-bottom: 1px solid #000000; /* Linha preta entre entradas */
}

.log-entry:last-child {
    border-bottom: none; /* Remove a linha inferior na última entrada */
}

/* Estilo do botão de envio */
#send-button {
    background-color: #004d40; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center; /* Alinha o ícone e o texto verticalmente */
    transition: background-color 0.3s;
}

#send-button i {
    margin-right: 8px; /* Espaço entre o ícone e o texto */
    font-size: 18px; /* Tamanho do ícone */
}

#send-button:hover {
    background-color: #0056b3; /* Cor de fundo ao passar o mouse */
}


.send-message-container{
    align-items: end;
    width: auto;
}

/* Estilo do botão de remoção */
.remove-card {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e74c3c; /* Vermelho */
    color: #fff; /* Texto branco */
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.remove-card:hover {
    background-color: #c0392b; /* Vermelho mais escuro ao passar o mouse */
}

/* Contêiner dos controles de formatação e emojis */

.text-controls button,
.emoji-controls button {
    background-color: #ffffff; /* Fundo branco */
    border: 1px solid #ddd; /* Borda leve */
    border-radius: 4px; /* Bordas arredondadas */
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.text-controls button:hover,
.emoji-controls button:hover,
.controls-container-message-item .emoji-button:hover{
    background-color: #f0f0f0; /* Cor ao passar o mouse */
	border-radius:15px;
}

/* Estilo do cartão de mensagem */
.message-card {
    background-color: #0d7967;
    border: 1px solid #004d40;
    margin: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 10px 10px 20px 10px; /* Espaço interno extra na parte inferior */
    max-width: 100%;
    box-sizing: border-box;
}

.message-card:hover, .media-card:hover, .delay-card:hover, .thumb-card:hover {
    transform: scale(1.01); /* Aumenta o tamanho do botão */
    z-index: 10;
}

/* Estilo do botão de remoão (X) */
.remove-button {
    position: absolute;
    top: 10px; /* Alinhado ao topo */
    right: 10px; /* Alinhado à direita */
    background-color: #ff6666;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo do textarea */
.message-card textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    max-width: 100%;
    margin-top: 30px; /* Espaço para o boto de remoção */
    overflow-wrap: break-word;
}
/* Estilo do cartão de mídia */
.media-card {
    background-color: #0d7967;
    border: 1px solid #004d40;
    margin: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 10px;
    max-width: auto;
    box-sizing: border-box;
    margin-bottom: 10px; /* Espaço entre as mídias */
}


/* Estilo do botão de remoção para mídia */
.remove-media {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6666;
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilo para as imagens e vídeos */
.media-card img,
.media-card video,
.media-card audio {
    width: 100px;
    border-radius: 4px;
    margin-top: 40px; /* Espaço para o botão de remoção */
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.media-card audio {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px; /* Ajuste o tamanho se necessário */
}

.media-card video {
    display: block;
    margin-left: auto;
    margin-right: auto;
	height:100px;
    width: 200px; /* Ajuste o tamanho se necessário */
}

.caption-input {
    width: 100%;
    padding: 5px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#progress-container,  #progress-container-filter{
    max-width: 100%;
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 30px;
    margin: 10px 0;
}

#progress-bar, #progress-bar-filter {
    width: 0;
    height: 100%;
    background-color: #4caf50;
    text-align: center;
    line-height: 30px; /* Alinha o texto verticalmente */
    color: white;
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
}

#delay {
    width: 100px; /* Largura do campo de entrada */
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-left: 10px; /* Espaço entre o campo de entrada e o texto */
}

.delay-container label {
    font-size: 18px;
    margin-right: 10px; /* Espaço entre o texto e o campo de entrada */
    color: #333; /* Cor do texto */
}

.delay-container i {
    font-size: 24px; /* Tamanho do ícone */
    color: #004d40; /* Cor personalizada do ícone */
    margin-right: 10px; /* Espaço entre o ícone e o texto */
}

.container-send {
    display: flex;
    align-items: center; /* Alinha verticalmente os itens ao centro */
    justify-content: space-between; /* Distribui espaço entre os itens */
}

.delay-container {
    display: flex;
    align-items: center;
	font-size: 18px;
    margin-right: 10px; /* Espaço entre o texto e o campo de entrada */
    color: #333; /* Cor do texto */
}

.send-message-container {
    margin-left: auto; /* Empurra o botão de enviar para o final da linha */
}
/* Estilo para o cartão de atraso */
/* Estilo para o cartão de atraso */
/* Estilo para a animação de carregamento */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.delay-card .loading-indicator {
    position: absolute;
    top: 10px; /* Distância do topo do cartão */
    left: 10px; /* Distância da esquerda do cartão */
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    z-index: 1; /* Garante que o indicador fique acima dos outros elementos */
}

.delay-card {
    background-color: #0d7967;
    position: relative;
    display: flex;
    flex-direction: column; /* Alinha os elementos verticalmente */
    align-items: center; /* Centraliza os elementos horizontalmente */
	vertical-align: bottom;
    padding: 20px;
    border: 1px solid #ccc;
    margin: 2px;
    gap: 10px;
    width: auto;
	height: 200px;
    box-sizing: border-box;
	border: 1px solid #004d40;
    padding: 15px;
    border-radius: 10px;
}

.labels-container,
.inputs-container {
    display: flex;
    justify-content: center; /* Centraliza os elementos horizontalmente */
    width: 100%;
    gap: 10px; /* Espaçamento entre os elementos */
}

.labels-container label,
.inputs-container .time-input {
    text-align: center;
}

.labels-container label {
    width: 60px; /* Ajusta a largura dos rótulos */
}

.inputs-container .time-input {
    width: 60px;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.delay-card label {
    font-weight: bold;
    color: white;
}

.delay-card img {
    font-size: 50px; /* Ajuste o tamanho do ícone conforme necessário */
    color: #004d40; /* Cor do ícone */
    margin-bottom: 10px; /* Espaço entre o ícone e os campos */
	height: 50px;
	margin-top: 30px;
}


/* Estilo para o botão de remoção dentro do cartão */
.delay-card .remove-delay {
    position: absolute;
    top: 5px;
    right: 5px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}


.menu-software{
    display: flex;
    margin: 10px;
    flex-direction: column;
    flex: 1;
}

/* Estilo para fieldsets */
.import-controls fieldset {
    flex: 1; /* Faz com que os fieldsets se expandam igualmente */
    border: 2px solid #004d40; /* Borda do fieldset */
    border-radius: 5px; /* Cantos arredondados */
    padding: 10px; /* Espaçamento interno */
    margin: 0; /* Remove margem adicional */
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column; /* Alinha os itens em coluna */
}


/* Estilo para os botões dentro do fieldset */
.import-controls fieldset button, .media-controls label{
    box-sizing: border-box;   /* Inclui bordas e preenchimento na largura total */
	display: inline-block;
    padding: 10px;
    background-color: #004d40;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
	margin:5px;
    width: auto;
}

#send-extract-groups-form .import-controls fieldset{
	display:flex;
	flex-direction: initial;
}

#send-extract-groups-form .import-controls fieldset button {
    flex: 1; /* Faz os botões ocuparem o mesmo espaço */
}

.import-controls fieldset button:hover, .media-controls label:hover{
	background-color: #00796b;
}

/* Estilo para o legend */
.import-controls legend {
    font-weight: bold; /* Destaca o ttulo */
    color: #004d40; /* Cor do texto */
    padding: 0 10px; /* Espaçamento horizontal */
    border-radius: 5px; /* Cantos arredondados do fundo */
    margin: 10px;
}
@media (max-width: 768px) {

	.software-body{
		display: block;
	}
}

/* Estilo para o emoji picker */
.emoji-picker {
    position: fixed;
    bottom: 20px; /* Ajuste a distância da parte inferior da tela */
    right: 20px;  /* Ajuste a distância da parte direita da tela */
    z-index: 1000; /* Garante que o emoji picker fique acima de outros elementos */
}

.text-controls button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-right: 5px;
}

.text-controls button:hover {
    color: #007bff; /* Cor ao passar o mouse sobre o botão */
}

h1 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

h2 {
    font-size: 16px;
    font-weight: bold;
	margin-left: 10px;
    margin-bottom: 5px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.warning-message, .info-message {
    background-color: #FFC107;
    color: #333;
	font-weight: bold;
	font-size:14px;
    padding: 10px;
	margin:5px;
    border-radius: 5px;
    width:auto;
	margin-left: auto;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.filter-container, .button-group {
    display: flex;
    justify-content: space-between;
	margin-top: 10px;
}

.button-group button{
	width: 100%;
}

.button-group button:hover{
	background-color: #00796b;
}

.button-group{
	gap:10px;
}

.filter-section {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    border: 1px solid #ffffff;
    border-radius: 5px;
	background-color: #00695C;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 20px;
}

.filter-section .input-container {
    width: 100%; /* Faz o textarea ocupar a largura total */
}

.filter-section .button-group {
    display: flex;
    gap: 10px; /* Espaçamento entre os botões */
}

.filter-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
	font-size: 16px;
    color: #333;
}

.filter-section div div div table tbody{
	height: 150px;
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
}

.input-container textarea {
    width: 100%;
	height: 150px;
    border-radius: 5px;
    border: 1px solid #ccc;
	max-width: 100%;
	max-height: 40%;
	margin-bottom: 10px;
    font-size: 14px;
	overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.filter-section fieldset{
	flex: 1;
    border: 2px solid #004d40;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    height: auto;
    display: flex;
    flex-direction: column;
}
.filter-section fieldset legend{
	font-weight: bold;
    color: #004d40;
    padding: 5px;
    border-radius: 5px;
    margin: 10px;
}

.input-container thead {
    background-color: #004d40;
    color: white;
    position: sticky;
    top: 0;
    display: table;
    width: 100%;
	height: 100%;
    margin-top: 10px;
}

.input-container div div table tbody{
	display:block;
    height: 100%;
    max-height: 340px;
    overflow-y: auto;
    width: 100%;
}

.filter-section button, .button-group button {
    background-color: #00695C;
    color: #ffffff;
    border: 1px solid #00423C;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

.filter-section button:hover{
	background-color: #00796b;
}

.filter-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between; /* Distribui espaço entre os itens */
    gap: 20px; /* Espaçamento entre os elementos */
}

.filter-controls button {
    background-color: #00423C;
    margin: 0 10px;
}

.filter-controls input[type="range"] {
    margin: 0 10px;
    width: 200px;
}

#contacts-table-container {
    height: 300px;
    background-color: #ffffff;
    border-radius: 5px;
    margin: 15px 0;
    overflow-y: auto;
}

#contact-count {
    text-align: right;
    font-weight: bold;
    margin-top: 10px;
}


/* CSS para o cartão com animação de aguardando */
.waiting-card {
    position: relative;
    padding-left: 40px; /* Espaço para a animação */
}

.waiting-card::before {
    content: '';
    position: absolute;
    top: 10px; /* Ajuste conforme necessário */
    left: 10px; /* Ajuste conforme necessário */
    width: 24px; /* Tamanho da rodinha */
    height: 24px; /* Tamanho da rodinha */
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #3498db; /* Cor da rodinha */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.data-tables {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espaço entre as tabelas */
    margin-top: 10px;
}

.data-table-container, .filter-section {
    flex: 1 1 calc(20% - 20px); /* Duas tabelas por linha, com espaço entre elas */
    box-sizing: border-box;
	background-color: #e0f2f1;
    border-radius: 5px;
    height: auto;
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 500px;
    max-height: 100%;
}

.data-table-container h3 {
    margin-bottom: 10px;
}

.data-table-container input[type="checkbox"] {
    margin-right: 10px;
}



.data-table-container div table tbody, .filter-section div table tbody {
    height: 200px;
    max-height: 100%;
    overflow-y: auto;
    width: 100%;
}

.data-table-container div table{
	height: 200px;
}

.header-group-extract, .header-filter-numbers{
	display:flex;
}

.header-filter-numbers h2{
	width: 400px;
}

#transfer-numbers, #transfer-numbers-filter{
	background-color: #004d40; /* Cor de fundo */
    color: #fff; /* Cor do texto */
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    align-items: center; /* Alinha o ícone e o texto verticalmente */
    transition: background-color 0.3s;
}

.transfer-all-select {
    display: flex;
    height: 100%; /* Certifique-se de que a div tenha altura definida */
	margin-top: 10px;
	justify-content: space-between; /* Distribui os itens com um no início e outro no fim */
    align-items: center;
	border: 1px solid #ccc;
}

.transfer-all-select #transfer-numbers{
	justify-content: flex-end;
	align-items: flex-end;
}

.transfer-all-select #total-selected-items, #total-filter-items{
	justify-content: flex-start;
	align-items: flex-start;
	font-family: Arial, sans-serif;
	font-weight: bold;
	color:#004d40;
}

.transfer-all-select button {
    margin-top: auto; /* Empurra o botão para o final da div */
}

.filter-controls #start-filtering{
	width: 200px;
}

.filter-controls .filter-button {
    background-color: #4CAF50; /* Verde suave */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-controls .filter-button i {
    font-size: 18px;
}

.filter-controls .filter-button:hover {
    background-color: #45a049; /* Verde escuro ao passar o mouse */
}

.filter-controls .filter-speed-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f7f7f7;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin-top: 0; /* Remove a margem superior para melhor alinhamento */
}

.filter-controls .filter-speed-control label.speed-label {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    padding: 0 10px;
}

.filter-controls .filter-speed-control input[type="range"] {
    flex-grow: 1;
    margin: 0 10px;
    background-color: #e0e0e0;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    border-radius: 4px;
}

.filter-controls .filter-speed-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4CAF50;
    cursor: pointer;
}

.filter-controls .filter-speed-control input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #4CAF50;
    cursor: pointer;
}

.controls-container button {
    display: flex;
    align-items: center;
    border-radius: 5px;
	width:100%;
	text-align: center;
    color: #333;
    cursor: pointer;
	margin-top:10px;
	margin-bottom: 10px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
	background-color: #00695C;
    color: #ffffff;
    border: 1px solid #00423C;
    padding: 10px;
    font-weight: bold;
}

.controls-container button i {
    margin-right: 8px; /* Espaço entre o ícone e o texto */
    font-size: 16px; /* Tamanho do ícone */
}

.controls-container button:hover {
    background-color: #00796b;
    color: #fff;
}

.controls-container button i.fa-trash-alt {
    color: #dc3545; /* Cor diferente para o ícone de "Limpar" */
}

.controls-container button#clear-all-numbers:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

.dataTables_info {
    display: none;
}

#total-selected-items, #total-filter-items{
	margin: 10px;
}


.control-numbers-text-filter{
	display: flex;
    justify-content: space-between; /* Distribui os itens com um no início e outro no fim */
    align-items: center;
}

/* styles-popup.css */

/* Estilos gerais para o pop-up */
#popup-generate-numbers {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

/* Conteúdo do pop-up */
#popup-generate-numbers .popup-content-generate-numbers {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    width: 500px;
    max-height: 80%;
	margin: 5% auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

/* Botão para fechar o pop-up */
#popup-generate-numbers .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s;
}

#popup-generate-numbers .close-btn:hover {
    color: #007bff;
}

/* Estilo dos botões dentro do pop-up */
#popup-generate-numbers button {
    margin-top: 10px;
    padding: 10px 20px;
    background: #00695C;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

#popup-generate-numbers button:hover {
    background-color: #00796b;
}

/* Estilo dos inputs */
#popup-generate-numbers input[type="text"],
#popup-generate-numbers input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

/* Estilo do contêiner de resultados */
#results-container {
    margin-top: 20px;
	background-color: #e0f2f1;
}

#results-container p{
	font-size: 16px;
	padding-top: 16px;
}

/* Tabela DataTables */
#numbersTable {
    width: 100%;
	height:100px;
	max-height:auto;
    margin-top: 10px;
    border-collapse: collapse;
    font-size: 16px;
}

#numbersTable thead th {
    background-color: #00695C;
    color: #ffffff;
    padding: 10px;
    border-bottom: 2px solid #0056b3;
}

#numbersTable tbody td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

#numbersTable tbody tr:nth-child(even) {
    background-color: #00695C;
}

#numbersTable tbody tr:hover {
    background-color: #00796b;
}

/* Estilo da quantidade de números gerados */
#results-container p {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

.popup-content-generate-numbers #results-container div table tbody{
	display: block;
    height: 100%;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
}

/* Estrutura os grupos de inputs */
.group-options-generate-numbers {
    display: flex;
    gap: 20px; /* Espaçamento entre os grupos */
	margin-top:10px;
}

/* Organiza os labels e inputs em coluna */
.input-group {
    display: flex;
    flex-direction: column;
	width:100%;
    align-items: center; /* Centraliza o conteúdo dentro do grupo */
}

/* Espaçamento entre o label e o input */
.input-group label {
    margin-bottom: 5px;
}

/* Estilo dos inputs */
.input-group input {
    padding: 5px;
    text-align: center; /* Centraliza o texto dentro do input */
}

.title-popup{
	padding:10px;
	background-color: #004d40;
	color: #FFFFFF;
	border-radius:10px;
}



.send-message-container {
    display: flex;
    gap: 10px;
}

#start-btn, #pause-btn, #schedule-btn, #remove-duplicates-btn {
    padding: 20px;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: #004d40;
    cursor: pointer;
    font-size: 16px;
}

#start-btn i, #pause-btn i {
    margin-right: 5px;
}

#pause-btn {
    background-color: #089e67;
}

.schedule-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 20px solid #0d7967;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.popup-content h3 {
    margin-bottom: 15px;
}

.popup-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.popup-actions button {
    flex: 1;
    margin: 0 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.popup-actions button:first-child {
    background: #f44336;
    color: white;
}

.popup-actions button:last-child {
    background: #4caf50;
    color: white;
}


.controls-container-message-item {
    display: flex;
    align-items: center;
    position: relative;
}

.controls-container-message-item .text-controls {
    display: flex;
    gap: 8px; /* Espaçamento entre os botões de texto */
}

.controls-container-message-item .bold-button,
.controls-container-message-item .italic-button {
    background: transparent;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
}

.controls-container-message-item .emoji-button {
    margin-left: auto; /* Empurra o botão de emoji para o final */
    background: transparent;
    border: 0px;
    padding: 5px 10px;
    cursor: pointer;
}

.controls-container-message-item .emoji-button:hover{

}

.controls-container-message-item .emoji-picker {
    position: absolute;
    right: 0;
    top: 100%;
    display: none; /* Inicialmente escondido */
}

.limited-width-row {
  	max-width: 500px; /* Ajuste conforme necessário */
	overflow: hidden; /* Evita overflow horizontal */
	text-overflow: ellipsis; /* Adiciona reticências para texto longo */
}


.sidebar .profile-picture {
    margin-top: auto; /* empurra a imagem para o final da barra lateral */
    width: 40px; /* largura da bolinha */
    height: 40px; /* altura da bolinha */
    border-radius: 50%; /* transforma em um círculo */
    overflow: hidden; /* esconde qualquer parte da imagem que exceda os limites do círculo */
    border: 2px solid #ccc; /* borda ao redor da imagem */
}

.sidebar .profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* garante que a imagem se ajuste corretamente ao círculo */
}




#send-config-form {
    border-radius: 5px;
    color: white;
    font-family: Arial, sans-serif;
    width: auto;
	height:auto;
    margin: auto;
	gap:10px;
}

#send-config-form #send-config-header {
    text-align: center;
    margin-bottom: 15px;
}

#send-config-form #send-config-title {
    font-size: 18px;
    font-weight: bold;
}

#send-config-form #send-config-body {
    display: flex;
}

#send-config-form #family-accounts,
#send-config-form #message-dictionary {
    flex: 1;
    margin-right: 10px;
	padding:10px;
    display: flex;
    flex-direction: column;
}

#send-config-form #family-accounts textarea,
#send-config-form #message-dictionary textarea {
    width: 90%;
    height: 100%;
    background-color: #00251a;
    color: white;
    border: 1px solid #00695c;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    resize: none;
}

#send-config-form .controls-container {
    display: flex;
    justify-content: space-between;
}

#send-config-form .controls-container button {
    width: auto;
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#send-config-form #message-settings {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#send-config-form #delay-between-messages,
#send-config-form #family-dialog-settings,
#send-config-form #pause-between-sends {
    background-color: #003d33;
    padding: 10px;
    border-radius: 5px;
}

#send-config-form #message-settings label {
    font-size: 14px;
    font-weight: bold;
}

#send-config-form #message-settings input[type="number"] {
    width: 40px;
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 3px;
    border: 1px solid #00695c;
    background-color: #00251a;
    color: white;
}

#send-config-form #send-config-footer {
    text-align: right;
    margin-top: 15px;
}

#send-config-form #send-config-footer button {
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

#send-config-form #send-config-body #family-accounts{
	max-width: 250px;
	height:auto;
	color: #00251a;
}

#send-config-form #send-config-body #message-settings{
	max-width: 400px;
}

#send-config-form #send-config-body #message-settings div{
	background-color: #003d33;
	text-align: center;
}

#send-config-form #send-config-body #message-dictionary{
	max-width: 620px;
	max-height: 100%;
	color: #00251a;
}

#send-config-body div{
	background-color: #e0f2f1;
}


#send-config-form #family-accounts div table tbody,
#send-config-form #message-dictionary div table tbody{
	height: 200px;
    max-height: 100%;
    overflow-y: auto;
	overflow-x: none;
    width: 100%;
	display:block;
}

#family-accounts-table td:nth-child(1) {
	height:20px;
	max-width: 100%;
	overflow:hidden;
}

#send-config-form #message-dictionary div table,
#send-config-form #family-accounts div table{
	height: 200px;
}



/* Popup Styling */
.popup-family {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #004d40;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    width: 300px;
    color: white;
}

.popup-family h3 {
    margin-bottom: 15px;
}

.popup-family input[type="text"],
.popup-family textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #00695c;
    border-radius: 5px;
    background-color: #00251a;
    color: white;
}

.popup-controls-family {
    display: flex;
    justify-content: space-between;
}

.popup-controls-family button {
    width: 48%;
    background-color: #00796b;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}

.manual-save-container{
	display: flex;
    flex-direction: column;
    height: auto;
}
.manual-save-container button{
	margin-top: auto;
}


#numbers-table_filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#numbers-table_filter .quant-numbers-container {
    margin-right: auto; /* Garante que o contador fique alinhado à esquerda */
}

#numbers-table_filter label {
    margin-left: auto; /* Garante que o campo de busca fique alinhado à direita */
}

.thumb-card {
    background-color: #0d7967;
    border: 1px solid #004d40;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 600px;
    height: auto;
    min-height: 200px;
    overflow-y: auto;
    padding: 15px;
}

.full-width {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.input-label {
    font-weight: bold;
    color: white;
}

.file-input {
    padding: 5px;
}

.image-preview {
    max-width: 10px; /* Ensures the image doesn't exceed the card width */
    max-height: 10px; /* Limits the height to avoid breaking the layout */
    display: block;
    object-fit: contain;
    margin-top: 5px;
    border-radius: 5px;
}

.remove-card {
    flex-shrink: 0;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 50%;
    cursor: pointer;
}


.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  display: flex; /* Ensures flexbox centering */
}

.overlay-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain; /* Ensures the image fits within the overlay without distortion */
}

.overlay-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.thumbnail-link {
  color: white;
  cursor: pointer;

  display: block;
  text-align: center; /* Ensures the link is centered within its container */
  margin-top: 10px;
}


.thumb-card textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    flex-grow: 1;
    min-height: 80px;
}

.support-info a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.support-info a:hover {
    color: #007bff; /* ou qualquer cor que desejar para o hover */
}

.title-field, .desc-field {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 5px 0;
    box-sizing: border-box;
    resize: vertical;
    font-size: 14px;
    background-color: white; /* Match textarea background */
    color: #333; /* Ensure text color matches */
}
