﻿
:root {
    --primary: #f4623a;
    --primary-border: #ff9378;
    --primary-hover: #cf4d29;

    --secondary: #e5e5e5;
    --secondary-border: #d7d7d7;
    --secondary-hover: #efefef;

    --color: black;
    --border-color: #dbdbdb;
}

html.dark {
    --primary: #f4623a;
    --primary-border: #ff9378;
    --primary-hover: #db4317;

    --secondary: #55362d;
    --secondary-border: #85665e;
    --secondary-hover: #413430;

    --color: white;
    --border-color: #393939;

    --dark-one: #1C1C1C;
    --dark-two: #252525;
    --dark-three: #393939;
}

@media print {
    html.dark,
    html.dark * {
        color: #212529;
        background: white !important;
        --primary: #dbdbdb;
        --primary-border: #dbdbdb;
        --primary-hover: #dbdbdb;
        --secondary: #dbdbdb;
        --secondary-border: #dbdbdb;
        --secondary-hover: #dbdbdb;
        --color: #dbdbdb;
        --border-color: #dbdbdb;
    }
}

* {
    outline: none !important;
}

html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

body {
    margin: 0;
    overflow: hidden;
    max-height: 100vh;

    font-family: "Inter", sans-serif;
}

p {
    line-height: 1.75;
}

a {
    text-decoration: none;
    cursor: pointer;
}
a[data-toggle="modal"] {
    color: var(--white)!important;
}

select:focus,
textarea:focus,
input:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15) !important;
    border: 1px solid var(--primary)!important;
    font-weight: 600 !important;
    color: #631e0c;
}

.btn[type='submit']:focus,
.btn:focus {
    box-shadow: 0 0 0 2px var(--primary)!important;
}

html.dark .custom-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23FFFFFF' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px;
}
html.dark input[type="date"]::-webkit-calendar-picker-indicator {
    filter: brightness(0) invert(1);
}

html.dark main#layout input,
html.dark main#layout textarea,
html.dark main#layout select,
html.dark main#layout .select2-container--default .select2-selection--single,
html.dark main#layout .form-control {
    background-color: #444;
    color: var(--color);
    border-color: #555;
}
html.dark input:focus,
html.dark textarea:focus,
html.dark select:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px var(--primary)!important;
    border: 1px solid var(--primary)!important;
    color: var(--color)!important;
    font-weight: 600 !important;
}

html.dark .btn {
    color: var(--color);
}

html.dark input:disabled {
    opacity: .6;
    cursor: not-allowed;
    border: 1px solid white;
}

li {
    text-decoration: none;
}

.nav-link:hover, .nav-link:focus {
    text-decoration: none;
}

header.masthead {
    margin-top: -15px;
    padding-top: 10rem;
    padding-bottom: calc(10rem - 72px);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(229,229,219, .8)), to(rgba(229,229,219, .8))), url(../images/pagamento.png);
    background: linear-gradient(to bottom, rgba(229,229,219, .8) 0, rgba(229,229,219, .8) 100%), url(../images/pagamento.png);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover
}

header.masthead h1 {
    font-size: 2.25rem !important
}

header.masthead p {
    font-size: 1.15rem !important
}

@media (max-width:762px) {
    header.masthead {
        margin-top: -12px;
    }
}

@media (min-width:320px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 72px;
        padding-bottom: 0;
    }
    header.masthead p {
        font-size: 1.15rem !important
    }
    header.masthead h1 {
        font-size: 3rem !important
    }
}

@media (min-width:762px) {
    header.masthead {
        height: 100vh;
        min-height: 40rem;
        padding-top: 72px;
        padding-bottom: 0
    }

    header.masthead p {
        font-size: 1.15rem !important
    }

    header.masthead h1 {
        font-size: 3rem !important
    }
}

@media (min-width:1200px) {
    header.masthead h1 {
        font-size: 3.5rem !important
    }
}

.page-section {
    padding: 100px 0;
}

.page-section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

.page-section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 75px;
    text-transform: none;
}

@media (min-width: 768px) {
    section {
        padding: 150px 0;
    }
}

::-moz-selection {
    background: var(--primary);
    color: white!important;
    text-shadow: none;
}

::selection {
    background: var(--primary);
    color: white!important;
    text-shadow: none;
}

.white-space-nowrap {
    white-space: nowrap;
}

/* NAVBAR */
.navbar-nav {
    padding: 0 20px;
}


.color-primary {
    color: var(--primary) !important;
}

