@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;700&display=swap');

:root {
    --primary-color: #557fcf;
    --primary-color-light: rgba(85, 127, 207, 0.2);
    --secondary-color: #fff;
    --menu-subitem-color: #3f69b5;
    --input-color: #d9d9d9;
    --text-color: #484848;
    --shadow-config: 1px 1px 8px 2px rgba(0, 0, 0, 0.10);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    list-style: none;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #b8b7b7 #557fcf;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: #557fcf;
}

*::-webkit-scrollbar-thumb {
    background-color: #b8b7b7;
    border-radius: 10px;
    border: 2px none #ffffff;
}

.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.hide {
    opacity: 0 !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* loader */
.loader {
    z-index: 9999999;
    background-color: #fff;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    transition: all .3s ease-in-out;
}

.loader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 80px;
}

.login-box {
    min-width: 240px;
    max-width: 240px;
    width: 90%;
    box-shadow: 1px 1px 8px 2px rgba(0, 0, 0, 0.10);
    margin: 2% auto;
    padding: 30px 10px;
}

.login-box .login-header {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 17px;
}

.login-box .login-header img {
    max-width: 76px;
    padding-bottom: 16px;
}

.login-box .login-body .login-input {
    width: 100%;
    margin-bottom: 20px;
}

.login-box .login-body .login-input label {
    font-weight: 300;
    color: #484848;
    font-size: 12px;
    margin-bottom: 14px;
    display: block;
    text-transform: capitalize;
}

.login-box .login-body .login-input input {
    width: 100%;
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 700;
    color: #484848;
    font-size: 14px;
}

.login-box .login-body input[type="submit"] {
    width: 100%;
    cursor: pointer;
    background-color: #484848;
    color: #fff;
    font-weight: 300;
    padding: 8px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 12px;
}

.login-box .login-footer {
    text-align: right;
}

.login-box .login-footer a {
    font-size: 10px;
    font-weight: 700;
    color: #484848;
}

.header {
    z-index: 998;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.header svg {
    color: var(--secondary-color);
}

.header svg:hover {
    filter: brightness(90%);
}

.header .header-left,
.header .header-right {
    display: inline-flex;
    align-items: center;
}

.header .header-left img {
    width: 50px;
    margin-right: 16px;
}

.header .header-right a {
    margin-right: 15px;
}

.header .header-right a:last-of-type {
    margin-right: 0;
}

#exibirNotificacoes {
    position: relative;
}

#exibirNotificacoes .tem-notificacao {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    z-index: 999;
}

.menu {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all .3s linear;
}

.menu .menu-content {
    background-color: var(--primary-color);
    position: absolute;
    left: -250px;
    top: 0;
    width: 250px;
    height: 100vh;
    padding: 12px;
    transition: all .3s ease-in-out;
}

.menu-show {
    left: 0 !important;
}

.menu .menu-content .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.menu .menu-content .menu-header img {
    width: 55px;
}

.menu .menu-content .menu-header a {
    color: var(--secondary-color);
}

.menu .menu-content .menu-body {
    height: calc(100vh - 110px);
    overflow: auto;
}

.menu .menu-content .menu-body .menu-item .m-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all .3s linear;
}

.menu .menu-content .menu-body .menu-item .m-item span {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 700;
}

.menu .menu-content .menu-body .menu-item .m-item svg {
    color: var(--secondary-color);
    font-size: 16px;
}

.menu .menu-content .menu-body .menu-item .m-subitem {
    display: none;
}

.menu .menu-content .menu-body .menu-item .m-subitem a {
    margin-bottom: 1px;
    display: block;
    font-size: 12px;
    padding: 15px 8px;
    color: var(--secondary-color);
    background-color: var(--menu-subitem-color);
}

main {
    max-width: 1200px;
    width: 90%;
    /* box-shadow: var(--shadow-config); */
    padding: 25px;
    margin: 100px auto;
}

.home-header {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 18px;
}

@media screen and (max-width: 520px) {
    .home-header {
        grid-template-columns: 1fr;
    }
}

.home-header .home-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    align-items: center;
}

@media screen and (max-width: 1200px) {
    .home-header .home-shortcuts {
        grid-template-columns: 1fr;
    }
}

.home-header .home-shortcuts .h-shortcut {
    cursor: pointer;
    text-align: center;
    background-color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .3s linear;
}

.home-header .home-shortcuts .h-shortcut:hover {
    filter: brightness(90%);
}

.home-header .home-shortcuts .h-shortcut svg,
.home-header .home-shortcuts .h-shortcut span {
    color: var(--secondary-color);
}

