* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #1e1e2f, #2a2a40);
    color: white;
}

#search {
    margin-top: 10px;
}

.main {
    width: 95%;
    max-width: 700px;
}

h1 {
    margin-bottom: 15px;
}

.top-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

input,
select {
    padding: 10px;
    border-radius: 8px;
    border: none;
}

input[type="text"] {
    flex: 1;
}

button {
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #ff7eb3, #ff4e9b);
    color: white;
    margin-right: 10px;
}

.task {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    margin-top: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    cursor: grab;
}

.high {
    border-left: 5px solid red;
}

.medium {
    border-left: 5px solid orange;
}

.low {
    border-left: 5px solid green;
}

.overdue {
    box-shadow: 0 0 10px red;
}

.done {
    text-decoration: line-through;
    opacity: 0.5;
}

.actions button {
    margin-left: 5px;
    font-size: 12px;
}

@media(max-width:600px) {
    .top-bar {
        flex-direction: column;
    }
}

input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}