
body, html {
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #1a1a1a;
    font-family: 'Roboto', sans-serif;
    color: #fff;
}

* {
    box-sizing: border-box;
}

.parentOfDash {
    width: 100vw;
    height: 100vh;
    padding: 1vw;
    display: flex;
    gap: 1vw;
}

.cards {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cardsHover {
    cursor: pointer;
}
.cardsHover:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.7);
}

.cardsTitle {
    font-size: 1rem;
    font-weight: bold;
}

.cardsSubtitle {
    font-size: 0.9rem;
    margin-top: 0.2rem;
    font-weight: 400;
    color: #d3d3d3;
}

.cardsBody {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.cardsIcon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: #fff;
    opacity: 0.7;
}


.direitaDash {
    width: 5vw;
    margin-right: 1.25vw;
    height: calc(100vh - 2vw);
    background-color: transparent; /* Pode adicionar algo se necessário */
    display: block!important;
    cursor: pointer;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: left;
    padding: 1rem;
    position: relative;
}



.centerDash {
    width: calc(100vw - 8.25vw);
    height: calc(100vh - 2vw);
    overflow: auto;
    overflow-x: hidden;
}

.line1 {
    width: 100%;
    height: 15vh;
    display: flex;
    justify-content: space-between;
    gap: 1vw;
}


.line2 {
    width: 100%;
    min-height: 75vh;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    gap: 1vw;
    margin-top: 1rem;
}





.tableCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vh;
}

.navTabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tabButton {
    background-color: #393939;
    border: none;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.tabButton.active {
    background-color: #6a11cb;
}

.tabButton:hover {
    background-color: #6a11cb;
}

.tableContainer {
    width: 100%;
    overflow-x: auto;
    height: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;

}

table th, table td {
    border: 1px solid #ddd;
    padding: 0.8rem;
    text-align: left;
}

table th {
    background-color: #333;
    color: #fff;
}

table tr:nth-child(even) {
    background-color: #2a2a2a;
}

table tr:hover {
    background-color: #444;
}

table input{
    width: 3vh;
    height: 3vh;
    cursor: pointer;
    margin: auto;
}

.chartCard {
    display: flex
;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 15%;
    height: fit-content;
}

.chartTitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.chartSubtitle {
    margin-top: 1rem;
    font-size: 1rem;
    color: #ddd;
}

canvas {
    max-width: 100%;
    height: auto;

}


.listCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    display: block;

}

.listTitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;

}

.listContainer {
    width: 100%;
    margin-top: 1rem;
    overflow: auto;
}

.listItem {
    background-color: #333;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.listItem:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7);
}

.itemHeader {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.5rem;
}

.itemNF {
    font-size: 1rem;
    font-weight: bold;
}

.itemStatus {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.itemDetails span {
    display: block;
    font-size: 0.9rem;
    color: #ddd;
}

.na-transportadora .itemStatus {
    background-color: #ff9800;
}

.em-entrega .itemStatus {
    background-color: #4caf50;
}

.aguardando-retirada .itemStatus {
    background-color: #f44336;
}


.listadevolucoes-cards {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    width: 80%;
    max-width: 800px;
    overflow-y: auto;
}

.listadevolucoes-listCard {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: fit-content;
}

.listadevolucoes-listTitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.listadevolucoes-listContainer {
    width: 100%;
    margin-top: 1rem;
    max-height: 50vh;
}

.listadevolucoes-listItem {
    background-color: #333;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.listadevolucoes-listItem:hover {
    transform: translateY(-5px);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.7);
}

.listadevolucoes-itemHeader {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 0.5rem;
}

.listadevolucoes-itemNF {
    font-size: 1rem;
    font-weight: bold;
}

.listadevolucoes-itemStatus {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
}

.listadevolucoes-itemDetails span {
    display: block;
    font-size: 0.9rem;
    color: #ddd;
}

/* Estilos para os diferentes status */
.listadevolucoes-processando .listadevolucoes-itemStatus {
    background-color: #ff9800;
}

.listadevolucoes-concluído .listadevolucoes-itemStatus {
    background-color: #4caf50;
}

.listadevolucoes-aguardando-coleta .listadevolucoes-itemStatus {
    background-color: #f44336;
}

.dataTables_wrapper {
    width: 100% !important;
}

