body{
font-family:Arial;
margin:0;
background:#f1f4f9;
}

/* MENU LATERAL */

.sidebar{
width:230px;
height:100vh;
background:#0f172a;
color:white;
position:fixed;
padding:20px;
}

.sidebar h2{
color:#3b82f6;
}

.sidebar a{
display:block;
padding:12px;
color:white;
text-decoration:none;
border-radius:6px;
transition:0.3s;
}

.sidebar a:hover{
background:#3b82f6;
}

/* CONTEÚDO */

.main{
margin-left:250px;
padding:30px;
}

/* CARDS */

.card{
background:white;
padding:20px;
border-radius:10px;
margin-bottom:20px;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
}

/* BOTÕES */

button{
background:#3b82f6;
border:none;
color:white;
padding:10px 15px;
border-radius:6px;
cursor:pointer;
}

button:hover{
background:#2563eb;
}

/* INPUT */

input,select{
padding:10px;
margin:5px;
border-radius:5px;
border:1px solid #ccc;
}

/* TABELA */

table{
width:100%;
background:white;
border-collapse:collapse;
border-radius:10px;
overflow:hidden;
}

th{
background:#3b82f6;
color:white;
padding:10px;
}

td{
padding:10px;
border-bottom:1px solid #eee;
}
/* ANIMAÇÃO DE ENTRADA DAS PÁGINAS */


.main{
margin-left:250px;
padding:30px;
animation:fadePage 0.6s ease;
}

@keyframes fadePage{

from{
opacity:0;
transform:translateY(10px);
}

to{
opacity:1;
transform:translateY(0);
}

}


/* ANIMAÇÃO DOS CARDS */

.card{
background:white;
padding:20px;
border-radius:10px;
margin-bottom:20px;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
transition:0.3s;
animation:cardEnter 0.5s ease;
}

.card:hover{

transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.15);

}

@keyframes cardEnter{

from{
opacity:0;
transform:scale(0.95);
}

to{
opacity:1;
transform:scale(1);
}

}


/* MENU LATERAL ANIMADO */

.sidebar a{
display:block;
padding:12px;
color:white;
text-decoration:none;
border-radius:6px;
transition:0.25s;
}

.sidebar a:hover{

background:#3b82f6;
padding-left:20px;

}


/* BOTÕES */

button{
background:#3b82f6;
border:none;
color:white;
padding:10px 15px;
border-radius:6px;
cursor:pointer;
transition:0.3s;
}

button:hover{

background:#2563eb;
transform:scale(1.05);

}


/* TABELAS */

table tr{
transition:0.2s;
}

table tr:hover{

background:#f1f5f9;

}