@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");


:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #034737;
    --first-color-light: #4b9023;
    --white-color: #fff;
    --input-grey: #e9e9e9;
    --dark-color: black;
    --red-danger: #800000;
    --blue-info: #4154f1;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    --z-fixed-navbar: 200;
}

.top-5 {
    text-align: left !important;
}

.top-5-rows {
    color: #000000;
    background-color: #6c757d32;
    border-color: #6c757d32;
}

.card-home-finance {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-radius: .25rem;
    border-top-left-radius: 3;
    border-bottom-left-radius: 3;
}

.card-home-finance.receita {
    border-left: 6px solid var(--first-color);
}

.card-home-finance.despesa {
    border-left: 6px solid var(--red-danger);
}

.card-home-finance.saldo {
    border-left: 6px solid var(--blue-info);
}

*,
::before,
::after {
    box-sizing: border-box
}

a {
    text-decoration: none !important;
    color: var(--first-color);
}

nav a {
    color: var(--white-color);
}

a:hover {
    text-decoration: none !important;
    color: var(--first-color-light);
}

.accordion-button:not(.collapsed) {
    background-color: var(--first-color);
    color: var(--white-color);
}

.accordion-button:focus {
    z-index: 3;
    border-color: var(--first-color);
    outline: 0;
    box-shadow: none
}

.text-red {
    color: var(--red-danger)
}

.text-blue {
    color: var(--blue-info)
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Classes de cores */
.text-white {
    color: var(--white-color) !important;
}

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

.text-dark {
    color: black;
}


/* Posiçao dos icons no input */
.input-icon-position {
    top: 10px;
    left: 10px;
}

.input-with-icon {
    padding-left: 32px;
    border: none;
    background-color: var(--input-grey);
    transition: all .4s ease-in;
}

.input-with-icon:focus {
    outline: 1px solid var(--first-color-light);
    background: var(--input-grey);
    border: none;
    box-shadow: none;
}

.input-with-icon:active {
    outline: none;
    outline-offset: none;
}

.form-check-input:checked {
    background-color: var(--first-color);
    border-color: var(--first-color);
}

.page-item.active .page-link {
    z-index: 3;
}

.page-link,
.page-link:hover {
    color: var(--first-color);
}

/* Definiçoes dos botoes */
.btn-primary,
.bg-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus,
.page-item.active .page-link {
    color: var(--white-color);
    background-color: var(--first-color);
    border-color: var(--first-color);
    box-shadow: none;
}

.bg-primary-list {
    padding: 2px;
    background-color: var(--first-color) !important;
}

.bg-primary {
    background-color: var(--first-color) !important;
    padding: 4px;
}

.form-check-input:focus,
.form-control:focus {
    border-color: var(--first-color) !important;
    outline: 0;
    box-shadow: none;
}

/* Card configurations */
.card-body {
    padding: 28px;
}


/* page-content */
.page-content {
    position: relative;
    display: flex;
}

.card-auth {
    border-radius: 10px;
    width: 381px;
}

.content-main-pd {
    padding: 61px 0px 0px 0px !important;
    width: 100%;
}

body {
    position: relative;
    height: 100vh;
    /* overflow: hidden; */

    /* margin: var(--header-height) 0 0 0; */
    /* padding: 0 1rem; */
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: .5s
}

#body-auth {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--first-color);
}

a {
    text-decoration: none
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: .5s;
}

.header_toggle {
    color: var(--first-color-light);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

.header_img img {
    width: 40px
}

.l-navbar {
    position: absolute;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100vh;
    background-color: var(--first-color);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed-navbar);
}

.l-navbar {
    transition: all 0.5s;
}

.nav-content {
    font-size: 12px;
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.nav_logo {
    margin-bottom: 2rem
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color)
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700
}

.nav_link {
    position: relative;
    color: var(--white-color);
    transition: .3s
}

.nav_link:hover {
    color: var(--first-color-light)
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
}

.nav_icon {
    font-size: 1.25rem
}

.show {
    left: 0
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem)
}

.active {
    color: var(--first-color-light)
}

.active::before {
    content: '';
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--first-color-light)
}

.height-100 {
    height: 100vh
}

.th {
    padding-left: 4% !important;
}

@media screen and (min-width: 768px) {
    /* body {
        margin: calc(var(--header-height) + 1rem) 0 0 0; 
        padding-left: calc(var(--nav-width) + 2rem);
    } */
    .email-verify-message {
        margin-top: 13.5rem !important;
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem)
    }

    .header_img {
        width: 40px;
        height: 40px
    }

    .header_img img {
        width: 45px
    }

    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0
    }

    .show-nav {
        width: calc(var(--nav-width) + 156px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 156px)
    }

    .l-navbar:hover {
        width: calc(var(--nav-width) + 160px)
            /* ou qualquer largura que você deseja quando a barra lateral se expande */
    }

    .phone-screem {
        display: none;
    }

    .nav_logo,
    .nav_link {
        column-gap: 1rem;
        padding: .5rem 0 .5rem 1.5rem
    }

    .nav_link {
        margin-bottom: -0.5rem;
    }

    .content-main {
        padding: 61px 0px 0px 64px;
        width: 100%;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .show-nav {
        width: calc(var(--nav-width) + 364px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 258px)
    }

    .nav {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
        position: absolute;
        right: 110px;
    }

    .desktop {
        display: none;
    }

    .nav_logo,
    .nav_link {
        column-gap: .5rem;
        padding: .5rem 0 .5rem .5rem
    }

    .content-main {
        padding: 61px 0px 0px 0px;
        width: 100%;
    }
}