body{
margin:0;
font-family:'Segoe UI';
background:#f4f6f8;
}

/* LOGIN */
.login-body{
display:flex;
justify-content:center;
align-items:center;
height:100vh;
background:linear-gradient(to right,#2F6F9F,#6EC1E4);
}

.login-box{
background:white;
padding:30px;
border-radius:12px;
width:300px;
text-align:center;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.login-box input{
width:100%;
padding:10px;
margin:8px 0;
border-radius:6px;
border:1px solid #ccc;
}

.login-box button{
width:100%;
padding:10px;
border:none;
border-radius:6px;
background:#2F6F9F;
color:white;
cursor:pointer;
}

.login-box button:hover{
background:#6EC1E4;
}

/* HEADER */
.header{
display:flex;
align-items:center;
gap:10px;
padding:10px 20px;
background:white;
box-shadow:0 2px 5px rgba(0,0,0,0.1);
}

.sidebar{
width:200px;
background:#2F6F9F;
color:white;
position:fixed;
top:60px;
bottom:0;
}

.sidebar div{
padding:12px;
cursor:pointer;
}

.sidebar div:hover{
background:#6EC1E4;
}

.content{
margin-left:220px;
padding:20px;
}

/* DASHBOARD */
.cards{
display:flex;
gap:15px;
flex-wrap:wrap;
margin-bottom:20px;
}

.card{
background:white;
padding:15px;
border-radius:10px;
min-width:180px;
text-align:center;
box-shadow:0 3px 8px rgba(0,0,0,0.1);
font-weight:bold;
}

/* GRAFICOS */
.graficos{
display:flex;
gap:20px;
flex-wrap:wrap;
}

canvas{
max-width:400px;
max-height:250px;
background:white;
padding:10px;
border-radius:10px;
}

/* FORMULARIO */
.form-box{
background:white;
padding:20px;
border-radius:10px;
max-width:1100px;
}

.grid3{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:15px;
}

.grid3 div{
display:flex;
flex-direction:column;
}

label{
font-size:13px;
font-weight:bold;
margin-bottom:4px;
}

input, select{
padding:8px;
border-radius:6px;
border:1px solid #ccc;
}

/* TABLA */
table{
width:100%;
margin-top:20px;
border-collapse:collapse;
background:white;
}

th{
background:#2F6F9F;
color:white;
padding:10px;
}

td{
padding:10px;
border-bottom:1px solid #eee;
}

tr:hover{
background:#f5f5f5;
}

.caducado{color:red;font-weight:bold;}
.proximo{color:orange;font-weight:bold;}