.home-header .home-shortcuts .h-shortcut span {
    font-size: 10px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.home-header .home-accounts {
    text-align: right;
}

.home-header .home-accounts select {
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.home-header .home-accounts span {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.greetings {
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 20px;
}

table {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
}

table tr:nth-child(odd) {
    background-color: #fff;
}

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

table tr:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

table tr:hover td,
table tr:hover a {
    color: var(--secondary-color);
}

table th,
table td {
    padding: 10px;
    font-size: 12px;
    white-space: nowrap;
}

table th {
    background-color: var(--text-color);
    color: var(--secondary-color);
}

table td {
    text-transform: uppercase;
    color: var(--text-color);
}

table a {
    font-weight: 700;
    color: var(--text-color);
}

table .table-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}

table .table-buttons a {
    margin-right: 8px;
}

table .table-buttons a:last-of-type {
    margin-right: 0;
}

table .table-buttons svg {
    font-size: 16px;
}

.responsive-table {
    width: 100%;
    overflow: auto;
}

.responsive-table .table {
    overflow: auto;
    min-width: 800px;
}

.filter-activities {
    margin-bottom: 12px;
}

.notifications {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    transition: all .3s linear;
    opacity: 0;
    visibility: hidden;
}

.notifications .notifications-body {
    width: 280px;
    position: absolute;
    background-color: #fff;
    top: 60px;
    right: 18px;
    border: 1px solid var(--text-color);
}

.notifications .notifications-body .notifications-items a {
    display: block;
    width: 100%;
    color: var(--text-color);
    padding: 10px;
    border-bottom: 1px solid var(--text-color);
    font-weight: 300;
    text-transform: uppercase;
    font-size: 10px;
}

.notifications .notifications-body .notifications-button a {
    width: 100%;
    padding: 10px;
    background-color: var(--text-color);
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    display: block;
    color: var(--secondary-color);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all .3s linear;
    opacity: 0;
    visibility: hidden;
}

.modal .modal-content {
    width: 90%;
    max-width: 800px;
    min-width: 300px;
    padding: 18px;
    background-color: var(--secondary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    box-shadow: var(--shadow-config);
    transform: translate3d(-50%, -50%, 0);
}

.modal .modal-content .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--primary-color);
}

.modal .modal-content .modal-header h1 {
    color: var(--primary-color);
    font-size: 18px;
}

.modal .modal-content .modal-header a {
    color: var(--primary-color);
}

.modal .modal-content .modal-body {
    overflow: auto;
    max-height: calc(100vh - 250px);
}

.title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.title .title-description a {
    color: var(--primary-color);
    margin-right: 6px;
}

.title .title-description span {
    color: var(--primary-color);
    font-weight: 700;
}

.title .title-buttons a {
    color: var(--primary-color);
}

form .form-group {
    display: grid;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.fg-1 {
    grid-template-columns: 1fr;
}

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

.fg-3 {
    grid-template-columns: repeat(3, 1fr);
}

.fg-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 1000px) {
    .fg-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 745px) {
    .fg-3 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 570px) {
    .fg-2,
    .fg-4 {
        grid-template-columns: 1fr;
    }
}

form .input-group {
    position: relative;
}

form .input-group label {
    display: block;
    font-size: 12px;
    color: var(--text-color);
    margin-bottom: 6px;
    font-weight: 300;
}

form .input-group input,
form .input-group select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    background-color: var(--input-color);
}

form input[type="submit"] {
    width: 100%;
    padding: 10px;
    cursor: pointer;
    background-color: var(--text-color);
    color: var(--secondary-color);
    margin-top: 15px;
    transform: translateY(3px);
}

form textarea {
    width: 100%;
    background-color: var(--input-color);
    padding: 15px;
    font-size: 12px;
    color: var(--text-color);
    font-weight: 700;
    resize: vertical;
}

.formBanco {
    margin-bottom: 15px;
}

.export-buttons {
    margin: 25px 0 10px;
    text-align: right;
}

.export-buttons a {
    padding: 6px 16px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 300;
}