hr.divider {
    max-width: 3.25rem;
    border-width: .2rem;
    border-color: var(--primary)
}

.rowsection {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.align-items-center {
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important
}

.justify-content-center {
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important
}

.align-self-end {
    -ms-flex-item-align: end !important;
    align-self: flex-end !important
}

.align-self-baseline {
    -ms-flex-item-align: baseline !important;
    align-self: baseline !important
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
    font-weight: bold;
}

.barcode-code {
    margin-top: 0px;
}

.barcode-boleto {
    font-family: 'Libre Barcode 128';
    font-size: 72px;
}

.mg-40 {
    height: 40px;
}

.footer {
    padding: 25px 0;
    text-align: center;
}

.footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
}

.footer ul.quicklinks {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
}

ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons li a {
    font-size: 20px;
    line-height: 50px;
    display: block;
    width: 50px;
    height: 50px;
    transition: all 0.3s;
    color: white;
    border-radius: 100%;
    outline: none;
    background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    background-color: var(--primary);
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a:hover {
    color: var(--primary);
    text-decoration: underline;
}

disabled-a {
    color: #fff;
    background-color: #f79175;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--secondary);
    border-color: var(--secondary-hover);
}

.dropdown-item.active,
.dropdown-item:hover {
    color: #fff;
    text-decoration: none;
    background-color: var(--primary);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.width-opcoes {
    width: 35px;
}

.custom-checkbox {
    min-height: 1rem;
    padding-left: 0;
    margin-right: 0;
    cursor: pointer;
}

    .custom-checkbox .custom-control-indicator {
        content: "";
        display: inline-block;
        position: relative;
        width: 30px;
        height: 10px;
        background-color: #7aaae1;
        border-radius: 15px;
        margin-right: 0px;
        -webkit-transition: background .3s ease;
        transition: background .3s ease;
        vertical-align: middle;
        margin: 0 10px;
        box-shadow: none;
    }

        .custom-checkbox .custom-control-indicator:after {
            content: "";
            position: absolute;
            display: inline-block;
            width: 18px;
            height: 18px;
            background-color: #f1f1f1;
            border-radius: 21px;
            box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.4);
            left: -2px;
            top: -4px;
            -webkit-transition: left .3s ease, background .3s ease, box-shadow .1s ease;
            transition: left .3s ease, background .3s ease, box-shadow .1s ease;
        }

    .custom-checkbox .custom-control-input:checked ~ .custom-control-indicator {
        background-color: #3EB489;
        background-image: none;
        box-shadow: none !important;
    }

        .custom-checkbox .custom-control-input:checked ~ .custom-control-indicator:after {
            background-color: #3EB489;
            left: 15px;
        }

    .custom-checkbox .custom-control-input:focus ~ .custom-control-indicator {
        box-shadow: none !important;
    }

    .custom-checkbox .custom-control-input:disabled ~ .custom-control-indicator {
        background-color: #f1f6fc;
        background-image: none;
        box-shadow: none !important;
    }

.custom-align-right {
    text-align: right;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--color)!important;
}
html.dark .select2-dropdown {
    background: var(--dark-two);
    border-color: var(--dark-three);
    color: var(--color);
}
html.dark .select2-container--default .select2-results__option[aria-selected=true] {
    background: var(--secondary)!important;
}
html.dark .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--primary)!important;
}
html.dark .select2-container--default .select2-search--dropdown .select2-search__field {
    background: var(--dark-three);
    color: var(--color)!important;
    border-radius: 6px;
    border-color: var(--dark-three);
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

#notfound {
    position: relative;
    height: 100vh;
}

    #notfound .notfound {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

.notfound {
    max-width: 520px;
    width: 100%;
    line-height: 1.4;
    text-align: center;
}

    .notfound .notfound-404 {
        position: relative;
        height: 200px;
        margin: 0px auto 20px;
        z-index: -1;
    }

        .notfound .notfound-404 h1 {
            font-size: 236px;
            font-weight: 200;
            margin: 0px;
            color: #211b19;
            text-transform: uppercase;
            position: absolute;
            left: 50%;
            top: 50%;
            -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
        }

        .notfound .notfound-404 h2 {
            font-size: 28px;
            font-weight: 400;
            text-transform: uppercase;
            color: #211b19;
            background: #fff;
            padding: 10px 5px;
            margin: auto;
            display: inline-block;
            position: absolute;
            bottom: 0px;
            left: 0;
            right: 0;
        }


