body {
    font-family: Arial, sans-serif;
    margin: 0;
    display: flex;
    background-color: #f8f9fa;
}

.sidebar {
    width: 220px;
    background-color: #ffffff;
    padding: 20px;
    height: 100vh;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.logo {
    color: #5a2ea6;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu-item {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.menu-item:hover,
.menu-item.active {
    background-color: #e9e6f5;
    color: #5a2ea6;
}

.main-content {
    flex-grow: 1;
    padding: 40px;
    text-align: center;
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.upload-box {
    background: #ffffff;
    padding: 20px;
    margin: 20px auto;
    width: 60%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.upload-options {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.upload-btn,
.url-btn,
.paste-btn {
    padding: 15px 50px;
    border: none;
    background: #5a2ea6;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.upload-btn:hover,
.url-btn:hover,
.paste-btn:hover {
    background: #4b2495;
}

.drop-zone {
    display: block;
    position: static;
    border: 2px dashed #5a2ea6;
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    background: #f4f1fc;
    cursor: pointer;
    transition: background 0.3s;
}

.drop-zone:hover {
    background: #ebe5fa;
}

.drop-text {
    color: #5a2ea6;
    font-size: 16px;
}

.file-name{
    color: #666;
}

/* Estilizando a tabela */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.header-row {
    background-color: #5a2ea6; /* Cor de fundo do cabeçalho */
    color: white; /* Cor do texto do cabeçalho */
}

.header-row th {
    padding: 10px;
    text-align: center;
}

.main-row {
    border-bottom: 1px solid #ddd; /* Linha de separação entre as linhas */
}

.main-row:hover {
    background-color: #f1f1f1; /* Cor de fundo ao passar o mouse */
}

.data-id, .data-date, .data-time, .data-pis {
    padding: 8px; /* Espaçamento interno das células */
}

/* ... código existente ... */
.edit-button {
    background-color: #4CAF50; /* Verde */
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px; /* Bordas arredondadas */
    transition: background-color 0.3s; /* Transição suave */
}

.save-button{
    background-color: #e4bc3b; /* Verde */
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px; /* Bordas arredondadas */
    transition: background-color 0.3s; /* Transição suave */
}

.edit-button:hover {
    background-color: #45a049; /* Verde mais escuro ao passar o mouse */
}

.delete-button {
    background-color: #f44336; /* Vermelho */
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px; /* Bordas arredondadas */
    transition: background-color 0.3s; /* Transição suave */
}

.delete-button:hover {
    background-color: #e53935; /* Vermelho mais escuro ao passar o mouse */
}
/* ... código existente ... */

.floating-download-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #4CAF50;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-download-btn svg {
    color: white;
    width: 32px;
    height: 32px;
}

.floating-download-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.floating-download-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 4px;
    border-left: 4px solid #c62828;
    margin: 20px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Estilos para a página de histórico */
.historico-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.historico-title {
    color: #333;
    margin-bottom: 30px;
}

.historico-empty {
    color: #666;
    font-size: 16px;
    padding: 20px;
}

.historico-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.historico-thead {
    background-color: #5a2ea6;
    color: white;
}

.historico-th {
    padding: 12px;
    text-align: center;
    font-weight: bold;
}

.historico-tr {
    border-bottom: 1px solid #ddd;
}

.historico-td {
    padding: 12px;
    color: #333;
}
