﻿/* Layout */
.layout-paineisbi {
    width: 100%;
    height: calc(100vh - 52px);
    background-color: whitesmoke;
    display: flex;
    justify-content: center;
    font-family: var(--fonte);
}

.container-paineisbi {
    width: 1200px;
    height: calc(100vh - 60px);
    margin-left: 5px;
    margin-right: 5px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Titulo painel */
.container-paineisbi-titulo {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: 60px;
    background-color: white;
    border-radius: 10px;
    margin-top: 20px;
    align-items: center;
}

.container-paineisbi-titulo-nome {
    display: flex;
    gap: 5px;
    margin-left: 10px;
    align-items: center;
}

.container-paineisbi-titulo-nome h1 {
    font-size: 1.2em;
    font-weight: 300;
    color: #035E73;
}

.container-paineisbi-titulo-nome i {
    font-size: 2em;
    color: #035E73;
}

.container-paineisbi-titulo-button button {
    background-color: transparent;
    border: none;
    margin-right: 10px;
}

.container-paineisbi-titulo-button button i {
    font-size: 2em;
    cursor: pointer;
}

/* Body */
.container-paineisbi-body {
    height: 80vh;
    background-color: white;
    width: 100%;
    overflow-y: auto;
}

.container-paineisbi-body-paineis {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px;
}
/* [Body] Card PainelBI */
.container-paineisbi-body-paineis-card {
    width: 120px;
    height: 120px;
    background-color: #3399ff;
    display: flex;
    flex-direction: column;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.5s;
}

.container-paineisbi-body-paineis-card:hover {
    box-shadow: 2px 2px 10px #3399ff;
    transition: 0.5s;
    transform: translateY(-5px);
}

/* [Body] Card icon */
.container-paineisbi-body-paineis-card-icon {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-paineisbi-body-paineis-card-icon i {
    font-size: 4.5em;
    color: white;
}


/* [Body] Card nome */
.container-paineisbi-body-paineis-card-nome {
    text-align: center;
    margin-left: 5px;
}

.container-paineisbi-body-paineis-card-nome h4 {
    font-weight: 100;
    color: white;
    font-size: 0.9em;
}

/* Tabela */
.paineisbi-conteudo-table {
    margin: 10px 10px 10px 10px;
    height: 82vh;
}

.paineisbi-conteudo-table table {
    width: 100%;
    font-family: var(--fonte);
    border-collapse: collapse;
}

.paineisbi-conteudo-table thead {
    color: white;
    background-image: linear-gradient(0.25turn, #035E73, #035E73, #035E73);
    position: sticky;
    top: 0;
    z-index: 1;
    height: 50px;
    font-weight: 500;
}

.paineisbi-conteudo-table th, td {
    padding: 5px;
    text-align: left;
    border: none;
}

.paineisbi-conteudo-table-tr {
    height: 50px;
    border-bottom: 1px solid #ddd;
}

.paineisbi-conteudo-table-tr:hover {
    background-color: whitesmoke;
}

/* Button de funções na tabela */
.paineisbi-table-btns {
    display: flex;
    gap: 15px;
    height: 40px;
    align-items: center;
}

.paineisbi-table-btns button {
    background-color: transparent;
    border: none;
}

.paineisbi-table-btns i {
    font-size: 1.5em;
    cursor: pointer;
}

@media(max-width: 800px) {
    .container-paineisbi-body-paineis {
        justify-content: center;
    }
}