.pagination {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination a {
    color: var(--text-color);
    margin-right: 6px;
}

.pagination a:last-of-type {
    margin-right: 0;
}

.pagination p {
    margin-left: 10px;
    margin-right: 15px;
    font-size: 12px;
    color: var(--text-color);
    font-weight: 300;
}

.listaDeRegistros {
    width: 100%;
    overflow: auto;
    max-height: 150px;
    margin-top: 5px;
    position: absolute;
    z-index: 99;
    top: 50px;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.listaDeRegistros a {
    display: block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 12px;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid var(--text-color);
    transition: all .3s linear;
}

.listaDeRegistros a:hover {
    filter: brightness(90%);
}

.listaDeRegistros a:last-of-type {
    border-bottom: none;
}

.formulario {
    position: relative;
}

.form-tabs {
    width: 100%;
    border-bottom: 5px solid #d9d9d9;
    margin-bottom: 18px;
    padding-bottom: 10px;
}

.form-tabs a {
    border-bottom: 4px solid #d9d9d9;
    padding: 8px 8px 11px;
    font-weight: 700;
    color: #d9d9d9;
    font-size: 12px;
}

.data-form-checked {
    color: var(--primary-color) !important;
    border-bottom: 4px solid var(--primary-color) !important;
}

.form-tab-content {
    position: absolute;
    min-height: 300px;
    top: 55px;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
}

@media screen and (max-width: 642px) {
    .form-tabs {
        display: none;
    }

    .form-tab-content {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        min-height: auto !important;
    }

    .form-tab-content input[type="submit"] {
        display: none;
    }

    .form-tab-content:last-of-type input[type="submit"] {
        display: block;
    }
}

fieldset {
    width: 100%;
    min-width: 400px;
    overflow: auto;
    border: 1px solid var(--primary-color);
    padding: 25px;
    margin-bottom: 20px;
}

fieldset:last-of-type {
    margin-bottom: 0;
}

legend {
    padding: 10px;
    color: var(--primary-color);
    font-weight: 700;
    border: 1px solid var(--primary-color);
    font-size: 12px;
}

fieldset .fieldset-item {
    padding: 8px;
    background-color: var(--primary-color-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    font-size: 12px;
    transition: all .3s linear;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

fieldset .fieldset-item:hover {
    filter: brightness(80%);
    border: 1px solid var(--primary-color);
}

fieldset .fieldset-item:last-of-type {
    margin-bottom: 0;
}

.disabled {
    opacity: 0.2;
}

form .checkbox {
    width: 100%;
    transform: translateY(5px);
    display: grid;
    grid-template-columns: 15px 1fr;
    gap: 8px;
    align-items: center;
}

form .checkbox span,
form .checkbox label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
}

.responsaveis {
    width: 100%;
    min-height: 250px;
    position: relative;
    overflow: auto;
    margin-bottom: 25px;
}

.responsaveis input[type="text"] {
    width: 100%;
    padding: 10px;
    background-color: var(--input-color);
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.responsaveis input[type="text"]::placeholder {
    opacity: 0.5 !important;
}

.responsaveis .responsavel-item {
    padding: 8px;
    border: 1px solid var(--text-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.responsaveis .responsavel-item:last-of-type {
    margin-bottom: 0;
}

.responsaveis .responsavel-item span {
    font-size: 12px;
    font-weight: 300;
}

.responsaveis .responsavel-item input {
    display: block;
    overflow: auto;
    width: 400px;
    font-size: 12px;
    color: var(--text-color);
    font-weight: 300;
}

.responsaveis .responsavel-item span,
.responsaveis .responsavel-item a svg {
    color: var(--text-color);
}

.responsaveis-resultado {
    width: 100%;
    overflow: auto;
    max-height: 150px;
    margin-top: 5px;
    position: absolute;
    z-index: 99;
    top: 30px;
    left: 0;
    opacity: 0;
    visibility: hidden;
}

.responsaveis-resultado a {
    display: block;
    background-color: var(--secondary-color);
    color: var(--text-color);
    font-size: 12px;
    padding: 10px;
    width: 100%;
    border-bottom: 1px solid var(--text-color);
    transition: all .3s linear;
}

.responsaveis-resultado a:hover {
    filter: brightness(90%);
}

.responsaveis-resultado a:last-of-type {
    border-bottom: none;
}

#pdfForm {
    margin: 0;
    text-align: right;
}

#pdfForm input[type="submit"] {
    display: block;
    background-color: var(--primary-color);
    max-width: 100px;
}

.parcela {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--text-color);
    margin-bottom: 5px;
}

@media screen and (max-width: 540px) {
    .parcela {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: right;
    }
}

.parcela:last-of-type {
    margin-bottom: 0;
}

.parcela input {
    padding: 6px;
    background-color: var(--input-color);
    color: var(--text-color);
    font-weight: 700;
}

.parcela a {
    color: var(--text-color);
}

.inserirParcela {
    width: 180px;
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 8px;
    font-size: 12px;
    font-weight: 300;
    text-align: center;
}

.saldo-positivo {
    font-weight: 700;
    color: #11a820;
}

.saldo-negativo {
    font-weight: 700;
    color: #d45353;
}

.valor-total {
    text-align: right;
}

.valor-total p {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-color);
}

.saldo-conta {
    margin-top: 25px;
    width: 100%;
    padding: 12px;
    background-color: var(--text-color);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.saldo-conta p,
.saldo-conta span {
    font-size: 12px;
}

.saldo-conta span {
    font-weight: 700;
}

.resumo-pesquisa {
    margin: 25px 0;
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.resumo-pesquisa .item-resumo-pesquisa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-bottom: 1px solid var(--secondary-color);
    padding: 8px 0;
}

.resumo-pesquisa .item-resumo-pesquisa:first-of-type {
    padding-top: 0;
}

.resumo-pesquisa .item-resumo-pesquisa:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.resumo-pesquisa .item-resumo-pesquisa p,
.resumo-pesquisa .item-resumo-pesquisa span {
    font-size: 12px;
    color: var(--secondary-color);
}

.resumo-pesquisa .item-resumo-pesquisa span {
    font-weight: 700;
}