* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        "Open Sans",
        "Helvetica Neue",
        sans-serif;
    outline: none;
}

:root {
    /* A ver */
}

/* =========================
   Conteúdo principal
========================= */
/* Propriedade nos sistemas legados */
main {
    padding: 16px;
}

/* Propriedade nos sistemas novos sem ser aspx */
/* Main */
.main-novo,
.main-filtro,
.main-iframe {
    padding: 0;
}

.main-filtro {
    min-height: 100vh;
}

.main-filtro {
    display: flex;
    flex-direction: column;
}

.main-filtro form {
    flex-grow: 1;
}

.main-filtro > form > section {
    padding: 0;
    margin: 0;
}

.main-filtro iframe {
    width: 100%;
    min-height: 100vh;
}

/* Headings - Títulos */
h1 {
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

h2 {
    font-size: 2rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* Textos */
p,
span,
label {
    font-size: 1rem;
}

label {
    font-weight: 600;
}

.spanTID {
    font-size: 1rem;
    font-weight: bold;
}

/* Sections */
section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
    padding: 32px 20px;
}

/* Select chosen */
.chosen-container > .chosen-single > span {
    font-size: 13px;
}

/* Botões Datatables */
.dt-buttons > button > span {
    font-size: inherit;
}

/* Formulários */
form {
    width: 100%;
}

/* Iframes */
iframe {
    border: 0;
}

/* Footers */
footer {
    font-size: 12px;
}

/* =========================
   Formulários
========================= */
/* Provisoriamente a se tornar definitivo */
.div-campo-item.tooltip > .div-label-tooltip-icon {
    display: flex;
    gap: 8px;
}

.div-campo-item.tooltip .span-tooltip-info {
    display: none;
    position: absolute;
    background-color: rgb(29, 29, 29);
    color: white;
    padding: 2px 10px;
    margin-left: 1em;
    border-radius: 10px;
    font-size: 12px;
    align-content: center;
    opacity: 0.98;
}

.div-label-tooltip-icon .span-tooltip-icon:hover + .span-tooltip-info {
    display: block;
}

.div-campo-item.drop {
    flex-grow: 1;
    align-items: center;
}

.div-campo-item.drop > .div-drop {
    max-width: 940px;
    min-width: 360px;
    background-color: #fff;
}

.div-campo-item.switch-controle {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.div-campo-item.select {
    padding-right: 32px;
}

.div-campo-item.input-money > input[type="text"] {
    text-align: right;
}

.div-campo-item.input-money.milhoes > input[type="text"] {
    max-width: 200px;
}

.div-campo-item.input-number.quantidade {
    flex-grow: 1;
}

.div-campo-item.input-number.quantidade > input[type="text"] {
    text-align: right;
}

.div-campo-item.input-number.quantidade.cem {
    max-width: 100px;
}

.div-campo-item.input-number.quantidade.milhoes.seis-decimais {
    max-width: 240px;
}

.div-field.input-text,
.div-field.input-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.div-field.img {
    display: flex;
    gap: 4px;
}

.div-field.img > img {
    border: 0;
}

.div-campo-item.select.chosen {
    padding-right: 0;
}

.div-campo-item.select.chosen.total {
    flex-grow: 1;
}

.div-campo-item.select.chosen.compacto > .chosen-container {
    width: 200px !important;
}

.div-campo-item.select.chosen.largo > .chosen-container {
    width: 250px !important;
}

.div-campo-item.select.pequeno {
    width: calc(80px + 32px);
}

.div-campo-item.select.medio {
    width: calc(160px + 32px);
}

.div-campo-item.select.grande {
    width: calc(240px + 32px);
}

.div-campo-item.input-text.total,
.div-campo-item.input-password.total {
    flex-grow: 1;
}

.div-campo-item.input-text.total.dez-caracteres {
    max-width: 120px;
}

.div-campo-item.input-text.total.vinte-caracteres {
    max-width: 220px;
}

.div-campo-item.input-text.total.trinta-caracteres {
    max-width: 320px;
}

.div-campo-item.input-text.total.quarenta-caracteres {
    max-width: 420px;
}

.div-campo-item.input-text.total.cinquenta-caracteres {
    max-width: 520px;
}

.div-campo-item.checkbox {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: space-between;
    max-height: 54px;
    gap: 8px;
}

.div-campo-item.telefone > input[type="tel"] {
    width: 100%;
    max-width: 240px;
}

/* .div-campo-item.span.info {
    width: fit-content;
}

.div-campo-item.img {
    width: fit-content;
} */

.div-campo-item.datetime > .div-datetime-fields,
.div-campo-item.input-text.info > .div-input-info {
    display: flex;
    gap: 8px;
}

.div-campo-item.label-info {
    width: fit-content;
}

.div-campo-item.label-info > span {
    font-weight: bold;
}

.div-items-options {
    display: flex;
    gap: 16px !important;
}

.div-campo-item.horizontal {
    flex-direction: row;
    gap: 12px;
}

.div-campo-item .div-items-options.options-linha {
    flex-direction: row;
}

.div-campo-item .div-items-options.options-coluna {
    flex-direction: column;
}

.div-campo-item .div-items-options .options-radio {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.div-controles {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.options-radio > label,
.options-checkbox > label {
    font-weight: normal;
}

.div-submit {
    display: flex;
    gap: 16px;
    margin: 12px 0;
}

.div-submit.largura-total {
    display: flex;
    align-self: stretch;
}

.div-submit.largura-total > input[type="submit"] {
    flex-grow: 1;
}

.div-submit.largura-total.centro {
    display: flex;
    justify-content: center;
}

.div-submit.largura-total.centro > input[type="submit"] {
    flex-grow: 0;
}

.div-campos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.div-campos label {
    text-align: left;
}

.div-linha.centro {
    justify-content: center;
}

.div-linha .div-campo-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-self: stretch;
    gap: 4px;
}

.div-iframe,
.div-corpo {
    width: 100%;
}

.div-menu > ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    overflow-x: scroll;
}

.div-menu > ul > li {
    list-style-type: none;
    width: 100%;
    padding: 8px 0;
    background-color: white;
    border: 1px solid black;
    border-top-right-radius: 8px;

    border-top-left-radius: 8px;
}

.div-corpo.kanban > .div-corpo-main {
}

.div-group {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.div-group-controles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.div-campos .div-campo-item.textarea {
    flex-grow: 1;
}

.div-coluna {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
}

.div-grade-titulo > .icon > span {
    font-size: 20px;
    font-weight: bold;
}

.div-grade-group {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.div-grade-group-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.div-grade-group-content-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.div-grade-group > .div-grade-titulo {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.div-grid-2-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    column-gap: 12px;
}

.div-iframe {
    width: 100%;
}

.div-iframe > iframe {
    min-height: 490px;
    width: 100%;
}
/* -------------------------------- */
/* =========================
   Seções
========================= */
/* Divisões */
.div-table {
    margin-top: 12px;
}

.div-table.menu-tables {
    margin-top: 0;
}

.div-table,
.div-grupo {
    border-radius: 15px;
    padding: 16px 8px;
    width: 100%;
}

.div-grupo > h3 {
    text-align: center;
    margin-bottom: 16px;
}

.div-titulo {
    text-align: center;
}

.section-form > article > .div-table {
    margin: 16px 0;
}

.div-grade.duas-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.div-grade-group.total {
    grid-column: span 2;
}

/* Div de Informações */
.div-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
    padding: 0 16px;
}

.div-info.paragrafo {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.div-info .importante,
.div-info .aviso {
    font-weight: bold;
    font-size: 14px;
}

.div-info .importante {
    text-transform: uppercase;
}

.div-info .aviso {
    text-transform: capitalize;
}

.div-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.div-info > .div-campos-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.div-info > .div-titulo-info {
    display: flex;
    text-align: center;
    width: 100%;
}

.div-info > .div-subTitulo-info {
    display: flex;
    text-align: center;
    width: 100%;
}

.div-info .div-item-info-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.div-linha.field-1-2 > .div-item-info-field,
.div-linha.field-1-2 > .div-campo-item {
    width: 48%;
}

.div-linha.field-1-3 > .div-item-info-field,
.div-linha.field-1-3 > .div-campo-item {
    width: 30%;
}

.div-linha.field-1-3.field-1-half-2 > .div-item-info-field:first-child,
.div-linha.field-1-3.field-1-half-2 > .div-campo-item:first-child {
    width: 48%;
}

.div-linha.field-1-3.field-1-half-2 > .div-item-info-field:nth-child(2),
.div-linha.field-1-3.field-1-half-2 > .div-item-info-field:nth-child(3),
.div-linha.field-1-3.field-1-half-2 > .div-campo-item:nth-child(2),
.div-linha.field-1-3.field-1-half-2 > .div-campo-item:nth-child(3) {
    width: 20%;
}

.div-linha.field-1-4 > .div-item-info-field,
.div-linha.field-1-4 > .div-campo-item {
    width: 20%;
}

.div-linha.field-1-5 > .div-item-info-field,
.div-linha.field-1-5 > .div-campo-item {
    width: 18%;
}

.div-titulo,
.div-subTitulo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 16px;
}

/* Navegação */
.div-menu ul li {
    background-color: var(--cor-principal);
    color: var(--branco);
    text-align: center;
}

.div-menu ul li:hover {
    cursor: pointer;
}

.div-menu li.active {
    background-color: #fff;
    color: black;
}

/* Divisões de botões */
.button, /* a se tornar oficial */
.button-centro,
.button-direita,
.button-esquerda {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    width: 100%;
    flex-wrap: wrap;
}

.button.comprimido {
    width: fit-content;
}

.button.centro,
.button-centro {
    justify-content: center;
}

.button.direita,
.button-direita {
    justify-content: flex-end;
}

.button-esquerda {
    justify-content: flex-start;
}

.button-centro {
    justify-content: center;
}

.button-direita {
    justify-content: flex-end;
}

.button.distantes {
    justify-content: space-between;
}

.button.distantes > .button {
    margin: 0;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    color: black;
    padding: 4px !important;
}

.btn-icon > img {
    max-width: 24px;
}

.btn-icon.close {
    position: absolute;
    top: 10px;
    right: 10px;
}

button.btn-icon:hover {
    border-top: 1px solid var(--cor-principal);
    background-color: transparent !important;
}

/* =========================
   Entradas
========================= */
/* Entradas */
input:not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="radio"]):not([type="checkbox"]),
textarea,
.div-input > input,
select {
    padding: 4px 12px;
    border-radius: 5px;
    background: #fff;
    flex-grow: 1;
    font-size: 14px;
    letter-spacing: 1px;
    color: #3e3e3e;
}

input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.33;
}