@media only screen and (max-width: 767px) {
    .notfound .notfound-404 h1 {
        font-size: 148px;
    }
}

@media only screen and (max-width: 480px) {
    .notfound .notfound-404 {
        height: 148px;
        margin: 0px auto 10px;
    }

        .notfound .notfound-404 h1 {
            font-size: 86px;
        }

        .notfound .notfound-404 h2 {
            font-size: 16px;
        }

    .notfound a {
        padding: 7px 15px;
        font-size: 14px;
    }
}

html.dark .dropdown-menu {
    background: var(--dark-two);
    border-color: var(--dark-three);
    color: white;
}
html.dark .dropdown-divider {
    border-color: var(--border-color);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-item {
    color: var(--color) !important;
}

.dropdown-menu-right {
    right: 0;
    left: auto;
}

@media only screen and (max-width: 767px) {
    .dropdown-menu-right {
        right: auto;
        left: 0;
    }
}

.mr-10 {
    margin-right: 10px;
}

.container-login {
    height: 100%;
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-top: -40px;
    margin-bottom: auto;
    display: flex;
    position: fixed;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.login-div {
    width: 380px;
    height: 460px;
    background: #fff;
    border-radius: 0px;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: 10px 10px 20px 0px #999999;
    box-shadow: 10px 5px 30px 0px #999999;
}


.spinner-content {
    display: none;
}

.primary-color {
    color: var(--primary);
}

.spinner-loading {
    z-index: 9999;
    height: 100%;
    width: 100%;
    display: flex;
    position: fixed;
    align-items: center;
    top: 0;
    justify-content: center;
    background-color: rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
}
html.dark .spinner-loading {
    background-color: rgba(0,0,0,.55);
}

    .spinner-loading:before {
        display: flex;
    }

    .spinner-loading:after {
        display: none;
    }

    .spinner-loading:not(:required) {
        display: flex;
    }

        .spinner-loading:not(:required):after {
            display: flex;
        }

.h-4 {
    height: 40px;
    font-size: 16px;
}


ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #6a6c6f;
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
    } 
}

.card {
    border-radius: 10px!important;
    background: transparent!important;
}
html.dark .card > div {
    background: var(--dark-two)!important;
    border-radius: 10px;
}

