@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --cinza-claro: #eeeeee;
    --azul-fosco: #1a3e78;
    --laranja: #f8951d;
    --preto: #000000;
    --branco: #fff;
    --branco-claro: #fafafa;
    --branco-escuro: #f1f1f1;
    --azul-escuro: #0b1d3b;
    --border-radius-default: 10px;
}

body {
    font-family: "Montserrat", sans-serif !important;
    height: 100vh;
    width: 100%;
    background-color: var(--cinza-claro) !important;
    overflow-x: hidden;
}

*,
*::after,
*::before {
    margin: 0%;
    padding: 0%;
    box-sizing: border-box;
    font-weight: 500;
}

main{
    width: calc(100% - 50px );
    float: right;
}

@media (min-height: 600px) {
  .side-bar-esquerda {
    overflow-y: scroll;
  }
}


.side-bar-esquerda {
    position: fixed;
    top: 0;
    left: -12rem;
    height: 100vh;
    width: 11rem;
    background-color: var(--cinza-claro);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 25px 0;
    transition: left 0.3s ease;
    z-index: 1000;
}

.side-bar-esquerda.open {
    left: 0;
}

.buttons-tela {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.buttons-tela>a {
    text-decoration: none;
    width: 89%;
    height: 3.7rem;
    border-radius: 10px;
    display: flex;
    flex-flow: nowrap row;
    align-items: center;
    justify-content: center;
    transition: ease-in 0.3s;
}

.buttons-tela>a:hover {
    text-decoration: none;
    width: 85%;
    background-color: #e4e4e446;
    backdrop-filter: blur(7px);
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); */
    transform: translateY(-2px);
    box-shadow:
        5px 5px 13px rgba(0, 0, 0, 0.2),
        /* sombra escura embaixo à direita */
        -5px -5px 13px rgba(184, 184, 184, 0.7);
    /* sombra clara em cima à esquerda */
}

.nav-manchete {
    padding: 10px;
    width: 100%;
    height: 5rem;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 10px;
}

.nav-manchete>img {
    width: 1.5rem;
    height: 1.5rem;
}

.nav-manchete>p {
    color: var(--azul-escuro);
    font-size: 0.9rem;
    width: 6rem;
    margin: 0;
}

#toggle-button {
    position: fixed;
    top: 10px;
    left: 10px;
    background-color: var(--azul-fosco);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.side-bar-esquerda.open+#overlaysidebar+#toggle-button {
    position: fixed;
    top: 50%;
    left: 11rem;
    transform: translateY(-50%);
    border-radius: 0 5px 5px 0;
}

.logo {
    width: 10rem;
    height: 7rem;
}

.logout {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}


.logout-btn {
    border: none;
    outline: none;
    background-color: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: 52px;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
    transition: ease 0.5s;
    transform: translateY(-10px);
}

.logout-btn:active {
    transform: scale(0.97);
    box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px, rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
}

.logout-btn>img {
    width: 28px;
    height: 28px;
}

/* Overlay */
#overlaysidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.582);
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#overlaysidebar.active {
    opacity: 1;
    pointer-events: all;
}
 
.alert-django {
    padding: 10px 25px 10px 10px ;
    width: 300px;
    height: 70px;
    position: absolute ;
    top: 5%;
    right: 0%;
    opacity: 0;
    transform: translateX(100%);
    transition: ease, transform 0.5s ease-in-out;
    z-index: 100000000;
    border-radius: 5px;
} 

.alert-django.show {
    opacity: 1;
    transform: translateX(0%);
}

.alert-django.success {
    color: rgb(10, 108, 10);
    background-color: rgb(199, 255, 199);
}

.alert-django.error {
    color: rgb(126, 15, 15);
    background-color: rgb(255, 176, 176);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-flow: row wrap;
    width: calc(100% - 10%);
    margin: 1%;
    padding: 1%;
    float: right;
}

@media (max-width: 880px) {
    header{
        width: calc(100% - 20%);
    }
}

section.card-user {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px 25px;
    flex-flow: nowrap row;
}

.user-nome,
.user-email {
    margin-bottom: 0px !important;
    color: var(--azul-escuro);
}

.user-email {
    font-size: 0.8rem;
}

.user-nome {
    font-weight: 600;
}

.breadcrumb {
    margin: 0%;
}

.breadcrumb-item,
.breadcrumb-item>a {
    color: var(--azul-fosco) !important;
    text-decoration: none;
    font-weight: 500;
}


.breadcrumb-item+.breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--azul-fosco) !important;
    content: var(--bs-breadcrumb-divider, ">") !important;
}

#btn_toggle {
    position: fixed;
    z-index: 999;
    left: 10px;
    top: 90px;
    background-color: #ffc107;
    border: none;
    outline: none;
    border-radius: 5px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    transition: 0.6s ease-in;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 8px;
    justify-content: space-around;
    text-align: left;
}

#btn_toggle.ativo {
    width: 350px;
}

#btn_toggle > img{
    width: 30px;
    height: 30px;
    margin-left: 6px;
}

.p-btn-toggle {
    opacity: 0;
    font-size: 0.79rem;
    color: var(--preto);
    transition-delay: 0.4s;
    width: 300px;
}

#btn_toggle.ativo .p-btn-toggle {
    opacity: 1;
}