* {
	margin: unset;
	padding: unset;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

a {
    color: inherit;
}

html, body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

body {
	background-color: #cbd5e1;
}

body.off {
    background-color: #1A2536;
}

body.off .logo {
    display: block;
    text-align: center;
    margin-top: 60px;
}

body.off .logo img {
    width: 100%;
    max-width: 160px;
}

body.off .front {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

body.off .box {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
}

.d-none {
    display: none;
}

.btn-sh {
    cursor: pointer;
    color: #1a2536;
    border: unset;
    background: unset;
    font-size: 14px;
    text-decoration: underline;
}

.box > h1 {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #151717;
    padding-bottom: 20px;
    margin-top: unset;
    margin-bottom: 20px;
    border-bottom: 1px solid #ecedec;
    text-align: center;
}

.ems {
    display: block;
    color: #151717;
    font-size: 14px;
    margin-top: 10px;
}

.ft {
    display: block;
    color: #8c8b88;
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: unset;
}

.ft a {
    color: #151717;
}

.checkbox {
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: start;
    width: 100%;
    min-width: 100%;
    color: #151717;
    font-size: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    outline: unset;
    transition: all 0.2s ease-in-out;
    gap: 5px;
}

.checkbox input {
    width: auto;
    min-width: auto;
}

header {
	display: flex;
    justify-content: space-between;
    align-items: center;
	width: 100%;
	background-color: #1A2536;
	padding: 20px;
	gap: 60px;
}

header img {
    width: 100%;
    max-width: 160px;
}

header .user {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
}

header .user i {
    color: #0dc5b9;
    font-size: 28px;
}

header .user button {
    cursor: pointer;
    color: #fff;
    font-size: 16px;
    background: unset;
    border: unset;
}

footer {
	margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: #1A2536;
    gap: 5px;
    padding: 20px;
}

footer p {
	color: #fff;
	font-size: 16px;
}

.container {
    padding: 20px;
}

table {
    width: 100%;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 0 10px #0002;
    border-radius: 12px;
    text-align: left;
}

th:nth-child(6),
td:nth-child(6) {
    max-width: 250px;
    min-width: 250px;
    white-space: normal;
}

th:nth-child(7), td:nth-child(7) {
    max-width: 180px;
}

th:nth-child(9), td:nth-child(9) {
    max-width: 100px;
}

table thead {
    position: sticky;
    top: 0;
    background: #fff;
}

table tbody tr {
    transition: all 0.2s ease-in-out;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

div.dt-container {
    overflow-x: auto;
}

.dt-column-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

table.dataTable thead > tr > th {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    white-space: nowrap;
    outline: unset !important;
}

table.dataTable thead > tr > th:first-child {
    border-top-left-radius: 8px;
}

table.dataTable thead > tr > th:last-child {
    border-top-right-radius: 8px;
}

table.dataTable thead > tr > th:hover {
    background-color: #f1f1f1;
}

table.dataTable thead > tr > th button {
    cursor: pointer;
    color: #0dc5b9;
    background: #1a2536;
    border: unset;
    width: 24px;
    height: 24px;
    border-radius: 100%;
}

table.dataTable > tbody > tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

table.dataTable > tbody > tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

table.dataTable > tbody > tr > td.opcoes {
    display: flex;
    gap: 10px;
}

table.dataTable > tbody > tr > td.opcoes button {
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 100%;
    border: unset;
}

table.dataTable > tbody > tr > td.opcoes button:nth-child(1) {
    color: #fff;
    background: #00a651;
}

table.dataTable > tbody > tr > td.opcoes button:nth-child(2) {
    color: #fff;
    background: #e5252a;
}

table.dataTable > tbody > tr > th, table.dataTable > tbody > tr > td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

table.dataTable > tbody > tr > td a {
    white-space: nowrap;
    color: #1a2536;
}

div.dt-container.dt-empty-footer tbody > tr:last-child > * {
    border-bottom: unset;
}

.dt-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.dt-button {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 0 10px #0001;
}

.dt-resumo {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.dt-resumo div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dt-resumo .input-group {
    position: relative;
}

.dt-resumo .input-group span {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.dt-resumo .input-group span i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 100%;
}

.dt-resumo .input-group span i.fa-arrow-up {
    color: #fff;
    background: #00a651;
}

.dt-resumo .input-group span i.fa-arrow-down {
    color: #fff;
    background: #e5252a;
}

.dt-resumo label {
    font-size: 14px;
    font-weight: 600;
}

.dt-resumo select, .dt-resumo input {
    border: unset;
    padding: 8px 12px;
}

.buttons-pdf {
    color: #fff;
    background: #e5252a;
    border-color: #e5252a;
}

.buttons-csv {
    color: #fff;
    background: #00a651;
    border-color: #00a651;
}

.dt-info {
    margin-top: 30px;
    text-align: center;
    margin-bottom: 20px;
}

.dt-paging {
    text-align: center;
}

table input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.d-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
}

input, select {
    width: 100%;
    font-size: 14px;
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 8px;
    outline: unset;
}

button[type="submit"] {
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    background: #1A2536;
    border-color: #1A2536;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 95%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px;
    z-index: 3;
}

.modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    box-shadow: 0 1px 3px 1px rgba(0,0,0,.08);
    border-radius: 8px;
    padding: 0 20px;
}

.modal .modal-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    z-index: 1;
}

.modal .modal-header h3 {
    color: #2a2c32;
    font-weight: bold;
    font-size: 18px;
}

.modal .modal-header button {
    width: auto;
    cursor: pointer;
    background: unset;
    border: unset;
    color: #555;
    font-size: 18px;
    white-space: nowrap;
    padding: unset;
}

.modal .modal-content {
    position: relative;
}

.modal .modal-footer {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    z-index: 1;
}

.mensagem {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.mensagem.erro {
    color: #ff455b;
    background-color: #ffe1e3;
}

.mensagem.sucesso {
    color: #26ad59;
    background-color: #c3f3d6;
}

.dt-paging-button.disabled {
    cursor: pointer !important;
}

.tooltip-login {
    position: absolute;
    color: #ff455b;
    background-color: #ffe1e3;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    pointer-events: none;
    z-index: 9999;
}

.tooltip-box {
    position: absolute;
    min-width: 260px;
    background: #1a2536;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 0 10px #0005;
    z-index: 1000;
    display: none;
}

.tooltip-box .d-grid-2 {
    gap: 10px;
}

.tooltip-box label {
    color: #fff;
    font-size: 14px;
}

.tooltip-box .select2-container--default .select2-selection--single {
    font-size: 14px;
    background: #fff;
    padding: 12px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: unset;
}

.tooltip-box .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: unset;
    padding: unset;
}

.tooltip-box .select2-container--default .select2-selection--single .select2-selection__clear {
    height: auto;
}

.tooltip-box > .btns {
    display: flex;
    gap: 10px;
}

.tooltip-box > .btns > button {
    width: 100%;
    cursor: pointer;
    white-space: nowrap;
    padding: 12px;
    color: #1a2536;
    font-size: 14px;
    font-weight: bold;
    background: #0dc5b9;
    border: unset;
    border-radius: 8px;
}

.tooltip-box > .btns > button.limpar_filtro {
    color: #fff;
    background: #e5252a;
}

.search {
    flex-grow: 1;
}

.search.mobile {
    display: none;
    margin-bottom: 30px;
}

.search.mobile p {
    color: #1A2536;
    text-align: center;
}

.search p {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.search form {
    display: flex;
    gap: 10px;
}

.search input {
    padding: 14px 40px 14px 20px;
    border: unset;
}

.search input:focus::placeholder {
    color: transparent;
}

.search button {
    width: auto;
    cursor: pointer;
    white-space: nowrap;
    padding: 12px;
    color: #1a2536;
    font-weight: bold;
    background: #0dc5b9;
    border: unset;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .dt-resumo {
        width: 100%;
        flex-direction: column;
    }
    
    .dt-topbar {
        flex-direction: column;
        gap: 30px;
    }

    .dt-buttons {
        width: 100%;
        text-align: center;
    }

    .search.mobile {
        display: block;
    }

    header .search {
        display: none;
    }

    header .user {
        flex-direction: row;
    }

    .d-grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}