.card.conta {
    padding: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: rgb(239 239 239) !important;
    border: 1px solid rgb(115 115 115 / 10%) !important;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
html.dark .card.conta {
    background: var(--dark-two) !important;
    border: 1px solid var(--dark-three) !important;
}
.card.conta > div {
    border-radius: 0!important;
}
.card.conta > a {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;

    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white!important;
}
.card.conta .card-header {
    padding: 5px 30px 10px;
    margin: 0 -20px 15px;
    border-color: rgb(115 115 115 / 10%) !important;
    background: transparent;
}
html.dark .card.conta .card-header {
    border-color: var(--border-color)!important;
}
.card.conta .card-body {
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;

    padding: 10px;
    margin: 0 0 10px;
}
.card.conta .card-body p {
    margin: 0;
}

.card-header {
    border: none;
    background: transparent;
}

/* CARDS STATS */
.card-stats {
    display: flex;
    margin: 20px -5px;
}

.card-stats .card {
    height: auto;
    border: 0;
    word-wrap: normal;
    padding: 0 5px;
    min-height: 110px;
}

.card-stats .card .card-body {
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-stats .card .card-title {
    font-size: 14px;
    max-width: 70%;
}

.card-stats .card .card-text {
    margin: 0;
    font-size: 1.4rem;
}

@media (max-width: 991px) {

    .card-stats {
        flex-direction: column;
    }

    .card-stats .card {
        width: 100%;
        max-width: 100%;
        padding: 0 5px 10px;
    }
}

.card-stats.contas .card {
    min-height: 90px;
}
.card-stats.contas .card .card-title {
    font-size: 17px;
    margin: 0;
    padding: 0;
}
.card-stats.contas .card .card-text {
    font-size: 22px;
}

/* CARD EMPRESAS */

.card-empresas {
    width: 100%;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
}
html.dark .card-empresas {
    border-color: var(--border-color);
}
.card-empresas.empty {
    border-radius: 10px !important;
    background: #fdede8;
    border: 1px solid #e9d3cd;
    padding: 0 10px;
    box-shadow: none !important;
}
.card-empresas.empty h3 {
    font-size: 20px;
}
html.dark .card-empresas.empty {
    background-color: var(--dark-three);
}
.card-empresas.selected {
    border: 1px solid var(--primary)!important;
}
.card-empresas .card-header h3 {
    margin: 0 0 5px;
    font-size: 15px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.card-empresas .card-header h3 span {
    padding: 3px 7px 2px;
    background: #ffddd3;
    border-radius: 5px;
    display: flex;
    width: max-content;
    font-size: 11px;
    margin: 0 0 0 6px;
    border: none;
    color: #853b3b;
    font-weight: 700;
}
html.dark .card-empresas .card-header h3 span {
    color: white;
    background: var(--primary);
    font-weight: 600;
}
.card-empresas > * {
    padding: 15px;
}
.card-empresas .info .card-header,
.card-empresas .info .card-body {
    display: flex;
    padding: 0;
}
.card-empresas .info .card-header {
    background: transparent;
    border: none;
}
.card-empresas .info .card-body {
    margin: 10px 0 0;
}
.card-empresas .info .card-body h5 {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    margin-bottom: 2px;
}
.card-empresas .info .card-body h5:not(:nth-of-type(1)) {
    margin-left: 20px;
}
.card-empresas .card-actions {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 5px;
}
.card-empresas .card-actions button,
.card-empresas .card-actions a {
    --size: 40px;
    width: var(--size);
    min-width: var(--size);
    max-width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--size);
}

.card-empresas .card-actions a.btn-primary i {
    color: white;
}


/* CUSTOM BUTTONS */

/*.btn {
    color: inherit;
}*/

.btn-loading {
    position: relative;
    cursor: not-allowed;
    opacity: 0.8;
}
.btn-loading .spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    margin-right: 0.5rem;
}

.btn-xl {
    font-size: 18px;
    padding: 20px 40px;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.btn-primary i {
    color: #FFF;
}
.alert .btn-primary {
    color: white;
}
.alert button,
.alert a {
    margin-top: 0!important;
}

.btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:hover {
    box-shadow: none !important;
    background: transparent!important;
    border-color: var(--border-color)!important;
    color: var(--color) !important;
}

html.dark .btn-outline-primary,
html.dark .btn-outline-primary:active,
html.dark .btn-outline-primary:focus,
html.dark .btn-outline-primary:hover {
    background: var(--dark-three) !important;
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled):focus,
.btn-primary:not(:disabled):not(.disabled):hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    color: #fff;
    box-shadow: none !important;
    outline: none;
}

.btn-primary.disabled,
.btn-primary:disabled {
    cursor: not-allowed!important;
    opacity: .6!important;
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary#profile-header .toggle {
    color: #fff;
    background-color: var(--secondary);
    border-color: var(--secondary-hover);
}

.btn-default {
    background: var(--secondary) !important;
    border-color: var(--secondary-border) !important;
    color: var(--color);
    font-weight: 600;
}
.btn-default:active,
.btn-default:focus,
.btn-default:hover {
    background: var(--secondary-hover)!important;
    box-shadow: none!important;
    color: var(--color);
}
.btn-default:hover {
    background: var(--secondary-hover)!important;
}
html.dark .btn-default {
    border-color: var(--dark-three)!important;
    background: var(--dark-two)!important;
}
html.dark .btn-default:hover {
    background: var(--dark-three)!important;
}

a {
    color: inherit;
}

.btn-danger.active,
.btn-danger:focus {
    background: var(--danger) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.btn-warning.active,
.btn-warning:focus {
    background: var(--warning) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}
.btn-success.active,
.btn-success:focus {
    background: var(--green)!important;
    border-color: transparent!important;
    box-shadow: none!important;
}


hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 0;
    border-top: 1px solid var(--border-color);
}
hr.transparent {
    border-color: transparent;
}


/* MODAL BOX */
.container-box {
    padding: 40px;
    margin: 20px auto 200px;
    width: 100%;
    max-width: 650px;
}

.container-box.max-width {
    max-width: 100%;
}

.container-box.colored {
    border: 2px solid rgb(255 168 106 / 50%);
    background: rgb(255 168 106 / 10%);
}

.container-box.clean {
    background: none;
    border: none;
}

.container-box hr {
    border-color: var(--border-color);
}

.container-box.clean hr {
    border-color: var(--border-color);
}

.container-box hr {
    margin: 40px 0;
    width: 100%;
}

.container-box.colored hr {
    border-color: rgb(255 168 106 / 50%);
}

.container-box .titulo {
    margin: 0 0 40px;
}

.container-box .modal-footer {
    margin: 40px 0 0;
    padding: 30px 0 0;
    border-color: var(--border-color);
}
.modal-footer {
    border: none!important;
}

.container-box.colored .modal-footer {
    border-color: rgb(255 168 106 / 50%);
}

.container-box h4 {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 10px;
    color: var(--primary);
}

.container-box .modal-body {
    padding: 10px 0 0;
}

.container-box .modal-content {
    min-width: 800px;
}

@media (max-width: 768px) {
    .container-box {
        padding: 20px 0;
    }

    .container-box .modal-footer {
        margin: 40px -15px -15px;
    }
}

#mensagem-chaves-enviadas {
    padding: 18px 22px;
    border: 1px solid rgb(40 167 69 / 39%);
    background: rgb(40 167 69 / 20%);
    margin: 40px 0 0;
}

