body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eef2f3;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center; 
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 600px;
    margin: 20px; 
    box-sizing: border-box;
}

h2 {
    color: #2c3e50;
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 24px;
}

h3 {
    color: #4a5568;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

label {
    font-weight: 600;
    color: #4a5568;
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

input[type="text"], 
input[type="date"], 
select, 
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff;
}

input:focus, select:focus, textarea:focus {
    border-color: #3182ce;
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

button {
    background: #3182ce;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    font-size: 15px;
    transition: background 0.2s;
    box-sizing: border-box;
}

button:hover {
    background: #2b6cb0;
}

.btn-batal {
    background: #e2e8f0;
    color: #4a5568;
    text-align: center;
    display: block;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-sizing: border-box;
    transition: background 0.2s;
}

.btn-batal:hover {
    background: #cbd5e0;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-item {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    padding: 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.checkbox-box {
    text-decoration: none;
    font-size: 20px;
    margin-right: 15px;
    cursor: pointer;
    line-height: 1;
}

.task-content {
    flex: 1;
    padding-right: 15px;
}

.badge {
    background-color: #ebf8ff;
    color: #2b6cb0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 8px;
}

.task-title {
    font-weight: bold;
    color: #2d3748;
    font-size: 16px;
    margin-bottom: 4px;
}

.task-desc {
    font-size: 14px;
    color: #718096;
    margin-bottom: 6px;
    line-height: 1.4;
}

.task-deadline {
    font-size: 12px;
    color: #e53e3e;
    font-weight: 600;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.action-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.action-link.edit {
    background-color: #edf2f7;
    color: #4a5568;
}

.action-link.edit:hover {
    background-color: #e2e8f0;
}

.action-link.delete {
    background-color: #fff5f5;
    color: #c53030;
}

.action-link.delete:hover {
    background-color: #fed7d7;
}

.task-item.completed {
    background-color: #f0fff4;
    border-color: #c6f6d5;
}

.task-item.completed .task-title,
.task-item.completed .task-desc, 
.task-item.completed .task-deadline,
.task-item.completed .badge {
    color: #a0aec0;
    text-decoration: line-through;
}

.task-item.completed .badge {
    background-color: #edf2f7;
    color: #a0aec0;
}

.empty-state {
    text-align: center;
    color: #a0aec0;
    padding: 30px 20px;
}