textarea {
    resize: none;
}

input[type="number"],
.input-digito-numerico {
    text-align: right;
}

table td input[type="text"] {
    width: 100%;
}

/* Campos de data */
input[type="date"],
input[type="time"] {
    width: fit-content !important;
    flex-grow: 0 !important;
    align-self: inherit;
}

/* Checkboxes */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

input[type="range"] {
    appearance: none;
}

.div-linha {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.div-linha.campos-filtro {
    align-items: flex-end;
}

.div-linha > .div-submit {
    margin-left: 32px;
    margin-block: 0;
}

.div-jqxwindow {
    padding: 16px !important;
}

/* Caixa de seleção */
select {
    width: calc(100% + 32px);
    max-width: 330px;
    min-width: 120px;
    border: 1px solid #616161;
    color: #282728;
    appearance: none;
    background-image: url("../imagens/icon-down.svg");
    background-position-x: right;
    background-position-y: center;
    background-size: 28px;
    background-repeat: no-repeat;
    padding-right: 32px;
    border-radius: 5px;
    padding: 4px 32px 4px 8px;
    text-overflow: ellipsis;
}

.chosen-container {
    width: 200px !important;
}

/* Reset básico */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 300px;
    background: transparent; /* importante */
    cursor: pointer;
}

/* ================= TRACK ================= */