#mensagem-chaves-enviadas h4 {
    font-size: 20px;
    font-weight: 700;
    color: #136125;
}

#mensagem-chaves-enviadas p {
    margin: 0 0 -2px;
    font-size: 14px;
    font-weight: 500;
    color: #136125;
}

.integracoes-list {
    margin: 30px -5px;
}

.integracoes-item {
    padding: 5px;
}

.integracoes-item .integracoes-item-content {
    padding: 25px 30px;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,.01);
    border-radius: 6px;
}

.integracoes-item .integracoes-item-content.active {
    border: 1px solid rgb(255, 106, 0);
    background: rgb(255, 106, 0, .2);
}

.integracoes-item .integracoes-item-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin: -2px 0 5px;
}

.integracoes-item .integracoes-item-content p {
    line-height: 1.2!important;
    margin: 10px 0 0!important;
}

.integracoes-item .integracoes-item-content .actions {
    margin: 20px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.integracoes-item .integracoes-item-content .actions button {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 600;
    opacity: .9;
}

.integracoes-item .integracoes-item-content.disabled .actions button {
    cursor: not-allowed;
    opacity: .6;
}

/* ALERTS */

.alert-danger {
    color: #5b1400;
    background-color: #ffaf998c;
    border-color: transparent;
}
html.dark .alert-danger {
    color: #ffb4b4;
    background: #692424;
}

.alert-warning {
    color: #8f6008;
    background-color: #ffdaad;
    border-color: #edac5c;
}
html.dark .alert-warning {
    color: #efa823;
    background-color: #3f3427;
    border-color: #8b5a1f;
}

html.dark .close {
    color: var(--color);
}

html.dark .alert-success {
    background: #0d652d;
    color: #c7ffdb;
    border-color: transparent;
}

.alert-primary {
    color: #b12d09;
    background-color: #ffede9;
    border-color: #ff5d31;
}
html.dark .alert-primary {
    background: #55362d;
    color: #ffe8e2;
    border-color: transparent;
}

html.dark .alert-secondary,
html.dark .alert-info {
    background: var(--dark-three);
    border-color: var(--dark-three);
    color: white;
}

/* TEXT STYLES */

.text-warning {
    color: #c18615!important;
}
html.dark .text-warning {
    color: #efaa24!important;
}

/* INPUTS */
.form-control-lg::placeholder,
.form-control-lg:-webkit-autofill {
    color: #b7bfc7;
    opacity: 1;
}

.form-control-lg::-ms-input-placeholder {
    color: #b7bfc7;
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
}

input[type="month"] {
    cursor: pointer; /* Garante que o cursor seja visualmente clicável */
}

html.dark input:-webkit-autofill,
html.dark input:-webkit-autofill:hover,
html.dark input:-webkit-autofill:focus,
html.dark input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px var(--dark-three) inset !important;
    box-shadow: 0 0 0px 1000px var(--dark-three) inset !important;
    -webkit-text-fill-color: var(--color) !important; /* opcional */
    transition: background-color 5000s ease-in-out 0s; /* hack pra evitar reset */
}

