* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #222;
}

header {
    background: #222;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

header h1 {
    margin-bottom: 8px;
}

header p {
    color: #ddd;
}

main {
    max-width: 1000px;
    margin: 30px auto;
    padding: 0 20px;
}

.task-form,
.task-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.task-form h2,
.task-section h2 {
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea,
select,
button {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    background: #f6821f;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    opacity: 0.9;
}

.task-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.task-card {
    border: 1px solid #ddd;
    border-left: 5px solid #f6821f;
    padding: 18px;
    border-radius: 6px;
    margin-bottom: 15px;
}

.task-card h3 {
    margin-bottom: 8px;
}

.task-card p {
    margin-bottom: 10px;
    color: #555;
}

.status {
    display: inline-block;
    padding: 5px 10px;
    background: #eee;
    border-radius: 15px;
    font-size: 13px;
}

.delete-button {
    margin-top: 12px;
    background: #d9534f;
    padding: 8px 12px;
}