/* Chrome, Safari, Edge (WebKit) */
input[type="range"]::-webkit-slider-runnable-track {
    height: 8px;
    background: #ddd;
    border-radius: 5px;
}

/* Firefox */
input[type="range"]::-moz-range-track {
    height: 8px;
    background: #ddd;
    border-radius: 5px;
}

/* IE / Edge antigo */
input[type="range"]::-ms-track {
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
    background: #ddd;
    border-radius: 5px;
}

/* ================= THUMB ================= */

/* Chrome, Safari, Edge */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    margin-top: -6px; /* alinha com o track */
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    cursor: pointer;
}

/* Firefox */
input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #4caf50;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/* IE */
input[type="range"]::-ms-thumb {
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    cursor: pointer;
}

/* ================= HOVER ================= */

input[type="range"]:hover::-webkit-slider-runnable-track {
    background: #ccc;
}

input[type="range"]:hover::-moz-range-track {
    background: #ccc;
}

input[type="range"]:hover::-ms-fill-lower,
input[type="range"]:hover::-ms-fill-upper {
    background: #ccc;
}

/* Campo tipo arquivo */
.file-wrapper {
    display: inline-flex;
    align-items: center;
    align-self: stretch;
    border: 2px solid #000;
    overflow: hidden;
    font-family: Arial, sans-serif;
    width: 100%;
    min-width: 540px;
    max-width: 750px;
    text-overflow: ellipsis;
    background-color: white;
    border-radius: 5px;
}