#profile-header .toggle,
#profileModal .item.conta .profile-image,
#profile-header .item.conta .profile-image {
    background: var(--primary);
    min-width: 45px;
    max-width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: white;
    border-radius: 45px;
    border: none!important;
}
#profile-header .toggle.pessoal {
    background: #939393;
}
#profile-header .toggle::after {
    display: none;
}
#profile-header .toggle i {
    color: white;
}
#profileModal .item,
#profile-header .item {
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 5px;
    padding: 10px 18px;
    font-size: 14px;
    text-decoration: none;
    outline: none!important;
    gap: 8px;
    color: inherit;
}
#profileModal .item:focus,
#profileModal .item:active,
#profileModal .item:hover,
#profile-header .item:focus,
#profile-header .item:active,
#profile-header .item:hover {
    background: #ebebeb;
    border-color: transparent!important;
    outline: none;
}
html.dark #profileModal .item:focus,
html.dark #profileModal .item:active,
html.dark #profileModal .item:hover,
html.dark #profile-header .item:focus,
html.dark #profile-header .item:active,
html.dark #profile-header .item:hover {
    background: rgba(255,255,255,.1);
}
#profileModal .contas,
#profile-header .contas {
    position: relative;
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100%;
    padding: 0 0 10px;
    gap: 8px;
}
#profileModal .item.conta,
#profile-header .item.conta {
    display: flex;
    align-items: center;
    padding: 8px;
    margin: 0;
    position: relative;
    border-color: transparent!important;
    background: transparent;
    white-space: nowrap;
    transition: 200ms ease-in-out;
}
#profile-header .item.conta {
    padding: 5px 5px 5px 10px;
}
#profileModal .item.conta.active {
    border: 1px solid #ffc9ba!important;
    background: #ffc9ba;
}
html.dark #profileModal .item.conta.active {
    border: 1px solid var(--secondary-border) !important;
    background: var(--secondary);
}
#profile-header .item.conta:hover {
    border: 1px solid rgba(0, 0, 0, .08) !important;
    background: rgba(0, 0, 0, .03) !important;
    padding: 7px 10px;
}
#profileModal .item.conta .profile-image {
    max-width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0 0 .5px 0;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#profile-header .item.conta .profile-image {
    max-width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 1px 0 0;
    font-size: 15px;
}
#profileModal .item.conta.pessoal .profile-image,
#profile-header .item.conta.pessoal .profile-image {
    background: #939393;
}
#profileModal .item.conta .profile-image i,
#profile-header .item.conta .profile-image i {
    color: white;
    font-size: 15px;
    margin: 0 auto;
    text-align: center;
}
#profile-header .item.conta .profile-image i {
    font-size: 18px;
    margin: 0;
}
#profileModal .item.conta .titulo,
#profile-header .item.conta .titulo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin: 0 4px;
}
#profile-header .item.conta .titulo {
    max-width: 250px;
}
#profile-header .item.conta .titulo.to-end {
    text-align: end;
}
#profileModal .item.conta .titulo strong,
#profile-header .item.conta .titulo strong {
    width: 100%;
    max-width: 240px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin: 0;
}
#profileModal .item.conta .titulo span,
#profile-header .item.conta .titulo span {
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
}
#profileModal .item.add-empresa {
    background: #ffeee9;
    font-size: 16px;
    border-radius: 8px;
    margin: 10px 0 5px;
    font-weight: 600;
    color: #f1592f;
    transition: 100ms ease-in-out, background 0s;
    border: 1px solid #ffd1c5;
}
html.dark #profileModal .item.add-empresa {
    background: #5b4d49;
    color: white;
    border-color: #85665e;
}
#profileModal .item.add-empresa:hover {
    background: #fbdad0;
    border-color: var(--primary-border)!important;
}
#profileModal .item i {
    min-width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: inherit;
}

.title h3 {
    font-size: 1.rem;
    font-weight: bolder;
}
.filtro {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

table tbody tr td .item-data {
    padding: 4px !important;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 45px;
    line-height: normal;
}

table tbody .font-weight-bold {
    font-weight: 700!important;
}

table tbody tr td span:first-child {
    font-size: 16px;
}

table tbody tr td span.vtaxas {
    font-size: 13px;
    font-weight: 700;
    color: rgb(73 73 73 / 67%);
    text-align: end;
}

table tbody tr td .item-data .fa-2x {
    font-size: 1.2em;
}

table thead tr th,
table tbody tr td {
    padding: 6px 10px!important;
}

table .status {
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
    margin: 2px 0;
}
table .status i {
    font-size: 18px;
    width: 25px;
    text-align: center;
}
table .status span {
    display: block;
    font-weight: 600;
}

.dropdown-menu.show {
    display: block;
    left: initial !important;
    right: 0!important;
    top: 40px !important;
    transform: none!important;
}

.modal {
    padding-right: 0 !important;
}

/* SCROLLBAR */
@media (min-width: 577px) {
    ::-webkit-scrollbar {
        width: 16px;
        background: transparent;
        padding: 2px;
    }

    /* Track */
    ::-webkit-scrollbar-track {
        border-radius: 0;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background-clip: padding-box;
        border-radius: 10px;
        box-shadow: none;
        min-height: 50px;
        border: 4px solid transparent;
        background-color: rgba(0,0,0,.2);
    }
    html.dark ::-webkit-scrollbar-thumb {
        background-color: var(--dark-three);
    }
    ::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0,0,0,.5);
    }
    html.dark ::-webkit-scrollbar-thumb:hover {
        background-color: var(--primary);
    }
}

