body {
    font-family: Arial;
    margin: 0;
    background: #fff0f5;
}

/* HEADER */
header {
    background: linear-gradient(90deg,#ff69b4,#ff1493);
    color: white;
    text-align: center;
    padding: 20px;
}

/* BACK */
.navbar {
    position: fixed;
    top: 10px;
    left: 10px;
}

.back-btn {
    background: #ff1493;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
}

/* STATS */
.stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    width: 120px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(255,105,180,0.2);
}

/* FORM */
.task-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.task-form input,
.task-form select {
    padding: 10px;
    border-radius: 8px;
    border: 2px solid #ffd1dc;
}

button {
    background: #ff69b4;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    background: #ff1493;
}

/* SEARCH */
.search {
    text-align: center;
    margin: 15px;
}

.search input {
    padding: 10px;
    width: 60%;
    border-radius: 8px;
    border: 2px solid #ffd1dc;
}

/* TASK LIST */
.list {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 3px 10px rgba(255,105,180,0.2);
}

/* BADGES */
.badge {
    padding: 4px 8px;
    border-radius: 6px;
    color: white;
    font-size: 12px;
}

.high { background: red; }
.medium { background: orange; }
.low { background: green; }