@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --font-primary: 'Poppins', sans-serif;
    --roxo-primario: #240234;
    --roxo-secundario: #331E59;
    --azul-principal: #3746CD;
    --azul-secundário: #A3F4FF;
    --verde: #44E454;
    --vermelho: #F44141;
    --amarelo: #E7F549;
    --branco: #FFFFFF;
    --cinza-claro: #EEEEF6;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 16px;
    text-decoration: none;
    list-style: none;
}

body {
    background-color: var(--cinza-claro);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: 83%;
    margin-left: 17%;
}

.sidebar {
    background-color: var(--roxo-secundario);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    position: fixed;
    height: 100vh;
    width: 17%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin: 25px 0px;
    justify-content: center;
    cursor: pointer;
    color: var(--branco);
}

.logo img {
    width: 25px;
}

.menu {
    display: flex;
    flex-direction: column;
    flex-grow: 2;
    gap: 20px;
}

.menu-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 15px;
    color: #c5c5e1;
    text-decoration: none;
    font-size: 16px;
    border-radius: 8px;
    transition: background 0.3s;
}

.menu-item img {
    width: 15px;
}

.menu-item {
    font: 500 15px/normal Poppins;
    color: #FFF;
    border: 1px solid transparent;
    border-radius: 43px;
}
.menu-item:hover, .user-info:hover {
    border: 1px solid rgba(163, 244, 255, 0.50);
    background: rgba(55, 70, 205, 0.50);
    border-radius: 43px;
}

.menu-item:nth-child(3) {
    border: 1px solid rgba(163, 244, 255, 0.50);
    background: rgba(55, 70, 205, 0.50);
    border-radius: 43px;
}

.user {
    display: flex;
    align-items: center;
    margin-top: 20px;
    cursor: pointer;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    padding: 5px 25px;
    border: 1px solid transparent;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: var(--branco);
}

.user-role {
    font-size: 14px;
    color: #c5c5e1;
}

.user img {
    width: 25px;
    cursor: pointer;
}

.superior {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* main */

.main-content {
    flex-grow: 1;
    padding: 20px;
    width: 100%;
}

.main-content h1 {
    font: 500 20px/normal Poppins;
    margin-bottom: 20px;
    color: var(--roxo-primario);
}

.content-box {
    width: 100%;
    height: calc(100% - 40px);
    background-color: #ffffff;
    border-radius: 20px;
}

form {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--branco);
    border-radius: 20px;
    padding: 4% 0;
    gap: 20px;
}

button {
    padding: 10px;
    background-color: var(--verde);
    color: white;
    font: 700 15px/normal Poppins;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #10802a;
}

.btn-azul{
    background-color: var(--azul-principal);
}

.btn-azul:hover{
    background-color: #1a226d;
}

form .grupo {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 4%;
}

form label{
    display: flex;
    flex-direction: column;
    width: 100%;
    font: 600 15px/normal Poppins;
    color: var(--roxo-primario);
}

form select, input,p{
    border-radius: 10px;
    border: 1px solid #555EAD;
    background: #FFF;
    width: 100%;
    height: 50px;
    cursor: pointer;
    color: var(--roxo-primario);
    padding: 10px;
}

form textarea {
    border-radius: 10px;
    border: 1px solid #555EAD;
    background: #FFF;
    height: 110px;
    resize: none;
    padding: 10px;
}

.deletar {
    font: 700 15px/normal Poppins;
    text-align: center;
    color: var(--vermelho);
}

.deletar:hover{
    text-decoration: underline;
}

/* table */

table{
    width: 100%;
    border: none;  
}

table .cabecalho{
    background-color: var(--roxo-primario);
    border-radius: 20px;
    color: var(--branco);
}

table, th, td {
    height: 30px;
    text-align: center;
  }