/* FILTER MONTH */

.filter-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}
.filter-month .button {
    --size: 45px;
    width: var(--size);
    height: var(--size);
    border-radius: var(--size);

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(0,0,0,.8);
    background: rgba(0,0,0,.05);
    border: 1px solid var(--border-color);

    font-size: 20px;

    transition: 150ms ease-in-out;
    cursor: pointer;
}
.filter-month .button:hover {
    background: var(--border-color);
}
.filter-month .button i {
    color: inherit!important;
}
html.dark .filter-month .button {
    color: white;
    border-color: rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
}
html.dark .filter-month .button:hover {
    border-color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.3);
}

#view-type {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #4b4b4b;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: 150ms ease-in-out;
}
#view-type:hover {
    border-color: #84bf7b;
}
#view-type button {
    padding: 14px 10px 11px;
    border: 1px solid transparent;
    border-radius: inherit;
    font-size: 17px;
    font-weight: 600;
    background: #ededed;
    outline: none !important;
    margin: 5px;
    transition: 150ms ease-in-out;
}
html.dark #view-type button:not(.active) {
    background: var(--dark-two);
    color: var(--color);
}
html.dark #view-type button:not(.active):hover {
    background: var(--dark-three);
}
html.dark #view-type button.active {
    background: #84bf7b;
    border-color: #84bf7b;
    color: var(--dark-one);
}
#view-type button.active {
    background: #bee9b7;
    color: #337329;
    border: 2px solid;
    border-color: #84bf7b;
}
#view-type button:not(.active):hover {
    background: #bee9b7;
}

/* WRAPPERS */

#wrapper-conta {
    margin: 20px 0;
}
#wrapper-conta:not(.active) {
    --wrapper-conta-border: white;
    border-color: var(--wrapper-conta-border);
    background: #e9edf1;
    overflow: hidden;
    border-radius: 10px;
}
html.dark #wrapper-conta:not(.active) {
    --wrapper-conta-border: var(--dark-one);
    background: linear-gradient(to right, var(--dark-two), #333);
}
#wrapper-conta:not(.active) .wrapper-title {
    padding: 0 25px;
    position: relative;
    margin-bottom: 20px;
}
#wrapper-conta:not(.active) .logo {
    max-width: 160px;
    height: auto;
    object-fit: cover;
    margin: 10px;
    right: 25px;
    top: 0;
    position: absolute;
}
#wrapper-conta:not(.active) form {
    margin: 0 -8px;
    border-top: 2px solid;
    color: inherit;
    padding: 0;
    border-color: inherit;
}
#wrapper-conta:not(.active) form > * {
    padding: 0;
    margin: 0;
}
#wrapper-conta:not(.active) form > * > * {
    margin: -1px;
    padding: 10px 30px;
    border: 3px solid var(--wrapper-conta-border);
    color: inherit;
}
#wrapper-conta:not(.active) form .control-label {
    padding: 0;
    margin: 0;
    color: inherit;
}
#wrapper-conta:not(.active) form .form-control-plaintext {
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: inherit;
}

.pay-button {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 20px 10px 15px;
    max-height: 60px;
    border-radius: 9px;
    margin-top: 0 !important;
}
.edit-button {
    margin: 0 12px;
    margin-top: 0 !important;
    font-size: 22px;
    color: white;
    padding: 8px 14px;
    border-radius: 7px;
    background: #adc6df;
    border: 1px solid;
    border-color: #90a5bb;
    outline: none;
}
.edit-button:hover {
    color: white;
}
html.dark .edit-button {
    background: #835448;
    border: #cd7a63;
}

/* CARTEIRA DESCONECTADA */

#carteira-desconectada {
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 80px 100px;
    background: linear-gradient(45deg, #fff1ec, transparent);
    border-radius: 10px;
    margin: 20px 0 100px;
    border: 1px solid #f4623a61;
}
html.dark #carteira-desconectada {
    background: var(--dark-two);
}
#carteira-desconectada .illustration img {
    width: 100%;
    max-height: 250px;
}
#carteira-desconectada .text {
    max-width: 560px;
}
#carteira-desconectada .text h1 {
    font-size: 40px;
    font-weight: 600;
}
#carteira-desconectada .text p {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 10px 0 30px;
}
#carteira-desconectada .text a {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
}

