 body{
font-family:Arial, sans-serif;
margin:0;
background:linear-gradient(135deg,#a78bfa,#7c3aed);
color:#000;
min-height:100vh;
}

/* MENU */
.menu{
text-align:center;
padding:60px 20px;
}

.menu h1{
margin-bottom:40px;
font-size:34px;
color:#000;
}

.menu .btns{
display:flex;
justify-content:center;
gap:15px;
}

.menu button{
width:220px;
padding:16px;
font-size:16px;
border-radius:14px;
background:rgba(255,255,255,0.4);
color:#000;
border:none;
cursor:pointer;
transition:.3s;
}

.menu button:hover{
transform:translateY(-4px);
background:rgba(255,255,255,0.7);
}

/* PAGE */
.page{
display:none;
padding:30px;
max-width:900px;
margin:auto;
}

/* CARD */
.card{
background:white;
padding:22px;
border-radius:16px;
margin-bottom:22px;
box-shadow:0 8px 20px rgba(0,0,0,0.2);
}

.card h2,.card h3{
color:#000;
}

/* BACK */
.back{
width:140px;
background:white;
color:#000;
border:2px solid #000;
padding:10px;
border-radius:10px;
cursor:pointer;
margin-bottom:20px;
font-weight:bold;
}

.back:hover{
background:#000;
color:white;
}

/* INPUTS */
input,select,textarea{
width:100%;
padding:11px;
margin-top:8px;
margin-bottom:14px;
border-radius:10px;
border:1px solid #dbe3f0;
color:#000;
}

/* BUTTON */
button{
border:none;
border-radius:10px;
padding:11px;
cursor:pointer;
font-weight:bold;
background:#8b5cf6;
color:#000;
}

button:hover{
opacity:0.9;
}

.deleteBtn{
background:white;
color:#000;
border:1px solid #000;
margin-left:6px;
}

/* LIST */
.card div{
margin-bottom:8px;
padding:10px;
border-radius:10px;
background:#f3e8ff;
border:1px solid #ddd;

display:flex;
justify-content:space-between;
align-items:center;
gap:10px;
flex-wrap:wrap;
}

.completed{
text-decoration:line-through;
opacity:.6;
}

table{
width:100%;
border-collapse:collapse;
}

th{
background:#8b5cf6;
color:#000;
padding:12px;
}

td{
padding:10px;
border-bottom:1px solid #eee;
}
