/**
 * Public styles for Checklist plugin
 */

.checklist-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
}

.checklist-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.checklist-empty {
    padding: 20px;
    background: #f0f0f1;
    border-radius: 4px;
    text-align: center;
    color: #666;
}

.checklist-tasks {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-task-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.checklist-task-item:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.checklist-task-content {
    flex: 1;
}

.checklist-task-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.checklist-task-description {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.checklist-task-time {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f1;
    border-radius: 3px;
    font-size: 12px;
    color: #555;
    margin-top: 5px;
}

.checklist-complete-btn {
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.checklist-complete-btn:hover:not(:disabled) {
    background: #135e96;
}

.checklist-complete-btn:disabled,
.checklist-complete-btn.processing {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .checklist-task-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .checklist-complete-btn {
        width: 100%;
        margin-top: 10px;
    }
}