@media (max-width: 1200px) {
    #carteira-desconectada {
        flex-direction: column;
        gap: 60px;
    }
    #carteira-desconectada .text {
        align-items: center;
        text-align: center;
    }
}
@media (max-width: 680px) {
    #carteira-desconectada {
        padding: 10%;
    }
}
@media (max-width: 576px) {
    #carteira-desconectada {
        padding: 10% 5%;
    }
    #carteira-desconectada .illustration img {
        max-height: 180px;
    }
    #carteira-desconectada .text h1 {
        font-size: 28px;
    }

    #carteira-desconectada .text p {
        font-size: 16px;
    }

    #carteira-desconectada .text a {
        font-size: 16px;
        width: 100%;
    }
}


/* ERRORPAGE */

#errorpage {
    display: flex;
    align-items: center;

    gap: 100px;
    padding: 80px 100px;
    background: #fff1ec;
    border-radius: 10px;
    margin: 20px 0;
}
html.dark #errorpage {
    background: var(--dark-two);
}
#errorpage .illustration img {
    width: 100%;
    max-height: 250px;
}
#errorpage .text {
    max-width: 100%;
}
#errorpage .text h1 {
    font-size: 40px;
    font-weight: 600;
}
#errorpage .text p {
    font-size: 18px;
    line-height: 1.4;
    margin: 10px 0 30px;
}
#errorpage .text span {
    margin: 0 0 10px;
    font-weight: 600;
}
#errorpage .text a {
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
}

@media (max-width: 1200px) {
    #errorpage {
        flex-direction: column;
        gap: 60px;
    }
    #errorpage .text {
        align-items: center;
        text-align: center;
    }
}
@media (max-width: 680px) {
    #errorpage {
        padding: 10%;
    }
}
@media (max-width: 576px) {
    #errorpage {
        padding: 10% 5%;
    }
    #errorpage .illustration img {
        max-height: 180px;
    }
    #errorpage .text h1 {
        font-size: 28px;
    }

    #errorpage .text p {
        font-size: 16px;
    }

    #errorpage .text a {
        font-size: 16px;
        width: 100%;
    }
}

/* Identification Wrapper */

.identification-wrapper .form-group {
    margin: 0 0 10px;
}
.identification-wrapper hr {
    margin: 40px 0;
}
.identification-wrapper .form-control,
.identification-wrapper .btn {
    font-size: 20px;
    padding: 10px 20px;
    height: max-content;
    border-radius: 10px;
}
.identification-wrapper input::placeholder {
    font-weight: 500;
    opacity: .3;
    color: var(--color);
}
.identification-wrapper button {
}
.identification-wrapper button[type='submit'] {
    white-space: nowrap;
}
.identification-wrapper.consulta-documento {
    display: flex;
    gap: 14px;
    width: 100%;
}
.identification-wrapper.consulta-documento button[type='submit'] {
    margin: 0;
}
.identification-wrapper.consulta-documento .input {
    width: 100%;
}
.identification-wrapper .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 10px 20px;
    font-size: 18px;
    opacity: .9;
    font-weight: 500;
    color: var(--color);
}
.identification-wrapper .select2-container--default .select2-selection--single {
    height: 100%;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 10px;
}
.identification-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    width: 40px;
}

.identification-wrapper.integracao {
}
.identification-wrapper.integracao h4 {
    font-size: 20px;
    color: var(--primary);
}
.identification-wrapper.integracao h2 {
    margin: 15px 0 0;
}
.identification-wrapper.integracao p {
    margin: 10px 0 50px;
    line-height: 1.4;
}
.identification-wrapper.integracao select {
    min-height: 52px;
    max-height: 52px;
}
.identification-wrapper.integracao .status {
    padding: 3px 10px;
    border-radius: 100px;
    margin: 10px 0 40px;
    display: flex;
    width: max-content;
    font-weight: 600;
    font-size: 13px;
}
.identification-wrapper.integracao .status.status-disconnected {
    background: #9d9d9d;
    color: white;
}
.identification-wrapper.integracao .status.status-connected {
    background: #b6e1a1;
    color: #487334;
}

@media (max-width: 480px) {
    .identification-wrapper.consulta-documento {
        flex-direction: column;
    }
}