.file-label {
    background: #000;
    color: #fff;
    padding: 4px 16px;
    display: flex;
    align-items: center;
    border-right: 2px solid #000;
    cursor: pointer;
}

.file-name {
    padding: 0 14px;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.file-input {
    display: none;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 15px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #919191;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: -5px;
    bottom: 0;
    background-color: white;
    border: 0.1px solid black;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    top: -5px;
}

input:checked + .slider {
    background-color: #217185;
}

.switch input + .slider:disabled {
    opacity: 0.5;
}

input:focus + .slider {
    box-shadow: 0 0 1px #217185;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
    left: 8px;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
    box-shadow: 1px 1px 1px gray;
}

/* Campo arrasta e solta */
.div-drop {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: 100%;
    border: 2px dashed #a2a2a2;
    padding: 12px 32px;
    background-color: #fbfbfb;
    max-width: 940px;
    min-width: 320px;
}

.div-drop-texto {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    display: flex;
    align-self: stretch;
}

.div-drop > span,
.div-drop > .div-drop-entrada {
    max-width: 1024px;
}

.div-drop-ficheiro > span {
    color: black;
    font-size: 16px;
    font-weight: 400;
    word-wrap: break-word;
}

.div-drop-texto > a {
    color: #3d3d3d;
}

.div-drop-entrada {
    display: flex;
    justify-content: center;
    align-self: stretch;
    gap: 16px;
}

.div-drop img {
    max-width: 48px;
}

.span-titulo {
    align-self: stretch;
    text-align: center;
    color: black;
    font-size: 20px;
    font-weight: bold;
    word-wrap: break-word;
}

.a-escolher {
    text-align: center;
    color: #a1a1a1;
    font-size: 16px;
    font-weight: 400;
    word-wrap: break-word;
}

/* =========================
   Imagens
========================= */
img {
    width: auto;
    height: auto;
}

/* =========================
   Linhas
========================= */
hr {
    height: 2px;
    margin: 24px 0; /* Revisar aqui */
    width: 100%;
}

.div-input {
    position: relative;
    align-self: stretch;
    display: flex;
    gap: 8px;
    flex-grow: 1;
    overflow: hidden;
    border-radius: 5px;
}

.div-input > img {
    z-index: 1;
    position: absolute;
    top: 4px;
    left: 8px;
}

.div-input > input {
    border: 0;
    outline: none;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    padding-left: 40px;
    min-height: 32px;
}

/* =========================
   Botões
========================= */
input[type="button"],
input[type="submit"],
.dt-buttons > button {
    padding: 8px 12px;
    border: 0;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 6px 6px 4px #00000025;
}

input[type="button"]:hover,
input[type="submit"]:hover,
button:hover {
    cursor: pointer;
}

input[type="submit"]:active,
input[type="button"]:active,
button:active {
    box-shadow: 0 5px #666;
    box-shadow: 0 0px #999;
    transform: translateY(2px);
}

input[type="button"]:disabled,
input[type="submit"]:disabled,
button:disabled {
    opacity: 0.6;
    cursor: default;
}

input[type="submit"]:active,
input[type="button"]:active,
button:active {
    transform: translateY(2px);
}

.dt-buttons {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

/* =========================
   Iframes
========================= */
.iframe-pagina {
    width: 100%;
    height: calc(100vh - 120px);
    max-height: 720px;
    border: 0;
    overflow: auto;
}

/* Campo descrição do arquivo, upload e campo arrasta e solta */
.div-components-entrada {
    display: flex;
    gap: 16px;
}
.div-components {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.div-components-entrada-texto {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    flex-grow: 1;
}
.div-components-entrada-texto > input[type="text"] {
    align-self: flex-end;
}
.div-components-entrada > .button-centro > a > img {
    height: 40px;
}

/* =========================
   Janelas - jqxwindow
========================= */
/* Janela do jqxwindow */
.div-jqxwindow-principal {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 16px;
}

.jqx-window-header-sucesso {
    background-color: #60f084 !important;
}

.jqx-window-header-aviso {
    background-color: #ffe890 !important;
}

.jqx-window-header-erro {
    background-color: #ff9894 !important;
}

/* =========================
   Janelas - dialog
========================= */
dialog {
    display: block; /* isso quebra o comportamento nativo */
}

/* =========================
   Avisos
========================= */
/* Avisos */
#toast-container {
    position: fixed;
    top: 54px;
}

.toast-sucesso {
    background: #00953b !important;
}

.toast-alerta {
    background: #fbbc05 !important;
}

.toast-erro {
    background: #e32121 !important;
}

.toast-info {
    background: #17a2b8 !important;
}

/* Estilização das mensagens */
.toastify {
    border-radius: 5px !important;
}

/* Controles */
td.details-control {
    background: url("../imagens/bin.png") no-repeat center center;
    cursor: pointer;
}

/* =========================
   Responsividade
========================= */
@media screen and (max-width: 1024px) {
    .file-wrapper {
        min-width: 480px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }
    .file-wrapper {
        min-width: 320px;
    }
}

/* =========================
   A pensar - temporário
========================= */

/* Coisas a analisar e pensar bem */
/* .layout-container {
    display: flex;
    gap: 32px;
    padding: 16px;
} */

/* Janelas */
/* Janela do jqxwindow */
/* A retirar o jqxwindow */
.div-jqxwindow-principal {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 16px;
}

.jqx-window-header-sucesso {
    background-color: #60f084 !important;
}

.jqx-window-header-aviso {
    background-color: #ffe890 !important;
}

.jqx-window-header-erro {
    background-color: #ff9894 !important;
}
/* ------------------------------- */
/* Nova popup */

/* Container que terá a rolagem oculta */
dialog * {
    /* Esconder no Firefox */
    scrollbar-width: none;

    /* Esconder no Internet Explorer e Edge antigo */
    -ms-overflow-style: none;

    /* Garantir que o conteúdo ainda seja rolável */
    overflow-y: scroll;
}

/* Esconder no Chrome, Safari e Opera (WebKit) */
dialog *::-webkit-scrollbar {
    display: none;
}

/* WebKit (Chrome, Safari, Edge) */
/* dialog::-webkit-scrollbar,
dialog *::-webkit-scrollbar {
  width: none;
  height: none;
}

dialog::-webkit-scrollbar-track,
dialog *::-webkit-scrollbar-track {
  background: transparent;
}

dialog::-webkit-scrollbar-thumb,
dialog *::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
} */
dialog {
    display: none;
}
dialog[open] {
    display: flex;
}
dialog[open].button-layouthorizontal-button {
    display: flex;
}
.button-layouthorizontal-button {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    box-sizing: border-box;
    overflow-y: scroll;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 24px;
    font-size: 16px;
    color: #131927;
    border: 2px solid #f3f4f6;
}
.button-layouthorizontal-button.topo {
    top: 32px;
    transform: translate(-50%, 0) !important;
}
.button-layouthorizontal-button {
    background-color: #fbfbfb;
}
.button-layouthorizontal-button.small {
    width: 60%;
    min-width: 240px;
    max-width: 420px;
}
.button-layouthorizontal-button.medium {
    width: 70%;
    min-width: 580px;
    max-width: 760px;
}
.button-layouthorizontal-button.large {
    width: 80%;
    min-width: 720px;
    max-width: 1000px;
}

.title-message {
    text-align: center;
}

/* Grande  */
.button-layouthorizontal-button.bigger {
    width: 95%;
    min-width: 540px;
    max-width: 720px;
}
.title-message {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.title {
    align-self: stretch;
    position: relative;
    line-height: 24px;
    font-weight: 600;
}
.keep-your-messages {
    align-self: stretch;
    position: relative;
    font-size: 14px;
    line-height: 20px;
    color: #6d717f;
}
.buttons {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: #fff;
}
.button-layouthorizontal-button.delete .button-confirm {
    background-color: #f90000 !important;
    color: #fff;
}
.button-layouthorizontal-button.confirm .button-confirm {
    background-color: #0d5ab4 !important;
    color: #fff;
}
.button-layouthorizontal-button .button-cancel {
    background-color: #00000080 !important;
    color: #fff !important;
}

/* Imagens */
td.details-control {
    background: url("../imagens/bin.png") no-repeat center center;
    cursor: pointer;
}

/* Spinner */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@media screen and (min-width: 1440px) {
    section {
        max-width: 1248px;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