.datatabledark-container {
    width: 90%;
    max-width: 900px;
    margin: auto;
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

table#datatabledark-tabela {
    margin-top: 5vh;
    width: 100%;
    color: white;
    background-color: #1e1e1e;
    border-collapse: collapse;
}

#datatabledark-tabela_info{
    font-weight: 600;
}

th, td {
    padding: 10px;
    border: 1px solid #333;
    text-align: left;
}

thead {
    background-color: #333;
}

input[type="search"], select {
    background-color: #222 !important;
    color: white !important;
    border: 1px solid #555 !important;
    padding: 5px;
    border-radius: 5px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background-color: #222 !important;
    color: white !important;
    border: 1px solid #555 !important;
}

.headerName {
    width: 100%;
    height: 5vh;
    font-weight: 500;

}

.active i {
    opacity: 100%!important;
}

.menuitem {
    width: 100%;
    height: 10vh;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 30px;

}

.menuitem i {
    opacity: 40%;
}

.menuitem i {
    transition: all .2s;
}

.menuitem:hover i{
    opacity: 90%;
    transform: scale(1.5);
}

#datatabledark-tabela_wrapper {
    overflow: auto;
}


.filter-card {
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    background: linear-gradient(135deg, #6a11cb, #2575fc);

    color: #fff;
    text-align: left;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}/* Estilização do card */
.filter-card {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    text-align: left;
    width: 320px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Efeito de elevação ao passar o mouse */
.filter-card:hover {
    transform: scale(1.02);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Título */
.filter-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

/* Categorias */
.filter-category {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.filter-category h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #f0f0f0;
}

/* Estilização dos checkboxes */
.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.filter-list input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #fff;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.filter-list input[type="checkbox"]:checked {
    background: #fff;
    border-color: #fff;
}

.filter-list input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 14px;
    color: #2575fc;
    font-weight: bold;
    position: absolute;
    left: 3px;
    top: 0px;
}

.filter-list label {
    cursor: pointer;
    font-size: 14px;
    margin-left: 10px;
    color: #fff;
}

/* Estilização dos inputs personalizados */
.filter-list input:not([type="checkbox"]) {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 14px;
    transition: background 0.2s;
}

.filter-list input:not([type="checkbox"])::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.filter-list input:not([type="checkbox"]):focus {
    background: rgba(255, 255, 255, 0.3);
}

/* Botão de Aplicar */
.filter-card button {
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    border: none;
    background: #fff;
    color: #2575fc;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.filter-card button:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.novanota {
    background: linear-gradient(135deg, #217a0c, #2aa81a);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    font-weight: bolder;
    font-size: 25px;
}


/* Estiliza o scroll para a página inteira */
::-webkit-scrollbar {
    width: -6px; /* Largura menor para ficar mais no canto */
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5); /* Cor neutra */
    border-radius: 6px;
    margin-right: -8px; /* "Empurra" o scroll para o canto */
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

::-webkit-scrollbar-track {
    background: transparent; /* Fundo invisível */
}

.chartCardSmall canvas {
    max-width: 100%;
    height: auto;
    max-height: 23vh!important;
}

.chartCardSmall {
    height: 36vh!important;
}

#map {
    width: 100%;
    height: 500px;
    margin: auto;
    border-radius: 10px;
    border: 2px solid #ccc;
    margin-top: 2vh;
}

iframe {
    height: 100%;
    width: 100%;
}

@media (max-width: 1499px) {
    /* Seu CSS aqui */
    .cardsIcon {
        font-size: 1rem;
    }

    div[data-card="4"] {
        width: 12%!important;
    }
}

@media (max-width: 1200px) {
    /* Seu CSS aqui */
    .line1 {
        display: flex;
        gap: 1vw;
        flex-wrap: wrap;
        height: 38vh!important;
        margin-top: 3vh;
    }
    .line1 .cards {
        width: 24%!important;
    }
    .chartCardSmall {
        height: 45vh !important;
    }
}

.fretesarea {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 3vh;
    justify-content: space-between;
}

/* Card para o input e botão */
.dateCard {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Efeito de elevação ao passar o mouse */
.dateCard:hover {
    transform: scale(1.02);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* Estilo do input de data */
.dateCard input[type="date"] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 16px;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
    cursor: pointer;
}

.dateCard input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.dateCard input[type="date"]:hover,
.dateCard input[type="date"]:focus {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

/* Botão */
.dateCard button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #fff;
    color: #2575fc;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.dateCard button:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}


