.task-container {

    margin-bottom: 20px;
}

.task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f1f1f1e3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.task-item span {
    flex: 1;
    font-size: 16px;
}

.task-status {
    display: flex;
    align-items: center;
}

.task-status input[type="checkbox"] {
    display: none;
}

.task-status label {
    cursor: pointer;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: white;
    background-color: #ccc;
    position: relative;
}

.task-status input[type="checkbox"]:checked + label {
    border-color: #28a745;
    background-color: #28a745;
}

.loader {
    border: 2px solid #ccc;
    border-top: 2px solid #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
