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

:root{
    --application-primary-color: #119683;
    --application-secondary-color: #11a18f;
    --application-tertiary-color: #46b5ac;
}

* {
    scrollbar-width: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

*::-webkit-scrollbar-track {
    background: #ffffff;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--application-primary-color);
    border-radius: 10px;
    border: 3px solid #ffffff;
}

html, body {
    height: 100%;
}

a{
    text-decoration: none;
    margin: 0;
    padding: 0;
}

p{
    margin: 0;
}

h1,h2,h3,h4,h5,h6{
    margin: 0;
    padding: 0;
}

body{
    background-color: #f1f1f1d4;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500;
}

.app-container{
    padding-top: 9rem;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
    width: 100%;
    min-height: 100vh;
    z-index: 5;
}
/* ========================== */
/* CUSTOM */
/* ========================== */
.btn-app-primary{
    background-color: var(--application-primary-color) !important;
    color: white !important;
}
.btn-app-primary:hover{
    background-color: var(--application-secondary-color) !important;
    color: white !important;
}
.btn-app-primary:focus{
    background-color: var(--application-secondary-color) !important;
    color: white !important;
}

.btn-product-remove{
    font-size: 0.6rem !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    margin-right: 0rem !important;
    top: 40% !important;
}

.btn-app-return-page{
    top: 80px;
    position: fixed;
    left: 20px;
    z-index: 50;
}
.btn-app-return-page a{
    background-color: var(--application-primary-color);
    color: white;
}
.btn-app-return-page a:hover{
    color: var(--application-primary-color);
    background-color: white;
}

.app-table thead tr th{
    white-space: nowrap;
    font-size: 0.8rem !important;
}
.app-table tbody tr td{
    white-space: nowrap;
    font-size: 0.8rem !important;
    padding: 4px !important;
}
.app-table tfoot tr td{
    white-space: nowrap;
    font-size: 0.8rem !important;
    padding: 4px !important;
    font-weight: 600 !important;
}
/* ========================== */
/* ALERTS */
/* ========================== */
.dashboard-alerts{
    top: 55px;
    right: 5px;
    position: fixed;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: .5s;
    max-width: 100vw;
}
.dashboard-alerts-item{
    width: 100%;
    position: relative;
    z-index: 9999;
    min-height: 70px;
    transition: .5s;
    overflow: hidden;
    color: white;
    border-radius: 8px;
    margin: 5px;
    animation: openAlert 2s forwards, closeAlert 2s forwards 3s, closeHeight .5s forwards 5s;
    display: flex;
    align-items: center;
    transition: .5s;
    padding: 0 15px;
    word-break: break-all;
}
.dashboard-alerts-item i{
    font-size: 20px;
    margin: 0 10px;
}
.dashboard-alerts-item-success{
    background-color: #009432;
}
.dashboard-alerts-item-error{
    background-color: crimson;
}
.dashboard-alerts-item::before{
    content: '';
    position: absolute;
    width: 0%;
    height: 3px;
    background-color: white;
    left: 0;
    bottom: 0;
    animation: animeAlert;
    animation-duration: 3s;
}
/* ========================== */
/* NAVBAR */
/* ========================== */
.app-navbar{
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    box-shadow: 0px 24px 15px -3px rgba(0,0,0,0.1);
    z-index: 999;
}
.app-navbar-brand{
    display: flex;
    justify-content: center;
    align-items: center;
}
.app-navbar-brand img{
    width: 24px;
}
.app-navbar-brand small{
    font-size: 1.5rem;
    color: rgb(73, 73, 73);
}
.app-program-name{
    font-size: .9rem !important;
}
.app-navbar-button{
    background-color: transparent;
    border: none;
    font-size: 1.7rem;
    transition: color .1s linear;
}
.app-navbar-button:hover{
    color: rgb(43, 43, 43);
}
.app-navbar-list{
    position: absolute;
    right: 15px;
    display: flex;
    align-items: center;
}
/* ========================== */
/* SIDEBAR */
/* ========================== */
.app-sidenav{
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 50px;
    left: -100%;
    background-color: white;
    box-shadow: none;
    transition: left .35s cubic-bezier(0, 0, 0.57, 0.8);
    z-index: 999;
}
.app-sidenav-header-logo{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}
.app-sidenav-header-logo img{
    width: 36px;
}
.app-sidenav-header-user{
    color: rgb(88, 88, 88);
    background-color: rgba(0,0,0,0.1);
}
.app-sidenav-header-user-name{
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
}
.app-sidenav-header-user-sector{
    display: block;
    font-size: .8rem;
}
.app-sidenav-list{
    height: 100vh;
    width: 100%;
    position: relative;
    overflow-y: auto;
    padding-bottom: 12rem;
}
.app-sidenav-list-group{
    border-radius: 0px !important;
    padding: 12px !important;
    font-size: .9rem;
}
.app-sidenav-list-group:hover{
    background-color: #f5f5f5;
}
.app-sidenav-list-group-item{
    font-size: .8rem !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    padding: 10px !important;
    background-color: #6b6b6b;
    color: #f1f1f1;
}
/* ========================== */
/* FINANCIAL */
/* ========================== */
.financial-nav-card{
    color: var(--application-primary-color);
    transition: all .25s ease-in;
}
.financial-nav-card:hover{
    transform: scale(1.1);
}
/* ========================== */
/* CUSTOM BUTTON CHECK */
/* ========================== */
.btn-check-custom-info:checked+.btn-secondary{
    color: white !important;
    background-color: var(--application-tertiary-color) !important;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .app-sidenav{
        width: 60vw;
        box-shadow: 24px 0px 15px -3px rgba(0,0,0,0.1);
    }
    .app-program-name{
        font-size: 1rem !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .app-sidenav{
        width: 40vw;
    }
    .app-program-name{
        font-size: 1.3rem !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .app-sidenav{
        width: 30vw;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .app-sidenav{
        width: 20vw;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .app-sidenav{
        width: 18vw;
    }
}

@media print{
    
}
